summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Untabify Modules/posixmodule.c (2)Victor Stinner2010-05-061-10/+10
| | | | Fix some more functions by hand
* Untabify Modules/posixmodule.cVictor Stinner2010-05-051-5047/+5047
| | | | | Run Antoine Pitrou "untabify" script + manual editions (OS/2 and some continuation lines).
* Revert a change where an expression is not needed now, but could be in the ↵Brett Cannon2010-05-051-0/+1
| | | | future.
* Issue #1533: test_range in test_builtin: fix test comment and add testMark Dickinson2010-05-051-2/+2
| | | | for rejection of small floats. Thanks Alexander Belopolsky.
* removed non needed linesTarek Ziadé2010-05-051-2/+1
|
* Issue #8625: Turn off gcc optimization in debug builds.Mark Dickinson2010-05-053-3/+8
|
* Fixed #4265: shutil.copyfile() was leaking file descriptors when disk fillsTarek Ziadé2010-05-053-10/+112
|
* Issue 8628: fix incorrect documentation for numbers.Complex.imag.Mark Dickinson2010-05-051-2/+2
|
* Mention how Clang's static anaylzer was run over Objects/ and Python/.Brett Cannon2010-05-051-0/+2
|
* Remove an unneeded variable assignment.Brett Cannon2010-05-051-1/+0
| | | | Found using Clang's static analyzer.
* Explicitly add stdio.h and string.h to make strtod.c work standalone.Brett Cannon2010-05-051-6/+9
| | | | Found using Clang's static analyzer.
* Change to a Py_XDECREF and fix some whitespace.Brett Cannon2010-05-051-8/+8
| | | | Found using Clang's static analyzer.
* Remove an unnecessary variable assignment.Brett Cannon2010-05-051-1/+0
| | | | Found using Clang's static analyzer.
* Remove two unneeded branches to an 'if' statement by applying De Morgan's LawBrett Cannon2010-05-051-73/+68
| | | | | | | | | and creating a single 'if' statement along with a NULL default value for a variable. Also clean up a bunch of whitespace. Found using Clang's static analyzer.
* Remove an unneeded variable increment.Brett Cannon2010-05-051-1/+0
| | | | Found using Clang's static analyzer.
* Remove an unneeded variable and fix a little whitespace.Brett Cannon2010-05-051-3/+2
| | | | Found using Clang's static analyzer.
* Fix whitespace.Brett Cannon2010-05-051-8/+8
|
* Partially revert the over-reaching r80813.Brett Cannon2010-05-054-78/+85
|
* Remove three unneeded variable assignments.Brett Cannon2010-05-055-89/+79
| | | | Found using Clang's static analyzer.
* Remove an unneeded assignment.Brett Cannon2010-05-051-2/+2
| | | | Found using Clang's static analyzer.
* Remove an unneeded variable assignment.Brett Cannon2010-05-051-2/+1
| | | | Found using Clang's static analyzer.
* Remove an unneeded variable.Brett Cannon2010-05-051-2/+0
| | | | Found using Clang's static analyzer.
* Remove an unneeded variable increment.Brett Cannon2010-05-051-1/+0
| | | | Found using Clang's static analyzer.
* Remove extraneous whitespace.Brett Cannon2010-05-053-51/+51
|
* Remove an unnecessary variable.Brett Cannon2010-05-051-3/+0
| | | | Found using Clang's static analyzer.
* In a number of places code still reversRonald Oussoren2010-05-0530-268/+71
| | | | | | | | | to "sys.platform == 'mac'" and that is dead code because it refers to a platform that is no longer supported (and hasn't been supported for several releases). Fixes issue #7908 for the trunk.
* Issue #8600: fix test_gdb failures when gdb issues some spurious warnings.Antoine Pitrou2010-05-051-0/+5
|
* Issue #7472: remove unused code from email.encoders.encode_7or8bit.R. David Murray2010-05-052-7/+8
| | | | | | | | | Yukihiro Nakadaira noticed a typo in encode_7or8bit that was trying to special case iso-2022 codecs. It turns out that the code in question is never used, because whereas it was designed to trigger if the payload encoding was eight bit but its output encoding was 7 bit, in practice the payload is always converted to the 7bit encoding before encode_7or8bit is called. Patch by Shawat Anand.
* Untabify Modules/_io/fileio.cAntoine Pitrou2010-05-051-705/+705
|
* NEWSBarry Warsaw2010-05-051-0/+2
|
* Bug 7755: audiotest.au is arguably copyrighted material, but definitely makesBarry Warsaw2010-05-053-1/+1
| | | | | Debian unhappy. The actual contents of the audio clip are unimportant, so replace it with something that we know is okay. Guido likes woodpeckers.
* Untabify Modules/_ssl.cAntoine Pitrou2010-05-051-1346/+1346
|
* Force exit using os._exit instead of sys.exit,Ronald Oussoren2010-05-051-1/+1
| | | | | this makes sure that the child does not continue testing.
* The C function used by uuid.uuid4 is broken onRonald Oussoren2010-05-053-0/+44
| | | | | | | | | | OSX 10.6 in that after os.fork() the parent and child generate the same sequence of UUIDs. This patch falls back to the the Python implementation on OSX 10.6 or later. Fixes issue #8621.
* Update the NEWS entry for issue #8211.Marc-André Lemburg2010-05-051-2/+2
|
* Issue #8313: traceback.format_exception_only() encodes unicode message toVictor Stinner2010-05-053-2/+20
| | | | ASCII with backslashreplace error handler if str(value) failed
* Remove reference to unused source file.Thomas Heller2010-05-041-4/+0
|
* Fix test_gzip failure on OS X. The failure was a result of trying to fflushMark Dickinson2010-05-041-1/+1
| | | | a file that wasn't open for writing. Patch by Antoine Pitrou.
* On Windows, ctypes does no longer check the stack before and afterThomas Heller2010-05-0416-1951/+384
| | | | | | | | | calling a foreign function. This allows to use the unmodified libffi library. Remove most files from _ctypes/libffi_msvc, only two include files stay (updated from _ctypes/libffi/...). Other files are used in the cross-platform _ctypes/libffi directory.
* Fix trailing whitespace.Mark Dickinson2010-05-041-1/+1
|
* Issue #1533: fix inconsistency in range function argument processing:Mark Dickinson2010-05-043-46/+129
| | | | | | | | | any non-float non-integer argument is now converted to an integer (if possible) using its __int__ method. Previously, only small arguments were treated this way; larger arguments (those whose __int__ was outside the range of a C long) would produce a TypeError. Patch by Alexander Belopolsky (with minor modifications).
* Issue #8567: Fix incorrect precedence of signals in Decimal module.Mark Dickinson2010-05-043-43/+114
| | | | | | | | | | When a Decimal operation raises multiple signals and more than one of those signals is trapped, the specification determines the order in which the signals should be handled. In many cases this order wasn't being followed, leading to the wrong Python exception being raised. This commit fixes those cases, and adds extra tests. The tests are only enabled when EXTENDEDERRORTESTS is True, since they involve rerunning each Decimal testcase several times.
* _pyio: Fix TextIOWrapper constructor: os has no device_encoding() functionVictor Stinner2010-05-041-11/+6
| | | | _io module doesn't call this function which was introduced in Python3.
* Issue #8404: Fix set operations on dictionary views.Alexandre Vassalotti2010-05-043-3/+69
|
* Add some more items; the urlparse change is added twiceAndrew M. Kuchling2010-05-041-1/+60
|
* Pull a NULL pointer check up to cover more cases in the function.Brett Cannon2010-05-041-2/+4
| | | | Found using Clang's static analyzer.
* Remove an unneeded variable and assignment.Brett Cannon2010-05-041-3/+2
| | | | Found using Clang's static analyzer.
* Mention the code clean-up thanks to Clang's static analyzer in Modules.Brett Cannon2010-05-041-0/+2
| | | | | Was not applied to modules that will not compile under OS X, dbmmodule.c, getaddrinfo.c, and getnameinfo.c.
* Fix some whitespace.Brett Cannon2010-05-041-2/+2
|
* Remove an unneeded variable assignment.Brett Cannon2010-05-041-1/+0
| | | | Found using Clang's static analyzer.