summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Merged revisions 71847 via svnmerge fromThomas Heller2009-04-241-0/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71847 | thomas.heller | 2009-04-24 22:00:41 +0200 (Fr, 24 Apr 2009) | 2 lines Issue 5041: ctypes unwilling to allow pickling wide character. ........
* Issue 5830: Events are now comparable when the time and type are the same.Raymond Hettinger2009-04-241-1/+7
|
* Merged revisions 71837-71838 via svnmerge fromMark Dickinson2009-04-241-8/+9
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71837 | mark.dickinson | 2009-04-24 17:34:14 +0100 (Fri, 24 Apr 2009) | 4 lines Issue #5593: Use more robust test for double-rounding in test_fsum. While we're at it, use new unittest.skipUnless decorator to implement skipping for that test. ........ r71838 | mark.dickinson | 2009-04-24 17:37:22 +0100 (Fri, 24 Apr 2009) | 2 lines Remove unnecessary double negative ........
* Merged revisions 71832 via svnmerge fromMark Dickinson2009-04-242-13/+28
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71832 | mark.dickinson | 2009-04-24 14:56:07 +0100 (Fri, 24 Apr 2009) | 3 lines Issue #5812: The two-argument form of the Fraction constructor now accepts arbitrary Rational instances. ........
* Make sure that complex parsing code and corresponding testsMark Dickinson2009-04-241-1/+13
| | | | | match for 2.7 and 3.1, and that 3.1 continues to accept complex('j') and complex('4-j')
* Issue #5816: Simplify code for parsing and printing of complex numbers.Mark Dickinson2009-04-231-11/+54
| | | | | nans and infs are no longer given special treatment; as a result, repr(complex(z)) recovers z for any complex number z.
* Issue #5812: Make Fraction('1e6') valid. The Fraction constructor nowMark Dickinson2009-04-222-23/+34
| | | | | accepts all strings accepted by the float and Decimal constructors, with the exception of strings representing NaNs or infinities.