summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Additional testcases for strtod.Mark Dickinson2010-01-211-0/+54
|
* Additional explanatory comments for _Py_dg_strtod.Mark Dickinson2010-01-201-0/+73
|
* Don't try to put a value into a NULL pointer.Mark Dickinson2010-01-201-1/+2
|
* Various dtoa.c cleanups. 1. Despagghetify _Py_dg_strtod parsing codeMark Dickinson2010-01-202-189/+206
| | | | | | and exit points. 2. Simplify bigcomp comparison loop. 3. Don't set ERANGE on _Py_dg_strtod underflow (it was set inconsistently anyway). 4. Remove unused dsign field from BCinfo struct.
* Revert debugprint code in r77607.Gregory P. Smith2010-01-191-4/+0
|
* Do not compile stubs for the sha2 series hashes in the openssl hashlibGregory P. Smith2010-01-191-0/+12
| | | | | | | module when the openssl version is too old to support them. That leads both compiled code bloat and to unittests attempting to test implementations that don't exist for comparison purposes on such platforms.
* Add a pydebug mode only debug print to help debug the errors inGregory P. Smith2010-01-191-0/+4
| | | | | | http://www.python.org/dev/buildbot/all/builders/x86%20gentoo%20trunk/builds/5700/ Will be removed shortly.
* data descriptors do not override the class dictionary if __get__ is not definedBenjamin Peterson2010-01-182-11/+30
| | | | | | | Adjust documentation and add a test to verify this behavior. See http://mail.python.org/pipermail/python-dev/2010-January/095637.html for discussion.
* Add a NEWS entry for r77599 and r77600.Antoine Pitrou2010-01-181-0/+7
|
* Add ccbench to the Tools directoryAntoine Pitrou2010-01-181-0/+462
|
* Add iobench to the Tools directory (see December python-dev discussion)Antoine Pitrou2010-01-181-0/+539
|
* #7730: remove spaces after functions namesEzio Melotti2010-01-181-17/+17
|
* Fix internal reference.Georg Brandl2010-01-172-3/+6
|
* Issue #7632: When Py_USING_MEMORY_DEBUGGER is defined, disable theMark Dickinson2010-01-172-0/+102
| | | | | | | | private memory allocation scheme in dtoa.c, along with a piece of code that caches powers of 5 for future use. This makes it easier to detect dtoa.c memory leaks with Valgrind or similar tools. Patch by Stefan Krah.
* Explicitly use /usr/bin/arch on OSX, fixes issue 7715Ronald Oussoren2010-01-172-7/+7
|
* This patch ensures that the configure-script mentions checking for ↵Ronald Oussoren2010-01-172-1/+38
| | | | | | | | | | | --enable-universalsdk and that it doesn't default to the 10.4u SDK when that SDK does not exist. (This affects OSX) This patch should fix most of issue 4834, although I haven't gotten enough information from the user to be sure.
* - Issue #7658: Ensure that the new pythonw executable works on OSX 10.4Ronald Oussoren2010-01-178-107/+247
| | | | | | | | | | | | - Issue #7714: Use ``gcc -dumpversion`` to detect the version of GCC on MacOSX. - Make configure look for util.h as well as libutil.h. The former is the header file that on OSX contains the defition of openpty. (Needed to compile for OSX 10.4 on OSX 10.6) - Use the correct definition of CC to compile the pythonw executable
* Use PyAPI_DATA.Antoine Pitrou2010-01-171-1/+1
|
* Issue #7632: Fix a memory leak in _Py_dg_strtod.Mark Dickinson2010-01-172-3/+10
|
* Add text to Mac/README to warn about non-universal libraries whenRonald Oussoren2010-01-171-0/+19
| | | | building a universal Python. Based on issue7679.
* Issue #7561: Operations on empty bytearrays (such as `int(bytearray())`)Antoine Pitrou2010-01-174-18/+23
| | | | | | could crash in many places because of the PyByteArray_AS_STRING() macro returning NULL. The macro now returns a statically allocated empty string instead.
* Add note about usage of STRINGLIB_EMPTY.Georg Brandl2010-01-171-4/+5
|
* Increase number of strtod tests slightly, to make it more likely that a ↵Mark Dickinson2010-01-171-1/+1
| | | | memory leak is detected.
* #7699: improve datetime docs: straightforward linking to strftime/strptime ↵Georg Brandl2010-01-171-39/+43
| | | | section, mark classmethods as such.
* Add better error reporting for MemoryErrors caused by str->float conversions.Mark Dickinson2010-01-161-0/+2
|
* remove wrong markupEzio Melotti2010-01-161-1/+1
|
* typo: use one instead instead of twoEzio Melotti2010-01-161-2/+2
|
* Fix multiple uses of variable 'L' in _Py_dg_strtod, where one use requires ↵Mark Dickinson2010-01-161-5/+6
| | | | an unsigned long and the other a signed long. See also r77421.
* Issue #7632: Fix one more case of incorrect rounding for str -> floatMark Dickinson2010-01-162-33/+55
| | | | conversion (see bug 5 in the issue tracker).
* Followup to #7703: a2b_hqx() didn't follow the new buffer API (neither in trunkAntoine Pitrou2010-01-162-33/+86
| | | | nor in py3k). Patch by Florent Xicluna as well as additional tests.
* Fix issue number in comment.R. David Murray2010-01-161-1/+1
|
* Issue #7632: Fix a serious wrong output bug for string -> float conversion.Mark Dickinson2010-01-163-19/+49
| | | | | | Also remove some now unused variables, and add comments clarifying the possible outputs of the parsing section of _Py_dg_strtod. Thanks Eric Smith for reviewing.
* Issue #1670765: Prevent email.generator.Generator from re-wrappingR. David Murray2010-01-164-0/+86
| | | | | | headers in multipart/signed MIME parts, which fixes one of the sources of invalid modifications to such parts by Generator. Patch and tests by Martin von Gagern.
* issue5063: Fixes for building RPM on CentOS plus misc .spec file enhancements.Sean Reifscheider2010-01-161-31/+34
|
* Fixed issue-number mistake in NEWS update.Vinay Sajip2010-01-151-1/+1
|
* try to fix for windowsBenjamin Peterson2010-01-151-1/+1
|
* Remove C++/C99-style comments.Brett Cannon2010-01-151-2/+2
|
* Issue #7701: Fix crash in binascii.b2a_uu() in debug mode when given aAntoine Pitrou2010-01-153-1/+7
| | | | 1-byte argument. Patch by Victor Stinner.
* The silencing of DeprecationWarning was not taking -3 into consideration. SinceBrett Cannon2010-01-143-15/+25
| | | | | | | | Py3K warnings are DeprecationWarning by default this was causing -3 to essentially be a no-op. Now DeprecationWarning is only silenced if -3 is not used. Closes issue #7700. Thanks Ezio Melotti and Florent Xicluna for patch help.
* Issue #3299: Fix possible crash in the _sre module when given badAntoine Pitrou2010-01-143-3/+17
| | | | argument values in debug mode. Patch by Victor Stinner.
* Issue #7703: Add support for the new buffer API to functions of theAntoine Pitrou2010-01-143-79/+219
| | | | | binascii module. Backported from py3k by Florent Xicluna, with some additional tests.
* Issue #7632: add tests for bugs fixed so far.Mark Dickinson2010-01-141-0/+269
|
* Issue 7632: fix incorrect rounding for long input strings with values very ↵Mark Dickinson2010-01-141-0/+24
| | | | close to a power of 2. (See Bug 4 in the tracker discussion.)
* Issue 7632: fix a dtoa.c bug (bug 6) causing incorrect rounding. Tests to ↵Mark Dickinson2010-01-141-9/+6
| | | | follow.
* Fix off-by-one error introduced in r77483. I have a test for this, but it ↵Mark Dickinson2010-01-141-2/+2
| | | | currently fails due to a different dtoa.c bug; I'll add the test once that bug is fixed.
* Fixed typoEzio Melotti2010-01-141-1/+1
|
* use more robust quotingBenjamin Peterson2010-01-141-1/+1
|
* Update PyEval_EvalFrame to PyEval_EvalFrameEx. This looks to have been doneSkip Montanaro2010-01-141-3/+9
| | | | | partially before. Also add a comment describing how this might have to work with different versions of the interpreter.
* More dtoa.c cleanup; remove the need for bc.dplen, bc.dp0 and bc.dp1.Mark Dickinson2010-01-131-69/+43
|
* Fix buggy comparison: LHS of comparison was being treated as unsigned.Mark Dickinson2010-01-131-1/+1
|