cpython/Lib
Benjamin Peterson ea0e3b0d60 do a backport of r75928
The added test does not fail without the patch, but we still fix the issue of
surrogates being used in wide builds where they should not be.
2009-10-29 01:49:07 +00:00
..
bsddb Fix py3k warnings in bsddb 2009-10-14 18:01:33 +00:00
compiler Allow multiple context managers in one with statement, as proposed 2009-05-25 21:02:56 +00:00
ctypes Per the discussion in issue6882, backport the try/finally work that was done to the py3k version (mostly in r59477, I think). 2009-10-22 20:13:14 +00:00
curses replace has_key with 'in' operator 2009-10-09 22:15:50 +00:00
distutils removed spurious spaces 2009-10-28 06:45:18 +00:00
email replace has_key with 'in' operator 2009-10-09 22:15:50 +00:00
encodings replace has_key with 'in' operator 2009-10-09 22:15:50 +00:00
hotshot replace has_key with 'in' operator 2009-10-09 22:15:50 +00:00
idlelib replace has_key with 'in' operator 2009-10-09 22:15:50 +00:00
importlib Fix some more bugs caused by the backport from 3.x for importlib. 2009-03-04 01:00:53 +00:00
json convert usage of fail* to assert* 2009-06-30 22:57:08 +00:00
lib-tk replace has_key with 'in' operator 2009-10-09 22:15:50 +00:00
lib2to3 Merged revisions 74121-74122 via svnmerge from 2009-07-20 21:09:45 +00:00
logging Issue #7077: logging: SysLogHandler now treats Unicode as per RFC 5424. 2009-10-21 20:22:14 +00:00
msilib replace has_key with 'in' operator 2009-10-09 22:15:50 +00:00
multiprocessing #6938: "ident" is always a string, so use a format code which works. 2009-09-18 09:18:27 +00:00
plat-aix3
plat-aix4
plat-atheos
plat-beos5
plat-darwin
plat-freebsd4
plat-freebsd5
plat-freebsd6 - Add support for FreeBSD 8 which is recently forked from FreeBSD 7. 2007-10-28 11:19:02 +00:00
plat-freebsd7 - Add support for FreeBSD 8 which is recently forked from FreeBSD 7. 2007-10-28 11:19:02 +00:00
plat-freebsd8 - Add support for FreeBSD 8 which is recently forked from FreeBSD 7. 2007-10-28 11:19:02 +00:00
plat-generic
plat-irix5 Deprecate WAIT for removal in 3.0. 2008-05-15 04:17:35 +00:00
plat-irix6 Deprecate WAIT for removal in 3.0. 2008-05-15 04:17:35 +00:00
plat-linux2
plat-mac Fix for issue 4937 2009-09-06 12:23:18 +00:00
plat-netbsd1
plat-next3
plat-os2emx #2503 make singletons compared with "is" not == or != 2008-03-29 15:24:25 +00:00
plat-riscos Patch #2167 from calvin: Remove unused imports 2008-02-23 17:40:11 +00:00
plat-sunos5 Deprecate sunaudiodev/SUNAUDIODEV for removal in 3.0. 2008-05-16 00:10:24 +00:00
plat-unixware7
pydoc_data Update pydoc topics. 2009-04-26 09:57:29 +00:00
site-packages
sqlite3 #6026 - fix tests that failed without zlib 2009-09-12 14:43:43 +00:00
test do a backport of r75928 2009-10-29 01:49:07 +00:00
unittest #7031: Add TestCase.assertIsInstance and negated method. 2009-10-01 20:59:31 +00:00
wsgiref replace has_key with 'in' operator 2009-10-09 22:15:50 +00:00
xml replace has_key with 'in' operator 2009-10-09 22:15:50 +00:00
BaseHTTPServer.py http://bugs.python.org/issue6267 2009-06-28 21:04:17 +00:00
Bastion.py Deprecate Bastion and rexec for 3.0. 2008-05-10 02:27:04 +00:00
CGIHTTPServer.py docstring update. 2009-05-03 20:27:25 +00:00
ConfigParser.py #5741 followup: should also allow %%(blah)s. 2009-04-13 12:36:24 +00:00
Cookie.py Issue #5275: In Cookie's Cookie.load(), properly handle non-string arguments as documented. 2009-09-04 08:17:04 +00:00
DocXMLRPCServer.py http://bugs.python.org/issue6267 2009-06-28 21:04:17 +00:00
HTMLParser.py revert creation of the html.entities and html.parser modules 2008-05-20 06:08:38 +00:00
MimeWriter.py Have MimeWriter raise a DeprecationWarning as per PEP 4 and its documentation. 2007-05-30 20:46:26 +00:00
Queue.py Move the previously local import of threading to module level. 2009-03-15 22:11:07 +00:00
SimpleHTTPServer.py Issue839496: SimpleHTTPServer should open all files in binary mode. 2008-07-06 21:34:39 +00:00
SimpleXMLRPCServer.py Issue 6654 2009-08-27 23:13:18 +00:00
SocketServer.py http://bugs.python.org/issue6382 2009-07-07 09:01:34 +00:00
StringIO.py Fix a py3k warning in the StringIO module (exhibited in test_codecencodings_cn) 2009-10-14 18:12:54 +00:00
UserDict.py Register IterableUserDict as a MutableMapping. 2008-06-07 16:16:12 +00:00
UserList.py Issue 2235: Py3k warnings are now emitted for classes that will no longer inherit a__hash__ implementation from a parent class in Python 3.x. The standard library and test suite have been updated to not emit these warnings. 2008-08-11 15:45:58 +00:00
UserString.py Issue 2235: __hash__ is once again inherited by default, but inheritance can be blocked explicitly so that collections.Hashable remains meaningful 2008-07-15 14:27:37 +00:00
_LWPCookieJar.py
_MozillaCookieJar.py
__future__.py Patch #2477: Added from __future__ import unicode_literals 2008-03-26 22:01:37 +00:00
__phello__.foo.py
_abcoll.py Issue 6037: MutableSequence.__iadd__ should return self. 2009-05-18 15:51:59 +00:00
_pyio.py Manual py3k backport: [svn r74158] Issue #6218: Make io.BytesIO and io.StringIO picklable. 2009-10-24 12:23:18 +00:00
_strptime.py add %f format to datetime - issue 1158 2008-03-15 16:04:45 +00:00
_threading_local.py give the threading API PEP 8 names 2008-06-11 17:27:50 +00:00
abc.py Fix typos. 2009-05-04 16:03:03 +00:00
aifc.py Fix py3k warnings in the aifc module 2009-10-14 17:30:52 +00:00
antigravity.py easter egg 2008-10-15 11:49:10 +00:00
anydbm.py
ast.py ast.literal_eval can properly evaluate complex numbers now. This fixes issue4907. 2009-01-13 11:52:23 +00:00
asynchat.py warnings.catch_warnings() now returns a list or None instead of the custom 2008-09-09 00:49:16 +00:00
asyncore.py Fix for line wrap ugly. 2009-06-03 19:51:52 +00:00
atexit.py
audiodev.py Deprecate the audiodev module for 3.0. 2008-05-06 23:23:34 +00:00
base64.py
bdb.py replace has_key with 'in' operator 2009-10-09 22:15:50 +00:00
binhex.py Remove the macfs module. This led to the deprecation of macostools.touched(); 2007-05-20 23:17:38 +00:00
bisect.py Per the language summit, the optional fastpath imports should use from-import-star. 2009-03-31 17:47:06 +00:00
cProfile.py
calendar.py Remove some from __future__ import with_statements 2008-04-30 21:25:55 +00:00
cgi.py #4351: more appropriate DeprecationWarning stacklevels 2009-05-08 02:28:39 +00:00
cgitb.py #602893: add indicator for current line in cgitb that doesnt rely on styling alone. 2009-04-05 18:34:58 +00:00
chunk.py
cmd.py
code.py #1288615: Python code.interact() and non-ASCII input 2008-08-07 18:42:40 +00:00
codecs.py Merged revisions 61750,61752,61754,61756,61760,61763,61768,61772,61775,61805,61809,61812,61819,61917,61920,61930,61933-61934 via svnmerge from 2008-03-26 12:49:49 +00:00
codeop.py
collections.py Issue 6370: Performance issue with collections.Counter(). 2009-06-29 19:10:29 +00:00
colorsys.py pep8tify conditionals 2009-01-30 02:02:25 +00:00
commands.py #4351: more appropriate DeprecationWarning stacklevels 2009-05-08 02:28:39 +00:00
compileall.py Automatic conversion of floats to integers for struct.pack integer codes 2009-04-19 17:10:47 +00:00
contextlib.py Remove markup from docstring 2009-06-23 10:51:02 +00:00
cookielib.py Update __all__ for cookielib, csv, os, and urllib2 for objects imported into 2008-08-18 00:46:22 +00:00
copy.py Issue #2116: Weak references and weak dictionaries now support copy()ing and deepcopy()ing. 2009-05-15 16:54:52 +00:00
copy_reg.py Revert copy_reg -> copyreg rename. 2008-05-20 07:49:57 +00:00
csv.py Patch from Thomas Barr so that csv.Sniffer will set doublequote property. 2009-09-28 02:12:27 +00:00
dbhash.py Deprecate bsddb for removal in Python 3.0. 2008-09-05 18:33:51 +00:00
decimal.py Issue #7099: Decimal.is_normal should return True for all nonzero 2009-10-20 13:33:03 +00:00
difflib.py Issue #5341: Fix a variety of spelling errors. 2009-02-21 20:27:01 +00:00
dircache.py Deprecate the dircache module for 3.0. 2008-05-10 21:12:57 +00:00
dis.py use isinstance 2009-05-10 14:16:47 +00:00
doctest.py Stronger tests for combinatoric relationships. 2009-01-27 09:52:35 +00:00
dumbdbm.py
dummy_thread.py Remove imports of 'warnings' that are no longer needed in dummy_thread, 2008-08-17 22:10:11 +00:00
dummy_threading.py
filecmp.py use multi-with syntax 2009-06-11 17:51:17 +00:00
fileinput.py Remove a use of callable() in fileinput to silence a -3 warning. 2008-08-03 23:52:32 +00:00
fnmatch.py Issue 6665: Fix fnmatch to properly match filenames with newlines in them. 2009-08-16 18:52:58 +00:00
formatter.py #1726198: replace while 1: fp.readline() with file iteration. 2008-01-21 17:22:06 +00:00
fpformat.py Deprecate the fpformat module for removal in 3.0. 2008-05-10 22:11:45 +00:00
fractions.py Issue #6431: Fix Fraction comparisons with unknown types, and with 2009-07-18 15:18:18 +00:00
ftplib.py #1726172: dont raise an unexpected IndexError if a voidresp() call has an empty response. 2009-04-05 10:48:47 +00:00
functools.py Copy reduce() to _functools so to have functools.reduce() not raise a warning 2008-08-09 23:30:55 +00:00
genericpath.py Small speedup. 2007-05-14 20:52:31 +00:00
getopt.py #4458: recognize "-" as an argument, not a malformed option in gnu_getopt(). 2008-12-05 09:23:14 +00:00
getpass.py kill bare except 2009-09-17 02:46:54 +00:00
gettext.py close file explicitly 2009-05-10 01:38:02 +00:00
glob.py #5655: fix docstring oversight. 2009-04-01 17:46:01 +00:00
gzip.py #4351: more appropriate DeprecationWarning stacklevels 2009-05-08 02:28:39 +00:00
hashlib.py Clean up the C library import code (based on suggestions in issue6281). 2009-08-16 21:54:45 +00:00
heapq.py Make life easier for non-CPython implementations. 2009-03-29 18:51:11 +00:00
hmac.py silence callable warning in hmac 2008-08-19 19:07:38 +00:00
htmlentitydefs.py revert creation of the html.entities and html.parser modules 2008-05-20 06:08:38 +00:00
htmllib.py Deprecate htmllib and sgmllib for 3.0. 2008-06-01 21:19:14 +00:00
httplib.py Fix py3k warnings in httplib 2009-10-14 19:04:48 +00:00
ihooks.py Add support to the ihooks module for relative imports. 2009-10-14 19:23:53 +00:00
imaplib.py Issue #1655: Make imaplib IPv6-capable. Patch by Derek Morr. 2009-05-15 11:50:29 +00:00
imghdr.py #3424 rearrange the order of tests in imghdr to place more common types first 2008-08-16 16:29:02 +00:00
imputil.py replace callable() 2009-10-09 22:05:45 +00:00
inspect.py make inspect.isabstract() always return a boolean; add a test for it, too #7069 2009-10-15 03:06:55 +00:00
io.py Issue #6215: backport the 3.1 io lib 2009-06-12 20:14:08 +00:00
keyword.py #1726198: replace while 1: fp.readline() with file iteration. 2008-01-21 17:22:06 +00:00
linecache.py #1309567: fix linecache behavior of stripping subdirectories from paths when looking for relative filename matches. Also add a linecache test suite. 2009-05-05 08:28:49 +00:00
locale.py Issue #6620: Slightly safer code for _grouping_intervals in the locale 2009-08-04 21:56:04 +00:00
macpath.py #4351: more appropriate DeprecationWarning stacklevels 2009-05-08 02:28:39 +00:00
macurl2path.py
mailbox.py #1607951: Make mailbox.Maildir re-read the directories less frequently. 2009-05-02 19:17:28 +00:00
mailcap.py
markupbase.py
md5.py email address update 2007-09-09 20:25:00 +00:00
mhlib.py Deprecated the mhlib module for removal in 3.0. 2008-05-11 03:01:47 +00:00
mimetools.py warnings.catch_warnings() now returns a list or None instead of the custom 2008-09-09 00:49:16 +00:00
mimetypes.py Issue #5853: calling a function of the mimetypes module from several threads 2009-04-27 20:50:20 +00:00
mimify.py Have mimify raise a DeprecationWarning. The docs and PEP 4 have listed the 2007-05-30 21:48:58 +00:00
modulefinder.py Fixed a modulefinder crash on certain relative imports. 2008-10-30 20:18:13 +00:00
multifile.py Deprecate the multifile module as per PEP 4. 2008-05-12 03:19:20 +00:00
mutex.py use True and False 2009-01-27 23:15:48 +00:00
netrc.py explicitly close the file, merged from py3k 2009-05-28 03:10:59 +00:00
new.py restricted environments are no more 2009-08-28 16:48:03 +00:00
nntplib.py Issue #1664: Make nntplib IPv6-capable. Patch by Derek Morr. 2009-05-14 21:22:08 +00:00
ntpath.py #4351: more appropriate DeprecationWarning stacklevels 2009-05-08 02:28:39 +00:00
nturl2path.py Fixing issue5861 - test_urllib fails on windows. Agree to comment to have ':' in pathname2url as windows recognizes it. test_urllib passes now. 2009-05-05 17:34:42 +00:00
numbers.py Issue 4998: __slots__ on Fractions was useless. 2009-01-20 20:34:19 +00:00
opcode.py add a SETUP_WITH opcode 2009-05-25 13:13:44 +00:00
optparse.py #5719: add short usage example to optparse docstring. 2009-04-12 20:30:53 +00:00
os.py #5329: fix os.popen* regression from 2.5: don't execute commands as a sequence 2009-09-29 19:10:15 +00:00
os2emxpath.py
pdb.doc Add some sentence endings. 2008-05-11 14:17:13 +00:00
pdb.py Make the pdb displayhook compatible with the standard displayhook: do not print Nones. Add a test for that. 2009-09-16 16:36:39 +00:00
pickle.py Isue #5084: unpickling now interns the attribute names of pickled objects, 2009-05-02 21:13:23 +00:00
pickletools.py Issue 6066: POP_MARK was not in pickle protocol 0. 2009-05-20 16:49:12 +00:00
pipes.py Patch #1680959: add test suite for pipes module. 2007-08-30 10:38:56 +00:00
pkgutil.py Issue 2439: add pkgutils.get_data() as a convenience wrapper for the PEP 302 get_data() API (contributed by Paul Moore) 2008-04-15 10:25:31 +00:00
platform.py Update bug tracker reference. 2009-09-19 08:43:16 +00:00
plistlib.py #4351: more appropriate DeprecationWarning stacklevels 2009-05-08 02:28:39 +00:00
popen2.py Use os.closerange() in popen2. 2008-02-23 22:09:24 +00:00
poplib.py Fixed the semantic of timeout for socket.create_connection and 2008-05-29 16:39:26 +00:00
posixfile.py Enable platform-specific tweaks for FreeBSD 8 (exactly same to FreeBSD 7's yet) 2007-10-28 12:38:09 +00:00
posixpath.py #4351: more appropriate DeprecationWarning stacklevels 2009-05-08 02:28:39 +00:00
pprint.py Fixed issue #2888. Now the behaviour of pprint when working with nested 2008-06-21 17:43:56 +00:00
profile.py Issue #6635: Fix profiler printing usage message. 2009-09-13 15:09:24 +00:00
pstats.py Silence -3 warnings in pstats: a dict.has_key() usage and backport solution to 2008-08-03 22:52:42 +00:00
pty.py
py_compile.py #2225: return nonzero status code from py_compile if not all files could be compiled. 2008-03-06 07:41:16 +00:00
pyclbr.py Minor cleanups: 2008-04-28 02:57:23 +00:00
pydoc.py Fix issue 5230 by having pydoc's safeimport check to see if the import 2009-06-23 18:02:46 +00:00
quopri.py
random.py Issue 6261: Clarify behavior of random.uniform(). 2009-06-11 23:14:53 +00:00
re.py Adds an optional flags argument to re.split, re.sub and re.subn to be 2009-03-02 05:13:57 +00:00
repr.py Revert the renaming of repr to reprlib. 2008-05-23 05:03:59 +00:00
rexec.py Deprecate Bastion and rexec for 3.0. 2008-05-10 02:27:04 +00:00
rfc822.py fix test_py3kwarns 2008-07-14 17:42:17 +00:00
rlcompleter.py Remove a use of callable() to silence the warning triggered under -3. 2008-08-01 01:45:49 +00:00
robotparser.py Close issue 3437 - missing state change when Allow lines are processed. 2008-07-27 00:49:02 +00:00
runpy.py Issue 4195: Restore the ability to execute packages with the -m switch (but this time in a way that leaves the import machinery in a valid state). (Original patch by Andi Vajda) 2009-02-08 01:26:34 +00:00
sched.py #6112: list.remove raises ValueError, not RuntimeError. 2009-05-26 07:50:23 +00:00
sets.py Issue 2235: __hash__ is once again inherited by default, but inheritance can be blocked explicitly so that collections.Hashable remains meaningful 2008-07-15 14:27:37 +00:00
sgmllib.py #1651995: fix _convert_ref for non-ASCII characters. 2009-03-31 22:11:53 +00:00
sha.py email address update 2007-09-09 20:25:00 +00:00
shelve.py Remove imports of 'warnings' that are no longer needed in dummy_thread, 2008-08-17 22:10:11 +00:00
shlex.py Fix parameter passing. 2007-05-24 17:33:33 +00:00
shutil.py only test for named pipe when os.stat doesn't raise #6209 2009-06-05 19:09:28 +00:00
site.py #6693: New functions in site.py to get user/global site packages paths. 2009-08-20 21:23:13 +00:00
smtpd.py Issue #5341: Fix a variety of spelling errors. 2009-02-21 20:27:01 +00:00
smtplib.py Fix Issue #4066: smtplib.SMTP_SSL._get_socket now correctly returns 2009-05-23 00:48:58 +00:00
sndhdr.py Fix a py3k warning in the sndhdr module (found with test_email) 2009-10-14 18:31:05 +00:00
socket.py Fix py3k warnings in the socket module 2009-10-14 18:27:32 +00:00
sre.py
sre_compile.py remove set compat cruft 2008-10-14 22:37:18 +00:00
sre_constants.py
sre_parse.py remove set compat cruft 2008-10-14 22:37:18 +00:00
ssl.py fix name collision issues 2008-12-31 04:08:55 +00:00
stat.py #2383: remove obsolete XXX comment in stat.py. 2008-03-20 07:25:55 +00:00
statvfs.py Deprecated statvfs for removal in 3.0. 2008-05-16 00:50:02 +00:00
string.py #7000: document "sep" in capwords. Add a few tests 2009-09-26 11:20:53 +00:00
stringold.py Replace all map(None, a) with list(a). 2008-07-18 19:06:13 +00:00
stringprep.py
struct.py Issue #7078: _struct.__doc__ was being ignored. Import it into struct. 2009-10-08 15:54:10 +00:00
subprocess.py #5329: fix os.popen* regression from 2.5: don't execute commands as a sequence 2009-09-29 19:10:15 +00:00
sunau.py
sunaudio.py Deprecate the sunaudio module for removal in Python 3.0. The sunau module can provide similar functionality. 2008-07-18 19:30:22 +00:00
symbol.py update symbol.py from with statement changes 2009-06-09 21:13:43 +00:00
symtable.py return locals and cells in get_locals() not bound globals, though 2009-06-28 19:27:55 +00:00
tabnanny.py
tarfile.py Issue #6856: Add a filter keyword argument to TarFile.add(). 2009-09-12 10:28:15 +00:00
telnetlib.py Fixed the semantic of timeout for socket.create_connection and 2008-05-29 16:39:26 +00:00
tempfile.py proxy the __exit__ call 2009-07-01 13:34:35 +00:00
textwrap.py Optimize optimization and fix method name in docstring. 2009-09-18 16:19:56 +00:00
this.py
threading.py #7125: fix typo. 2009-10-14 15:51:48 +00:00
timeit.py replace callable() 2009-10-09 22:05:45 +00:00
toaiff.py Deprecate the toaiff module for removal in 3.0. 2008-05-09 05:32:42 +00:00
token.py Issue 2117. Update compiler module to handle class decorators. 2008-02-25 18:06:00 +00:00
tokenize.py some cleanups 2009-10-15 03:05:39 +00:00
trace.py replace has_key with 'in' operator 2009-10-09 22:15:50 +00:00
traceback.py #3584: ignore trailing newlines when placing the caret for a SyntaxError location. 2009-06-04 09:15:12 +00:00
tty.py
types.py remove more code for restricted execution 2009-08-28 16:49:56 +00:00
urllib.py Fix for issue 7149: a regression in 2.6.3 that causes an exception when 2009-10-18 07:07:00 +00:00
urllib2.py Fixed Issue6894, urllib2 doesn't respect "no_proxy" environment 2009-10-11 02:00:07 +00:00
urlparse.py Fix for bugs: Issue4675 and Issue4962. 2009-03-30 21:51:50 +00:00
user.py Deprecate the user module for removal in 3.0. 2008-05-08 20:36:09 +00:00
uu.py
uuid.py Fix py3k warnings in the uuid module 2009-10-14 19:09:48 +00:00
warnings.py Improve some docstrings in the 'warnings' module. 2009-10-23 19:58:17 +00:00
wave.py
weakref.py Issue #2116: Weak references and weak dictionaries now support copy()ing and deepcopy()ing. 2009-05-15 16:54:52 +00:00
webbrowser.py Issue #2666: Handle BROWSER environment variable properly for unknown browser names in the webbrowser module. 2009-09-04 06:59:20 +00:00
whichdb.py
wsgiref.egg-info
xdrlib.py
xmllib.py #4351: more appropriate DeprecationWarning stacklevels 2009-05-08 02:28:39 +00:00
xmlrpclib.py issue 6769 2009-08-24 11:39:31 +00:00
zipfile.py #6511: ZipFile will now raise BadZipfile when opening an empty or tiny file, 2009-07-28 22:15:30 +00:00