- 12 Aug, 2006 4 commits
-
-
Neal Norwitz authored
However, there was no error checking that PyFloat_FromDouble returned a valid pointer. I believe this change is correct as it seemed to follow other code in the area. Klocwork # 292.
-
Neal Norwitz authored
So be safe and do an XINCREF. Klocwork # 221-222.
-
Neal Norwitz authored
there was no verification that privateobj was a PyString. If it wasn't a string, this could have allowed a NULL pointer to creep in below and crash. I wonder if this should be PyString_CheckExact? Must identifiers be strings or can they be subclasses? Klocwork #275
-
Neal Norwitz authored
This is the first batch of fixes that should be easy to verify based on context. This fixes problem numbers: 220 (ast), 323-324 (symtable), 321-322 (structseq), 215 (array), 210 (hotshot), 182 (codecs), 209 (etree).
-
- 11 Aug, 2006 7 commits
-
-
Thomas Heller authored
storage before converting the result to C data. See the comment in the code for details. Provide a better context for errors when the conversion of a callback function's result cannot be converted.
-
Thomas Wouters authored
-
Georg Brandl authored
already been cleaned up.
-
Georg Brandl authored
-
Neal Norwitz authored
The first hunk changes the colon to an ! like other Windows variants. We need to always wait on the child so the lock gets released and no other tests fail. This is the try/finally in the second hunk.
-
Tim Peters authored
at stopping test_signal from hanging forever on the Tru64 buildbot. That could be because there's no such thing as signal.SIGALARM. Changed to the idiotic (but standard) signal.SIGALRM instead, and added some more debug output.
-
Tim Peters authored
64-bit boxes. I have no idea what the ctypes docs mean by "integers", and blind-guessing here that it intended to mean the signed C "int" type, in which case perhaps I can repair this by feeding the thread id argument to type ctypes.c_long(). Also made the worker thread daemonic, so it doesn't hang Python shutdown if the test continues to fail.
-
- 10 Aug, 2006 11 commits
-
-
Tim Peters authored
of quoted test data relied on preserving a single trailing blank. Changed the string from raw to regular, and forced in the trailing blank via an explicit \x20 escape.
-
Tim Peters authored
-
Tim Peters authored
PyThreadState_SetAsyncExc(): internal correctness changes wrt refcount safety and deadlock avoidance. Also added a basic test case (relying on ctypes) and repaired the docs.
-
Martin v. Löwis authored
mention that this is UCD 4.1 now.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
SF bug #1112549.
-
Kurt B. Kaiser authored
since 1.2a1) Patch 1528468 Tal Einat.
-
Tim Peters authored
directories each time it ran, at least on Windows. Several changes: explicitly closed all files; wrapped long lines; stopped suppressing errors when removing a file or directory fails (removing /shouldn't/ fail!); and changed what appeared to be incorrect usage of os.removedirs() (that doesn't remove empty directories at and /under/ the given path, instead it must be given an empty leaf directory and then deletes empty directories moving /up/ the path -- could be that the conceptually simpler shutil.rmtree() was really actually intended here).
-
Kurt B. Kaiser authored
-
Tim Peters authored
-
- 09 Aug, 2006 15 commits
-
-
Martin v. Löwis authored
-
Kurt B. Kaiser authored
-
Andrew M. Kuchling authored
-
Kurt B. Kaiser authored
internal error reporting by moving message to IDLE console.
-
Kurt B. Kaiser authored
message claiming they were IDLE internal errors (since 1.2a1). 2. Add Ronald Oussoren to CREDITS M NEWS.txt M PyShell.py M CREDITS.txt
-
Armin Rigo authored
-
Ronald Oussoren authored
-
Armin Rigo authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Martin v. Löwis authored
value is obtained by invoking hash on the long int. Fixes #1536021.
-
Georg Brandl authored
C argument format strings; fixes rest of #1523610.
-
Tim Peters authored
-
- 08 Aug, 2006 3 commits
-
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-