Message167849
> Changing the macro's expansion would be good enough IMO.
Sounds good to me.
> PyImport_ImportModuleLevel() is part of the stable API...
From what I understand, as long as the function header has not changed, the stable ABI is still stable.
> Can't we just drop the check "level < 0"?
In Python 3 a negative value makes no sense, since there are no accommodations for implicit relative imports. The fact that builtins.__import__() accommodated -1 still was an oversight that was corrected in 3.3. Looks like this is just one bit that got missed. |
|
Date |
User |
Action |
Args |
2012-08-09 22:53:52 | eric.snow | set | recipients:
+ eric.snow, brett.cannon, georg.brandl, pitrou, vstinner, dmalcolm |
2012-08-09 22:53:52 | eric.snow | set | messageid: <1344552832.79.0.0900126028019.issue15610@psf.upfronthosting.co.za> |
2012-08-09 22:53:52 | eric.snow | link | issue15610 messages |
2012-08-09 22:53:52 | eric.snow | create | |
|