homepage

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 vstinner
Recipients doerwalter, pitrou, vstinner
Date 2010年07月24日.03:41:54
SpamBayes Score 0.019212872
Marked as misclassified No
Message-id <1279942918.43.0.428714098467.issue6213@psf.upfronthosting.co.za>
In-reply-to
Content
Codecs are inconsistents: utf-32 has working getstate() / setstate() methods, whereas utf-8-sig and utf-16 don't (getstate() always return 0, setstate() does nothing).
> Simply moving py3ks getstate/setstate implementation 
> over to 2.x might do the trick.
That's what my patch does :-) It just a copy/paste of Python3 code. It does fix #5006 tests (which are re-enabled by the patch). Using the patch, it's possible to save/restore utf-8-sig and utf-16 codecs state.
History
Date User Action Args
2010年07月24日 03:41:58vstinnersetrecipients: + vstinner, doerwalter, pitrou
2010年07月24日 03:41:58vstinnersetmessageid: <1279942918.43.0.428714098467.issue6213@psf.upfronthosting.co.za>
2010年07月24日 03:41:56vstinnerlinkissue6213 messages
2010年07月24日 03:41:56vstinnercreate

AltStyle によって変換されたページ (->オリジナル) /