[issue9338] argparse optionals with nargs='?', '*' or '+' can't be followed by positionals

2022-02-17 Thread Walter Doekes
Change by Walter Doekes : -- nosy: +wdoekes ___ Python tracker <https://bugs.python.org/issue9338> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23010] "unclosed file" warning when defining unused logging FileHandler in dictConfig

2015-01-03 Thread Walter Doekes
Walter Doekes added the comment: No worries. I know how it is ;) Thanks for the update. -- ___ Python tracker <http://bugs.python.org/issue23010> ___ ___ Pytho

[issue23010] "unclosed file" warning when defining unused logging FileHandler in dictConfig

2014-12-09 Thread Walter Doekes
Walter Doekes added the comment: > The handlers are AFAIK referenced - if you peek at logging._handlerList or > logging._handlers you should see them in there. Aha. But that's the point. They aren't. If they were, I wouldn't have any problems with this. But I have thi

[issue23010] "unclosed file" warning when defining unused logging FileHandler in dictConfig

2014-12-08 Thread Walter Doekes
Walter Doekes added the comment: Thanks for the quick response! > Well, it's possible that you could configure handlers in the configuration > for later use (i.e. at some point after the dictConfig() call returns). After the dictConfig call returns, the StreamHandler/FileHan

[issue23010] "unclosed file" warning when defining unused logging FileHandler in dictConfig

2014-12-08 Thread Walter Doekes
New submission from Walter Doekes: If you define a FileHandler in your logging dictConfig but fail to use it in the same configuration, the file handle is leaked and a ResourceWarning is thrown. Versions: $ python3 -V Python 3.4.0 $ apt-cache show python3.4 | grep ^Version

[issue2980] Pickle stream for unicode object may contain non-ASCII characters.

2009-04-22 Thread Walter Doekes
Walter Doekes added the comment: Same issue with Django here ;-) I wouldn't mind a protocol 3 that does <128 ascii only. If only because debugging base64'd zlib'd protocol-2 data is not particularly convenient. -- nosy: +wdoekes

[issue1222] locale.format bug if thousand separator is space (french separator as example)

2008-11-14 Thread Walter Doekes
Walter Doekes <[EMAIL PROTECTED]> added the comment: @Antoine Pitrou Regarding "# XXX is the trailing space a bug?": I'm inclined to believe that it is. Man 7 locale does not mention that p_sep_by_space should be used for non-int currency symbols, nor that it shouldn&#x

[issue1222] locale.format bug if thousand separator is space (french separator as example)

2008-11-13 Thread Walter Doekes
Changes by Walter Doekes <[EMAIL PROTECTED]>: -- nosy: +wdoekes ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1222> ___ ___ Python