Message340697
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. |
|
Date |
User |
Action |
Args |
2019-04-23 07:55:09 | berker.peksag | set | recipients:
+ berker.peksag, orsenthil, piyush-kgp |
2019-04-23 07:55:09 | berker.peksag | set | messageid: <1556006109.12.0.0286149188999.issue36701@roundup.psfhosted.org> |
2019-04-23 07:55:09 | berker.peksag | link | issue36701 messages |
2019-04-23 07:55:09 | berker.peksag | create | |
|