Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Additional testcases for strtod. | Mark Dickinson | 2010-01-21 | 1 | -0/+54 |
| | |||||
* | Additional explanatory comments for _Py_dg_strtod. | Mark Dickinson | 2010-01-20 | 1 | -0/+73 |
| | |||||
* | Don't try to put a value into a NULL pointer. | Mark Dickinson | 2010-01-20 | 1 | -1/+2 |
| | |||||
* | Various dtoa.c cleanups. 1. Despagghetify _Py_dg_strtod parsing code | Mark Dickinson | 2010-01-20 | 2 | -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. Smith | 2010-01-19 | 1 | -4/+0 |
| | |||||
* | Do not compile stubs for the sha2 series hashes in the openssl hashlib | Gregory P. Smith | 2010-01-19 | 1 | -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 in | Gregory P. Smith | 2010-01-19 | 1 | -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 defined | Benjamin Peterson | 2010-01-18 | 2 | -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 Pitrou | 2010-01-18 | 1 | -0/+7 |
| | |||||
* | Add ccbench to the Tools directory | Antoine Pitrou | 2010-01-18 | 1 | -0/+462 |
| | |||||
* | Add iobench to the Tools directory (see December python-dev discussion) | Antoine Pitrou | 2010-01-18 | 1 | -0/+539 |
| | |||||
* | #7730: remove spaces after functions names | Ezio Melotti | 2010-01-18 | 1 | -17/+17 |
| | |||||
* | Fix internal reference. | Georg Brandl | 2010-01-17 | 2 | -3/+6 |
| | |||||
* | Issue #7632: When Py_USING_MEMORY_DEBUGGER is defined, disable the | Mark Dickinson | 2010-01-17 | 2 | -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 7715 | Ronald Oussoren | 2010-01-17 | 2 | -7/+7 |
| | |||||
* | This patch ensures that the configure-script mentions checking for ↵ | Ronald Oussoren | 2010-01-17 | 2 | -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.4 | Ronald Oussoren | 2010-01-17 | 8 | -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 Pitrou | 2010-01-17 | 1 | -1/+1 |
| | |||||
* | Issue #7632: Fix a memory leak in _Py_dg_strtod. | Mark Dickinson | 2010-01-17 | 2 | -3/+10 |
| | |||||
* | Add text to Mac/README to warn about non-universal libraries when | Ronald Oussoren | 2010-01-17 | 1 | -0/+19 |
| | | | | building a universal Python. Based on issue7679. | ||||
* | Issue #7561: Operations on empty bytearrays (such as `int(bytearray())`) | Antoine Pitrou | 2010-01-17 | 4 | -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 Brandl | 2010-01-17 | 1 | -4/+5 |
| | |||||
* | Increase number of strtod tests slightly, to make it more likely that a ↵ | Mark Dickinson | 2010-01-17 | 1 | -1/+1 |
| | | | | memory leak is detected. | ||||
* | #7699: improve datetime docs: straightforward linking to strftime/strptime ↵ | Georg Brandl | 2010-01-17 | 1 | -39/+43 |
| | | | | section, mark classmethods as such. | ||||
* | Add better error reporting for MemoryErrors caused by str->float conversions. | Mark Dickinson | 2010-01-16 | 1 | -0/+2 |
| | |||||
* | remove wrong markup | Ezio Melotti | 2010-01-16 | 1 | -1/+1 |
| | |||||
* | typo: use one instead instead of two | Ezio Melotti | 2010-01-16 | 1 | -2/+2 |
| | |||||
* | Fix multiple uses of variable 'L' in _Py_dg_strtod, where one use requires ↵ | Mark Dickinson | 2010-01-16 | 1 | -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 -> float | Mark Dickinson | 2010-01-16 | 2 | -33/+55 |
| | | | | conversion (see bug 5 in the issue tracker). | ||||
* | Followup to #7703: a2b_hqx() didn't follow the new buffer API (neither in trunk | Antoine Pitrou | 2010-01-16 | 2 | -33/+86 |
| | | | | nor in py3k). Patch by Florent Xicluna as well as additional tests. | ||||
* | Fix issue number in comment. | R. David Murray | 2010-01-16 | 1 | -1/+1 |
| | |||||
* | Issue #7632: Fix a serious wrong output bug for string -> float conversion. | Mark Dickinson | 2010-01-16 | 3 | -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-wrapping | R. David Murray | 2010-01-16 | 4 | -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 Reifscheider | 2010-01-16 | 1 | -31/+34 |
| | |||||
* | Fixed issue-number mistake in NEWS update. | Vinay Sajip | 2010-01-15 | 1 | -1/+1 |
| | |||||
* | try to fix for windows | Benjamin Peterson | 2010-01-15 | 1 | -1/+1 |
| | |||||
* | Remove C++/C99-style comments. | Brett Cannon | 2010-01-15 | 1 | -2/+2 |
| | |||||
* | Issue #7701: Fix crash in binascii.b2a_uu() in debug mode when given a | Antoine Pitrou | 2010-01-15 | 3 | -1/+7 |
| | | | | 1-byte argument. Patch by Victor Stinner. | ||||
* | The silencing of DeprecationWarning was not taking -3 into consideration. Since | Brett Cannon | 2010-01-14 | 3 | -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 bad | Antoine Pitrou | 2010-01-14 | 3 | -3/+17 |
| | | | | argument values in debug mode. Patch by Victor Stinner. | ||||
* | Issue #7703: Add support for the new buffer API to functions of the | Antoine Pitrou | 2010-01-14 | 3 | -79/+219 |
| | | | | | binascii module. Backported from py3k by Florent Xicluna, with some additional tests. | ||||
* | Issue #7632: add tests for bugs fixed so far. | Mark Dickinson | 2010-01-14 | 1 | -0/+269 |
| | |||||
* | Issue 7632: fix incorrect rounding for long input strings with values very ↵ | Mark Dickinson | 2010-01-14 | 1 | -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 Dickinson | 2010-01-14 | 1 | -9/+6 |
| | | | | follow. | ||||
* | Fix off-by-one error introduced in r77483. I have a test for this, but it ↵ | Mark Dickinson | 2010-01-14 | 1 | -2/+2 |
| | | | | currently fails due to a different dtoa.c bug; I'll add the test once that bug is fixed. | ||||
* | Fixed typo | Ezio Melotti | 2010-01-14 | 1 | -1/+1 |
| | |||||
* | use more robust quoting | Benjamin Peterson | 2010-01-14 | 1 | -1/+1 |
| | |||||
* | Update PyEval_EvalFrame to PyEval_EvalFrameEx. This looks to have been done | Skip Montanaro | 2010-01-14 | 1 | -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 Dickinson | 2010-01-13 | 1 | -69/+43 |
| | |||||
* | Fix buggy comparison: LHS of comparison was being treated as unsigned. | Mark Dickinson | 2010-01-13 | 1 | -1/+1 |
| |