Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
e18b82d9
Commit
e18b82d9
authored
Oct 29, 2013
by
Benjamin Peterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
backport #19426
parent
b6a985eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
Lib/idlelib/IOBinding.py
Lib/idlelib/IOBinding.py
+1
-1
Misc/NEWS
Misc/NEWS
+11
-0
No files found.
Lib/idlelib/IOBinding.py
View file @
e18b82d9
...
...
@@ -125,7 +125,7 @@ def coding_spec(str):
Raise LookupError if the encoding is declared but unknown.
"""
# Only consider the first two lines
str
= str.split("
\
n
", 2)[:2]
lst
= str.split("
\
n
", 2)[:2]
for line in lst:
match = coding_re.match(line)
if match is not None:
...
...
Misc/NEWS
View file @
e18b82d9
Python
News
+++++++++++
Whats
' New in Python 2.7.6?
===========================
*Release date: 2013-11-02*
IDLE
----
- Issue #19426: Fixed the opening of Python source file with specified encoding.
What'
s
New
in
Python
2.7.6
release
candidate
1
?
===============================================
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment