[issue23163] pdb docs need to contain a statement on threads/multithreaded debugging
Attila-Mihaly Balazs added the comment: Absolutely this. While it is good that there is at least some documentation (at sys.settrace), it is not very explicit nor is it self evident that one should look there (for example the PDB docs don't even mention settrace). -- nosy: +Attila-Mihaly Balazs ___ Python tracker <http://bugs.python.org/issue23163> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21496] pyvenv activate_this.py
Attila-Mihaly Balazs added the comment: Hello, A scenario where this would be needed (and where you can't just "execute the script with the python from inside the pyvenv" to get it automatically activate) is when running under mod_wsgi. There sometimes it is needed to activate the virtualenv "on the fly" from inside the application.wsgi. Just taking activate_this.py from virtualenv and dropping it into env/bin seems to work nicely, so perhaps that could become the official solution? ------ nosy: +Attila-Mihaly Balazs ___ Python tracker <http://bugs.python.org/issue21496> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue28458] from __future__ import print_function does not emulate the flush param from py3k
New submission from Attila-Mihaly Balazs: Doing the following in Python 2.7.12 does not work: from __future__ import print_function print(1, flush=True) It says: "'flush' is an invalid keyword argument for this function" While the following is a perfectly valid python 3k statement: print(1, flush=True) -- components: Library (Lib) messages: 278797 nosy: Attila-Mihaly Balazs priority: normal severity: normal status: open title: from __future__ import print_function does not emulate the flush param from py3k versions: Python 3.7 ___ Python tracker <http://bugs.python.org/issue28458> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com