summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add various itemsAndrew M. Kuchling2010-05-011-5/+30
|
* Issue #8576: Remove use of find_unused_port() in test_smtplib andAntoine Pitrou2010-04-303-7/+14
| | | | test_multiprocessing. Patch by Paul Moore.
* [issue8211] configure: ignore AC_PROG_CC hardcoded CFLAGSMarc-André Lemburg2010-04-302-20/+30
| | | | | | Only override the AC_PROG_CC determined CFLAGS if they were set by the user. This restores the default behavior in the common case of not having CFLAGS defined when running configure.
* Add notes about uninstalling a framework install toRonald Oussoren2010-04-301-1/+21
| | | | Mac/README. Fixes issue 7107.
* Fix for issue 8476Ronald Oussoren2010-04-301-4/+5
|
* Add itemAndrew M. Kuchling2010-04-301-0/+10
|
* Minor grammar re-wordingAndrew M. Kuchling2010-04-301-2/+2
|
* Fixed #8577. distutils.sysconfig.get_python_inc() now differenciates buildir ↵Tarek Ziadé2010-04-302-5/+13
| | | | and srcdir
* Fix for issue #3646: with this patch it is possible to do aRonald Oussoren2010-04-307-24/+116
| | | | | | | | | | | | framework install of Python in your home directory (on OSX): $ configure --enable-framework=${HOME}/Library/Frameworks $ make && make install Without this patch the framework would get installed just fine, but 'make install' would try to install the application bundles and command-line tools outside the user's home, which doesn't work for non-admin users (and is bad form anyway).
* Add various items; rearrange unittest section a bitAndrew M. Kuchling2010-04-301-51/+87
|
* Markup fix; clarify by adding 'in that order'Andrew M. Kuchling2010-04-301-2/+3
|