summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 71875 via svnmerge fromWalter Dörwald2009-04-252-15/+20
| | | | | | | | | | | | | | | 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-252-2/+7
| | | | | | | | | | 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-252-4/+20
| | | | | | | | | | 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-253-0/+18
| | | | | | | | | | 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 71853 via svnmerge fromThomas Heller2009-04-248-518/+520
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71853 | thomas.heller | 2009-04-24 22:31:47 +0200 (Fr, 24 Apr 2009) | 3 lines Issue #3102: All global symbols that the _ctypes extension defines are now prefixed with 'Py' or '_ctypes'. ........
* Fix merge accident.Thomas Heller2009-04-241-0/+2
|
* Merged revisions 71847 via svnmerge fromThomas Heller2009-04-243-2/+7
| | | | | | | | | | 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. ........
* Remove leftover word.Georg Brandl2009-04-241-1/+1
|
* Issue 5830: Events are now comparable when the time and type are the same.Raymond Hettinger2009-04-241-1/+7
|
* Merged revisions 71842 via svnmerge fromThomas Heller2009-04-241-2/+2
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71842 | thomas.heller | 2009-04-24 20:10:46 +0200 (Fr, 24 Apr 2009) | 3 lines Issue #5161: wrong paths for ctypes cleanup when Python is built in a directory other than the source directory. ........
* 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-243-13/+32
| | | | | | | | | | | 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. ........
* Blocked revisions 71827 via svnmergeMark Dickinson2009-04-240-0/+0
| | | | | | | | ........ r71827 | mark.dickinson | 2009-04-24 14:14:07 +0100 (Fri, 24 Apr 2009) | 2 lines Fix missing 'return NULL' ........
* Make sure that complex parsing code and corresponding testsMark Dickinson2009-04-242-27/+98
| | | | | match for 2.7 and 3.1, and that 3.1 continues to accept complex('j') and complex('4-j')
* Blocked revisions 71824 via svnmergeMark Dickinson2009-04-240-0/+0
| | | | | | | | | | | | | ........ r71824 | mark.dickinson | 2009-04-24 13:46:53 +0100 (Fri, 24 Apr 2009) | 7 lines Issue #5816: - simplify parsing and printing of complex numbers - make complex(repr(z)) round-tripping work for complex numbers involving nans, infs, or negative zeros - don't accept some of the stranger complex strings that were previously allowed---e.g., complex('1..1j') ........
* Update for the new float.__repr__()Raymond Hettinger2009-04-241-39/+64
|
* Update decimal docs for the new floating point repr().Raymond Hettinger2009-04-231-3/+3
|
* Fix int/long confusion in Misc/NEWS entry.Mark Dickinson2009-04-231-2/+1
|
* Issue #5816: Simplify code for parsing and printing of complex numbers.Mark Dickinson2009-04-234-236/+173
| | | | | nans and infs are no longer given special treatment; as a result, repr(complex(z)) recovers z for any complex number z.
* Blocked revisions 71808 via svnmergeMark Dickinson2009-04-220-0/+0
| | | | | | | | ........ r71808 | mark.dickinson | 2009-04-22 19:15:25 +0100 (Wed, 22 Apr 2009) | 2 lines Issue #5812: make Fraction('1e-6') valid. Backport of r71806. ........
* Issue #5812: Make Fraction('1e6') valid. The Fraction constructor nowMark Dickinson2009-04-224-33/+47
| | | | | 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-222-0/+7
| | | | | | | | | | 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-225-32/+93
| | | | | | | | | | 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) ........
* Blocked revisions 71796 via svnmergeEric Smith2009-04-220-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | ........ r71796 | eric.smith | 2009-04-22 09:29:05 -0400 (Wed, 22 Apr 2009) | 20 lines Backport of some of the work in r71665 to trunk. This reworks much of int, long, and float __format__(), and it keeps their implementation in sync with py3k. Also added PyOS_double_to_string. This is the "fallback" version that's also available in trunk, and should be kept in sync with that code. I'll add an issue to document PyOS_double_to_string in the C API. There are many internal cleanups. Externally visible changes include: - Implement PEP 378, Format Specifier for Thousands Separator, for floats, ints, and longs. - Issue #5515: 'n' formatting for ints, longs, and floats handles leading zero formatting poorly. - Issue #5772: For float.__format__, don't add a trailing ".0" if we're using no type code and we have an exponent. ........
* 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. ........
* Merged revisions 71788 via svnmerge fromEric Smith2009-04-222-9/+16
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71788 | eric.smith | 2009-04-21 20:47:00 -0400 (Tue, 21 Apr 2009) | 1 line Documentation for issue 5237, auto-numbered format fields. Contributed by Terry J. Reedy. ........
* Added handling of PyOS_double_to_string out-of-memory errors. Closes issue 5775.Eric Smith2009-04-211-27/+41
|
* Update links and version info.Raymond Hettinger2009-04-212-2/+4
|
* Forward port r70471: Add object_pairs_hook. Issue 5381.Raymond Hettinger2009-04-211-3/+25
|
* Forward port r70471: Add object_pairs_hook. Issue 5381.Raymond Hettinger2009-04-214-8/+54
|
* Blocked revisions 71776 via svnmergeMark Dickinson2009-04-200-0/+0
| | | | | | | | ........ r71776 | mark.dickinson | 2009-04-20 22:41:04 +0100 (Mon, 20 Apr 2009) | 2 lines Nit: integer division should use //, not / ........
* Merged revisions 71772 via svnmerge fromMark Dickinson2009-04-203-15/+214
| | | | | | | | | | | | | 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 71766 via svnmerge fromTarek Ziadé2009-04-201-0/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71766 | tarek.ziade | 2009-04-20 16:29:42 +0200 (Mon, 20 Apr 2009) | 1 line adding a NEWS note for #5795 (previously checked via the buildbot) ........
* 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 ........
* Merged revisions 71734,71738-71739 via svnmerge fromBenjamin Peterson2009-04-204-7/+48
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71734 | benjamin.peterson | 2009-04-18 17:15:26 -0500 (Sat, 18 Apr 2009) | 1 line many more types to initialize (I had to expose some of them) ........ r71738 | benjamin.peterson | 2009-04-18 21:32:42 -0500 (Sat, 18 Apr 2009) | 1 line initialize weakref some weakref types ........ r71739 | benjamin.peterson | 2009-04-18 21:40:43 -0500 (Sat, 18 Apr 2009) | 1 line make errors consistent ........
* Issue #5463: Remove deprecated float coercion from struct module, alongMark Dickinson2009-04-193-135/+71
| | | | | 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. ........
* Add comments to pyport.h explaining how to enable support for shortMark Dickinson2009-04-191-5/+30
| | | | | float repr on platforms that don't currently support it, and reorganize the defines slightly to make adding support easier.
* Merged revisions 71743 via svnmerge fromRonald Oussoren2009-04-191-0/+12
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71743 | ronald.oussoren | 2009-04-19 12:38:20 +0200 (Sun, 19 Apr 2009) | 2 lines Fix for issue5657. ........
* use NULL for the ends of tablesBenjamin Peterson2009-04-196-12/+12
|
* make python3 alias in altbininstallBenjamin Peterson2009-04-191-1/+1
|
* 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-194-29/+137
| | | | Patch by Brian Quinlan.
* Blocked revisions 71725 via svnmergeBenjamin Peterson2009-04-180-0/+0
| | | | | | | | ........ r71725 | benjamin.peterson | 2009-04-18 15:25:25 -0500 (Sat, 18 Apr 2009) | 1 line initalize -> initialize ........
* Move configure check for broken sem_getvalue outside theMark Dickinson2009-04-182-117/+115
| | | | LIBS="$LIBS $LIBM" section.
* Merged revisions 71722 via svnmerge fromBenjamin Peterson2009-04-184-8/+79
| | | | | | | | | | 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 ........