[issue25508] LogRecord attributes are not tuple, when logging only dict

2015-10-29 Thread Ondrej Sejvl
New submission from Ondrej Sejvl: Hi, in doc https://docs.python.org/3.4/library/logging.html#logrecord-attributes there is argsYou shouldn’t need to format this yourself. The tuple of arguments merged into msg to produce message. But when I log message with 1 arg - a dict - in

[issue25867] os.stat raises exception when using unicode and no locale is set

2015-12-15 Thread Ondrej Sejvl
New submission from Ondrej Sejvl: os.stat() raises exception UnicodeEncodeError when path is unicode and no locale is set in envinronment (this occures when running app with daemon tools -> LC_ALL=) How to simulate: $ env -i python >>> import os >>> os.stat(u"\xf