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 berker.peksag
Recipients berker.peksag, orsenthil, piyush-kgp
Date 2019-04-23.07:55:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1556006109.12.0.0286149188999.issue36701@roundup.psfhosted.org>
In-reply-to
Content
What about other packages in the stdlib? For example, you can see the same behavior in the email package:

>>> import email
>>> email.message.EmailMessage()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'email' has no attribute 'message'

IMO, this is how imports work in Python and IIRC os.path is the only exception in the stdlib. I think this needs to be discussed on python-ideas first.
History
Date User Action Args
2019-04-23 07:55:09berker.peksagsetrecipients: + berker.peksag, orsenthil, piyush-kgp
2019-04-23 07:55:09berker.peksagsetmessageid: <1556006109.12.0.0286149188999.issue36701@roundup.psfhosted.org>
2019-04-23 07:55:09berker.peksaglinkissue36701 messages
2019-04-23 07:55:09berker.peksagcreate