- 06 Jul, 2001 13 commits
-
-
Fredrik Lundh authored
re.findall doesn't take a maxsplit argument
-
Barry Warsaw authored
-
Fred Drake authored
translation more difficult, as well as reading the English more difficult for non-native speakers.
-
Barry Warsaw authored
clobbered on checkin.
-
Guido van Rossum authored
found a bug here. Here's the deal: Class PyShell derives from class OutputWindow. Method PyShell.close() wants to invoke its parent method, but because PyShell long ago was inherited from class PyShellEditorWindow, it invokes PyShelEditorWindow.close(self). Now, class PyShellEditorWindow itself derives from class OutputWindow, and inherits the close() method from there without overriding it. Under the old rules, PyShellEditorWindow.close would return an unbound method restricted to the class that defined the implementation of close(), which was OutputWindow.close. Under the new rules, the unbound method is restricted to the class whose method was requested, that is PyShellEditorWindow, and this was correctly trapped as an error.
-
Fred Drake authored
translation more difficult, as well as reading the English more difficult for non-native speakers. Add an index entry for the Telnet protocol. Always refer to the protocol as Telnet instead of telnet.
-
Barry Warsaw authored
additional offset is only applied to continuation lines for block opening statements. (py-compute-indentation): Only add py-continuation-offset if py-statement-opens-block-p is true.
-
Fred Drake authored
translation more difficult, as well as reading the English more difficult for non-native speakers.
-
Tim Peters authored
Symptom: (1, 2, 3) <= (1, 2) returned 1. This was already fixed in CVS for tuples, but an isomorphic error was in the list richcompare code.
-
Fred Drake authored
translation more difficult, as well as reading the English more difficult for non-native speakers.
-
Fred Drake authored
name when filling in the internal data structures, otherwise we incorrectly raise a KeyError. This fixes SF bug #432369.
-
Fred Drake authored
the os.W*() functions used to interpret the return value. This fixes SF bug #429361.
-
Fred Drake authored
translation more difficult, as well as reading the English more difficult for non-native speakers.
-
- 05 Jul, 2001 13 commits
-
-
Tim Peters authored
weren't functional under Windows even if enabled.
-
Fred Drake authored
\platform statement. Also fix a minor style consistency nit in an example.
-
Fred Drake authored
empty.
-
Fred Drake authored
values. The change for attribute values matches the way Mozilla and Navigator view the world, at least. This closes SF bug #436621.
-
Fred Drake authored
modules.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
fewer arguments.
-
Guido van Rossum authored
contains, tolist(), and the start/stop/step attributes. This includes removing the 4th ('repeat') argument to PyRange_New().
-
Just van Rossum authored
- make method reload handle __private attrs correctly - fixed whole word search
-
Just van Rossum authored
-
Tim Peters authored
Probable fix (the bug report doesn't have enough info to say for sure). find_init_module(): Insist on a case-sensitive match for __init__ files. Given __INIT__.PY instead, find_init_module() thought that was fine, but the later attempt to do find_module("__INIT__.PY") didn't and its caller silently suppressed the resulting ImportError. Now find_init_module() refuses to accept __INIT__.PY to begin with. Bugfix candidate; specific to platforms with case-insensitive filesystems.
-
- 04 Jul, 2001 12 commits
-
-
unknown authored
-
unknown authored
-
unknown authored
Return a reasonable name for the general macos exception (MacOS.Error).
-
unknown authored
solver. In conjunction, they easily found a tour of a 200x200 board: that's 200**2 == 40,000 levels of backtracking. Explicitly resumable generators allow that to be coded as easily as a recursive solver (easier, actually, because different levels can use level-customized algorithms without pain), but without blowing the stack. Indeed, I've never written an exhaustive Tour solver in any language before that can handle boards so large ("exhaustive" == guaranteed to find a solution if one exists, as opposed to probabilistic heuristic approaches; of course, the age of the universe may be a blip in the time needed!).
-
unknown authored
-
unknown authored
We should not depend on two spaces between words, so use the white space after the to-be-encoded word only as lookahead and don't actually consume it in the regular expression.
-
unknown authored
-
unknown authored
-
Fred Drake authored
getElementsByTagNameNS() consistent in form as well as functionality (cosmetic).
-
Fred Drake authored
This closes SF patch #419459.
-
Kurt B. Kaiser authored
-
Kurt B. Kaiser authored
-
- 03 Jul, 2001 2 commits
-
-
Fred Drake authored
path (with no profile/trace function) through eval_code2() and eval_frame() avoids several checks. In the common cases of calls, returns, and exception propogation, eval_code2() and eval_frame() used to test two values in the thread-state: the profiling function and the tracing function. With this change, a flag is set in the thread-state if either of these is active, allowing a single check to suffice when both are NULL. This also simplifies the code needed when either function is in use but is already active (to avoid profiling/tracing the profiler/tracer); the flag is set to 0 when the profile/trace code is entered, allowing the same check to suffice for "already in the tracer" for call/return/ exception events.
-
Fredrik Lundh authored
added copy/deepcopy support to SRE (still not enabled, since it's not covered by the test suite)
-