- 25 Eki, 2001 14 kayıt (commit)
-
-
Barry Warsaw yazdı
the separating semi-colon shows up on a continuation line (legal, but weird). Bug reported and fixed by Matthew Cowles. Test case and sample email included.
-
Jack Jansen yazdı
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
non-standard but common types. Including Martin's suggestion to add rejected non-standard types from patch #438790. Specifically, guess_type(), guess_extension(): Both the functions and the methods grow an optional "strict" flag, defaulting to true, which determines whether to recognize non-standard, but commonly found types or not. Also, I sorted, reformatted, and culled duplicates from the big types_map dictionary. Note that there are a few non-equivalent duplicates (e.g. .cdf and .xls) for which the first will just get thrown away. I didn't remove those though. Finally, use of the module as a script as grown the -l and -e options to toggle strictness and to do guess_extension(), respectively. Doc and unittest updates too.
-
Fred Drake yazdı
to call the corresponding methods. This is not a performance improvement since the times are still swamped by disk I/O, but cleans up the code just a little.
-
Fred Drake yazdı
-
Guido van Rossum yazdı
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 yazdı
-
Guido van Rossum yazdı
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 yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
work to be done, but do not require the HTML to be re-built.
-
Martin v. Löwis yazdı
and that the work-around should be restricted to that system.
-
- 24 Eki, 2001 15 kayıt (commit)
-
-
Fredrik Lundh yazdı
like findall, but returns an iterator (which returns match objects) instead of a list of strings/tuples.
-
Fred Drake yazdı
-
Fred Drake yazdı
This has sat around in a deprecated state for a *long* time!
-
Fred Drake yazdı
-
Guido van Rossum yazdı
to os.extsep -- that variable actually didn't exist in that release!
-
Fred Drake yazdı
PyArg_UnpackTuple().
-
Guido van Rossum yazdı
-
Tim Peters yazdı
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 yazdı
-
Guido van Rossum yazdı
-
Fred Drake yazdı
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 yazdı
-
Martin v. Löwis yazdı
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 yazdı
not properly processing numeric IPv4 addresses. Fixes V5.1 part of #472675.
-
Jack Jansen yazdı
machine. Luckily everyone is asleep, so I didn't have to use the time machine.
-
- 23 Eki, 2001 11 kayıt (commit)
-
-
Jack Jansen yazdı
-
Jack Jansen yazdı
Some escaped newlines had spaces between the backslash and the newline. Also slightly changed the comment on xstat().
-
Jack Jansen yazdı
-
Jack Jansen yazdı
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 yazdı
-
Jack Jansen yazdı
-
Jack Jansen yazdı
-
Jack Jansen yazdı
-
Guido van Rossum yazdı
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 yazdı
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 yazdı
PyArg_UnpackTuple() function (serves as an example and test case).
-