cpython/Lib
Éric Araujo 021eddfff6 Fix long-standing bugs with MANIFEST.in parsing on Windows (#6884).
These regex changes fix a number of issues for distutils on Windows:
- #6884: impossible to include a file starting with 'build'
- #9691 and #14004: sdist includes too many files
- #13193: test_filelist failures

This commit replaces the incorrect changes done in 557a973709de,
c566a3447ba1 and 3925081a7ca0 to fix #13193; we were too eager to fix
the test failures and I did not study the code enough before
greenlighting patches.  This time we have unit tests from the problems
reported by users to be sure we have the right fix.

Thanks to Nadeem Vawda for his help.
2012-02-25 16:13:53 +01:00
..
bsddb Merged revisions 86596 via svnmerge from 2010-11-21 13:34:58 +00:00
compiler Merged revisions 77310-77311 via svnmerge from 2010-08-02 00:24:26 +00:00
ctypes Issue #13979: Fix ctypes.util.find_library ldconfig regex 2012-02-13 22:22:06 -06:00
curses Issue #5622: Fix curses.wrapper to raise correct exception if curses 2011-03-09 02:31:55 -08:00
distutils Fix long-standing bugs with MANIFEST.in parsing on Windows (#6884). 2012-02-25 16:13:53 +01:00
email #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 12:34:31 +02:00
encodings Merged revisions 83198 via svnmerge from 2010-07-28 01:55:43 +00:00
hotshot Fix deprecation warnings in test_hotshot.py 2010-08-03 07:03:40 +00:00
idlelib bump to 2.7.3rc2 2012-03-15 12:25:54 -05:00
importlib
json don't rely on dict order 2012-02-20 23:06:22 -05:00
lib-tk don't rely on dict order 2012-02-21 00:15:10 -05:00
lib2to3 re.escape os.sep so that \ is interpreted properly in the regex. 2012-02-13 16:45:47 -08:00
logging Closes #13807: Now checks for sys.stderr being there before writing to it. 2012-01-20 11:20:12 +00:00
msilib Remove duplication. 2011-10-19 10:39:35 +03:00
multiprocessing Issue #8184: Fix a potential file descriptor leak when a 2012-02-04 14:40:25 +01:00
plat-aix3
plat-aix4
plat-atheos
plat-beos5
plat-darwin
plat-freebsd4
plat-freebsd5
plat-freebsd6
plat-freebsd7
plat-freebsd8
plat-generic
plat-irix5
plat-irix6
plat-linux2
plat-mac Issue #12935: Correct typo in findertools. 2011-09-15 14:07:31 -07:00
plat-netbsd1
plat-next3
plat-os2emx
plat-riscos
plat-sunos5
plat-unixware7
pydoc_data update pydoc-topics 2012-02-23 15:18:13 -05:00
site-packages
sqlite3 sqlite3: Fix 64-bit integer handling in user functions on 32-bit architectures 2012-02-21 14:04:46 +02:00
test Fix sporadic test_os failure under Windows 2012-02-22 22:16:25 +01:00
unittest this can be done without a custom dict (also fixes #12544) 2011-07-12 19:21:42 -05:00
wsgiref Merged revisions 87797 via svnmerge from 2011-01-06 17:19:05 +00:00
xml #4147: minidom's toprettyxml no longer adds whitespace around a text node when it is the only child of an element. Initial patch by Dan Kenigsberg. 2011-11-18 17:30:28 +02:00
__future__.py
__phello__.foo.py
_abcoll.py Merged revisions 86857 via svnmerge from 2010-11-30 01:18:17 +00:00
_LWPCookieJar.py
_MozillaCookieJar.py Merged revisions 83392,83426 via svnmerge from 2010-08-01 22:05:31 +00:00
_pyio.py Issue #13322: Fix BufferedWriter.write() to ensure that BlockingIOError is 2011-11-21 20:16:44 +01:00
_strptime.py
_threading_local.py Merged revisions 84344 via svnmerge from 2010-08-28 18:29:13 +00:00
_weakrefset.py Merged revisions 86881,86887,86913-86915,86933,86943,86960,86964,86974,86980,86996,87008 via svnmerge from 2011-02-25 10:39:23 +00:00
abc.py Use weakrefs to hold onto classes #2521. 2010-08-21 03:03:22 +00:00
aifc.py Issue #13589: Fix some serialization primitives in the aifc module. 2012-01-17 17:13:04 +01:00
antigravity.py
anydbm.py Add docstring to anydbm.open 2011-05-01 02:02:30 +02:00
argparse.py Issue #9347: Fix formatting for tuples in argparse type= error messages. 2011-04-04 01:47:52 +02:00
ast.py Issue #11000 ast.parse doc fix (r88172) 2011-01-24 21:48:11 +00:00
asynchat.py
asyncore.py Issue #12502: asyncore: fix polling loop with AF_UNIX sockets. 2011-07-14 19:49:02 +02:00
atexit.py
audiodev.py
base64.py Merged revisions 85497 via svnmerge from 2010-10-14 21:22:52 +00:00
BaseHTTPServer.py port to 2.7 - Minor code style improvements in http.server suggested in Issue13294. 2011-12-23 17:07:13 +08:00
Bastion.py
bdb.py Merged revisions 86861 via svnmerge from 2010-11-29 12:41:03 +00:00
binhex.py Merged revisions 77310-77311 via svnmerge from 2010-08-02 00:24:26 +00:00
bisect.py
calendar.py Merged revisions 85728 via svnmerge from 2010-11-26 07:57:57 +00:00
cgi.py Fix closes Issue12529 - cgi.parse_header failure on double quotes and 2011-10-20 00:52:24 +08:00
CGIHTTPServer.py Merged revisions 86195 via svnmerge from 2010-11-05 15:12:47 +00:00
cgitb.py Merged revisions 79558 via svnmerge from 2010-08-02 20:26:41 +00:00
chunk.py
cmd.py Close #13500: Hitting EOF gets cmd.py into a infinite EOF on return loop 2011-12-06 20:46:04 +01:00
code.py
codecs.py
codeop.py
collections.py Fix named tuples to work with vars(). 2011-06-02 20:40:35 -07:00
colorsys.py
commands.py
compileall.py Clarify compileall command-line options (#10454). 2011-09-01 20:04:50 +02:00
ConfigParser.py Fixes #4686. Reverts redundant picklability code from r74544. 2012-01-23 17:30:53 +01:00
contextlib.py
Cookie.py Merged revisions 87550 via svnmerge from 2010-12-28 19:11:03 +00:00
cookielib.py Remove duplication. 2011-10-19 10:39:35 +03:00
copy.py Merged revisions 84495-84496 via svnmerge from 2010-09-04 17:52:26 +00:00
copy_reg.py
cProfile.py Merged revisions 83524,84776 via svnmerge from 2010-09-13 17:36:36 +00:00
csv.py #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 12:34:31 +02:00
dbhash.py Merged revisions 77310-77311 via svnmerge from 2010-08-02 00:24:26 +00:00
decimal.py Update link to the decimal arithmetic specification. 2011-08-24 19:13:17 -07:00
difflib.py Issue 11747: Fix output format for context diffs. 2011-04-12 15:48:25 -07:00
dircache.py
dis.py
doctest.py Followup to #7502: add __hash__ method and tests. 2011-12-18 20:20:17 +01:00
DocXMLRPCServer.py
dumbdbm.py
dummy_thread.py
dummy_threading.py
filecmp.py Issue 11802: filecmp cache was growing without bound. 2011-06-25 17:14:53 +02:00
fileinput.py
fnmatch.py
formatter.py Merged revisions 77310-77311 via svnmerge from 2010-08-02 00:24:26 +00:00
fpformat.py
fractions.py
ftplib.py Issue #10883: Fix socket leaks in urllib.request. 2011-07-23 15:51:16 +02:00
functools.py Issue #11628: cmp_to_key should use__slots__. 2011-03-22 13:20:59 -07:00
genericpath.py
getopt.py
getpass.py issue11236 getpass.getpass to respond ctrl-c or ctrl-z 2011-04-26 21:02:26 +08:00
gettext.py #11515: fix several typos. Patch by Piotr Kasprzyk. 2011-03-15 18:55:01 +02:00
glob.py
gzip.py Issue #13781: Fix GzipFile to work with os.fdopen()'d file objects. 2012-01-19 00:40:46 +02:00
hashlib.py Fixes Issue #12059: Properly handle missing hash functions even when 2011-05-14 15:07:53 -07:00
heapq.py Issue 13274: Make the pure python code for heapq more closely match the C implementation for an undefined corner case. 2011-10-30 14:29:06 -07:00
hmac.py
htmlentitydefs.py
htmllib.py
HTMLParser.py HTMLParser is now able to handle slashes in the start tag. 2012-02-21 09:22:16 +02:00
httplib.py Fixes #10860: Handle empty port after port delimiter in httplib 2011-10-18 17:16:00 +02:00
ihooks.py
imaplib.py Issue #1441530: In imaplib, use makefile() to wrap the SSL socket to avoid 2011-05-24 23:10:54 +02:00
imghdr.py
imputil.py Merged revisions 77310-77311 via svnmerge from 2010-08-02 00:24:26 +00:00
inspect.py Revert part of 13f56cd8dec1 (issue #1785) to avoid breaking getmembers() with unbound methods. 2012-01-18 17:39:01 +01:00
io.py Merged revisions 78757 via svnmerge from 2010-08-02 21:35:06 +00:00
keyword.py
linecache.py
locale.py Issue #3067: Enhance the documentation and docstring of locale.setlocale() 2011-11-05 10:18:50 +02:00
macpath.py Merged revisions 84701,84784 via svnmerge from 2010-09-13 20:31:34 +00:00
macurl2path.py
mailbox.py Fix Maildir initialization so that maildir contents are read correctly. 2011-11-05 09:50:37 +02:00
mailcap.py
markupbase.py #13576: add tests about the handling of (possibly broken) condcoms. 2011-12-19 07:28:08 +02:00
md5.py
mhlib.py
mimetools.py
mimetypes.py Revert commit that was not a bugfix (#5301). 2011-11-04 18:15:45 +01:00
MimeWriter.py
mimify.py
modulefinder.py
multifile.py
mutex.py
netrc.py fix regression in netrc comment handling (closes #12009) 2011-06-10 11:32:52 -05:00
new.py
nntplib.py #11515: fix several typos. Patch by Piotr Kasprzyk. 2011-03-15 18:55:01 +02:00
ntpath.py Correction to f1509fc75435 - Issue #11583 2011-06-09 10:00:42 -05:00
nturl2path.py Fix Issue11474 - url2pathname() handling of '/C|/' on Windows 2011-04-14 12:54:35 +08:00
numbers.py Merged revisions 87455 via svnmerge from 2010-12-23 22:22:48 +00:00
opcode.py
optparse.py #8158: add missing 'description' description to optparse docstring. 2011-05-04 21:05:52 -04:00
os.py merge 2.6 with hash randomization fix 2012-02-20 21:44:56 -05:00
os2emxpath.py
pdb.doc
pdb.py PDB now will properly escape backslashes in the names of modules it executes. Fixes #7750 2011-11-17 18:03:24 -05:00
pickle.py Issue #7689: Allow pickling of dynamically created classes when their 2011-10-04 09:34:48 +02:00
pickletools.py #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 12:34:31 +02:00
pipes.py Remove obsolete comment 2011-09-01 22:06:49 +02:00
pkgutil.py Issue #7367: Fix pkgutil.walk_paths to skip directories whose 2011-10-06 14:17:47 -07:00
platform.py merge from fb225c289bf0 2012-02-01 15:17:39 -06:00
plistlib.py
popen2.py
poplib.py
posixfile.py
posixpath.py Issue #5117: Fixed root directory related issue on posixpath.relpath() and 2010-10-18 13:55:29 +00:00
pprint.py Merged revisions 77310-77311 via svnmerge from 2010-08-02 00:24:26 +00:00
profile.py fix ws 2011-06-28 21:57:21 -05:00
pstats.py Merge #12417 followup, also removing an extra docstring 2011-07-28 22:32:04 +02:00
pty.py Issue #2489: Fix bug in _copy loop that could consume 100% cpu on EOF. 2012-02-16 00:40:03 -08:00
py_compile.py
pyclbr.py
pydoc.py Issue #1785: Fix inspect and pydoc with misbehaving descriptors. 2011-12-21 10:16:14 +01:00
Queue.py
quopri.py
random.py Code simplification suggested by Sven Marnach. 2011-06-25 11:24:35 +02:00
re.py remove extra zero 2012-02-21 08:08:29 -05:00
repr.py
rexec.py
rfc822.py Remove duplication. 2011-10-19 10:39:35 +03:00
rlcompleter.py
robotparser.py Merged revisions 83449 via svnmerge from 2010-08-01 22:00:39 +00:00
runpy.py Merged revisions 85398 via svnmerge from 2010-10-13 01:10:16 +00:00
sched.py Remove duplication. 2011-10-19 10:39:35 +03:00
sets.py Merged revisions 77310-77311 via svnmerge from 2010-08-02 00:24:26 +00:00
sgmllib.py
sha.py
shelve.py
shlex.py
shutil.py Add missing name in shutil.__all__ 2011-08-21 16:14:01 +02:00
SimpleHTTPServer.py merge from 2.5 branch. 2011-03-17 14:23:24 +08:00
SimpleXMLRPCServer.py Issue #14001: CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServer 2012-02-18 14:30:34 +01:00
site.py Issue #10881: Fix test_site failures with OS X framework builds. 2012-02-06 00:55:50 +01:00
smtpd.py Issue #9168: now smtpd is able to bind privileged port. 2011-10-20 23:21:58 +02:00
smtplib.py Provide a better diagnosis on socket errors 2011-08-28 01:18:31 +02:00
sndhdr.py Merged revisions 75407,75409-75413,75415,75419-75421 via svnmerge from 2010-08-03 03:19:00 +00:00
socket.py Merged revisions 84597-84599 via svnmerge from 2010-09-07 21:40:25 +00:00
SocketServer.py Issue #13140: Fix the daemon_threads attribute of ThreadingMixIn. 2011-11-04 10:15:57 +01:00
sre.py
sre_compile.py
sre_constants.py
sre_parse.py
ssl.py Issue #13636: Weak ciphers are now disabled by default in the ssl module 2012-01-03 22:46:48 +01:00
stat.py Issue #8746: Correct faulty configure checks so that os.chflags() and 2011-06-27 23:41:53 -07:00
statvfs.py
string.py Merged revisions 84470-84471,84566-84567,84759 via svnmerge from 2010-09-13 07:46:37 +00:00
StringIO.py raise an ValueError in getvalue() on closed StringIO (closes #12161) 2011-05-26 09:56:41 -05:00
stringold.py
stringprep.py
struct.py
subprocess.py Issue #12786: Set communication pipes used by subprocess.Popen CLOEXEC to avoid 2011-08-25 21:20:54 +02:00
sunau.py Merged revisions 77310-77311 via svnmerge from 2010-08-02 00:24:26 +00:00
sunaudio.py
symbol.py regenerate symbol.py 2010-12-11 04:38:24 +00:00
symtable.py
sysconfig.py Issue #10881: Fix test_site failures with OS X framework builds. 2012-02-06 00:55:50 +01:00
tabnanny.py
tarfile.py Issue #13639: Accept unicode filenames in tarfile.open(mode="w|gz"). 2011-12-21 19:27:50 +01:00
telnetlib.py Merged revisions 87230 via svnmerge from 2010-12-14 14:34:16 +00:00
tempfile.py Issue #12856: Ensure child processes do not inherit the parent's random seed for filename generation in the tempfile module. 2011-11-25 21:28:15 +01:00
textwrap.py
this.py
threading.py remove unused import 2012-02-03 19:07:30 -05:00
timeit.py Issue 12514: Use try/finally to assure that timeit restores GC when done. 2011-07-28 23:56:38 -07:00
toaiff.py
token.py
tokenize.py
trace.py Fix test failures when Python is compiled without thread support. 2011-08-29 09:37:07 +02:00
traceback.py
tty.py
types.py
urllib.py Fix Issue6631 - Disallow relative files paths in urllib*.open() 2012-01-21 11:43:02 +08:00
urllib2.py Issue #13211: Add .reason attribute to HTTPError to implement parent class (URLError) interface. 2011-11-07 10:44:25 -05:00
urlparse.py include svn+ssh as well. 2011-08-03 18:40:18 +08:00
user.py
UserDict.py
UserList.py
UserString.py
uu.py Merged revisions 86037 via svnmerge from 2010-10-31 16:17:36 +00:00
uuid.py Merged revisions 86192 via svnmerge from 2010-11-05 14:56:16 +00:00
warnings.py Merged revisions 78757 via svnmerge from 2010-08-02 21:35:06 +00:00
wave.py Merged revisions 85970 via svnmerge from 2010-11-20 11:29:09 +00:00
weakref.py
webbrowser.py #12601: fix typo. 2011-07-21 11:18:18 +03:00
whichdb.py Close #13007: whichdb should recognize gdbm 1.9 magic numbers 2011-09-19 16:57:18 +02:00
wsgiref.egg-info
xdrlib.py Issue #9696: Fix exception incorrectly raised by xdrlib.Packer.pack_int when trying to pack a negative (in-range) integer. 2011-03-27 16:15:24 +01:00
xmllib.py
xmlrpclib.py Issue #12931: xmlrpclib now encodes Unicode URI to ISO-8859-1, instead of 2011-09-23 01:15:32 +02:00
zipfile.py Fix closes Issue6090 - Raise a ValueError, instead of failing with unrelated 2011-10-20 01:38:35 +08:00