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 tim.golden
Recipients Daniel.Szoska, Dmitry.Jemerov, Hugo.Lol, Michał.Pasternak, Roman.Evstifeev, Suzumizaki, Vladimir Iofik, aclover, adamhj, brian.curtin, eric.araujo, frankoid, jaraco, kaizhu, loewis, me21, r.david.murray, shimizukawa, tim.golden, vldmit, vstinner
Date 2014-04-16.19:58:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1397678338.57.0.322262829284.issue9291@psf.upfronthosting.co.za>
In-reply-to
Content
The attached patch issue9291.7.patch (which is essentially an amalgam of 9291.patch & 9291a.patch with some tweaks of my own) does appear to solve the issue. My Windows setup is UK, so if any of the people still watching this issue could test against a non-English Windows, that would be useful.

Even this fix does leave some room for encoding mismatches between the stored values (mbcs encoded) and any string passed to guess_type. But it's not clear how that should be handled, and at least it doesn't crash out on .init.
History
Date User Action Args
2014-04-16 19:58:58tim.goldensetrecipients: + tim.golden, loewis, jaraco, vstinner, eric.araujo, kaizhu, aclover, r.david.murray, brian.curtin, Suzumizaki, frankoid, Dmitry.Jemerov, shimizukawa, vldmit, Vladimir Iofik, Roman.Evstifeev, adamhj, me21, Hugo.Lol, Daniel.Szoska, Michał.Pasternak
2014-04-16 19:58:58tim.goldensetmessageid: <1397678338.57.0.322262829284.issue9291@psf.upfronthosting.co.za>
2014-04-16 19:58:58tim.goldenlinkissue9291 messages
2014-04-16 19:58:58tim.goldencreate