[New-bugs-announce] [issue39230] fail on datetime import if _datetime.py exists in PATH

mmckerns report at bugs.python.org
Mon Jan 6 09:56:11 EST 2020


New submission from mmckerns <mmckerns at caltech.edu>:

In Lib/datetime.py, there's an import: `from _datetime import *`
which will fail if `_datetime.py` exists in the current directory, or earlier in the path than Lib.  For reference, see:
https://github.com/numpy/numpy/issues/15257

----------
components: Library (Lib)
messages: 359429
nosy: mmckerns
priority: normal
severity: normal
status: open
title: fail on datetime import if _datetime.py exists in PATH
type: behavior
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39230>
_______________________________________


More information about the New-bugs-announce mailing list