cpython/Lib
Éric Araujo ab7c1b3f11 Fix regression with distutils MANIFEST handing (#11104, #8688).
The changed behavior of sdist in 3.1 broke packaging for projects that
wanted to use a manually-maintained MANIFEST file (instead of having a
MANIFEST.in template and letting distutils generate the MANIFEST).

The fixes that were committed for #8688 (76643c286b9f by Tarek and
d54da9248ed9 by me) did not fix all issues exposed in the bug report,
and also added one problem: the MANIFEST file format gained comments,
but the read_manifest method was not updated to handle (i.e. ignore)
them.  This changeset should fix everything; the tests have been
expanded and I successfully tested the 2.7 version with Mercurial, which
suffered from this regression.

I have grouped the versionchanged directives for these bugs in one place
and added micro version numbers to help users know the quirks of the
exact version they’re using.

Initial report, thorough diagnosis and patch by John Dennis, further
work on the patch by Stephen Thorne, and a few edits and additions by
me.
2011-07-31 04:06:12 +02:00
..
concurrent Close the call queue in concurrent.futures.ProcessPoolExecutor when 2011-07-16 23:52:02 +02:00
ctypes carefully cleanup pointer cache after creating struct pointers 2011-07-13 23:09:30 -05:00
curses 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
dbm Merge 3.1 2011-04-20 19:24:09 +02:00
distutils Fix regression with distutils MANIFEST handing (#11104, #8688). 2011-07-31 04:06:12 +02:00
email #11584: make Header and make_header handle binary unknown-8bit input 2011-06-18 12:57:28 -04:00
encodings Issue #10807: Remove base64, bz2, hex, quopri, rot13, uu and zlib codecs from 2011-01-02 19:50:36 +00:00
html Merge 3.1 2011-05-25 18:13:49 +02:00
http merge 3.1 2011-03-21 02:51:38 +01:00
idlelib Issue #12590: IDLE editor window now always displays the first line 2011-07-26 18:17:33 -07:00
importlib Closes #12291: Fixed bug which was found when doing multiple loads from one stream. 2011-07-02 16:42:47 +01:00
json #5723: merge with 3.1. 2011-05-14 06:47:51 +03:00
lib2to3 revert unintended changes 2011-03-26 18:11:54 -05:00
logging Fixes #12637: Last resort messages now correctly handled. Thanks to Xavier de Gaye for the patch." 2011-07-25 19:53:28 +01:00
msilib merge #11696 2011-03-27 21:07:13 +02:00
multiprocessing Issue #12573: Add resource checks for dangling Thread and Process objects. 2011-07-15 22:12:24 +02:00
plat-aix4
plat-darwin
plat-freebsd4
plat-freebsd5
plat-freebsd6
plat-freebsd7
plat-freebsd8
plat-generic
plat-linux2
plat-linux3 Issue #12571: Add a plat-linux3 directory mirroring the plat-linux2 directory, 2011-07-20 00:26:23 +02:00
plat-netbsd1
plat-next3
plat-os2emx
plat-sunos5
plat-unixware7
pydoc_data Update pydoc topics. 2011-07-03 09:31:04 +02:00
site-packages
sqlite3 Merged revisions 86596 via svnmerge from 2010-11-21 01:30:29 +00:00
test Issue #12626: In regrtest, allow to filter tests using a glob filter 2011-07-29 23:53:38 +02:00
tkinter Issue #8716: Instead of relying on Aqua Tk exceptions to detect lack of 2011-07-05 19:09:37 -07:00
turtledemo #11565: Merge with 3.1. 2011-03-16 11:35:38 +02:00
unittest this can be done without a custom dict (also fixes #12544) 2011-07-12 19:21:42 -05:00
urllib Correcting issue 12576 fix, which resulted in buildbot failures. 2011-07-27 09:31:03 +08:00
wsgiref Merged revisions 87797 via svnmerge from 2011-01-06 17:18:32 +00:00
xml Issue #12451: xml.dom.pulldom: parse() now opens files in binary mode instead 2011-07-04 01:25:55 +02:00
xmlrpc #11565: Merge with 3.1. 2011-03-16 11:35:38 +02: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
_pyio.py Issue #12591: Allow io.TextIOWrapper to work with raw IO objects (without 2011-07-23 21:46:35 +02: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
antigravity.py
argparse.py Issue #9347: Fix formatting for tuples in argparse type= error messages. 2011-04-04 01:53:02 +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 Merged revisions 85728,85731,85735,85766-85771,85773,85777 via svnmerge from 2010-11-26 08:52:36 +00:00
cgi.py cgi: use isinstance(x, list) instead of type(x) == type([]) 2011-01-14 13:08:27 +00:00
cgitb.py
chunk.py
cmd.py
code.py
codecs.py #7475: add (un)transform method to bytes/bytearray and str, add back codecs that can be used with them from Python 2. 2010-12-02 18:06:51 +00:00
codeop.py
collections.py Fix named tuples to work with vars(). 2011-06-02 23:40:24 -07:00
colorsys.py
compileall.py Issue #11169: compileall module uses repr() to format filenames and paths to 2011-05-11 00:36:28 +02:00
configparser.py Removed debugging leftovers. 2011-04-29 16:16:36 +02:00
contextlib.py Remove trailing whitespace 2011-05-06 00:02:12 +10:00
copy.py
copyreg.py
csv.py #11565: Merge with 3.1. 2011-03-16 11:35:38 +02:00
datetime.py Issue #11576: Fixed timedelta subtraction glitch on big timedelta values 2011-04-05 20:07:38 -04: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 Issue #12451: doctest.debug_script() doesn't create a temporary file anymore to 2011-06-30 17:35:55 +02:00
dummy_threading.py
filecmp.py Issue 11802: filecmp cache was growing without bound. 2011-06-25 17:20:21 +02:00
fileinput.py
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 Sync-up minor code edits with the default branch. 2011-05-05 14:15:12 -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
hashlib.py fix whitespace 2011-05-14 15:35:19 -07:00
heapq.py Merge 3.1 2011-04-20 19:24:09 +02:00
hmac.py
imaplib.py Merged revisions 88231 via svnmerge from 2011-01-29 18:43:43 +00:00
imghdr.py
inspect.py allow "fake" filenames in findsource (closes #9284) 2011-06-11 15:53:11 -05:00
io.py
keyword.py
linecache.py
locale.py (merge) Fix #10154 and #10090: locale normalizes the UTF-8 encoding to "UTF-8" instead of "UTF8" 2011-05-17 13:03:54 +02:00
macpath.py
macurl2path.py
mailbox.py #11700: proxy object close methods can now be called multiple times 2011-06-17 22:24:05 -04:00
mailcap.py
mimetypes.py Fix syntax typo 2010-12-23 23:18:41 +00: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 #11515: Merge with 3.1. 2011-03-15 05:59:46 +02: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 Remove the funky function annotation from numbers.py. 2011-01-12 20:54:53 +00:00
opcode.py
optparse.py #8158: add missing 'description' description to optparse docstring. 2011-05-04 21:06:57 -04:00
os.py Issue #11459: A `bufsize` value of 0 in subprocess.Popen() really creates 2011-03-19 17:04:13 +01:00
os2emxpath.py
pdb.py Add display/undisplay pdb commands. 2010-12-04 16:21:42 +00:00
pickle.py
pickletools.py #11565: Merge with 3.1. 2011-03-16 11:35:38 +02:00
pipes.py
pkgutil.py Merge 3.1 2011-05-25 18:13:49 +02:00
platform.py Issue #12549: Correct test_platform to not fail when OS X returns 'x86_64' 2011-07-13 15:07:04 -07: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
py_compile.py Add an "optimize" parameter to compile() to control the optimization level, and provide an interface to it in py_compile, compileall and PyZipFile. 2010-12-04 10:26:46 +00: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 Make “pydoc somebuiltin.somemethod” work (#8887) 2011-07-29 17:03:55 +02:00
queue.py
quopri.py
random.py Code simplification suggested by Sven Marnach. 2011-06-25 11:30:53 +02:00
re.py #2650: Merge with 3.1. 2011-03-25 14:25:36 +02:00
reprlib.py Fix typo. 2011-01-23 21:33:36 +00:00
rlcompleter.py
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
shelve.py #7905: Actually respect the keyencoding parameter to shelve.Shelf. 2010-12-04 11:12:43 +00:00
shlex.py
shutil.py merge from 3.1 2011-05-06 10:57:22 +02:00
site.py Merged revisions 87497 via svnmerge from 2010-12-26 22:24:54 +00:00
smtpd.py #1745035: add limits for command and data size to smtpd; patch by Savio Sena. 2010-12-03 07:38:22 +00:00
smtplib.py #7484: no more <> around addresses in VRFY or EXPN 2011-07-18 21:38:54 -04:00
sndhdr.py
socket.py Merged revisions 88622 via svnmerge from 2011-02-25 23:14:08 +00:00
socketserver.py merge 3.1 2011-05-24 12:51:24 -05:00
sre_compile.py
sre_constants.py
sre_parse.py
ssl.py Issue #12440: When testing whether some bits in SSLContext.options can be 2011-07-08 18:47:06 +02: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 #12607: In subprocess, fix issue where if stdin, stdout or stderr is 2011-07-27 07:16:31 +02:00
sunau.py
symbol.py
symtable.py
sysconfig.py Issue #12070: Fix the Makefile parser of the sysconfig module to handle 2011-05-24 23:37:07 +02:00
tabnanny.py #1513299: cleanup some map() uses where a comprehension works better. 2010-12-04 10:39:14 +00:00
tarfile.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
telnetlib.py Merged revisions 87230 via svnmerge from 2010-12-14 14:27:27 +00:00
tempfile.py Issue #12464: tempfile.TemporaryDirectory.cleanup() should not follow symlinks: 2011-07-29 18:59:24 +02: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 Issue #12573: Add resource checks for dangling Thread and Process objects. 2011-07-15 22:12:24 +02:00
timeit.py Issue 12514: Use try/finally to assure that timeit restores GC when done. 2011-07-29 00:02:04 -07:00
token.py
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 #11565: Merge with 3.1. 2011-03-16 11:35:38 +02:00
types.py
uu.py
uuid.py
warnings.py
wave.py Issue #10783: struct.pack() doesn't encode implicitly unicode to UTF-8 2010-12-28 13:26:42 +00:00
weakref.py Use booleans. 2010-12-03 07:49:09 +00:00
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 #10694: zipfile now ignores garbage at the end of a zipfile. 2011-06-09 15:50:51 -04:00