- 08 Apr, 2005 3 commits
-
-
Tim Peters authored
test_site often failed under "regrtest.py -r", because this xmlrpc test left sys with a setdefaultencoding attribute, but loading site.py removes that attribute and test_site.py verifies the attribute is gone. Changed this test to get rid of sys.setdefaultencoding if it didn't exist when this test started. Don't know whether this is a bugfix (backport) candidate.
-
Tim Peters authored
-
Raymond Hettinger authored
-
- 07 Apr, 2005 3 commits
-
-
Michael W. Hudson authored
because (essentially) I didn't realise that PY_BEGIN/END_ALLOW_THREADS actually expanded to nothing under a no-threads build, so if you somehow NULLed out the threadstate (e.g. by calling PyThread_SaveThread) it would stay NULLed when you return to Python. Argh! Backport candidate.
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
- 06 Apr, 2005 3 commits
-
-
Michael W. Hudson authored
-
Michael W. Hudson authored
-
Tim Peters authored
-
- 05 Apr, 2005 2 commits
-
-
Raymond Hettinger authored
-
Raymond Hettinger authored
* resp[:1] in '123' # after Py2.2, this allowed blank responses to pass. * replace <> with != * provide a usage message for empty command line calls Backport candidate.
-
- 04 Apr, 2005 5 commits
-
-
Walter Dörwald authored
-
Walter Dörwald authored
the last character read is "\r" (and size is None, i.e. we're allowed to call read() multiple times), so that we can return the correct line ending (this additional character might be a "\n"). If the stream is temporarily exhausted, we might return the wrong line ending (if the last character read is "\r" and the next one (after the byte stream provides more data) is "\n", but at least the atcr member ensure that we get the correct number of lines (i.e. this "\n" will not be treated as another line ending.)
-
Hye-Shik Chang authored
documentation. (Patch #1173245, Contributed by Jeremy Yallop)
-
Hye-Shik Chang authored
a default value of recursion limit from build systems. 1000 levels are still too high for some 64bit systems.
-
Hye-Shik Chang authored
so there's no need to pad after off_t members. And a small typo fix.
-
- 31 Mar, 2005 4 commits
-
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Walter Dörwald authored
properly encoded and include the encoding in the Content-Type header.
-
Michael W. Hudson authored
-
- 30 Mar, 2005 6 commits
-
-
Michael W. Hudson authored
commit a yelp about a noted flaw the error messages for METH_KEYWORDS functions under some circumstances.
-
Michael W. Hudson authored
[ 1165306 ] Property access with decorator makes interpreter crash Don't allow the creation of unbound methods with NULL im_class, because attempting to call such crashes. Backport candidate.
-
Michael W. Hudson authored
-
Michael W. Hudson authored
[ 1166660 ] The readline module can cause python to segfault It seems to me that the code I'm rewriting here attempted to call any user-supplied hook functions using the thread state of the thread that called the hook-setting function, as opposed to that of the thread that is currently executing. This doesn't work, in general. Fix this by using the PyGILState API (It wouldn't be that hard to define a dummy version of said API when #ifndef WITH_THREAD, would it?). Also, check the conversion to integer of the return value of a hook function for errors (this problem was mentioned in the ipython bug report linked to in the above bug).
-
Michael W. Hudson authored
-
Michael W. Hudson authored
this module any more.
-
- 29 Mar, 2005 4 commits
-
-
Fred Drake authored
-
Anthony Baxter authored
-
Bob Ippolito authored
-
Anthony Baxter authored
fixes the crash seen in bug #1165761
-
- 28 Mar, 2005 8 commits
-
-
Tim Peters authored
Patch by Ilya Sandler. Bugfix candidate.
-
Bob Ippolito authored
POSIX is enabled. This prevents the toolbox glue, all of Carbon, and various other non-POSIX features from compiling. The POSIX symbols are still used by default, so turning off the #define doesn't hurt. Additionally, linker flags have changed for Darwin 8, and are different for Darwin 8/gcc4 (default) and Darwin 8/gcc3.3. Approved by Anthony
-
Martin v. Löwis authored
Will backport to 2.4.
-
Martin v. Löwis authored
-
Greg Ward authored
AFMT_S32_BE, AFMT_MPEG.
-
Greg Ward authored
macros: U16 is unsigned and S16 is signed. Duh. Clarify surrounding text a bit and refer to OSS docs.
-
Tim Peters authored
-
Tim Peters authored
work (SyntaxErrors at compile time). I slammed in what looked like the obvious fixes, but someone who understands this file should check my work.
-
- 27 Mar, 2005 2 commits
-
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-