- 15 Oct, 2001 6 commits
-
-
Martin v. Löwis authored
Check for pthread_sigmask before using it. Fixes remaining problem in #470781.
-
Guido van Rossum authored
Pass binary mode to makefile().
-
Fred Drake authored
zlib.adler32() are not suitable as general hash functions.
-
Martin v. Löwis authored
that -Kpthread is supported. Fixes #470781. Port to autoconf 2.52.
-
Barry Warsaw authored
has no Content-Type: header, it should be treated as text/plain.
-
Barry Warsaw authored
failobj, and when getting the subtype use 'plain' as the failobj. text/plain is supposed to be the default if the message contains no Content-Type: header.
-
- 14 Oct, 2001 1 commit
-
-
Fred Drake authored
Prompted by Jim Ahlstrom. This closes SF patch #470614.
-
- 13 Oct, 2001 22 commits
-
-
Tim Peters authored
Ugly, but it works.
-
Guido van Rossum authored
using the same algorithm as the slot updates. The slotdefs array is now sorted by slot offset and has an interned string object corresponding to the name added to each item. More can be done but I need to commit this first as a working intermediate stage.
-
Fred Drake authored
-
Fred Drake authored
reported by Neal Norwitz.
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
Reported by Neal Norwitz.
-
Fred Drake authored
Reported by Neal Norwitz.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
for tigetstr.
-
Martin v. Löwis authored
gcc defines both.
-
Martin v. Löwis authored
-
Tim Peters authored
of calling external functions.
-
Fred Drake authored
debug mode (--with-pydebug).
-
Fred Drake authored
Remove the log file after we are done with it. This should clean up after the test even on Windows, since the file is now closed before we attempt removal.
-
Fred Drake authored
-
Tim Peters authored
Rearranged the growing number of Lib packages into alphabetical order.
-
Tim Peters authored
Simply commented it out, and then test_hotshot passes on Windows. Leaving to Fred to fix "the right way" (it seems to be a feature of unittest that all unittests try to unlink open files <wink>).
-
Tim Peters authored
-
Tim Peters authored
This still doesn't compile on Windows, but at least I have a shot at fixing that now.
-
- 12 Oct, 2001 11 commits
-
-
Martin v. Löwis authored
use 0x format for id. Proposed by Cesar Eduardo Barros in patch #470680.
-
Guido van Rossum authored
This patch changes to logic to: if env.var. set and non-empty: if env.var. is an integer: set flag to that integer if flag is zero: # [actually, <= 0 --GvR] set flag to 1 Under this patch, anyone currently using PYTHONVERBOSE=yes will get the same output as before. PYTHONVERBNOSE=2 will generate more verbosity than before. The only unusual case that the following three are still all equivalent: PYTHONVERBOSE=yespleas PYTHONVERBOSE=1 PYTHONVERBOSE=0
-
Tim Peters authored
Still broken: GETTIMEOFDAY. This macro obviously isn't being defined on Windows, so there's logic errors here I'd rather Fred untangled.
-
Guido van Rossum authored
-
Guido van Rossum authored
This patch updates Python/thread_pthread.h to mask all signals for any thread created. This will keep all signals masked for any thread that isn't the initial thread. For Solaris and Linux, the two platforms I was able to test it on, it solves bug #465673 (pthreads need signal protection) and probably will solve bug #219772 (Interactive InterPreter+ Thread -> core dump at exit). I'd be great if this could get some testing on other platforms, especially HP-UX pre 11.00 and post 11.00, as I had to make some guesses for the DCE thread case. AIX is also a concern as I saw some mention of using sigthreadmask() as a pthread_sigmask() equivalent, but this patch doesn't use sigthreadmask(). I don't have access to AIX.
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
tool; look for that on Monday.
-
Fred Drake authored
reported and can read the log back in.
-
Guido van Rossum authored
up GCC warnings.
-
Guido van Rossum authored
The problem is that if fread() returns a short count, we attempt another fread() the next time through the loop, and apparently glibc clears or ignores the eof condition so the second fread() requires another ^D to make it see the eof condition. According to the man page (and the C std, I hope) fread() can only return a short count on error or eof. I'm using that in the band-aid solution to avoid calling fread() a second time after a short read. Note that xreadlines() still has this problem: it calls readlines(sizehint) until it gets a zero-length return. Since xreadlines() is mostly used for reading real files, I won't worry about this until we get a bug report.
-