[issue22690] importing Gtk breaks strptime

2014-10-23 Thread Sigz
Changes by Sigz : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue22690> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue22690] importing Gtk breaks strptime

2014-10-23 Thread Sigz
Sigz added the comment: Ok seems you were right, I was not applying any locale, forcing to locale.setlocale(locale.LC_ALL, 'en_US.utf8') resolved the issue. -- ___ Python tracker <http://bugs.python.o

[issue22690] importing Gtk breaks strptime

2014-10-21 Thread Sigz
New submission from Sigz: I usually convert date string to time with strptime formating. I noticed importing Gtk breaks strptime parsing for abbreviated month name and weekday name : >>> import time >>> time.strptime("Mon, 20 Oct 2014 08:00:32 +"