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 jaraco
Recipients ericvw, jaraco, mariocj89, ncoghlan
Date 2018-01-27.19:34:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Adopting the backport, I believe I've found a defect. I filed the defect with the backport as [backports.pdb 1](

Essentially, the issue is that `__package__` gets set to the module name instead of the package name, causing issues with `from .mod` imports.

Feel free to take the relevant parts of the fix in the backport to adjust the implementation here, and definitely let me know if you think the adjustment I've made is somehow incorrect.

Full disclosure, I have not tested the canonical implementation in Python 3.7, only the backport in Python 3.6 and 2.7.

Please let me know if you would like me to file a separate issue.
Date User Action Args
2018-01-27 19:34:36jaracosetrecipients: + jaraco, ncoghlan, ericvw, mariocj89
2018-01-27 19:34:36jaracosetmessageid: <>
2018-01-27 19:34:36jaracolinkissue32206 messages
2018-01-27 19:34:36jaracocreate