fix issue589: fix bad interaction with numpy and others when showing

exceptions.  check for precise "maximum recursion depth exceed" exception
instead of presuming any RuntimeError is that one (implemented in py dep)
Thanks Charles Cloud for analysing the issue.
This commit is contained in:
holger krekel 2014-09-14 17:24:27 +02:00
parent 488720da8d
commit 1a80487e71
2 changed files with 6 additions and 1 deletions

View File

@ -7,6 +7,11 @@ NEXT
- Fix infinite recursion bug when pickling capture.EncodedFile, thanks
Uwe Schmitt.
- fix issue589: fix bad interaction with numpy and others when showing
exceptions. Check for precise "maximum recursion depth exceed" exception
instead of presuming any RuntimeError is that one (implemented in py
dep). Thanks Charles Cloud for analysing the issue.
2.6.2
-----------

View File

@ -17,7 +17,7 @@ long_description = open('README.rst').read()
def main():
install_requires = ['py>=1.4.24']
install_requires = ['py>=1.4.25.dev2']
if sys.version_info < (2, 7) or (3,) <= sys.version_info < (3, 2):
install_requires.append('argparse')
if sys.platform == 'win32':