summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Merged revisions 71802 via svnmerge fromEric Smith2009-04-221-0/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71802 | eric.smith | 2009-04-22 12:20:47 -0400 (Wed, 22 Apr 2009) | 1 line Fixed issue 5782: formatting with commas didn't work if no specifier type code was given. ........
* Merged revisions 71799 via svnmerge fromNick Coghlan2009-04-223-23/+51
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71799 | nick.coghlan | 2009-04-23 01:26:04 +1000 (Thu, 23 Apr 2009) | 1 line Issue 5354: Change API for import_fresh_module() to better support test_warnings use case (also fixes some bugs in the original implementation) ........
* Merged revisions 71785 via svnmerge fromR. David Murray2009-04-222-5/+10
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71785 | r.david.murray | 2009-04-21 09:06:04 -0400 (Tue, 21 Apr 2009) | 4 lines Restore skips of posix and pty tests on Windows by calling the test_support.import_module on the appropriate modules before any other imports. ........
* Update links and version info.Raymond Hettinger2009-04-211-1/+3
|
* Forward port r70471: Add object_pairs_hook. Issue 5381.Raymond Hettinger2009-04-214-8/+54
|
* Merged revisions 71772 via svnmerge fromMark Dickinson2009-04-201-0/+59
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71772 | mark.dickinson | 2009-04-20 22:13:33 +0100 (Mon, 20 Apr 2009) | 5 lines Issue #3166: Make long -> float (and int -> float) conversions correctly rounded, using round-half-to-even. This ensures that the value of float(n) doesn't depend on whether we're using 15-bit digits or 30-bit digits for Python longs. ........
* Merged revisions 71759 via svnmerge fromTarek Ziadé2009-04-201-0/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71759 | tarek.ziade | 2009-04-20 12:33:47 +0200 (Mon, 20 Apr 2009) | 1 line making BuildWinInstTestCase silent in case bdist_wininst is not run under win32 ........
* Merged revisions 71758 via svnmerge fromTarek Ziadé2009-04-201-3/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71758 | tarek.ziade | 2009-04-20 09:53:55 +0200 (Mon, 20 Apr 2009) | 1 line #5795 sysconfig._config_vars was shadowed in tearDown ........
* Issue #5463: Remove deprecated float coercion from struct module, alongMark Dickinson2009-04-191-58/+15
| | | | | with the _PY_STRUCT_FLOAT_COERCE constant. Simplify tests accordingly, and reenable (now-fixed) broken tests.
* Merged revisions 71750 via svnmerge fromMark Dickinson2009-04-191-1/+1
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71750 | mark.dickinson | 2009-04-19 18:10:47 +0100 (Sun, 19 Apr 2009) | 3 lines Automatic conversion of floats to integers for struct.pack integer codes is deprecated. Use an explicit int() instead. ........
* Fix use of test skipping API.Antoine Pitrou2009-04-191-3/+3
|
* Issue #5734: BufferedRWPair was poorly tested and had several glaring bugs.Antoine Pitrou2009-04-192-10/+110
| | | | Patch by Brian Quinlan.
* Merged revisions 71722 via svnmerge fromBenjamin Peterson2009-04-181-0/+12
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71722 | benjamin.peterson | 2009-04-18 15:12:47 -0500 (Sat, 18 Apr 2009) | 1 line try to initalize all builtin types with PyType_Ready to avoid problems like #5787 ........
* use the more offical skipping apiBenjamin Peterson2009-04-181-3/+3
|
* add annotations to open()Benjamin Peterson2009-04-181-2/+3
|
* Issue #1869 (and 4707, 5118, 5473, 1456775): use the newMark Dickinson2009-04-181-0/+83
| | | | | | | | string <-> float conversion routines to make round(x, n) correctly rounded for floats x, so that it always agrees with format(x, '.<n>f'). Also fix some other round nuisances, like round(123.456, 1-2**31) giving an integer rather than a float.
* Sort out some confusion in test_float.py: the twoMark Dickinson2009-04-171-15/+12
| | | | | | separate FormatTestCase classes have been combined, and test_short_repr has been moved from FormatTestCase to the existing ReprTestCase.
* Merged revisions 71674 via svnmerge fromTarek Ziadé2009-04-172-10/+9
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71674 | tarek.ziade | 2009-04-17 16:29:56 +0200 (Fri, 17 Apr 2009) | 1 line DistutilsSetupError was not raised when one single warning occured ........
* The other half of Issue #1580: use short float repr where possible.Eric Smith2009-04-163-1/+129
| | | | | | | | | | | | | | Addresses the float -> string conversion, using David Gay's code which was added in Mark Dickinson's checkin r71663. Also addresses these, which are intertwined with the short repr changes: - Issue #5772: format(1e100, '<') produces '1e+100', not '1.0e+100' - Issue #5515: 'n' formatting with commas no longer works poorly with leading zeros. - PEP 378 Format Specifier for Thousands Separator: implemented for floats.
* Issue #1580: use short float repr where possible.Mark Dickinson2009-04-161-0/+354
| | | | | | | | | | | | | | | - incorporate and adapt David Gay's dtoa and strtod into the Python core - on platforms where we can use Gay's code (almost all!), repr(float) is based on the shortest sequence of decimal digits that rounds correctly. - add sys.float_repr_style attribute to indicate whether we're using Gay's code or not - add autoconf magic to detect and enable SSE2 instructions on x86/gcc - slight change to repr and str: repr switches to exponential notation at 1e16 instead of 1e17, str switches at 1e11 instead of 1e12
* Port r71408 to py3k: issue 5665, add more pickling tests.Collin Winter2009-04-162-9/+168
|
* Merged revisions 71627 via svnmerge fromBenjamin Peterson2009-04-151-0/+7
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71627 | benjamin.peterson | 2009-04-15 16:26:36 -0500 (Wed, 15 Apr 2009) | 4 lines call __float__ on str subclasses #5759 tests by R. David Murray ........
* other places like this just catch IOErrorBenjamin Peterson2009-04-141-1/+1
|
* Merged revisions 71589 via svnmerge fromTarek Ziadé2009-04-131-10/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71589 | tarek.ziade | 2009-04-13 22:14:54 +0200 (Mon, 13 Apr 2009) | 1 line pep8-fied ........
* Merged revisions 71585 via svnmerge fromTarek Ziadé2009-04-131-0/+40
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71585 | tarek.ziade | 2009-04-13 22:03:44 +0200 (Mon, 13 Apr 2009) | 1 line improved test coverage for distutils.cmd ........