[Python-checkins] python/dist/src/Lib codecs.py,1.29,1.30
M.-A. Lemburg
mal@lemburg.com
2002年12月12日 20:55:59 +0100
- Previous message: [Python-checkins] python/dist/src/Lib codecs.py,1.29,1.30
- Next message: [Python-checkins] python/nondist/sandbox/datetime datetime.c,1.60,1.61 datetime.py,1.96,1.97 obj_date.c,1.46,1.47 obj_datetime.c,1.44,1.45 obj_time.c,1.7,1.8 obj_timetz.c,1.16,1.17 test_both.py,1.66,1.67
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Walter D=F6rwald wrote:
> M.-A. Lemburg wrote:
>>> 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
>=20
> I'm not sure either, I just remembered that a missing
> _PyImport_FixupExtension call for the exceptions module
> was responsible for problems in mod_python:
> http://www.modpython.org/pipermail/mod_python/2001-June/001445.html
Well, the normal import mechanism calls this API as well
for extension modules, so I think we're safe (see init_builtin()
in import.c).
--=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/
- Previous message: [Python-checkins] python/dist/src/Lib codecs.py,1.29,1.30
- Next message: [Python-checkins] python/nondist/sandbox/datetime datetime.c,1.60,1.61 datetime.py,1.96,1.97 obj_date.c,1.46,1.47 obj_datetime.c,1.44,1.45 obj_time.c,1.7,1.8 obj_timetz.c,1.16,1.17 test_both.py,1.66,1.67
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]