Closed
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
| BPO | 2471 |
|---|---|
| Nosy | @brettcannon, @amauryfa, @benjaminp |
| Files |
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 = None
closed_at = <Date 2008-04-24.20:31:22.072>
created_at = <Date 2008-03-24.06:59:36.313>
labels = ['extension-modules', 'type-bug']
title = 'imp.get_magic() should return bytes, not bytearray'
updated_at = <Date 2008-04-24.20:36:14.322>
user = 'https://github.com/brettcannon'bugs.python.org fields:
activity = <Date 2008-04-24.20:36:14.322>
actor = 'amaury.forgeotdarc'
assignee = 'none'
closed = True
closed_date = <Date 2008-04-24.20:31:22.072>
closer = 'benjamin.peterson'
components = ['Extension Modules']
creation = <Date 2008-03-24.06:59:36.313>
creator = 'brett.cannon'
dependencies = []
files = ['9842']
hgrepos = []
issue_num = 2471
keywords = ['patch']
message_count = 4.0
messages = ['64395', '64443', '65745', '65746']
nosy_count = 3.0
nosy_names = ['brett.cannon', 'amaury.forgeotdarc', 'benjamin.peterson']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue2471'
versions = ['Python 3.0']Metadata
Metadata
Assignees
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
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.