[Python-checkins] python/dist/src/Lib codecs.py,1.29,1.30

M.-A. Lemburg mal@lemburg.com
2002年12月12日 19:22:48 +0100


Walter D=F6rwald wrote:
> lemburg@users.sourceforge.net wrote:
>=20
>> Modified Files:
>> codecs.py Log Message:
>> Patch to make _codecs a builtin module. This is necessary since
>> Python 2.3 will support source code encodings which rely on the
>> builtin codecs being available to the parser.
>=20
>=20
> I wonder whether this change requires additional changes to
> Python/pythonrun.c (i.e. a call to _PyImport_FixupExtension)
> just like it was done for the exceptions module
> (see www.python.org/sf/422004)

I don't think this is necessary, since _codecs is a helper
for codecs.py and only imported by the .py file (unlike
exceptions which is imported long before that).
I'm not 100% sure though...
--=20
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
_______________________________________________________________________
eGenix.com -- Makers of the Python mx Extensions: mxDateTime,mxODBC,...
Python Consulting: http://www.egenix.com/
Python Software: http://www.egenix.com/files/python/

AltStyle によって変換されたページ (->オリジナル) /