- 23 Oct, 2001 17 commits
-
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Guido van Rossum authored
ThreadingMixIn/TCPServer forgets close (Max Neunhöffer). This ensures that handle_error() and close_request() are called when an error occurs in the thread. (I am not applying the second chunk of the patch, which moved the finish() call into the finally clause in BaseRequestHandler's __init__ method; that would be a semantic change that I cannot accept at this point - the data would be sent even if the handler raised an exception.)
-
Guido van Rossum authored
The C-code in fileobject.readinto(buffer) which parses the arguments assumes that size_t is interchangeable with int: size_t ntodo, ndone, nnow; if (f->f_fp == NULL) return err_closed(); if (!PyArg_Parse(args, "w#", &ptr, &ntodo)) return NULL; This causes a problem on Alpha / Tru64 / OSF1 v5.1 where size_t is a long and sizeof(long) != sizeof(int). The patch I'm proposing declares ntodo as an int. An alternative might be to redefine w# to expect size_t. [We can't change w# because there are probably third party modules relying on it. GvR]
-
Fred Drake authored
PyArg_UnpackTuple() function (serves as an example and test case).
-
Fred Drake authored
-
Fred Drake authored
Fulton, based on code Jim supplied.
-
Andrew M. Kuchling authored
-
Guido van Rossum authored
-
Fred Drake authored
Make convertbuffer() static like the prototype says. Not used elsewhere.
-
Steven M. Gava authored
-
Tim Peters authored
Repair unlikely surprise due to magical softspace attr and the use of print with a trailing comma in doctest examples. Bugfix candidate.
-
Neil Schemenauer authored
functions.
-
Neil Schemenauer authored
-
Tim Peters authored
-
- 22 Oct, 2001 23 commits
-
-
Jeremy Hylton authored
This should eliminate the traceback returned by sys.exc_info() as a common source of memory leaks.
-
Tim Peters authored
-
Fred Drake authored
used by the weakref code since he didn't like the word "referencable". Is it really necessary to be more specific than to test for TypeError here, though?
-
Fredrik Lundh authored
template string, and don't call the template compiler if we can avoid it.
-
Barry Warsaw authored
failobj has to be a list or the `+' can fail.
-
Tim Peters authored
-
Fred Drake authored
-
Jeremy Hylton authored
Don't put paren in column 0 (to please font-lock mode). Put space after comma in argument list.
-
Fred Drake authored
-
Andrew M. Kuchling authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
the curses module. It's not run automatically; '-u curses' must be specified as an argument to regrtest
-
Fred Drake authored
Mozilla 0.9.5 can make intelligent use of them. Specifically, this causes the "Acknowledgements" and "Global Module Index" pages to acquire "up" links in the Mozilla "Site Navigation Bar". This partially responds to SF bug #469772.
-
Fred Drake authored
differences by defining symbols not defined on particular platforms. This closes SF bug #473433.
-
Andrew M. Kuchling authored
\filename{} should be \file{}
-
Fredrik Lundh authored
(sorry, barry)
-
Guido van Rossum authored
response to a message by Laura Creighton on c.l.py. E.g. >>> 0+'' TypeError: unsupported operand types for +: 'int' and 'str' (previously this did not mention the operand types) >>> ''+0 TypeError: cannot concatenate 'str' and 'int' objects
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Guido van Rossum authored
There really isn't a good reason for instance method objects to have their own __dict__, __doc__ and __name__ properties that just delegate the request to the function (callable); the default attribute behavior already does this. The test suite had to be fixed because the error changes from TypeError to AttributeError.
-
Andrew M. Kuchling authored
-