summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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 ........
* Revert accidental changes to Objects/floatobject.cMark Dickinson2009-04-181-10/+4
|
* The SSE2 detection and enabling could potentially causeMark Dickinson2009-04-187-280/+47
| | | | | | | | problems for binary distributions of Python in situations where the build machine has SSE2 but the target machine does not. Therefore, don't enable SSE2 instructions automatically on x86.
* Merged revisions 71719 via svnmerge fromBenjamin Peterson2009-04-181-146/+146
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71719 | benjamin.peterson | 2009-04-18 10:31:34 -0500 (Sat, 18 Apr 2009) | 1 line rename internal bytes_ functions to bytearray ........
* rename internal methods of the bytes object to bytes_Benjamin Peterson2009-04-181-102/+102
|
* Blocked revisions 71715 via svnmergeMark Dickinson2009-04-180-0/+0
| | | | | | | | ........ r71715 | mark.dickinson | 2009-04-18 15:59:42 +0100 (Sat, 18 Apr 2009) | 2 lines Issue #1869: Fix a couple of minor round() issues. ........
* use the more offical skipping apiBenjamin Peterson2009-04-181-3/+3
|
* add annotations to open()Benjamin Peterson2009-04-181-2/+3
|
* Blocked revisions 71710 via svnmergeMark Dickinson2009-04-180-0/+0
| | | | | | | | ........ r71710 | mark.dickinson | 2009-04-18 15:41:37 +0100 (Sat, 18 Apr 2009) | 2 lines Backport r71704 (add configure check for C99 round function) to trunk. ........
* Merged revisions 71705 via svnmerge fromMark Dickinson2009-04-181-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71705 | mark.dickinson | 2009-04-18 15:13:43 +0100 (Sat, 18 Apr 2009) | 2 lines copysign shouldn't be declared as static in pymath.c ........
* Add check for C99 round function to configure, and defineMark Dickinson2009-04-185-3/+24
| | | | a fallback function if round doesn't exist.
* Added Python/dtoa.c to project files.Hirokazu Yamamoto2009-04-182-0/+7
|
* Issue #1869 (and 4707, 5118, 5473, 1456775): use the newMark Dickinson2009-04-183-24/+230
| | | | | | | | 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.
* Issue #5781: Only use legacy string<->double conversions whenMark Dickinson2009-04-181-2/+4
| | | | we can't figure out how to get and set the x87 control word.
* The comments at the top of intobject.h say that it will be removed in 3.1.Mark Dickinson2009-04-181-36/+0
| | | | Make it so.
* Removed unused files.Eric Smith2009-04-182-206/+0
|
* Issue 5780: Fix test_float failures for legacy style float repr.Mark Dickinson2009-04-172-12/+65
|
* 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.
* Add porting notes.Raymond Hettinger2009-04-171-0/+29
|
* Silence compiler warnings on VS8.0Mark Dickinson2009-04-171-6/+6
|
* Add more examples.Raymond Hettinger2009-04-171-0/+4
|
* Add dtoc.[ch] to the VS8.0 project file.Raymond Hettinger2009-04-171-0/+8
|
* Add reminder to dtoa.c to check for updates regularly.Mark Dickinson2009-04-171-2/+10
| | | | Fix a bug in the memory management in dtoa.c.
* 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 ........
* Nit.Eric Smith2009-04-171-1/+1
|
* Update list of supported types.Raymond Hettinger2009-04-171-2/+2
|
* Nits.Raymond Hettinger2009-04-171-4/+4
|
* Make sure that marshal and pickle continue to output 17Mark Dickinson2009-04-172-4/+4
| | | | digits of precision for floats.
* Ladies and gentlemen, the new float.__repr__() has arrived.Raymond Hettinger2009-04-171-0/+37
|
* Simplify PyOS_double_to_string.Eric Smith2009-04-161-33/+31
|
* Better wording for Issue #5515 entry.Eric Smith2009-04-161-3/+2
|
* The other half of Issue #1580: use short float repr where possible.Eric Smith2009-04-1616-836/+1497
| | | | | | | | | | | | | | 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-1619-19/+3866
| | | | | | | | | | | | | | | - 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
* Merged revisions 71640-71641 via svnmerge fromThomas Heller2009-04-164-20/+1
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71640 | thomas.heller | 2009-04-16 08:26:33 +0200 (Do, 16 Apr 2009) | 1 line Remove unneeded code. ........ r71641 | thomas.heller | 2009-04-16 08:42:02 +0200 (Do, 16 Apr 2009) | 2 lines Remove duplicated function declaration. Make _pagesize static. ........
* Merged revisions 71651 via svnmerge fromR. David Murray2009-04-161-4/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71651 | r.david.murray | 2009-04-16 14:12:53 -0400 (Thu, 16 Apr 2009) | 2 lines Less red ink (warning->note) and add link to def of side-by-side assembly. ........
* Port r71408 to py3k: issue 5665, add more pickling tests.Collin Winter2009-04-162-9/+168
|
* Merged revisions 71631 via svnmerge fromR. David Murray2009-04-151-0/+7
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71631 | r.david.murray | 2009-04-15 18:33:07 -0400 (Wed, 15 Apr 2009) | 4 lines Fix for issue3440: add warning to subprocess discussion of env parameter that on Windows SystemRoot is required in order to run side-by-side assemblies. ........
* Merged revisions 71627 via svnmerge fromBenjamin Peterson2009-04-153-1/+12
| | | | | | | | | | | | 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 ........
* reference the io momdule in file and directory sectionBenjamin Peterson2009-04-151-0/+4
|