Skip to content

Commit

Permalink
Python 3.5 tolerance
Browse files Browse the repository at this point in the history
  • Loading branch information
rocky committed Oct 12, 2019
1 parent 4a38ec8 commit d15ca39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

- Add early bytecodes: 1.0, 1.1, 1.2, and 1.6. Going off of pycdc bytecode since this is the only bytecode for these versions I know of
- Fix bug in Python 3.x decompiling 2.x that contains strings with non-ascii characters
- More generally, better handling of non-ascii Python 2 strings in Python 3
- More generally, better handling of non-ascii Python 2 strings in both input and output in Python 3

4.0.4 2019-10-02
================
Expand Down
2 changes: 1 addition & 1 deletion xdis/verify.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def verify_file(real_source_filename, real_bytecode_filename):
if not os.path.exists(real_source_filename):
return

if PYTHON_VERSION < 3.6:
if PYTHON_VERSION < 3.5:
f = open(real_source_filename, 'U')
else:
f = open(real_source_filename, newline=None, errors='backslashreplace')
Expand Down

0 comments on commit d15ca39

Please sign in to comment.