summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Strip out extraneous whitespace, cast a some `const char *` to `void *` whenBrett Cannon2010-05-041-21/+21
| | | | | passed to free() and make a `char *` to a `const char *` as found by Clang's static analyzer.
* Fix a Py_DECREF to a Py_XDECREF.Brett Cannon2010-05-041-1/+1
| | | | Found using Clang's static analyzer.
* Prevent a possible NULL de-reference and an unneeded variable assignment.Brett Cannon2010-05-041-2/+2
| | | | Found using Clang's static analyzer.
* Remove a redundant string length check and variable assignment.Brett Cannon2010-05-041-5/+1
| | | | Found with Clang's static analyzer.
* Fix two potential uninitialization errors and an unneeded assignment.Brett Cannon2010-05-031-4/+6
| | | | Found using Clang's static analyzer.
* Remove unused variables and a variable initialization.Brett Cannon2010-05-031-6/+6
| | | | Found using Clang's static analyzer.
* Remove unneeded variable assignment.Brett Cannon2010-05-031-3/+1
| | | | Found using Clang's static analyzer.
* Remove unneeded variable mutation and initializations.Brett Cannon2010-05-031-4/+6
| | | | Found using Clang's static analyzer.
* Clean up whitespace and remove unneeded variable initialization as found byBrett Cannon2010-05-031-56/+52
| | | | Clang.
* Remove an unused variable.Brett Cannon2010-05-031-2/+1
| | | | Found using Clang's static analyzer.
* Remove unneeded variable initialization.Brett Cannon2010-05-031-3/+0
| | | | Found using Clang's static analyzer.
* Issue #7865: The close() method of :mod:`io` objects should not swallowAntoine Pitrou2010-05-037-31/+80
| | | | | exceptions raised by the implicit flush(). Also ensure that calling close() several times is supported. Patch by Pascal Chambon.
* wbits negative was documented SEVEN years agoJesus Cea2010-05-031-3/+1
|
* Issue #8576: logging updated to remove usage of find_unused_port().Vinay Sajip2010-05-033-4/+9
|
* Update the Vim syntax highlight file.Brett Cannon2010-05-022-20/+26
|
* Fix unittest tests to not abuse traceback.format_exceptionMichael Foord2010-05-021-1/+14
|
* Issue #4687: Fix accuracy of garbage collection runtimes displayed withAntoine Pitrou2010-05-022-1/+4
| | | | gc.DEBUG_STATS.
* Small update to r80698 to ensure that webbrowser.openRonald Oussoren2010-05-021-1/+1
| | | | uses the default browser.
* For for issue #7192: with this patch webbrowser.get("firefox")Ronald Oussoren2010-05-022-1/+30
| | | | works on OSX
* Improve error message from nb_int returning a non-integer, in various ↵Mark Dickinson2010-05-021-4/+4
| | | | PyInt_As* functions:
* Remove duplicate testAntoine Pitrou2010-05-011-21/+0
|
* Fix attribution. Travis didn't do much and he did a bad work.Antoine Pitrou2010-05-011-1/+1
| | | | (yes, this is a sensitive subject, sorry)
* Describe memoryviewAndrew M. Kuchling2010-05-011-1/+53
|
* Minor grammar fixAndrew M. Kuchling2010-05-011-1/+1
|
* Fix incorrect use of a list as the target of an 'except' clause in ↵Mark Dickinson2010-05-011-1/+1
| | | | test_decimal.py.
* Fix issue8582: urllib.urlretrieve fails with ValueError: Invalid format stringSenthil Kumaran2010-05-012-1/+14
|