annotate Python/importlib.h @ 76586:496c68f90a03

Issue #14646: __import__() now sets __loader__ if need be. importlib.util.module_for_loader also will set __loader__ along with __package__. This is in conjunction to a forthcoming update to PEP 302 which will make these two attributes required for loaders to set.
author Brett Cannon <brett@python.org>
date Fri, 27 Apr 2012 17:27:14 -0400
parents 141ed4b426e1
children 257cbd2fac38
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
76586
496c68f90a03 Issue #14646: __import__() now sets __loader__ if need be.
Brett Cannon <brett@python.org>
parents: 76584
diff changeset
1 (binary:text/plain)