This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients christian.heimes, gvanrossum
Date 2008-01-13.09:14:52
SpamBayes Score 0.13768405
Marked as misclassified No
Message-id <1200215696.28.0.405159323117.issue1816@psf.upfronthosting.co.za>
In-reply-to
Content
The new patch is using a struct sequence (like the result of os.stat):

>>> import sys
>>> sys.flags
<sys.flags (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)>
>>> dir(sys.flags)
['__add__', '__class__', '__contains__', '__delattr__', '__doc__',
'__eq__', '__ge__', '__getattribute__', '__getitem__', '__getslice__',
'__gt__', '__hash__', '__init__', '__le__', '__len__', '__lt__',
'__mul__', '__ne__', '__new__', '__reduce__', '__reduce_ex__',
'__repr__', '__rmul__', '__setattr__', '__str__', 'debug',
'division_new', 'division_warning', 'dont_write_bytecode',
'ingnore_environment', 'inspect', 'interactive', 'n_fields',
'n_sequence_fields', 'n_unnamed_fields', 'no_site', 'optimize',
'py3k_warning', 'tabcheck', 'unicode', 'verbose']
>>> sys.flags.debug
0

Please ignore the other files. They are part of my second PEP.
History
Date User Action Args
2008-01-13 09:14:56christian.heimessetspambayes_score: 0.137684 -> 0.13768405
recipients: + christian.heimes, gvanrossum
2008-01-13 09:14:56christian.heimessetspambayes_score: 0.137684 -> 0.137684
messageid: <1200215696.28.0.405159323117.issue1816@psf.upfronthosting.co.za>
2008-01-13 09:14:54christian.heimeslinkissue1816 messages
2008-01-13 09:14:53christian.heimescreate