Author Mark.Shannon
Recipients Mark.Shannon
Date 2017-10-17.09:45:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1508233521.36.0.213398074469.issue31802@psf.upfronthosting.co.za>
In-reply-to
Content
$ python3.7 -S
>>> import posixpath
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "--/Lib/posixpath.py", line 13, in <module>
    import os
  File "--/Lib/os.py", line 92, in <module>
    from os.path import (curdir, pardir, sep, pathsep, defpath, extsep, altsep,
ImportError: cannot import name 'curdir' from 'posixpath' (--/Lib/posixpath.py)

Whether this counts as a bug or not is debatable. It could be argued that you shouldn't be importing 'posixpath' directly, in which case it ought to be called '_posixpath', but I guess it is too late to be changing the name.
History
Date User Action Args
2017-10-17 09:45:21Mark.Shannonsetrecipients: + Mark.Shannon
2017-10-17 09:45:21Mark.Shannonsetmessageid: <1508233521.36.0.213398074469.issue31802@psf.upfronthosting.co.za>
2017-10-17 09:45:21Mark.Shannonlinkissue31802 messages
2017-10-17 09:45:20Mark.Shannoncreate