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
imp.get_magic() should return bytes, not bytearray #46723
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=<Date2008-04-24.20:31:22.072>created_at=<Date2008-03-24.06:59:36.313>labels= ['extension-modules', 'type-bug']
title='imp.get_magic() should return bytes, not bytearray'updated_at=<Date2008-04-24.20:36:14.322>user='https://github.com/brettcannon'
The magic cookie as returned by imp.get_magic() should be of the bytes
type, not bytearray as the magic cookie will not ever change during the
execution of the interpreter.
Activity
brettcannon commentedon Mar 24, 2008
The magic cookie as returned by imp.get_magic() should be of the bytes
type, not bytearray as the magic cookie will not ever change during the
execution of the interpreter.
benjaminp commentedon Mar 24, 2008
Attaching patch...
benjaminp commentedon Apr 24, 2008
This was fixed as r62484.
amauryfa commentedon Apr 24, 2008
Oops, sorry for missing the tracker item.
The change was sleeping in my workspace for some time...
Thanks for closing it.