2 ===================================================================
3 --- Misc/NEWS (revision 79309)
4 +++ Misc/NEWS (revision 79310)
9 +- Issue #8205: Remove the "Modules" directory from sys.path when Python is
10 + running from the build directory (POSIX only).
12 - Issue #7667: Fix doctest failures with non-ASCII paths.
14 - Issue #7512: shutil.copystat() could raise an OSError when the filesystem
16 ===================================================================
17 --- Lib/site.py (revision 79309)
18 +++ Lib/site.py (revision 79310)
20 s = "build/lib.%s-%.3s" % (get_platform(), sys.version)
21 if hasattr(sys, 'gettotalrefcount'):
23 - s = os.path.join(os.path.dirname(sys.path[-1]), s)
24 + s = os.path.join(os.path.dirname(sys.path.pop()), s)