c6247fd398
64-bit (patch 103) Thu Jul 8 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-2 - add machinery for regenerating the "configure" script in the face of mismatching autoconf versions (patch 300) Tue Jul 6 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-1 - 2.7 final; drop alphatag - drop patch 117 (upstream), patch 120 (upstreamed) - fix the commented-out __python_ver from 26 to 27
28 lines
894 B
Diff
28 lines
894 B
Diff
Index: Misc/NEWS
|
|
===================================================================
|
|
--- Misc/NEWS (revision 79309)
|
|
+++ Misc/NEWS (revision 79310)
|
|
@@ -29,6 +29,9 @@
|
|
Library
|
|
-------
|
|
|
|
+- Issue #8205: Remove the "Modules" directory from sys.path when Python is
|
|
+ running from the build directory (POSIX only).
|
|
+
|
|
- Issue #7667: Fix doctest failures with non-ASCII paths.
|
|
|
|
- Issue #7512: shutil.copystat() could raise an OSError when the filesystem
|
|
Index: Lib/site.py
|
|
===================================================================
|
|
--- Lib/site.py (revision 79309)
|
|
+++ Lib/site.py (revision 79310)
|
|
@@ -118,7 +118,7 @@
|
|
s = "build/lib.%s-%.3s" % (get_platform(), sys.version)
|
|
if hasattr(sys, 'gettotalrefcount'):
|
|
s += '-pydebug'
|
|
- s = os.path.join(os.path.dirname(sys.path[-1]), s)
|
|
+ s = os.path.join(os.path.dirname(sys.path.pop()), s)
|
|
sys.path.append(s)
|
|
|
|
|