cpython/Misc
Brett Cannon 27e27f7ee1 Issue #18416: Have importlib.machinery.PathFinder treat '' as the cwd
and stop importlib.machinery.FileFinder treating '' as '.'.

Previous PathFinder transformed '' into '.' which led to __file__ for
modules imported from the cwd to always be relative paths. This meant
the values of the attribute were wrong as soon as the cwd changed.
This change now means that as long as the site module is run (which
makes all entries in sys.path absolute) then all values for __file__
will also be absolute unless it's for __main__ when specified by file
path in a relative way (modules imported by runpy will have an
absolute path).

Now that PathFinder is no longer treating '' as '.' it only makes
sense for FileFinder to stop doing so as well. Now no transformation
is performed for the directory given to the __init__ method.

Thanks to Madison May for the initial patch.
2013-10-18 11:39:04 -04:00
..
RPM Version bump to 3.4.0a3. 2013-09-28 23:51:00 +01:00
ACKS Close #19266: contextlib.ignore -> contextlib.suppress 2013-10-17 23:40:57 +10:00
coverity_model.c Coverity: model PyLong_From*() functions 2013-07-26 18:00:12 +02:00
gdbinit Merged revisions 86134,86315-86316,86390,86424-86425,86428,86550,86561-86562,86564-86565,86705,86708,86713 via svnmerge from 2010-11-26 09:05:43 +00:00
HISTORY #18466: merge with 3.3. 2013-08-17 16:58:13 +03:00
indent.pro Merged revisions 86134,86315-86316,86390,86424-86425,86428,86550,86561-86562,86564-86565,86705,86708,86713 via svnmerge from 2010-11-26 09:05:43 +00:00
NEWS Issue #18416: Have importlib.machinery.PathFinder treat '' as the cwd 2013-10-18 11:39:04 -04:00
Porting Merged revisions 78966,78970,79018,79026-79027,79055,79156,79159,79163-79164,79173,79176,79194,79208,79212 via svnmerge from 2010-03-21 23:13:07 +00:00
python-config.in - Issue #18257: Fix readlink usage in python-config. Install the python 2013-08-01 15:32:49 +02:00
python-config.sh.in - Issue #18257: Fix readlink usage in python-config. Install the python 2013-08-01 15:32:49 +02:00
python-wing3.wpr Adding Wing 4 (IDE) project file 2010-11-20 17:47:30 +00:00
python-wing4.wpr Changes for Wing Project file caused by mercurial transition. Plus ignoring python.exe-gdb.py. 2011-03-16 22:28:08 -04:00
python.man Issue #16400: Add command line option for isolated mode. 2013-08-10 16:36:18 +02:00
python.pc.in Final patch for issue 9807. 2010-11-24 19:43:47 +00:00
README #18443: remove the TextMate entry now that the bundle has been removed and fix ordering. Patch by Févry Thibault. 2013-08-06 19:52:25 +03:00
README.AIX Merged revisions 88430,88438,88440 via svnmerge from 2011-02-25 11:09:02 +00:00
README.coverity Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
README.valgrind Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 2006-04-21 10:40:58 +00:00
SpecialBuilds.txt Update internal comments to say _something_ about the "API ID". 2013-09-19 21:06:37 -05:00
svnmap.txt Add the map of SVN revision numbers to changeset ids. 2011-03-05 17:46:03 +01:00
valgrind-python.supp Issue #7652: Integrate the decimal floating point libmpdec library to speed 2012-03-21 18:25:23 +01:00
vgrindefs Patch #1550800: make exec a function. 2006-09-06 06:51:57 +00:00

Python Misc subdirectory
========================

This directory contains files that wouldn't fit in elsewhere.  Some
documents are only of historic importance.

Files found here
----------------

ACKS                    Acknowledgements
gdbinit                 Handy stuff to put in your .gdbinit file, if you use gdb
HISTORY                 News from previous releases -- oldest last
indent.pro              GNU indent profile approximating my C style
NEWS                    News for this release (for some meaning of "this")
Porting                 Mini-FAQ on porting to new platforms
python-config.in        Python script template for python-config
python.man              UNIX man page for the python interpreter
python.pc.in            Package configuration info template for pkg-config
python-wing*.wpr        Wing IDE project file
README                  The file you're reading now
README.AIX              Information about using Python on AIX
README.coverity         Information about running Coverity's Prevent on Python
README.valgrind         Information for Valgrind users, see valgrind-python.supp
RPM                     (Old) tools to build RPMs
SpecialBuilds.txt       Describes extra symbols you can set for debug builds
svnmap.txt              Map of old SVN revs and branches to hg changeset ids
valgrind-python.supp    Valgrind suppression file, see README.valgrind
vgrindefs               Python configuration for vgrind (a generic pretty printer)