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 gvanrossum
Recipients christian.heimes, gvanrossum
Date 2007-11-06.03:44:20
SpamBayes Score 0.0024508038
Marked as misclassified No
Message-id <ca471dc20711051944wf0d5bf8ld1bbe370b57a888c@mail.gmail.com>
In-reply-to <1194315372.6.0.341994801739.issue1392@psf.upfronthosting.co.za>
Content
> Updates:
> * Added class BytesWarning(Warning)
> * Added -b/-bb command line args and Py_BytesWarningFlag
> * issue PyErr_WarnEx(PyExc_BytesWarning) when Py_BytesWarningFlag is set.
> * Added warning filter for BytesWarning that raises an exception if
> Py_BytesWarningFlag > 1
>
> Open questions:
> * the warning filter isn't set when the initializer cannot load the
> warning module (e.g. frozen apps). W/o the warning module Python is
> screwed anyway and frozen apps would never add the -b argument.
> * the warnings are only enabled with -b. They can't be enabled by
> modifying the warnings.filters. Is this fine with you?

Yes, this is is all fine with me. Feel free to submit overnight.
History
Date User Action Args
2007-11-06 03:44:21gvanrossumsetspambayes_score: 0.0024508 -> 0.0024508038
recipients: + gvanrossum, christian.heimes
2007-11-06 03:44:21gvanrossumlinkissue1392 messages
2007-11-06 03:44:20gvanrossumcreate