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:
		
							parent
							
								
									488720da8d
								
							
						
					
					
						commit
						1a80487e71
					
				|  | @ -7,6 +7,11 @@ NEXT | ||||||
| - Fix infinite recursion bug when pickling capture.EncodedFile, thanks | - Fix infinite recursion bug when pickling capture.EncodedFile, thanks | ||||||
|   Uwe Schmitt. |   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 | 2.6.2 | ||||||
| ----------- | ----------- | ||||||
|  |  | ||||||
							
								
								
									
										2
									
								
								setup.py
								
								
								
								
							
							
						
						
									
										2
									
								
								setup.py
								
								
								
								
							|  | @ -17,7 +17,7 @@ long_description = open('README.rst').read() | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| def main(): | 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): |     if sys.version_info < (2, 7) or (3,) <= sys.version_info < (3, 2): | ||||||
|         install_requires.append('argparse') |         install_requires.append('argparse') | ||||||
|     if sys.platform == 'win32': |     if sys.platform == 'win32': | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue