You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
python fails to run zipapp when zip contains comments #71242
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2016-05-19.05:53:05.809>created_at=<Date2016-05-19.01:04:24.411>labels= ['type-crash']
title='python fails to run zipapp when zip contains comments'updated_at=<Date2016-05-19.05:53:05.792>user='https://github.com/zaz600'
Activity
zaz600 commentedon May 19, 2016
python fails to run zipapp when zip contains comments
when zip archive downloaded from github it contains tip hash in comment.
Python 3.5.1 (v3.5.1:37a07cee5969, Dec 6 2015, 01:38:48) [MSC v.1900 32 bit (Intel)] on win32
example:
D:\pywork\zip>python zipapp_good.zip
hello
D:\pywork\zip>python zipapp_bad.zip
File "zipapp_bad.zip", line 1
PK♥♦¶
^
SyntaxError: invalid syntax
serhiy-storchaka commentedon May 19, 2016
This is a duplicate of bpo-5950.