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
3fef1329
Commit
3fef1329
authored
Oct 17, 2012
by
Andrew Svetlov
Browse files
Options
Browse Files
Download
Plain Diff
null merge
parents
6daa6f9f
f809ca1c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
Misc/NEWS
Misc/NEWS
+2
-0
Tools/unicode/comparecodecs.py
Tools/unicode/comparecodecs.py
+1
-1
No files found.
Misc/NEWS
View file @
3fef1329
...
...
@@ -666,6 +666,8 @@ Documentation
Tools/Demos
-----------
- Issue #15378: Fix Tools/unicode/comparecodecs.py. Patch by Serhiy Storchaka.
- Issue #14695: Fix missing support for starred assignments in
Tools/parser/unparse.py.
...
...
Tools/unicode/comparecodecs.py
View file @
3fef1329
...
...
@@ -30,7 +30,7 @@ def compare_codecs(encoding1, encoding2):
mismatch
+=
1
# Check decoding
for
i
in
range
(
256
):
c
=
chr
(
i
)
c
=
bytes
([
i
]
)
try
:
u1
=
c
.
decode
(
encoding1
)
except
UnicodeError
:
...
...
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