summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* other places like this just catch IOErrorBenjamin Peterson2009-04-141-1/+1
|
* Fix linksRaymond Hettinger2009-04-141-3/+4
|
* Fix-up links.Raymond Hettinger2009-04-141-6/+6
|
* New module names are lowercaseRaymond Hettinger2009-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 ........
* Move NEWS item to correct section.R. David Murray2009-04-131-6/+6
|
* Merged revisions 71579 via svnmerge fromR. David Murray2009-04-131-0/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71579 | r.david.murray | 2009-04-13 12:56:32 -0400 (Mon, 13 Apr 2009) | 2 lines Add missing NEWS item for issue1161031 fix. ........
* Merged revisions 71569 via svnmerge fromTarek Ziadé2009-04-131-0/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71569 | tarek.ziade | 2009-04-13 14:42:26 +0200 (Mon, 13 Apr 2009) | 1 line deactivate test_search_cpp under win32 ........
* Blocked revisions 70958 via svnmerge (merged manually)Georg Brandl2009-04-130-0/+0
| | | | | | | | | | ........ r70958 | kristjan.jonsson | 2009-04-01 16:08:34 +0000 (Mi, 01 Apr 2009) | 3 lines http://bugs.python.org/issue5623 Dynamically discoverd the size of the ioinfo struct used by the crt for its file descriptors. This should work across all flavors of the CRT. Thanks to Amaury Forgeot d'Arc Needs porting to 3.1 ........
* Merged revisions 71560 via svnmerge fromTarek Ziadé2009-04-132-1/+33
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71560 | tarek.ziade | 2009-04-13 14:34:01 +0200 (Mon, 13 Apr 2009) | 1 line Fixed #5607: Distutils test_get_platform was failing fo Mac OS X fat binaries. ........