- 30 May, 2002 7 commits
-
-
Jeremy Hylton authored
-
Fred Drake authored
-
Michael W. Hudson authored
Now we just need to make sure people know about it...
-
Guido van Rossum authored
-
Guido van Rossum authored
readline in all python versions is configured to append a 'space' character for a successful completion. But for almost all python expressions 'space' is not wanted (see coding conventions PEP 8). For example if you have a function 'longfunction' and you type 'longf<TAB>' you get 'longfunction ' as a completion. note the unwanted space at the end. The patch fixes this behaviour by setting readline's append_character to '\0' which means don't append anything. This doesn't work with readline < 2.1 (AFAIK nowadays readline2.2 is in good use). An alternative approach would be to make the append_character accessable from python so that modules like the rlcompleter.py can set it to '\0'. [Ed.: I think expecting readline >= 2.2 is fine. If a completer wants another character they can append that to the keyword in the list.]
-
Neal Norwitz authored
-
Raymond Hettinger authored
-
- 29 May, 2002 13 commits
-
-
Guido van Rossum authored
-
Fred Drake authored
- Add comment explaining the structure of the stack. - Minor optimization: make stack tuple directly usable as part of return value for enter/exit events.
-
Andrew M. Kuchling authored
-
Neil Schemenauer authored
and got confused by certain log files. Remove logreader_refill and the associated logic and replace with fgetc.
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Raymond Hettinger authored
Patch 560023 adding docstrings. 2.2 Candidate (after verifying modules were not updated after 2.2).
-
Neal Norwitz authored
that are in the process of deprecation (PendingDeprecationWarning). Docs could be improved.
-
Guido van Rossum authored
UINT4.
-
Marc-André Lemburg authored
-
Marc-André Lemburg authored
-
Michael W. Hudson authored
[ 558914 ] Build md5.c fails on Cray T3E I've also deleted a comment that I didn't understand. Feel free to put it back if it makes/made sense to you.
-
Neal Norwitz authored
-
- 28 May, 2002 4 commits
-
-
Guido van Rossum authored
Using Unicode-aware methods may still die with a NameError on unicode. Maybe there's a more elegant solution but I doubt anybody cares.)
-
Guido van Rossum authored
literals must not contain \u, \U or \N escapes. (XXX Should they also not contain non-ASCII characters?)
-
Jack Jansen authored
in there, and convert it to "rb" (or "r" for non-universal-newline builds) before passing it to fopen(). Fixes #561326.
-
Christian Tismer authored
(or how do I "mark" something to be a candidate?) fixed an old buglet that caused bdb to be unable to continue in the botframe, after a breakpoint was set. the key idea is not to set botframe to the bottom level frame, but its f_back, which actually might be None. Additional changes: migrated old exception trick to use sys._getframe(), which exists both in 2.1 and 2.2 . Note: I believe Mark Hammond needs to look over his code now. F5 correctly starts up in the debugger, but later on doesn't stop at a given breakpoint any longer. kind regards - chris
-
- 27 May, 2002 5 commits
-
-
Steven M. Gava authored
-
Andrew M. Kuchling authored
-
Michael W. Hudson authored
[ 559250 ] more POSIX signal stuff Adds support (and docs and tests and autoconfery) for posix signal mask handling -- sigpending, sigprocmask and sigsuspend.
-
Michael W. Hudson authored
-
Guido van Rossum authored
allow subclassing.
-
- 26 May, 2002 1 commit
-
-
Chui Tey authored
-
- 25 May, 2002 1 commit
-
-
Fred Drake authored
target.
-
- 24 May, 2002 8 commits
-
-
Guido van Rossum authored
whose tp_mro hasn't been initialized, it would dump core. Fix this by checking for NULL and calling PyType_Ready(). Will fix this in 2.2.1 too.
-
Andrew M. Kuchling authored
Other minor rewrites
-
Guido van Rossum authored
for 'str' and 'unicode', and can be used instead of types.StringTypes, e.g. to test whether something is "a string": isinstance(x, string) is True for Unicode and 8-bit strings. This is an abstract base class and cannot be instantiated directly.
-
Guido van Rossum authored
different free or alloc slot.
-
Guido van Rossum authored
-
Andrew M. Kuchling authored
Remove 1.5.2 reference: who cares?
-
Guido van Rossum authored
The old syntax suggested that a trailing comma was OK inside backticks, but in fact (due to ideosyncrasies of pgen) it was not. Fix the grammar to avoid the ambiguity. Fred: you may want to update the refman.
-
Guido van Rossum authored
are disabled.
-
- 23 May, 2002 1 commit
-
-
Raymond Hettinger authored
-