summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Use // for floor division.Mark Dickinson2010-01-211-2/+2
|
* Add two more test_strtod test values.Mark Dickinson2010-01-211-0/+36
|
* Additional testcases for strtod.Mark Dickinson2010-01-211-0/+54
|
* Various dtoa.c cleanups. 1. Despagghetify _Py_dg_strtod parsing codeMark Dickinson2010-01-201-4/+41
| | | | | | 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
|
* 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-181-0/+20
| | | | | | | Adjust documentation and add a test to verify this behavior. See http://mail.python.org/pipermail/python-dev/2010-January/095637.html for discussion.
* #7730: remove spaces after functions namesEzio Melotti2010-01-181-17/+17
|
* Issue #7561: Operations on empty bytearrays (such as `int(bytearray())`)Antoine Pitrou2010-01-171-0/+7
| | | | | | could crash in many places because of the PyByteArray_AS_STRING() macro returning NULL. The macro now returns a statically allocated empty string instead.
* Increase number of strtod tests slightly, to make it more likely that a ↵Mark Dickinson2010-01-171-1/+1
| | | | memory leak is detected.
* Add better error reporting for MemoryErrors caused by str->float conversions.Mark Dickinson2010-01-161-0/+2
|
* Issue #7632: Fix one more case of incorrect rounding for str -> floatMark Dickinson2010-01-161-6/+3
| | | | 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-161-30/+72
| | | | 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-161-0/+2
| | | | | | 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-163-0/+80
| | | | | | 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.
* try to fix for windowsBenjamin Peterson2010-01-151-1/+1
|
* Issue #7701: Fix crash in binascii.b2a_uu() in debug mode when given aAntoine Pitrou2010-01-151-0/+3
| | | | 1-byte argument. Patch by Victor Stinner.
* The silencing of DeprecationWarning was not taking -3 into consideration. SinceBrett Cannon2010-01-141-2/+5
| | | | | | | | 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-141-0/+6
| | | | argument values in debug mode. Patch by Victor Stinner.
* Issue #7703: Add support for the new buffer API to functions of theAntoine Pitrou2010-01-141-9/+26
| | | | | 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
|
* use more robust quotingBenjamin Peterson2010-01-141-1/+1
|
* Issue #7625: Add more tests that bytearray methods return new objects,Antoine Pitrou2010-01-131-1/+7
| | | | even if identical. Patch by Florent Xicluna (again).
* Issue #2846: Add support for gzip.GzipFile reading zero-padded files.Antoine Pitrou2010-01-132-0/+21
| | | | Patch by Brian Curtin.
* Issue #7632: Fix a bug in dtoa.c that could lead to incorrectly-rounded ↵Mark Dickinson2010-01-121-0/+102
| | | | results.
* Issue #7632: Fix a problem with _Py_dg_strtod that could lead toMark Dickinson2010-01-121-0/+7
| | | | | crashes in debug builds, for certain long numeric strings corresponding to subnormal values.
* Issue #7654: enable additional bytes/bytearray tests. Patch by Florent Xicluna.Antoine Pitrou2010-01-121-15/+10
|
* #5827: make sure that normpath preserves unicodeEzio Melotti2010-01-124-8/+22
|
* Fixed repr of dictionary views.Alexandre Vassalotti2010-01-121-3/+12
|
* module cleanupTarek Ziadé2010-01-111-148/+69
|
* Issue #1967: Backport dictionary views.Alexandre Vassalotti2010-01-111-0/+84
|
* Fixed #5372: .o files are now always rebuilt because file age test don't ↵Tarek Ziadé2010-01-111-94/+2
| | | | work in some case
* Issue #2333: Backport set and dict comprehensions syntax.Alexandre Vassalotti2010-01-1111-109/+487
|
* fix test_popen when the path to python has spaces #7671Benjamin Peterson2010-01-101-3/+1
|
* Fixed issue7648 - test_urllib2 fails on Windows if not run from C:Senthil Kumaran2010-01-101-3/+6
|
* Update root certificate to CAcert.Martin v. Löwis2010-01-101-25/+40
|
* DeprecationWarning is now silent by default.Brett Cannon2010-01-103-2/+5
| | | | | | | | | | | | This was originally suggested by Guido, discussed on the stdlib-sig mailing list, and given the OK by Guido directly to me. What this change essentially means is that Python has taken a policy of silencing warnings that are only of interest to developers by default. This should prevent users from seeing warnings which are triggered by an application being run against a new interpreter before the app developer has a chance to update their code. Closes issue #7319. Thanks to Antoine Pitrou, Ezio Melotti, and Brian Curtin for helping with the issue.
* Issue #2335: Backport set literals syntax from Python 3.x.Alexandre Vassalotti2010-01-099-28/+80
|
* Issue #7532: Add additional slicing test cases for new- and old-styleMark Dickinson2010-01-091-2/+97
| | | | classes. Patch by Florent Xicluna.
* bump version to 2.7a2v2.7a2Benjamin Peterson2010-01-092-2/+2
|
* Fixed #7617: all flavors of gcc should be recognized nowTarek Ziadé2010-01-082-2/+17
|
* Remove obsolete warning filters in regrtest.py (from issue #7092 -- patch byAntoine Pitrou2010-01-081-9/+0
| | | | Florent Xicluna).
* Fix for Issue7026. For the Error - RuntimeError: dictionary changed size ↵Senthil Kumaran2010-01-081-1/+1
| | | | during iteration
* Issue #7092: Remove py3k warning when importing cPickle. 2to3 handlesAntoine Pitrou2010-01-081-1/+1
| | | | | | renaming of `cPickle` to `pickle`. The warning was annoying since there's no alternative to cPickle if you care about performance. Patch by Florent Xicluna.
* Reverting the Revision: 77368. I committed Flox's big patch for tests bySenthil Kumaran2010-01-08107-800/+442
| | | | mistake. ( It may come in for sure tough)
* Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. ↵Senthil Kumaran2010-01-08107-442/+800
| | | | Patch by flox
* Backport some float repr tests that were missed in issue 7117.Mark Dickinson2010-01-081-0/+49
|
* Issue #7455: Fix possible crash in cPickle on invalid input. Patch byAntoine Pitrou2010-01-071-0/+9
| | | | Florent Xicluna.
* #5991: let completion for the "help" command include help topics.Georg Brandl2010-01-062-13/+11
| | | | | This also simplifies the Cmd.get_names() method implementation; it was written at a time where dir() didn't consider base class attributes.