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 nikratio
Recipients Arfrever, elixir, ishimoto, jwilk, loewis, methane, mrabarnett, ncoghlan, nikratio, pitrou, rurpy2, serhiy.storchaka, vstinner
Date 2014-02-02.02:33:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1391308395.91.0.8002994489.issue15216@psf.upfronthosting.co.za>
In-reply-to
Content
Wow, I didn't realize that programming Python using the C interface was that tedious and verbose. I have attached a work-in-progress patch. It is not complete yet, but maybe somebody could already take a look to make sure that I'm not heading completely in the wrong direction.

Regarding StringIO.set_encoding(): I thought about this a bit, but I couldn't come up with a convincing scenario where having a no-op implementation would clearly help or or clearly hurt. Personally I would therefore to not provide it for now. If it turns out to be a problem, it can easily be added. But if we add it now and it turns out to have been a bad choice, it's probably much harder to remove it again.
History
Date User Action Args
2014-02-02 02:33:16nikratiosetrecipients: + nikratio, loewis, ishimoto, ncoghlan, pitrou, vstinner, jwilk, mrabarnett, Arfrever, methane, rurpy2, serhiy.storchaka, elixir
2014-02-02 02:33:15nikratiosetmessageid: <1391308395.91.0.8002994489.issue15216@psf.upfronthosting.co.za>
2014-02-02 02:33:15nikratiolinkissue15216 messages
2014-02-02 02:33:15nikratiocreate