Author serhiy.storchaka
Recipients brett.cannon, eric.snow, ncoghlan, serhiy.storchaka
Date 2016-06-30.08:28:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
1. If __package__ is None, and __spec__ is None or not set, and emitting ImportWarning raises an error, package is a borrowed reference to None, and it is decrefed. As result, the reference count of None is decremented.

2. __import__ is looked in globals or builtins and passed to _find_and_load(), _handle_fromlist() or called with highest package name. This doesn't match Python implementation. Python implementation uses _gcd_import which implements the original __import__, and isn't affected by overriding __import__ in globals or builtins.
Date User Action Args
2016-06-30 08:28:21serhiy.storchakasetrecipients: + serhiy.storchaka, brett.cannon, ncoghlan, eric.snow
2016-06-30 08:28:21serhiy.storchakasetmessageid: <>
2016-06-30 08:28:21serhiy.storchakalinkissue27419 messages
2016-06-30 08:28:20serhiy.storchakacreate