cpython/Lib
Éric Araujo 29b925548c 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 0a94e2f807c7 and
90b30d62caf2 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:28:05 +01:00
..
concurrent Issue #12364: Fix a hang in concurrent.futures.ProcessPoolExecutor. 2012-01-08 08:29:40 +02:00
ctypes Issue #13979: Fix ctypes.util.find_library ldconfig regex 2012-02-13 22:08:39 -06:00
curses Fix curses module for strict SysV implementation (without has_key function) 2011-11-29 00:03:50 +01:00
dbm Close #13007: whichdb should recognize gdbm 1.9 magic numbers 2011-09-19 17:08:18 +02:00
distutils Fix long-standing bugs with MANIFEST.in parsing on Windows (#6884). 2012-02-25 16:28:05 +01:00
email Fix few typos. 2011-11-11 19:35:42 +01:00
encodings Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02:00
html HTMLParser is now able to handle slashes in the start tag. 2012-02-21 09:25:00 +02:00
http Minor code style improvements in http.server suggested in Issue13294. 2011-12-23 17:03:41 +08:00
idlelib Bump version to 3.2.3rc1. 2012-02-23 21:14:12 +01:00
importlib Port import fixes from 2.7. 2012-01-25 18:01:45 +01:00
json Merge from 3.1: Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime) 2012-02-20 21:31:46 +01:00
lib2to3 Fix use of deprecated assertRegexpMatches method. 2012-02-20 22:08:27 +01:00
logging Revert fix for #13807 mistakenly applied in this branch. 2012-02-03 18:23:05 +00:00
msilib Remove duplication. 2011-10-19 10:58:56 +03:00
multiprocessing Issue #8184: Fix a potential file descriptor leak when a 2012-02-04 14:55:53 +01:00
plat-aix4
plat-darwin
plat-freebsd4
plat-freebsd5
plat-freebsd6
plat-freebsd7
plat-freebsd8
plat-generic
plat-linux2
plat-netbsd1
plat-next3
plat-os2emx
plat-sunos5
plat-unixware7
pydoc_data Update pydoc topics. 2012-02-23 21:12:41 +01:00
site-packages
sqlite3 sqlite3: Fix 64-bit integer handling in user functions on 32-bit architectures 2012-02-21 13:49:50 +02:00
test Fix (presumably) test_hash under big-endian systems (PPC). 2012-02-22 03:33:56 +01:00
tkinter Merge from 3.1: Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime) 2012-02-20 21:31:46 +01:00
turtledemo #12677: correct turtle orientation in doc 2011-08-07 17:12:19 +02:00
unittest testFnNames is assigned twice. 2011-11-25 02:08:39 +08:00
urllib Fix Issue6631 - Disallow relative file paths in urllib urlopen 2012-01-21 11:52:48 +08:00
wsgiref Merged revisions 87797 via svnmerge from 2011-01-06 17:18:32 +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:34:26 +02:00
xmlrpc Issue #14001: CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServer 2012-02-18 14:53:41 +01:00
__future__.py
__phello__.foo.py
_abcoll.py Remove the function annotations from _abcoll.py 2011-01-12 20:46:15 +00:00
_compat_pickle.py
_dummy_thread.py
_markupbase.py #13576: add tests about the handling of (possibly broken) condcoms. 2011-12-19 07:29:03 +02: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
_weakrefset.py Merged revisions 86537,86867-86868,86881,86887,86913-86915,86931-86933,86960,86964,86974,86980,86996,87008,87050 via svnmerge from 2011-02-25 09:48:21 +00:00
abc.py
aifc.py Issue #13589: Fix some serialization primitives in the aifc module. 2012-01-17 17:13:04 +01:00
antigravity.py
argparse.py Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02:00
ast.py Add missing types to docstring of ast.literal_eval. 2011-04-17 19:10:27 +02:00
asynchat.py
asyncore.py Merge - Issue #12502: asyncore: fix polling loop with AF_UNIX sockets. 2011-07-14 19:57:35 +02:00
base64.py
bdb.py Issue #10492: bdb.Bdb.run() only traces the execution of the code 2011-01-06 00:49:38 +00:00
binhex.py Close #11577: Improve binhex test coverage and fix ResourceWarning 2011-03-16 21:26:40 -04:00
bisect.py
cProfile.py
calendar.py Fix closes Issue10087 - fixing the output of calendar display in the html format. Patch by Chris Lambacher. Test Contributed by catherine. 2011-08-11 09:22:52 +08:00
cgi.py 3.2 - Fix closes Issue12529 - cgi.parse_header failure on double quotes and 2011-10-20 01:05:44 +08:00
cgitb.py
chunk.py
cmd.py Close #13500: Hitting EOF gets cmd.py into a infinite EOF on return loop 2011-12-06 20:46:57 +01:00
code.py
codecs.py
codeop.py
collections.py Issue 13870: Fix out of date comment. 2012-01-26 00:14:16 -08:00
colorsys.py
compileall.py #10454: a few edits to compileall help messages 2011-09-01 20:00:33 +02:00
configparser.py Remove duplication. 2011-10-19 10:58:56 +03:00
contextlib.py Remove trailing whitespace 2011-05-06 00:02:12 +10:00
copy.py
copyreg.py Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02:00
csv.py #11565: Merge with 3.1. 2011-03-16 11:35:38 +02:00
datetime.py Remove duplication. 2011-10-19 10:58:56 +03:00
decimal.py Issue #11830: Remove unnecessary introspection code in the decimal module. 2011-04-12 23:03:39 -04:00
difflib.py Issue 11747: Fix output format for context diffs. 2011-04-12 15:19:33 -07:00
dis.py
doctest.py Followup to #7502: add __hash__ method and tests. 2011-12-18 20:20:17 +01:00
dummy_threading.py
filecmp.py Issue 11802: filecmp cache was growing without bound. 2011-06-25 17:20:21 +02:00
fileinput.py Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02:00
fnmatch.py
formatter.py
fractions.py
ftplib.py Issue #10883: Fix socket leaks in urllib.request. 2011-07-23 14:03:00 +02:00
functools.py Issue 13177: Make tracebacks more readable by avoiding chained exceptions in the lru_cache. 2011-10-15 23:50:42 -07:00
genericpath.py
getopt.py
getpass.py Fix for issue11236 getpass.getpass to respond ctrl-c or ctrl-z 2011-04-26 20:59:46 +08:00
gettext.py #11515: Merge with 3.1. 2011-03-15 05:59:46 +02:00
glob.py Fix closes issue12432 - remove the unused sys from glob.py 2011-07-03 17:21:05 -07:00
gzip.py Issue #13989: Document that GzipFile does not support text mode. 2012-02-11 23:45:10 +02:00
hashlib.py fix whitespace 2011-05-14 15:35:19 -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:32:54 -07:00
hmac.py Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02:00
imaplib.py Fix few typos. 2011-11-11 19:35:42 +01:00
imghdr.py
inspect.py Metaclasses with metaclasses with a __dict__ descriptor can no longer trigger code execution with inspect.getattr_static. 2011-12-22 01:13:37 +00:00
io.py
keyword.py Fix instructions on how to rebuild some modules 2011-11-29 16:45:34 +01:00
linecache.py
locale.py Fix last remaining references to ex-devguide 2011-11-29 16:36:17 +01:00
macpath.py
macurl2path.py
mailbox.py Fix Maildir initialization so that maildir contents are read correctly. 2011-11-05 09:44:59 +02:00
mailcap.py
mimetypes.py Issue #13025: mimetypes is now reading MIME types using the UTF-8 encoding, 2011-10-14 03:03:35 +02:00
modulefinder.py merge 11164 2011-05-09 08:10:38 +02:00
netrc.py fix regression in netrc comment handling (closes #12009) 2011-06-10 11:32:52 -05:00
nntplib.py Issue #10287: nntplib now queries the server's CAPABILITIES first before sending MODE READER, and only sends it if not already in READER mode. 2012-02-14 23:29:34 +01:00
ntpath.py Correction to 88e318166eaf - Issue #11583 2011-06-09 09:10:38 -05:00
nturl2path.py Fix Issue11474 - fix url2pathname() handling of '/C|/' on Windows 2011-04-14 13:16:30 +08:00
numbers.py Fix incorrect docstring I changed a while back. 2011-11-03 04:34:09 +01:00
opcode.py
optparse.py Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02:00
os.py Merge from 3.1: Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime) 2012-02-20 21:31:46 +01:00
os2emxpath.py
pdb.py
pickle.py Issue #13505: Make pickling of bytes object compatible with Python 2. 2011-12-13 13:08:09 -05:00
pickletools.py Issue #13505: Make pickling of bytes object compatible with Python 2. 2011-12-13 13:08:09 -05:00
pipes.py Remove obsolete comment 2011-09-01 22:06:23 +02:00
pkgutil.py Issue #7367: Fix pkgutil.walk_paths to skip directories whose 2011-10-06 14:19:08 -07:00
platform.py Add a hint that CSD == Service Pack. 2012-02-01 15:14:00 -06:00
plistlib.py Issue #985064: Make plistlib more resilient to faulty input plists. 2011-05-28 03:02:30 -07:00
poplib.py
posixpath.py
pprint.py
profile.py strip trailing ws 2011-06-27 09:18:46 -05:00
pstats.py Merge profile docs followup (#12417) from 3.1 2011-07-28 23:00:14 +02:00
pty.py Issue #2489: Fix bug in _copy loop that could consume 100% cpu on EOF. 2012-02-16 00:29:12 -08:00
py_compile.py Issue #12618: py_compile cannot create files in current directory 2011-11-28 09:27:32 -06:00
pyclbr.py Issue 11020: command-line pyclbr broken due to missing 2-to-3 conversion. 2011-01-27 00:12:08 +00:00
pydoc.py Issue #1785: Fix inspect and pydoc with misbehaving descriptors. 2011-12-21 09:57:40 +01:00
queue.py
quopri.py
random.py Fix #13384. Remove __future__ import in 3.x code. 2011-11-11 09:37:25 -06:00
re.py Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02:00
reprlib.py Fix typo. 2011-01-23 21:33:36 +00:00
rlcompleter.py Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02:00
runpy.py Issue #12451: runpy: run_path() now opens the Python script in binary mode, 2011-07-04 01:45:39 +02:00
sched.py Remove duplication. 2011-10-19 10:58:56 +03:00
shelve.py
shlex.py
shutil.py Really make bztar support in shutil conditional. 2012-02-05 13:40:08 +01:00
site.py Merged revisions 87497 via svnmerge from 2010-12-26 22:24:54 +00:00
smtpd.py Issue #9168: now smtpd is able to bind privileged port. 2011-10-20 23:03:43 +02:00
smtplib.py #12448: smtplib now flushes stdout while running ``python -m smtplib`` 2011-10-18 13:20:07 +03:00
sndhdr.py
socket.py Merged revisions 88622 via svnmerge from 2011-02-25 23:14:08 +00:00
socketserver.py Closes #13140: Fix the daemon_threads attribute of ThreadingMixIn. 2011-11-04 10:16:28 +01:00
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-28 00:00:28 -07:00
string.py
stringprep.py
struct.py Issue #11081: Fixed struct.__all__. Reviewed by Georg Brandl. 2011-01-31 19:27:55 +00:00
subprocess.py Issue #12650: Fix a race condition where a subprocess.Popen could leak 2011-08-18 18:49:39 +02:00
sunau.py
symbol.py Fix instructions on how to rebuild some modules 2011-11-29 16:45:34 +01:00
symtable.py
sysconfig.py And yet another emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't include bitness in the directory name 2012-01-18 05:04:49 +01:00
tabnanny.py
tarfile.py Issue #12926: Fix a bug in tarfile's link extraction. 2012-01-05 18:48:06 +01:00
telnetlib.py
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 Fix closes Issue11439 Remove the SVN keywords from the code as it is no longer applicable in hg. Patch Contributed by Neil Muller. 2011-07-28 22:32:49 +08:00
this.py
threading.py remove unused import 2012-02-03 19:07:30 -05:00
timeit.py Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02:00
token.py Issue #13629: Renumber the tokens in token.h to match the _PyParser_TokenNames indexes. 2012-01-15 19:15:36 -06:00
tokenize.py Merged revisions 88498 via svnmerge from 2011-02-22 03:35:18 +00:00
trace.py Prevent deprecation warning 2011-04-17 16:48:52 +02:00
traceback.py
tty.py
turtle.py Issue #13439: Fix many errors in turtle docstrings. 2011-12-02 21:24:14 +02:00
types.py
uu.py
uuid.py
warnings.py Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02:00
wave.py Issue #10783: struct.pack() doesn't encode implicitly unicode to UTF-8 2010-12-28 13:26:42 +00:00
weakref.py
webbrowser.py #12601: fix typo. 2011-07-21 11:16:32 +03: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:25:40 +01:00
zipfile.py 3.2 - Fix closes Issue6090 - Raise a ValueError, instead of failing with unrelated 2011-10-20 01:46:00 +08:00