[New-bugs-announce] [issue2471] imp.get_magic() should return bytes, not bytearray

Brett Cannon report at bugs.python.org
Mon Mar 24 07:59:37 CET 2008


New submission from Brett Cannon <brett at python.org>:

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: brett.cannon
priority: normal
severity: normal
status: open
title: imp.get_magic() should return bytes, not bytearray
type: behavior
versions: Python 3.0

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2471>
__________________________________


More information about the New-bugs-announce mailing list