cpython/Lib
R David Murray 65171b28e7 #18044: Fix parsing of encoded words of the form =?utf8?q?=XX...?=
The problem was I was only checking for decimal digits after the third '?',
not for *hex* digits :(.

This changeset also fixes a couple of comment typos, deletes an unused
function relating to encoded word parsing, and removed an invalid
'if' test from the folding function that was revealed by the tests
written to validate this issue.
2013-07-11 15:52:57 -04:00
..
collections Update docstring for _asdict() to indicate it is obsolete. 2013-05-17 16:43:14 -07:00
concurrent Merge 3.2, issue #17047: remove doubled words found in 2.7 to 2013-03-11 17:58:27 -04:00
ctypes - Issue #17754: Make ctypes.util.find_library() independent of the locale. 2013-05-15 18:02:13 +02:00
curses Fix docstring in curses (#16782) 2012-12-29 23:09:32 +02:00
dbm #17198: Fix a NameError in the dbm module. Patch by Valentina Mukhamedzhanova. 2013-07-07 13:15:08 +02:00
distutils Issue #18080: When building a C extension module on OS X, if the compiler 2013-05-28 16:35:30 -07:00
email #18044: Fix parsing of encoded words of the form =?utf8?q?=XX...?= 2013-07-11 15:52:57 -04:00
encodings Normalize whitespace 2012-06-16 22:50:54 +02:00
html #17802: Fix an UnboundLocalError in html.parser. Initial tests by Thomas Barlow. 2013-05-01 16:18:25 +03:00
http Issue #16658: add missing return to HTTPConnection.send(). 2013-04-12 22:49:19 +03:00
idlelib Issue #7136: In the Idle File menu, "New Window" is renamed "New File". 2013-07-01 00:42:52 -04:00
importlib Issue #18351: Fix various issues with 2013-07-06 17:56:43 -04:00
json Merge #16057: Clarify why the base method default is called in custom encoders. 2013-03-17 21:53:23 -04:00
lib2to3 Merge 3.2, issue #17047: remove doubled words found in 2.7 to 2013-03-11 17:58:27 -04:00
logging Issue #17981: Closed socket on error in SysLogHandler. 2013-05-16 22:57:02 +01:00
msilib Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*, 2013-03-11 17:57:08 -04:00
multiprocessing Issue #17261: Ensure multiprocessing's proxies use proper address. 2013-07-02 13:37:43 +01:00
plat-aix4
plat-darwin These are present in the trunk but no longer in 3.x, which causes problems 2009-03-04 23:21:07 +00:00
plat-freebsd4 Merged revisions 78644 via svnmerge from 2010-03-04 02:11:41 +00:00
plat-freebsd5 Merged revisions 78644 via svnmerge from 2010-03-04 02:11:41 +00:00
plat-freebsd6 Merged revisions 78644 via svnmerge from 2010-03-04 02:11:41 +00:00
plat-freebsd7
plat-freebsd8 Merged revisions 78644 via svnmerge from 2010-03-04 02:11:41 +00:00
plat-generic - Issue #17031: Fix running regen in cross builds. 2013-01-25 18:45:12 +01:00
plat-linux Close #12326: sys.platform is now always 'linux' on Linux 2011-08-20 23:39:26 +02:00
plat-netbsd1 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
plat-next3 Do no regenerate modules that should no longer be here. 2001-05-10 15:52:47 +00:00
plat-os2emx Merged revisions 78644 via svnmerge from 2010-03-04 02:11:41 +00:00
plat-sunos5
plat-unixware7 Merged revisions 55817-55961 via svnmerge from 2007-06-13 18:07:49 +00:00
pydoc_data update pydoc topics 2013-03-23 10:15:25 -05:00
site-packages Add a README file so that cvs update -P doesn't obliterate this 2000-03-31 20:03:56 +00:00
sqlite3 Issue #14720: Enhance sqlite3 microsecond conversion, document its behavior 2013-02-26 21:45:09 +02:00
test #18044: Fix parsing of encoded words of the form =?utf8?q?=XX...?= 2013-07-11 15:52:57 -04:00
tkinter Fix usage of the unittest.skip decorator. 2013-03-19 13:27:05 +02:00
turtledemo #12677: correct turtle orientation in doc 2011-08-07 17:12:19 +02:00
unittest clean the environment from pre-existing PYTHONWARNINGS for test_warnings 2013-04-24 01:49:52 +02:00
urllib Fix #17967 - Fix related to regression on Windows. 2013-06-02 11:59:47 -07:00
venv Issue #18224: Removed pydoc script from created venv, as it causes problems on Windows and adds no value over and above python -m pydoc ... 2013-06-30 22:06:52 +01:00
wsgiref Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:27:37 +02:00
xml Issue #18347: ElementTree's html serializer now preserves the case of closing tags. 2013-07-05 01:39:49 +02:00
xmlrpc Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:26:36 +02:00
__future__.py #14494: Document that absolute imports became default in 3.0 instead of 2.7. 2012-05-19 18:36:33 +03:00
__phello__.foo.py
_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
_osx_support.py Issue #13590: OS X Xcode 4 - improve support for universal extension modules 2013-01-31 01:28:23 -08:00
_pyio.py Merge 3.2, issue #17047: remove doubled words found in 2.7 to 2013-03-11 17:58:27 -04:00
_strptime.py #17572: Avoid chained exceptions while passing bad directives to time.strptime(). Initial patch by Claudiu Popa. 2013-04-04 02:09:20 +03:00
_threading_local.py
_weakrefset.py Issue #14195: Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive. 2012-03-04 22:15:38 -06:00
abc.py improve abstract property support (closes #11610) 2011-12-15 15:34:02 -05:00
aifc.py Issue #16485: Fix file descriptor not being closed if file header patching fails on closing of aifc file. 2012-12-29 22:36:23 +02:00
antigravity.py
argparse.py Merge 3.2 fix updates and tests for issue #15906. 2012-09-12 15:31:38 -04:00
ast.py remove ast.__version__ (closes #12273) 2011-07-15 21:10:13 -05:00
asynchat.py asynchat speedup improvement: avoid to use a function mimicking old buffer() builtin behavior; instead use plain slicing 2012-08-04 14:38:16 +02:00
asyncore.py Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:27:37 +02:00
base64.py Issue #18011: base64.b32decode() now raises a binascii.Error if there are 2013-05-28 15:27:29 +03:00
bdb.py Have Bdb frame_returning in the finally clause 2012-05-01 10:46:59 +08:00
binhex.py
bisect.py
bz2.py Issue #16304: Further optimize BZ2File.readlines?(). 2012-10-01 23:05:32 +02:00
cProfile.py
calendar.py Issue #17049: Localized calendar methods now return unicode if a locale 2013-01-31 15:57:51 +02:00
cgi.py Issue #18013: Fix cgi.FieldStorage to parse the W3C sample form. 2013-07-07 12:44:28 +02:00
cgitb.py merge #12890: don't emit <p> tags in text mode when logdir specified. 2012-10-27 14:55:25 -04:00
chunk.py
cmd.py Issue 15337: help() shown as undocumented 2012-07-16 00:11:05 -07:00
code.py Issue #12643: Respect sys.excepthook in code.InteractiveConsole 2012-08-20 23:02:28 +10:00
codecs.py Describe 'surrogateescape' in the documentation. 2013-06-16 12:58:48 -04:00
codeop.py
colorsys.py
compileall.py Clarify compileall command-line options (#10454). 2011-09-01 20:04:50 +02:00
configparser.py Fixed issue #18260: configparser TypeError on source name specified as bytes 2013-06-23 19:10:25 +02:00
contextlib.py Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:26:36 +02:00
copy.py #11572: improvements to copy module tests along with removal of old test suite 2011-08-05 23:05:35 +02:00
copyreg.py Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02:00
crypt.py white space cleanup 2012-06-27 15:37:47 +02:00
csv.py #18155: Regex-escape delimiter, in case it is a regex special char. 2013-06-29 18:40:53 -04:00
datetime.py #17571: remove broken links in datetime.py docstring. 2013-04-13 20:12:38 +03:00
decimal.py Issue #17768: Support newline fill character in decimal.py and NUL fill 2013-05-29 15:45:38 +02:00
difflib.py Fix comment in difflib. 2011-12-10 13:02:17 +01:00
dis.py Issue #11823: disassembly now shows argument counts on calls with keyword args 2012-06-07 14:28:14 -04:00
doctest.py #14649: clarify DocTestSuite error when there are no docstrings. 2012-09-10 10:17:13 -04:00
dummy_threading.py
filecmp.py
fileinput.py Issue #18315: Improve fileinput docs by adding 'bufsize' where missing and 2013-06-28 18:59:28 -04:00
fnmatch.py Set cache sizes to a power-of-two 2013-02-17 01:33:37 -08:00
formatter.py
fractions.py
ftplib.py Merge 3.2, issue #17047: remove doubled words found in 2.7 to 2013-03-11 17:58:27 -04:00
functools.py Sync-up with 3.4 to make maintenance easier. 2013-03-08 23:01:07 -08:00
genericpath.py
getopt.py
getpass.py Remove redundant imports. 2011-11-04 08:29:17 +01:00
gettext.py Implemented PEP 405 (Python virtual environments). 2012-05-26 03:45:29 +01:00
glob.py Issue #16695: Document how glob handles filenames starting with a dot 2013-02-23 19:53:27 +01:00
gzip.py Back out patch for #1159051, which caused backwards compatibility problems. 2013-05-12 11:57:26 +02:00
hashlib.py Consistently raise a TypeError when a non str is passed to hashlib.new 2012-07-21 21:22:16 -07:00
heapq.py Issue #16098: Update heapq.nsmallest to use the same algorithm as nlargest. 2013-03-05 02:15:01 -05:00
hmac.py Issue #15225: improve error message when hmac is passed a wrong key type. 2012-06-30 17:27:56 +02:00
imaplib.py Merge: #17443: Fix buffering in IMAP4_stream. 2013-03-19 13:56:01 -04:00
imghdr.py
imp.py Issue #15902: Fix imp.load_module() to accept None as a file when 2013-05-03 10:37:08 -04:00
inspect.py #17526: fix an IndexError raised while passing code without filename to inspect.findsource(). Initial patch by Tyler Doyle. 2013-03-30 05:17:24 +02:00
io.py Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:27:37 +02:00
ipaddress.py Fix a few typos and a double semicolon. Patch by Eitan Adler. 2013-01-27 06:20:14 +02:00
keyword.py Fix instructions on how to rebuild some modules 2012-02-26 01:26:09 +01:00
linecache.py
locale.py Issue #8767: Restore building with --disable-unicode. 2012-05-20 10:42:17 +02:00
lzma.py #15546: Fix {GzipFile,LZMAFile}.read1()'s handling of pathological input data. 2012-08-05 02:19:09 +02:00
macpath.py
macurl2path.py
mailbox.py #15222: Merge 3.2 2012-09-25 22:06:07 +03:00
mailcap.py Fix #9923: mailcap now uses the OS path separator for the MAILCAP envvar. Not backported, since it could break cases where people worked around the old POSIX-specific behaviour on non-POSIX platforms. 2011-08-28 00:17:31 +10:00
mimetypes.py Issue #16316: mimetypes now recognizes the .xz and .txz (.tar.xz) extensions. 2013-05-04 15:12:55 +03:00
modulefinder.py Issue #16752: Add a missing import to modulefinder. 2012-12-22 19:34:21 -05:00
netrc.py
nntplib.py #1079: Fix parsing of encoded words. 2012-06-02 17:56:49 -04:00
ntpath.py
nturl2path.py
numbers.py Update docstring with more useful text (from the PEP) 2012-02-26 01:37:47 +01:00
opcode.py Issue #11823: disassembly now shows argument counts on calls with keyword args 2012-06-07 14:28:14 -04:00
optparse.py Merge 3.2 2011-10-28 14:52:29 +02:00
os.py Close #17702: os.environ now raises KeyError with the original environment 2013-04-14 16:35:04 +02:00
os2emxpath.py
pdb.py Merge issue #13120: Allow to call pdb.set_trace() from thread. 2012-12-04 21:10:20 +02:00
pickle.py Isuse #17720: Fix APPENDS handling in the Python implementation of Unpickler 2013-04-20 13:19:46 -07:00
pickletools.py Issue #16550: Update the opcode descriptions of pickletools to use unsigned 2013-04-14 03:30:35 -07:00
pipes.py Merge doc changes from 3.2 (#10454, #12298) 2011-09-02 00:03:20 +02:00
pkgutil.py Close issue #16163: handle submodules in pkgutil.iter_importers 2013-04-14 22:30:42 +10:00
platform.py merge 3.2 2012-10-12 12:04:32 -04:00
plistlib.py Ensure that plistlib doesn't corrupt deeply nested datastructures 2013-04-23 13:47:22 +02:00
poplib.py
posixpath.py Fix posixpath.realpath() for multiple pardirs (fixes issue #6975). 2013-02-18 12:21:30 +02:00
pprint.py backout 66e30c4870bb for breaking OSX (#13150) 2013-03-22 09:37:13 -05:00
profile.py Issue #14428: Use the new time.perf_counter() and time.process_time() functions 2012-04-29 03:01:20 +02:00
pstats.py #16303: remove extra quotes from exception and add (). Initial patch by Vladimir Rutsky. 2012-10-24 23:43:02 +03: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 #7842: backport fix for py_compile.compile syntax error message handling. 2013-02-19 20:00:11 -05:00
pyclbr.py #14798: pyclbr now raises ImportError instead of KeyError for missing packages 2012-05-18 21:59:49 +03:00
pydoc.py #17476: make allmethods actually return all methods. 2013-03-19 02:32:35 -04:00
queue.py Issue #14428, #14397: Implement the PEP 418 2012-04-29 02:41:27 +02:00
quopri.py
random.py Revert changes for #13355 by request from Raymond Hettinger 2013-04-13 18:00:04 +03:00
re.py Issue #16564: Fixed a performance regression relative to Python 3.1 in the 2013-03-16 22:53:48 +02:00
reprlib.py Avoid pulling threading when _thread is sufficient 2011-10-11 18:51:53 +02:00
rlcompleter.py Closes #14411: remove outdated comment in rlcompleter docstring. 2012-03-27 07:46:46 +02:00
runpy.py Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:27:37 +02:00
sched.py Issue #16165: Fix sched.scheduler.run() method was block a scheduler for 2012-12-29 21:34:11 +02:00
shelve.py
shlex.py Revert "Issue #16121: Fix line number accounting in shlex" 2013-02-23 23:12:35 +01:00
shutil.py - Issue #17012: shutil.which() no longer fallbacks to the PATH environment 2013-04-16 11:05:03 -04:00
site.py Issue #16804: Fix 'python -S -m site' failure. 2013-04-13 20:29:49 -05:00
smtpd.py #8739: upgrade smtpd to RFC 5321 and 1870. 2012-05-26 14:33:59 -04:00
smtplib.py #18179: reflow paragraphs. 2013-06-23 16:05:44 -04:00
sndhdr.py
socket.py issue #879399 2012-12-25 13:04:50 +00:00
socketserver.py Merge with 3.2 : 2012-12-26 15:13:29 +00:00
sre_compile.py Issue #13169: The maximal repetition number in a regular expression has been 2013-02-16 16:54:33 +02:00
sre_constants.py Fix issue #13169: Reimport MAXREPEAT into sre_constants.py. 2013-02-18 11:14:21 +02:00
sre_parse.py #17341: Include name in re error message about invalid group name. 2013-04-14 13:00:54 -04:00
ssl.py Issue #17980: Fix possible abuse of ssl.match_hostname() for denial of service using certificates with many wildcards (CVE-2013-2099). 2013-05-18 17:56:42 +02:00
stat.py #14807: move undocumented tarfile.filemode() to stat.filemode(). Add tarfile.filemode alias with deprecation warning. 2012-05-15 15:30:25 +02:00
string.py #13579: minimize code base drift for 'a' string.Formatter change. 2012-08-19 17:57:29 -04:00
stringprep.py
struct.py
subprocess.py Cleanup of documentation change from #17860 2013-07-07 09:26:45 +02:00
sunau.py
symbol.py update symbol.py for yield from grammar changes (closes #17132) 2013-02-05 10:12:14 -05:00
symtable.py
sysconfig.py backout 66e30c4870bb for breaking OSX (#13150) 2013-03-22 09:37:13 -05:00
tabnanny.py #16478: use floor division in tabnanny and fix a ResourceWarning. Patch by Serhiy Storchaka. 2012-11-16 13:17:08 +02:00
tarfile.py Issue #16601: Restarting iteration over tarfile no more continues from where 2013-05-09 14:22:26 +03:00
telnetlib.py Fixes Issue #14635: telnetlib will use poll() rather than select() when possible 2012-07-15 23:42:26 -07:00
tempfile.py Fix deprecation warning in tempfile. 2013-02-23 08:16:07 +02:00
textwrap.py Close #13857: Added textwrap.indent() function (initial patch by Ezra 2012-06-11 23:07:51 +10:00
this.py
threading.py Issue #11714: Use 'with' statements to assure a Semaphore releases a 2013-04-22 22:51:43 +03:00
timeit.py Add an option to timeit to use time.process_time() and mark -t and -c as deprecated. 2012-05-01 11:56:22 +02:00
token.py Issue #9260: A finer-grained import lock. 2012-05-17 18:55:59 +02:00
tokenize.py #16152: merge with 3.2. 2012-11-03 17:46:51 +02:00
trace.py #17143: fix a missing import in the trace module. Initial patch by Berker Peksag. 2013-02-15 21:20:50 +02:00
traceback.py Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:27:37 +02:00
tty.py
turtle.py Merge 3.2, issue #17047: remove doubled words found in 2.7 to 2013-03-11 17:58:27 -04:00
types.py Eric Snow's implementation of PEP 421. 2012-06-03 16:18:47 -04:00
uu.py
uuid.py Issue #16102: Make uuid._netbios_getnode() work again on Python 3. 2013-06-09 21:08:05 +03:00
warnings.py Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02:00
wave.py Closes #16461: Wave library should be able to deal with 4GB wav files, and sample rate of 44100 Hz. 2012-11-17 03:41:54 +01:00
weakref.py Issue #14159: Fix the len() of weak containers (WeakSet, WeakKeyDictionary, WeakValueDictionary) to return a better approximation when some objects are dead or dying. 2012-03-01 16:26:35 +01:00
webbrowser.py - Issue #17536: Add to webbrowser's browser list: www-browser, x-www-browser, 2013-03-24 18:46:49 +01:00
xdrlib.py Merge: change docstring for xdrlib.Error to use new style exceptions. 2012-11-01 13:43:31 +02:00
zipfile.py Refactor recently added bugfix into more testable code by using a 2013-02-03 00:36:32 -08:00