[Python-3000] Persistent Error
Georg Brandl
g.brandl at gmx.net
Fri Jun 6 13:02:18 CEST 2008
Amaury Forgeot d'Arc schrieb:
> It seems that there are two problems here:
> - First, there is a bug in the sys.flags structure: revision 62322
> added a new flag in the underlying C structure, but did not increase
> the number of fields visible from python code. This should be
> corrected: in sysmodules.c, the number in the flags_desc initializer
> should match the number of items in flags_fields.
It is strange though since I *can* access sys.flags.bytes_warning even
though it's not available via indexing or printed in the repr.
Anyway, fixed and added a test in r63978.
Georg
--
Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
Four shall be the number of spaces thou shalt indent, and the number of thy
indenting shall be four. Eight shalt thou not indent, nor either indent thou
two, excepting that thou then proceed to four. Tabs are right out.
More information about the Python-3000
mailing list