[Python-Dev] PEP 3147 (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Sat Apr 10 01:05:28 CEST 2010
- Previous message: [Python-Dev] PEP 3147, __cached__, and PyImport_ExecCodeModuleEx()
- Next message: [Python-Dev] PEP 3147
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
I'm sorry to chime in a bit late about an aspect of the PEP, but I only wondered about it while reviewing your code :-)
« Instead, this PEP proposes to add a mapping between internal magic numbers and a user-friendly tag. Newer versions of Python can add to this mapping so that all later Pythons know the mapping between tags and magic numbers. »
The question is: why do we have to keep a mapping of past tags and magic numbers? Don't we only care about our current tag and magic number? (similarly, we don't know, and need to know, about Jython's or Pypy's stuff...).
As far as I can tell, it would remove the burden of maintening an ever-growing registry of past magic numbers and tags.
Regards
Antoine.
- Previous message: [Python-Dev] PEP 3147, __cached__, and PyImport_ExecCodeModuleEx()
- Next message: [Python-Dev] PEP 3147
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]