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
Changes by Nicola Palumbo :
Removed file: http://bugs.python.org/file31590/issue18922.patch
___
Python tracker
<http://bugs.python.org/issue18922>
___
___
Python-bug
Changes by Nicola Palumbo :
Added file: http://bugs.python.org/file31613/issue18922.patch
___
Python tracker
<http://bugs.python.org/issue18922>
___
___
Python-bugs-list m
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
Nicola Palumbo added the comment:
I should have read more carefully, too! Thanks to both.
--
___
Python tracker
<http://bugs.python.org/issue18622>
___
___
Pytho