- 25 Oct, 2001 9 commits
-
-
Fred Drake authored
-
Guido van Rossum authored
Replace some tortuous code that was trying to be clever but forgot to DECREF the key and value, by more longwinded but obviously correct code. (Inspired by but not copying the fix from SF patch #475033.)
-
Fred Drake authored
-
Guido van Rossum authored
of the if block where it was before. The name is only used inside that if block, but the storage is referenced outside it via the 's' variable. (This patch was part of SF patch #474590 -- RISC OS support.)
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
work to be done, but do not require the HTML to be re-built.
-
Martin v. Löwis authored
and that the work-around should be restricted to that system.
-
- 24 Oct, 2001 15 commits
-
-
Fredrik Lundh authored
like findall, but returns an iterator (which returns match objects) instead of a list of strings/tuples.
-
Fred Drake authored
-
Fred Drake authored
This has sat around in a deprecated state for a *long* time!
-
Fred Drake authored
-
Guido van Rossum authored
to os.extsep -- that variable actually didn't exist in that release!
-
Fred Drake authored
PyArg_UnpackTuple().
-
Guido van Rossum authored
-
Tim Peters authored
As the comments in the module implied, pyclbr was easily confused by "strange stuff" inside single- (but not triple-) quoted strings. It isn't anymore. Its behavior remains flaky in the presence of nested functions and classes, though. Bugfix candidate.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Fred Drake authored
set of names imported (the "public names"), adding a definition of "public names" that describes the use of __all__. This closes SF bug #473986. Flesh out the vague reference to __import__().
-
Martin v. Löwis authored
-
Martin v. Löwis authored
STRICT_SYSV_CURSES when compiling curses module on HP/UX. Generalize access to _flags on systems where WINDOW is opaque. Fixes bugs #432497, #422265, and the curses parts of #467145 and #473150.
-
Martin v. Löwis authored
not properly processing numeric IPv4 addresses. Fixes V5.1 part of #472675.
-
Jack Jansen authored
machine. Luckily everyone is asleep, so I didn't have to use the time machine.
-
- 23 Oct, 2001 16 commits
-
-
Jack Jansen authored
-
Jack Jansen authored
Some escaped newlines had spaces between the backslash and the newline. Also slightly changed the comment on xstat().
-
Jack Jansen authored
-
Jack Jansen authored
Got this to work in MacPython. The code is #ifdef macintosh style (to match the existing #ifdef MS_WINDOWS), but eventually ifdeffing on configure features is probably better.
-
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.
-