- 05 May, 2010 17 commits
-
-
Brett Cannon authored
Found using Clang's static analyzer.
-
Brett Cannon authored
Found using Clang's static analyzer.
-
Brett Cannon authored
Found using Clang's static analyzer.
-
Brett Cannon authored
Found using Clang's static analyzer.
-
Brett Cannon authored
-
Brett Cannon authored
Found using Clang's static analyzer.
-
Ronald Oussoren authored
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.
-
Antoine Pitrou authored
-
R. David Murray authored
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.
-
Antoine Pitrou authored
-
Barry Warsaw authored
-
Barry Warsaw authored
Debian unhappy. The actual contents of the audio clip are unimportant, so replace it with something that we know is okay. Guido likes woodpeckers.
-
Antoine Pitrou authored
-
Ronald Oussoren authored
this makes sure that the child does not continue testing.
-
Ronald Oussoren authored
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.
-
Marc-André Lemburg authored
-
Victor Stinner authored
ASCII with backslashreplace error handler if str(value) failed
-
- 04 May, 2010 18 commits
-
-
Thomas Heller authored
-
Mark Dickinson authored
a file that wasn't open for writing. Patch by Antoine Pitrou.
-
Thomas Heller authored
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.
-
Mark Dickinson authored
-
Mark Dickinson authored
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).
-
Mark Dickinson authored
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.
-
Victor Stinner authored
_io module doesn't call this function which was introduced in Python3.
-
Alexandre Vassalotti authored
-
Andrew M. Kuchling authored
-
Brett Cannon authored
Found using Clang's static analyzer.
-
Brett Cannon authored
Found using Clang's static analyzer.
-
Brett Cannon authored
Was not applied to modules that will not compile under OS X, dbmmodule.c, getaddrinfo.c, and getnameinfo.c.
-
Brett Cannon authored
-
Brett Cannon authored
Found using Clang's static analyzer.
-
Brett Cannon authored
passed to free() and make a `char *` to a `const char *` as found by Clang's static analyzer.
-
Brett Cannon authored
Found using Clang's static analyzer.
-
Brett Cannon authored
Found using Clang's static analyzer.
-
Brett Cannon authored
Found with Clang's static analyzer.
-
- 03 May, 2010 5 commits
-
-
Brett Cannon authored
Found using Clang's static analyzer.
-
Brett Cannon authored
Found using Clang's static analyzer.
-
Brett Cannon authored
Found using Clang's static analyzer.
-
Brett Cannon authored
Found using Clang's static analyzer.
-
Brett Cannon authored
Clang.
-