New issue 3171: datetime module error
https://bitbucket.org/pypy/pypy/issues/3171/datetime-module-error

LeaRning:

RPython traceback:  
File "pypy\_interpreter.c", line 47805, in BuiltinCode1\_fastcall\_1  
File "implement\_1.c", line 57339, in fastfunc\_descr\_lower\_1\_1  
File "pypy\_objspace\_std\_7.c", line 39925, in \_lower\_unicode  
File "rpython\_rlib.c", line 15585, in \_nonascii\_unichr\_as\_utf8\_append  
Traceback \(most recent call last\):  
File "H:\\[test.py](http://stst.py)", line 230, in <module>  
season\_data\_list = month\_kline\_to\_season\_kline\(month\_data\_list\)  
File "H:\\test[.py](http://stst.py)", line 93, in 
month\_kline\_to\_season\_kline  
datetime.datetime.strptime\('1900-01-01', "%Y-%m-%d"\),  
File "C:\\Program 
Files\\pypy3.6-v7.3.0-win32\\lib-python\\3\\[datetime.py](http://datetime.py)", 
line 1774, in strptime  
import \_strptime  
File "C:\\Program Files\\pypy3.6-v7.3.0-win32\\lib-python\\3\_strptime.py", 
line 280, in <module>  
\_TimeRE\_cache = TimeRE\(\)  
File "C:\\Program Files\\pypy3.6-v7.3.0-win32\\lib-python\\3\_strptime.py", 
line 194, in **init**  
self.locale\_time = LocaleTime\(\)  
File "C:\\Program Files\\pypy3.6-v7.3.0-win32\\lib-python\\3\_strptime.py", 
line 76, in **init**  
self.\_\_calc\_timezone\(\)  
File "C:\\Program Files\\pypy3.6-v7.3.0-win32\\lib-python\\3\_strptime.py", 
line 174, in \_\_calc\_timezone  
no\_saving = frozenset\(\{"utc", "gmt", self.tzname\[0\].lower\(\)\}\)  
SystemError: unexpected internal exception \(please report a bug\): <OutOfRange 
object at 0x3dfb61c>; internal traceback was dumped to stderr

\[Finished in 0.3s with exit code 1\]


_______________________________________________
pypy-issue mailing list
pypy-issue@python.org
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to