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 doerwalter
Recipients doerwalter, pitrou
Date 2009-06-08.11:13:55
SpamBayes Score 7.263454e-05
Marked as misclassified No
Message-id <1244459637.15.0.611275123888.issue6213@psf.upfronthosting.co.za>
In-reply-to
Content
This was done because the codec state is part of the return value of
tell(). To have a reasonable return value (i.e. one with just the
position itself) in as many cases as possible it makes sense to design
the codec state in such a way, that the most common state is 0. This is
what was done for py3k: The default state (no BOM read/written yet) is 2
not 0.
History
Date User Action Args
2009-06-08 11:13:57doerwaltersetrecipients: + doerwalter, pitrou
2009-06-08 11:13:57doerwaltersetmessageid: <1244459637.15.0.611275123888.issue6213@psf.upfronthosting.co.za>
2009-06-08 11:13:55doerwalterlinkissue6213 messages
2009-06-08 11:13:55doerwaltercreate