summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #3672: Reject surrogates in utf-8 codec; add surrogates errorMartin v. Löwis2009-05-024-8/+20
| | | | handler.
* ipaddr cleanup for python 3.x:Gregory P. Smith2009-05-021-7/+6
| | | | | | * Get rid of __hex__. * Support bytearray as well as bytes. * Don't double test for integer input.
* make py3k compat code explicitly onBenjamin Peterson2009-05-022-59/+37
|
* port simplejson upgrade from the trunk #4136Benjamin Peterson2009-05-0212-529/+555
| | | | | | json also now works only with unicode strings Patch by Antoine Pitrou; updated by me
* Merged revisions 72173 via svnmerge fromGregory P. Smith2009-05-012-0/+1932
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72173 | gregory.p.smith | 2009-05-01 12:59:52 -0700 (Fri, 01 May 2009) | 5 lines Adds the ipaddr module to the standard library. Issue #3959. Based off of subversion r69 from http://code.google.com/p/ipaddr-py/ This code is 2to3 safe, I'll merge it into py3k later this afternoon. ........
* Merged revisions 72178 via svnmerge fromAntoine Pitrou2009-05-012-4/+50
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72178 | antoine.pitrou | 2009-05-01 22:55:35 +0200 (ven., 01 mai 2009) | 4 lines Issue #3002: `shutil.copyfile()` and `shutil.copytree()` now raise an error when a named pipe is encountered, rather than blocking infinitely. ........
* add myselfBenjamin Peterson2009-05-011-1/+2
|
* implement a detach() method for BufferedIOBase and TextIOBase #5883Benjamin Peterson2009-05-013-6/+86
|
* Merged revisions 72167 via svnmerge fromWalter Dörwald2009-05-019-66/+71
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72167 | walter.doerwald | 2009-05-01 19:35:37 +0200 (Fr, 01 Mai 2009) | 5 lines Make test.test_support.EnvironmentVarGuard behave like a dictionary. All changes are mirrored to the underlying os.environ dict, but rolled back on exit from the with block. ........
* Issue #5859: Remove '%f' to '%g' formatting switch for large floats.Mark Dickinson2009-05-012-5/+20
|
* Issue #5859: Remove use of fixed-length buffers for float formattingMark Dickinson2009-05-011-8/+1
| | | | | | in unicodeobject.c and the fallback version of PyOS_double_to_string. As a result, operations like '%.120e' % 12.34 no longer raise an exception.
* Fix for Issue1648102, based on the MSDN spec: If this parameter specifies theSenthil Kumaran2009-05-011-10/+3
| | | | | "<local>" macro as the only entry, this function bypasses any host name that does not contain a period.
* Issue #1588: Add complex.__format__.Eric Smith2009-04-301-1/+60
|
* Merged revisions 72135 via svnmerge fromBenjamin Peterson2009-04-301-0/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72135 | benjamin.peterson | 2009-04-29 19:23:11 -0500 (Wed, 29 Apr 2009) | 1 line prevent ref cycles by removing bound method on close() ........
* fix test__all__Benjamin Peterson2009-04-291-1/+1
|
* add UnsupportedOperation to __all__Benjamin Peterson2009-04-291-1/+1
|
* Document the fact that 'compname' and 'comptype' are bytes.R. David Murray2009-04-291-2/+0
|
* Merged revisions 72115 via svnmerge fromR. David Murray2009-04-291-7/+53
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72115 | r.david.murray | 2009-04-29 16:15:18 -0400 (Wed, 29 Apr 2009) | 2 lines More aifc tests. ........
* Issue #5864: Fix problem with empty code formatting for floats,Mark Dickinson2009-04-292-0/+7
| | | | where a bogus trailing zero could be added.
* Merged revisions 72100-72101 via svnmerge fromR. David Murray2009-04-294-9/+59
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72100 | r.david.murray | 2009-04-29 09:17:37 -0400 (Wed, 29 Apr 2009) | 7 lines Fix issue 2245. aifc now skips any chunk type it doesn't actually process instead of throwing errors for anything not in an explicit skip list. This is per this spec: http://www.cnpbagwell.com/aiff-c.txt. Spec reference and test sound file provided by Santiago Peresón, fix based on patch by Hiroaki Kawai. ........ r72101 | r.david.murray | 2009-04-29 09:51:44 -0400 (Wed, 29 Apr 2009) | 2 lines Now that we've got a test_aifc, add a few tests. ........
* Remove dependency on the collections module.Raymond Hettinger2009-04-291-3/+41
|
* Added test that didn't make it in an svnmerge.Eric Smith2009-04-291-0/+62
|
* Merged revisions 72094 via svnmerge fromTarek Ziadé2009-04-291-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72094 | tarek.ziade | 2009-04-29 10:03:46 +0200 (Wed, 29 Apr 2009) | 1 line Fixed #5874 : distutils.tests.test_config_cmd is not locale-sensitive anymore ........
* Issue #5857: tokenize.tokenize() now returns named tuples.Raymond Hettinger2009-04-291-19/+22
|
* Merged revisions 72045 via svnmerge fromAntoine Pitrou2009-04-271-15/+13
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72045 | antoine.pitrou | 2009-04-27 22:50:20 +0200 (lun., 27 avril 2009) | 5 lines Issue #5853: calling a function of the mimetypes module from several threads at once could hit the recursion limit if the mimetypes database hadn't been initialized before. ........
* Merged revisions 71995 via svnmerge fromGeorg Brandl2009-04-272-25/+13
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71995 | kurt.kaiser | 2009-04-27 01:22:11 +0200 (Mo, 27 Apr 2009) | 2 lines Right click 'go to file/line' not working if spaces in path. Bug 5559. ........
* Merged revisions 71564 via svnmerge fromGeorg Brandl2009-04-271-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71564 | georg.brandl | 2009-04-13 14:36:24 +0200 (Mo, 13 Apr 2009) | 1 line #5741 followup: should also allow %%(blah)s. ........
* Merged revisions 71537 via svnmerge fromGeorg Brandl2009-04-272-4/+8
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71537 | georg.brandl | 2009-04-12 19:24:11 +0200 (So, 12 Apr 2009) | 1 line #5741: dont disallow double percent signs in SafeConfigParser.set() keys. ........
* Merged revisions 71540,71563 via svnmerge fromGeorg Brandl2009-04-271-0/+13
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71540 | georg.brandl | 2009-04-12 22:30:53 +0200 (So, 12 Apr 2009) | 1 line #5719: add short usage example to optparse docstring. ........ r71563 | georg.brandl | 2009-04-13 14:36:18 +0200 (Mo, 13 Apr 2009) | 1 line Simplify markup. ........
* Update pydoc topics for py3k.Georg Brandl2009-04-271-83/+78
|
* Merged revisions 71960 via svnmerge fromGeorg Brandl2009-04-274-83/+88
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71960 | georg.brandl | 2009-04-26 11:56:44 +0200 (So, 26 Apr 2009) | 1 line Move pydoc_topics module to its own subdirectory, so that no generated code is in Lib/. ........
* Issue #5854: Updated __all__ to include some missing names and remove some ↵Vinay Sajip2009-04-271-3/+6
| | | | names which should not be exported.
* Use of 'filter' in keybindingDialog.py was causingKurt B. Kaiser2009-04-272-1/+4
| | | | | custom key assignment to fail. Patch 5707 amaury.forgeotdarc.
* test_support was renamed to support on py3k.Hirokazu Yamamoto2009-04-273-4/+4
|
* Merged revisions 71984 via svnmerge fromWalter Dörwald2009-04-266-64/+36
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71984 | walter.doerwald | 2009-04-26 22:51:44 +0200 (So, 26 Apr 2009) | 2 lines Use test.test_support.EnvironmentVarGuard where tests change environment vars. ........
* Fixed 2.x-ism.Eric Smith2009-04-261-2/+2
|
* Merged revisions 71972 via svnmerge fromWalter Dörwald2009-04-261-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71972 | walter.doerwald | 2009-04-26 21:11:43 +0200 (So, 26 Apr 2009) | 2 lines Fix typo. ........
* Merged revisions 71812 via svnmerge fromKurt B. Kaiser2009-04-263-9/+21
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71812 | kurt.kaiser | 2009-04-22 22:36:01 -0400 (Wed, 22 Apr 2009) | 2 lines Produce correct version string to access the .chm docs on Windows. Patch 5783 gpolo. Will port. ........
* Merged revisions 71947 via svnmerge fromMartin v. Löwis2009-04-261-1/+6
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71947 | martin.v.loewis | 2009-04-26 02:53:18 +0200 (So, 26 Apr 2009) | 3 lines Issue #4971: Fix titlecase for characters that are their own titlecase, but not their own uppercase. ........
* Remove item from NEWS.txt; not checked in yet...Kurt B. Kaiser2009-04-251-3/+0
|
* Fix up IDLE's NEWS.txt. Include missed changes, keep 2.7 changes in separateKurt B. Kaiser2009-04-251-17/+58
| | | | section to make merging easier. Update release dates.
* Merged revisions 71894 via svnmerge fromWalter Dörwald2009-04-251-1/+14
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71894 | walter.doerwald | 2009-04-25 16:03:16 +0200 (Sa, 25 Apr 2009) | 4 lines Issue #5828 (Invalid behavior of unicode.lower): Fixed bogus logic in makeunicodedata.py and regenerated the Unicode database (This fixes u'\u1d79'.lower() == '\x00'). ........
* Merged revisions 71884 via svnmerge fromTarek Ziadé2009-04-251-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71884 | tarek.ziade | 2009-04-25 14:51:59 +0200 (Sat, 25 Apr 2009) | 1 line #5810: Fixed Distutils test_build_scripts ........
* Merged revisions 71875 via svnmerge fromWalter Dörwald2009-04-251-15/+16
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71875 | walter.doerwald | 2009-04-25 14:15:07 +0200 (Sa, 25 Apr 2009) | 7 lines Issue #5837: Certain sequences of calls to set() and unset() for support.EnvironmentVarGuard objects restored the environment variables incorrectly on __exit__. Fix this by recording the initial value of each environment variable on the first access in set() or unset(). ........
* Merged revisions 71878 via svnmerge fromTarek Ziadé2009-04-251-2/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71878 | tarek.ziade | 2009-04-25 14:38:08 +0200 (Sat, 25 Apr 2009) | 1 line Issue #4951: Fixed failure in test_httpservers ........
* Merged revisions 71869 via svnmerge fromMark Dickinson2009-04-251-3/+19
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71869 | mark.dickinson | 2009-04-25 10:47:00 +0100 (Sat, 25 Apr 2009) | 2 lines Fix typo in complex parsing code; expand tests. ........
* Merged revisions 71860 via svnmerge fromBenjamin Peterson2009-04-251-0/+10
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71860 | benjamin.peterson | 2009-04-24 19:41:22 -0500 (Fri, 24 Apr 2009) | 1 line fix a segfault when setting __class__ in __del__ #5283 ........
* these tests must call gc_collect() for non-refcounting gcsBenjamin Peterson2009-04-241-4/+10
|
* make sure to close filesBenjamin Peterson2009-04-241-53/+43
|
* readline() args must be an int #3521Benjamin Peterson2009-04-242-1/+8
|