Staging
v0.5.1
https://github.com/python/cpython
Revision 3008bc0f4abb3f71433b1fcd97cc801da0a866cc authored by Brett Cannon on 12 August 2015, 01:01:31 UTC, committed by Brett Cannon on 12 August 2015, 01:01:31 UTC
ImportError if __name__ is not defined on a package.

Thanks to Armin Rigo for the bug report and diagnosing the cause.
1 parent bb8a52a
History
Tip revision: 3008bc0f4abb3f71433b1fcd97cc801da0a866cc authored by Brett Cannon on 12 August 2015, 01:01:31 UTC
Issue #24492: make sure that ``from ... import ...` raises an
Tip revision: 3008bc0
File Mode Size
__init__.py -rw-r--r-- 314 bytes
__main__.py -rw-r--r-- 13.9 KB
bytedesign.py -rwxr-xr-x 4.1 KB
chaos.py -rw-r--r-- 951 bytes
clock.py -rwxr-xr-x 3.1 KB
colormixer.py -rw-r--r-- 1.3 KB
forest.py -rwxr-xr-x 2.9 KB
fractalcurves.py -rwxr-xr-x 3.4 KB
lindenmayer.py -rwxr-xr-x 2.4 KB
minimal_hanoi.py -rwxr-xr-x 2.0 KB
nim.py -rw-r--r-- 6.4 KB
paint.py -rwxr-xr-x 1.3 KB
peace.py -rwxr-xr-x 1.0 KB
penrose.py -rwxr-xr-x 3.5 KB
planet_and_moon.py -rwxr-xr-x 2.8 KB
round_dance.py -rw-r--r-- 1.8 KB
sorting_animate.py -rw-r--r-- 4.9 KB
tree.py -rwxr-xr-x 1.4 KB
turtle.cfg -rw-r--r-- 160 bytes
two_canvases.py -rwxr-xr-x 1.1 KB
wikipedia.py -rw-r--r-- 1.3 KB
yinyang.py -rwxr-xr-x 821 bytes

back to top