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 serhiy.storchaka
Recipients ezio.melotti, mark.dickinson, meador.inge, miwa, pitrou, serhiy.storchaka, vajrasky
Date 2013-09-30.18:23:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1380565419.08.0.486335978596.issue19099@psf.upfronthosting.co.za>
In-reply-to
Content
Struct constructor accepts only str and not unicode. But struct.pack() uses caching and it found Struct('B') in the cache (because u'B' and 'B' are equal and have same hash).

I doubt we should fix this. Adding support of Unicode argument is new feature.
History
Date User Action Args
2013-09-30 18:23:39serhiy.storchakasetrecipients: + serhiy.storchaka, mark.dickinson, pitrou, ezio.melotti, miwa, meador.inge, vajrasky
2013-09-30 18:23:39serhiy.storchakasetmessageid: <1380565419.08.0.486335978596.issue19099@psf.upfronthosting.co.za>
2013-09-30 18:23:39serhiy.storchakalinkissue19099 messages
2013-09-30 18:23:38serhiy.storchakacreate