[issue23890] assertRaises increases reference counter

2015-04-09 Thread Vjacheslav Fyodorov
Vjacheslav Fyodorov added the comment: It seems, as a minimum it must be noticed in docs. -- ___ Python tracker <http://bugs.python.org/issue23890> ___ ___ Pytho

[issue23890] assertRaises increases reference counter

2015-04-08 Thread Vjacheslav Fyodorov
New submission from Vjacheslav Fyodorov: Sometimes unittest's assertRaises increases reference counter of callable. This can break tests in tricky cases. Not seen in 2.X version. Demo file attached. -- components: Library (Lib) files: test_assertRaises.py messages: 240280

[issue13307] bdist_rpm: INSTALLED_FILES does not use __pycache__

2015-01-08 Thread Vjacheslav Fyodorov
Vjacheslav Fyodorov added the comment: Now in 3.4 Fedora 21 -- nosy: +Vjacheslav.Fyodorov versions: +Python 3.4 -3rd party, Python 3.2, Python 3.3 ___ Python tracker <http://bugs.python.org/issue13

[issue23043] doctest ignores "from __future__ import print_function"

2014-12-12 Thread Vjacheslav
New submission from Vjacheslav: >>> from __future__ import print_function >>> print (1,2) 1 2 in interactive session, but, with this 3 lines in tmp.txt: python -m doctest tmp.txt fails (prints tuple) -- components: Library (Lib) messages: 232577 nosy: fva priorit