cpython/Lib
Benjamin Peterson eaeb4c695e Merged revisions 68503,68507,68694,69054,69673,69679-69681,70991,70999,71003,71695 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r68503 | benjamin.peterson | 2009-01-10 14:14:49 -0600 (Sat, 10 Jan 2009) | 1 line

  use variable
........
  r68507 | benjamin.peterson | 2009-01-10 15:13:16 -0600 (Sat, 10 Jan 2009) | 1 line

  rewrap
........
  r68694 | benjamin.peterson | 2009-01-17 17:55:59 -0600 (Sat, 17 Jan 2009) | 1 line

  test for specific node type
........
  r69054 | guilherme.polo | 2009-01-28 10:01:54 -0600 (Wed, 28 Jan 2009) | 2 lines

  Added mapping for the ttk module.
........
  r69673 | benjamin.peterson | 2009-02-16 09:38:22 -0600 (Mon, 16 Feb 2009) | 1 line

  fix handling of as imports #5279
........
  r69679 | benjamin.peterson | 2009-02-16 11:36:06 -0600 (Mon, 16 Feb 2009) | 1 line

  make Base.get_next_sibling() and Base.get_prev_sibling() properties
........
  r69680 | benjamin.peterson | 2009-02-16 11:41:48 -0600 (Mon, 16 Feb 2009) | 1 line

  normalize docstrings in pytree according to PEP 11
........
  r69681 | benjamin.peterson | 2009-02-16 11:43:09 -0600 (Mon, 16 Feb 2009) | 1 line

  use a set
........
  r70991 | benjamin.peterson | 2009-04-01 15:54:50 -0500 (Wed, 01 Apr 2009) | 1 line

  map urllib.urlopen to urllib.request.open #5637
........
  r70999 | benjamin.peterson | 2009-04-01 17:36:47 -0500 (Wed, 01 Apr 2009) | 1 line

  add very alpha support to 2to3 for running concurrently with multiprocessing
........
  r71003 | benjamin.peterson | 2009-04-01 18:10:43 -0500 (Wed, 01 Apr 2009) | 1 line

  fix when multiprocessing is not available or used
........
  r71695 | benjamin.peterson | 2009-04-17 22:21:29 -0500 (Fri, 17 Apr 2009) | 1 line

  refactor multiprocessing support, so it's less hacky to employ and only loads mp when needed
........
2009-05-05 23:13:58 +00:00
..
bsddb Issue #5341: Fix a variety of spelling errors. 2009-02-21 20:27:01 +00:00
compiler Backport r69961 to trunk, replacing JUMP_IF_{TRUE,FALSE} with 2009-02-28 19:03:21 +00:00
ctypes Fix Issue #4875: find_library can return directories instead of files 2009-05-05 18:55:47 +00:00
curses Issue #3239. Differentiate the ascii call from the curses one and 2008-07-05 20:39:59 +00:00
distutils Update bdist_msi so that the generated MSIs for pure Python modules can install to any version of Python, like the generated EXEs from bdist_wininst. (Previously, you had to create a new MSI for each version of Python.) 2009-05-05 01:31:22 +00:00
email A fix for issue 1974, inspired by the patch from Andi Albrecht (aalbrecht), 2009-03-30 22:42:17 +00:00
encodings
hotshot
idlelib Further development of issue5559, handle Windows files 2009-05-03 02:05:22 +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 #5932: fix error return in _convertPyInt_AsSsize_t() conversion function. 2009-05-05 07:48:12 +00:00
lib-tk Fix typos. 2009-05-04 16:03:03 +00:00
lib2to3 Merged revisions 68503,68507,68694,69054,69673,69679-69681,70991,70999,71003,71695 via svnmerge from 2009-05-05 23:13:58 +00:00
logging Issue #5854: Updated __all__ to include some missing names and remove some names which should not be exported. 2009-04-27 13:44:27 +00:00
msilib Issue #3732: Backported r53335 to supress deprecation warning. 2008-09-01 14:24:04 +00:00
multiprocessing Add custom initializer argument to multiprocess.Manager*, courtesy of lekma 2009-04-02 05:17:26 +00: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 #5341: Fix a variety of spelling errors. 2009-02-21 20:27:01 +00:00
plat-netbsd1
plat-next3
plat-os2emx
plat-riscos
plat-sunos5
plat-unixware7
pydoc_data Update pydoc topics. 2009-04-26 09:57:29 +00:00
site-packages
sqlite3 Remove usage of apply() in sqlite3 to silence warnings under -3. 2008-08-04 21:19:41 +00:00
test Issue #5920: Changed format.__float__ and complex.__float__ to use a precision of 12 when using the empty presentation type. This more closely matches str()'s behavior and reduces surprises when adding alignment flags to an empty format string. Patch by Mark Dickinson. 2009-05-05 18:26:08 +00:00
wsgiref Issue #5341: Fix a variety of spelling errors. 2009-02-21 20:27:01 +00:00
xml Issue #2170: refactored xml.dom.minidom.normalize, increasing both 2009-04-09 21:54:50 +00:00
__future__.py
__phello__.foo.py
_abcoll.py Issue #5647: MutableSet.__iand__() no longer mutates self during iteration. 2009-04-01 18:50:56 +00:00
_LWPCookieJar.py
_MozillaCookieJar.py
_strptime.py
_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 prevent ref cycles by removing bound method on close() 2009-04-30 00:23:11 +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 failing asyncore tests. 2009-04-01 01:28:11 +00:00
atexit.py
audiodev.py
base64.py
BaseHTTPServer.py Move test.test_support.catch_warning() to the warnings module, rename it 2008-09-02 01:25:16 +00:00
Bastion.py
bdb.py #5142: add module skipping feature to pdb. 2009-05-05 08:54:11 +00:00
binhex.py
bisect.py Per the language summit, the optional fastpath imports should use from-import-star. 2009-03-31 17:47:06 +00:00
calendar.py
cgi.py Issue #1055234: cgi.parse_header(): Fixed parsing of header parameters to 2008-12-04 18:25:17 +00:00
CGIHTTPServer.py docstring update. 2009-05-03 20:27:25 +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
codeop.py
collections.py using sys._getframe(x), where x > 0 doesnt' work on IronPython 2009-05-05 00:55:24 +00:00
colorsys.py pep8tify conditionals 2009-01-30 02:02:25 +00:00
commands.py #5841: add deprecation py3k warning and notice in the docs for commands module. 2009-04-25 15:11:29 +00:00
compileall.py Automatic conversion of floats to integers for struct.pack integer codes 2009-04-19 17:10:47 +00:00
ConfigParser.py #5741 followup: should also allow %%(blah)s. 2009-04-13 12:36:24 +00:00
contextlib.py
Cookie.py Fixing the issue4860. Escaping embedded '"' character in js_output() method of Morsel. 2009-04-02 03:00:34 +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 Revert the renaming of repr to reprlib. 2008-05-23 05:03:59 +00:00
copy_reg.py Revert copy_reg -> copyreg rename. 2008-05-20 07:49:57 +00:00
cProfile.py
csv.py Update __all__ for cookielib, csv, os, and urllib2 for objects imported into 2008-08-18 00:46:22 +00:00
dbhash.py Deprecate bsddb for removal in Python 3.0. 2008-09-05 18:33:51 +00:00
decimal.py Update spec version number. 2009-04-27 21:12:27 +00:00
difflib.py Issue #5341: Fix a variety of spelling errors. 2009-02-21 20:27:01 +00:00
dircache.py
dis.py #4222: document dis.findlabels() and dis.findlinestarts() and 2009-01-01 12:09:40 +00:00
doctest.py Stronger tests for combinatoric relationships. 2009-01-27 09:52:35 +00:00
DocXMLRPCServer.py Remove a dict.has_key() use in DocXMLRPCServer that comes up under -3. 2008-08-03 22:59:46 +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 close files after comparing them 2009-03-19 03:04:31 +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
formatter.py
fpformat.py
fractions.py Issue #5812: The two-argument form of the Fraction constructor 2009-04-24 13:56:07 +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
getopt.py #4458: recognize "-" as an argument, not a malformed option in gnu_getopt(). 2008-12-05 09:23:14 +00:00
getpass.py
gettext.py
glob.py #5655: fix docstring oversight. 2009-04-01 17:46:01 +00:00
gzip.py Issue #3860: GzipFile and BZ2File now support the context manager protocol. 2009-01-10 16:13:45 +00:00
hashlib.py issue3715: docstring representation of hex escaped string needs to be double 2008-08-31 16:34:18 +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
HTMLParser.py revert creation of the html.entities and html.parser modules 2008-05-20 06:08:38 +00:00
httplib.py give httplib.IncompleteRead a more sane repr #4308 2009-03-02 22:41:42 +00:00
ihooks.py
imaplib.py
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
inspect.py fix inspect.isclass() on instances with a custom __getattr__ #1225107 2009-01-17 22:27:54 +00:00
io.py add seek constants to __all__ 2009-04-01 21:12:54 +00:00
ipaddr.py Optimization: move RFC defined network constant construction out of 2009-05-03 19:37:05 +00:00
keyword.py
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 Fix issue 2522. locale.format now checks that it is passed 2009-04-01 03:21:43 +00:00
macpath.py
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
mhlib.py
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
MimeWriter.py
mimify.py
modulefinder.py Fixed a modulefinder crash on certain relative imports. 2008-10-30 20:18:13 +00:00
multifile.py
mutex.py use True and False 2009-01-27 23:15:48 +00:00
netrc.py
new.py
nntplib.py
ntpath.py
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 Backport r69961 to trunk, replacing JUMP_IF_{TRUE,FALSE} with 2009-02-28 19:03:21 +00:00
optparse.py #5719: add short usage example to optparse docstring. 2009-04-12 20:30:53 +00:00
os.py Issue #3708: os.urandom no longer goes into an infinite loop when passed a 2008-09-02 05:36:11 +00:00
os2emxpath.py
pdb.doc
pdb.py Fix overlong lines. 2009-05-05 09:06:02 +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 #3657: fix occasional test_pickletools failures. 2009-01-24 21:08:38 +00:00
pipes.py
pkgutil.py
platform.py add support for PyPy 2009-03-26 19:09:21 +00:00
plistlib.py #5432: make plistlib docstring a raw string, since it contains examples with backslash escapes. 2009-04-05 15:14:29 +00:00
popen2.py
poplib.py Fixed the semantic of timeout for socket.create_connection and 2008-05-29 16:39:26 +00:00
posixfile.py
posixpath.py #5471: fix expanduser() for $HOME set to "/". 2009-04-05 14:48:49 +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 Remove a dict.has_key() usage in profile to silence a -3 DeprecationWarning. 2008-08-03 22:38:19 +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
pyclbr.py
pydoc.py Move pydoc_topics module to its own subdirectory, so that no generated code is in Lib/. 2009-04-26 09:56:44 +00:00
Queue.py Move the previously local import of threading to module level. 2009-03-15 22:11:07 +00:00
quopri.py
random.py Issue #4869: clarify documentation for random.expovariate. 2009-01-07 17:48:33 +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
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
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
shelve.py Remove imports of 'warnings' that are no longer needed in dummy_thread, 2008-08-17 22:10:11 +00:00
shlex.py
shutil.py Issue #3002: shutil.copyfile() and shutil.copytree() now raise an 2009-05-01 20:55:35 +00:00
SimpleHTTPServer.py Issue839496: SimpleHTTPServer should open all files in binary mode. 2008-07-06 21:34:39 +00:00
SimpleXMLRPCServer.py - Issue #2703: SimpleXMLRPCDispatcher.__init__: Provide default values for 2009-04-05 21:00:48 +00:00
site.py Fix issue #4865: add /Library/Python/2.7/site-packages to 2009-03-30 23:10:35 +00:00
smtpd.py Issue #5341: Fix a variety of spelling errors. 2009-02-21 20:27:01 +00:00
smtplib.py Issue 4929: Handle socket errors when receiving 2009-01-15 17:20:21 +00:00
sndhdr.py
socket.py remove unpleasant exec 2009-04-11 11:22:19 +00:00
SocketServer.py Fix call to os.waitpid, it does not take keyword args. 2009-02-24 04:23:25 +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
statvfs.py
string.py fix comment 2008-11-09 01:52:32 +00:00
StringIO.py
stringold.py Replace all map(None, a) with list(a). 2008-07-18 19:06:13 +00:00
stringprep.py
struct.py
subprocess.py Issue #5179: Fixed subprocess handle leak on failure on windows. 2009-03-03 22:18:14 +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
symtable.py Add is_declared_global() which distinguishes between implicit and 2009-03-31 13:17:03 +00:00
tabnanny.py
tarfile.py Issue #5068: Fixed the tarfile._BZ2Proxy.read() method that would loop 2009-03-22 20:09:33 +00:00
telnetlib.py Fixed the semantic of timeout for socket.create_connection and 2008-05-29 16:39:26 +00:00
tempfile.py
textwrap.py Follow-up to r67746 in order to restore backwards-compatibility for 2008-12-27 18:27:53 +00:00
this.py
threading.py fix Thread.ident when it is the main thread or a dummy thread #5632 2009-03-31 21:34:42 +00:00
timeit.py Localize the function lookup in timeit. 2009-04-03 02:43:54 +00:00
toaiff.py
token.py
tokenize.py Remove a tuple unpacking in a parameter list to remove a SyntaxWarning raised 2008-08-02 03:15:20 +00:00
trace.py
traceback.py #1326077: fix traceback formatting of SyntaxErrors. This fixes two differences with formatting coming from Python: a) the reproduction of location details in the error message if no line text is given, b) the prefixing of the last line by one space. 2009-04-05 14:24:52 +00:00
tty.py
types.py
unittest.py 2009-05-02 22:43:34 +00:00
urllib.py Fix for Issue1648102, based on the MSDN spec: If this parameter specifies the 2009-05-01 05:59:52 +00:00
urllib2.py no need for this __bases__ trick anymore 2009-02-12 04:17:04 +00:00
urlparse.py Fix for bugs: Issue4675 and Issue4962. 2009-03-30 21:51:50 +00:00
user.py
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
uu.py
uuid.py #4363: Let uuid.uuid1() and uuid.uuid4() run even if the ctypes module is not present. 2008-11-21 22:05:48 +00:00
warnings.py Require implementations for warnings.showwarning() support the 'line' argument. 2009-03-11 04:51:06 +00:00
wave.py
weakref.py Update __all__ for cookielib, csv, os, and urllib2 for objects imported into 2008-08-18 00:46:22 +00:00
webbrowser.py
whichdb.py
wsgiref.egg-info
xdrlib.py
xmllib.py
xmlrpclib.py fix test_xmlrpc failures #4939 2009-01-13 23:43:50 +00:00
zipfile.py Issue #5692: In :class:zipfile.Zipfile, fix wrong path calculation when extracting a file to the root directory. 2009-05-04 21:17:17 +00:00