[issue2471] imp.get_magic() should return bytes, not bytearray

2008-04-24 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: This was fixed as r62484. -- resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2471 __

[issue2471] imp.get_magic() should return bytes, not bytearray

2008-04-24 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: Oops, sorry for missing the tracker item. The change was sleeping in my workspace for some time... Thanks for closing it. -- nosy: +amaury.forgeotdarc __ Tracker [EMAIL PROTECTED]

[issue2471] imp.get_magic() should return bytes, not bytearray

2008-03-24 Thread Brett Cannon
New submission from Brett Cannon [EMAIL PROTECTED]: 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. -- components: Extension Modules messages: 64395 nosy:

[issue2471] imp.get_magic() should return bytes, not bytearray

2008-03-24 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Attaching patch... -- keywords: +patch nosy: +benjamin.peterson Added file: http://bugs.python.org/file9842/get_magic_bytes.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2471