[issue18922] Output versions of scripts to stdout

2013-09-04 Thread Nicola Palumbo
Nicola Palumbo added the comment: Now The Lib/smtpd.py and Tools/i18n/msgfmt.py scripts write their version strings to stdout, and not to sderr. Applying the patch the stdout can be redirect /python.exe Lib/smtpd.py --version >> /dev/null Without the patch: /python.exe Lib/smtpd.py --v

[issue18922] Output versions of scripts to stdout

2013-09-05 Thread Nicola Palumbo
Changes by Nicola Palumbo : Removed file: http://bugs.python.org/file31590/issue18922.patch ___ Python tracker <http://bugs.python.org/issue18922> ___ ___ Python-bug

[issue18922] Output versions of scripts to stdout

2013-09-05 Thread Nicola Palumbo
Changes by Nicola Palumbo : Added file: http://bugs.python.org/file31613/issue18922.patch ___ Python tracker <http://bugs.python.org/issue18922> ___ ___ Python-bugs-list m

[issue18622] reset_mock on mock created by mock_open causes infinite recursion

2013-09-09 Thread Nicola Palumbo
Nicola Palumbo added the comment: Hi all, I've fixed the infinite recursion in `reset_mock()`. It has been solved by tracking a set of visited ids as suggested. >>> from unittest import mock >>> a = mock.mock_open() >>> a.reset_mock() >>> a

[issue18622] reset_mock on mock created by mock_open causes infinite recursion

2014-01-14 Thread Nicola Palumbo
Nicola Palumbo added the comment: I should have read more carefully, too! Thanks to both. -- ___ Python tracker <http://bugs.python.org/issue18622> ___ ___ Pytho