Author jaraco
Recipients ericvw, jaraco, mariocj89, ncoghlan
Date 2018-01-27.19:34:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1517081676.17.0.467229070634.issue32206@psf.upfronthosting.co.za>
In-reply-to
Content
Adopting the backport, I believe I've found a defect. I filed the defect with the backport as [backports.pdb 1](https://github.com/jaraco/backports.pdb/issues/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.
History
Date User Action Args
2018-01-27 19:34:36jaracosetrecipients: + jaraco, ncoghlan, ericvw, mariocj89
2018-01-27 19:34:36jaracosetmessageid: <1517081676.17.0.467229070634.issue32206@psf.upfronthosting.co.za>
2018-01-27 19:34:36jaracolinkissue32206 messages
2018-01-27 19:34:36jaracocreate