- 26 Oct, 2001 3 commits
-
-
Fred Drake authored
presentation. This is acceptable since it only occurs in the formatted output and does not affect the document markup.
-
Fred Drake authored
When describing a Boolean return value, use "true" and "false" instead of "1" and "0". Style-guide conformance: no "iff" -- to obscure for many readers. ;-(
-
Fred Drake authored
-
- 25 Oct, 2001 14 commits
-
-
Barry Warsaw authored
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 authored
-
Barry Warsaw authored
-
Barry Warsaw authored
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 authored
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 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 8 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
-