Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add definition of Py_IgnoreEnvironmentFlag (needed at least in debug | Guido van Rossum | 2002-05-31 | 1 | -0/+1 |
| | | | | mode). | ||||
* | Fix printing plural (s or ""). | Neal Norwitz | 2002-05-31 | 1 | -1/+1 |
| | |||||
* | Remove import of re, it is not used | Neal Norwitz | 2002-05-31 | 1 | -1/+1 |
| | |||||
* | Use string methods where possible, and remove import string | Neal Norwitz | 2002-05-31 | 3 | -13/+11 |
| | |||||
* | Fix SF bug [ 561825 ] Confusing error for "del f()" | Jeremy Hylton | 2002-05-31 | 2 | -2/+40 |
| | | | | In the error message, say del for del and assign for everything else. | ||||
* | Py_IgnoreEnvironmentFlag should be extern, since it is declared in pythonrun.c | Neal Norwitz | 2002-05-31 | 1 | -1/+1 |
| | |||||
* | Remove unneeded import | Andrew M. Kuchling | 2002-05-30 | 1 | -1/+0 |
| | |||||
* | imp_load_module(): correct and comment the sense of the test for '+' | Guido van Rossum | 2002-05-30 | 1 | -2/+7 |
| | | | | in the mode (it's forbidden). | ||||
* | Cover a few corners in the 'U' mode integration to make imp work. | Jeremy Hylton | 2002-05-30 | 1 | -8/+14 |
| | | | | | | | | | get_file() must convert 'U' to "r" PY_STDIOTEXTMODE before calling fopen(). imp_load_module() must accept 'r' or 'U' or something with '+'. Also reflow some long lines. | ||||
* | Verify that the imp can find and load .py files. | Jeremy Hylton | 2002-05-30 | 1 | -0/+5 |
| | |||||
* | Typo fixes. | Fred Drake | 2002-05-30 | 1 | -2/+2 |
| | |||||
* | Add the pymemcompat.h header as discussed on python-dev. | Michael W. Hudson | 2002-05-30 | 1 | -0/+86 |
| | | | | Now we just need to make sure people know about it... | ||||
* | Holger Krekel. | Guido van Rossum | 2002-05-30 | 1 | -0/+1 |
| | |||||
* | SF #558432: Prevent Annoying ' ' from readline (Holker Krekel). | Guido van Rossum | 2002-05-30 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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.] | ||||
* | Remove comment about inheritance, look one line up | Neal Norwitz | 2002-05-30 | 1 | -5/+1 |
| | |||||
* | Move statement out of comment block | Raymond Hettinger | 2002-05-30 | 1 | -1/+1 |
| | |||||
* | Use floor division where appropriate. | Guido van Rossum | 2002-05-29 | 1 | -2/+2 |
| | |||||
* | Minor cleanup: | Fred Drake | 2002-05-29 | 1 | -5/+11 |
| | | | | | | - Add comment explaining the structure of the stack. - Minor optimization: make stack tuple directly usable as part of return value for enter/exit events. | ||||
* | Add OS/2 text | Andrew M. Kuchling | 2002-05-29 | 1 | -9/+16 |
| | |||||
* | The logreader object did not always refill the input buffer correctly | Neil Schemenauer | 2002-05-29 | 1 | -105/+56 |
| | | | | | and got confused by certain log files. Remove logreader_refill and the associated logic and replace with fgetc. | ||||
* | Various minor rewrites | Andrew M. Kuchling | 2002-05-29 | 1 | -42/+52 |
| | |||||
* | More additions | Andrew M. Kuchling | 2002-05-29 | 1 | -25/+15 |
| | |||||
* | Patch 560023 adding docstrings. 2.2 Candidate (after verifying modules were ↵ | Raymond Hettinger | 2002-05-29 | 9 | -8/+499 |
| | | | | not updated after 2.2). | ||||
* | As discussed on python-dev, add a mechanism to indicate features | Neal Norwitz | 2002-05-29 | 7 | -16/+48 |
| | | | | | that are in the process of deprecation (PendingDeprecationWarning). Docs could be improved. | ||||
* | Issue an explicit error when we can't find an appropriate type for | Guido van Rossum | 2002-05-29 | 1 | -0/+2 |
| | | | | UINT4. | ||||
* | Fix a possible segfault. Found be Neal Norvitz. | Marc-André Lemburg | 2002-05-29 | 1 | -1/+1 |
| | |||||
* | Fix for bug [ 561796 ] string.find causes lazy error | Marc-André Lemburg | 2002-05-29 | 2 | -3/+4 |
| | |||||
* | This is patch | Michael W. Hudson | 2002-05-29 | 1 | -7/+3 |
| | | | | | | | [ 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. | ||||
* | Whitespace normalization | Neal Norwitz | 2002-05-29 | 1 | -2/+2 |
| | |||||
* | Importing Charset should not fail when Unicode is disabled. (XXX | Guido van Rossum | 2002-05-28 | 1 | -3/+11 |
| | | | | | Using Unicode-aware methods may still die with a NameError on unicode. Maybe there's a more elegant solution but I doubt anybody cares.) | ||||
* | Accept u"..." literals even when Unicode is disabled. But these | Guido van Rossum | 2002-05-28 | 1 | -8/+13 |
| | | | | | literals must not contain \u, \U or \N escapes. (XXX Should they also not contain non-ASCII characters?) | ||||
* | File modes in filedescr entries are also passed to Python, so we now put "U" | Jack Jansen | 2002-05-28 | 1 | -4/+7 |
| | | | | | | | in there, and convert it to "rb" (or "r" for non-universal-newline builds) before passing it to fopen(). Fixes #561326. | ||||
* | This is a Python 2.1 and 2.2 bugfix candidate: | Christian Tismer | 2002-05-28 | 1 | -11/+5 |
| | | | | | | | | | | | | | | | | | (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 | ||||
* | Geiger Ho's patch for better subclassing | Steven M. Gava | 2002-05-27 | 1 | -1/+1 |
| | |||||
* | Rearrange paragraph | Andrew M. Kuchling | 2002-05-27 | 1 | -5/+5 |
| | |||||
* | This is patch | Michael W. Hudson | 2002-05-27 | 8 | -12/+304 |
| | | | | | | | [ 559250 ] more POSIX signal stuff Adds support (and docs and tests and autoconfery) for posix signal mask handling -- sigpending, sigprocmask and sigsuspend. | ||||
* | Silly typo. | Michael W. Hudson | 2002-05-27 | 1 | -1/+1 |
| | |||||
* | Use self.__class__ to instantiate a TreeNode item recursively, to | Guido van Rossum | 2002-05-27 | 1 | -1/+1 |
| | | | | allow subclassing. | ||||
* | GvR's rpc patch | Chui Tey | 2002-05-26 | 7 | -94/+1208 |
| | |||||
* | Define the "all" target more reasonably, but retain "html" as the default | Fred Drake | 2002-05-25 | 1 | -1/+2 |
| | | | | target. | ||||
* | Fix for SF bug 551412. When _PyType_Lookup() is called on a type | Guido van Rossum | 2002-05-24 | 2 | -0/+22 |
| | | | | | | 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. | ||||
* | Mention math.degrees() and math.radians() | Andrew M. Kuchling | 2002-05-24 | 1 | -12/+24 |
| | | | | Other minor rewrites | ||||
* | - A new type object, 'string', is added. This is a common base type | Guido van Rossum | 2002-05-24 | 6 | -2/+69 |
| | | | | | | | 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. | ||||
* | Add a safeguard against setting the class to something with a | Guido van Rossum | 2002-05-24 | 1 | -0/+10 |
| | | | | different free or alloc slot. | ||||
* | Don't require Unicode support. | Guido van Rossum | 2002-05-24 | 1 | -2/+9 |
| | |||||
* | Move really open-ended XXX items into comments | Andrew M. Kuchling | 2002-05-24 | 1 | -9/+7 |
| | | | | Remove 1.5.2 reference: who cares? | ||||
* | Disambiguate the grammar for backtick. | Guido van Rossum | 2002-05-24 | 5 | -59/+93 |
| | | | | | | 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. | ||||
* | Add missing \ to macro definition only used when universal newlines | Guido van Rossum | 2002-05-24 | 1 | -1/+1 |
| | | | | are disabled. | ||||
* | Whitespace normalized. | Raymond Hettinger | 2002-05-23 | 1 | -11/+11 |
| | |||||
* | Allow the shared library initialization routine to be overridden with an ↵ | Jack Jansen | 2002-05-23 | 4 | -5/+10 |
| | | | | | | initialize=xxx argument. Should fix #492465. |