- 10 Apr, 2005 3 commits
-
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
* Call to unpack_int() should have no arguments * Misspelled BadRPCVerspion exception * Replace <> with !=
-
- 09 Apr, 2005 8 commits
-
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Raymond Hettinger authored
for non-complex arguments. * Replace type() comparisons with isinstance() checks. * Replace apply() calls with equivalent syntactic form. * Simplify __hash__ definition to hash the underlying tuple. * Use math.hypot() for more robust computation of __abs__(). * Use sorted() instead of the multi-step keys/sort/iter. * Update comment on the cmath module.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Brett Cannon authored
-
Brett Cannon authored
'parser' module and 'compiler' package. Closes patch #1176012. Thanks logistix.
-
Brett Cannon authored
-
- 08 Apr, 2005 7 commits
-
-
Raymond Hettinger authored
-
Tim Peters authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
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 5 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
-