This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brittanyrey
Recipients brittanyrey
Date 2019-12-06.21:42:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1575668539.27.0.598357359198.issue38990@roundup.psfhosted.org>
In-reply-to
Content
When running python -S, attempting to run "import genericpath" fails with an attribute error due to a circular dependency between posixpath and genericpath that's triggered when "import os" is called from within genericpath.py. 

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/fbcode/platform007/lib/python3.7/genericpath.py", line 6, in <module>
    import os
  File "/usr/local/fbcode/platform007/lib/python3.7/os.py", line 57, in <module>
    import posixpath as path
  File "/usr/local/fbcode/platform007/lib/python3.7/posixpath.py", line 130, in <module>
    splitext.__doc__ = genericpath._splitext.__doc__
AttributeError: module 'genericpath' has no attribute '_splitext'
History
Date User Action Args
2019-12-06 21:42:19brittanyreysetrecipients: + brittanyrey
2019-12-06 21:42:19brittanyreysetmessageid: <1575668539.27.0.598357359198.issue38990@roundup.psfhosted.org>
2019-12-06 21:42:19brittanyreylinkissue38990 messages
2019-12-06 21:42:18brittanyreycreate