[issue30767] logging must check exc_info correctly

2017-06-26 Thread Mihail Krivushin
New submission from Mihail Krivushin: Logging checking `if exc_info:` and this maybe incorrect, due exception instance can have __bool__ method and thus can be false. If this is a case, then error that is return false from __bool__ will cause logging to swallow traceback. We need to check

[issue23427] Python should expose command when invoked with -c

2015-02-10 Thread Mihail Krivushin
Changes by Mihail Krivushin : -- versions: +Python 2.7, Python 3.2, Python 3.3, Python 3.4 ___ Python tracker <http://bugs.python.org/issue23427> ___ ___ Pytho

[issue23427] Python should expose command when invoked with -c

2015-02-10 Thread Mihail Krivushin
Mihail Krivushin added the comment: Jan-Philip, yes, I see that Main.c needs modification, but we can fix orig_argv with not just assignment but with full copy. So then we can get unmodified argv. -- ___ Python tracker <http://bugs.python.