Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SF patch 103589: Fix handling of cell vars that are either * or ** parameters. | Jeremy Hylton | 2001-02-09 | 1 | -8/+15 |
| | | | | | | (Nick Mathewson) Remove to XXX comments | ||||
* | Relax the rules for using 'from ... import *' and exec in the presence | Jeremy Hylton | 2001-02-09 | 5 | -335/+288 |
| | | | | | | | | | | | | | | | | | | | of nested functions. Either is allowed in a function if it contains no defs or lambdas or the defs and lambdas it contains have no free variables. If a function is itself nested and has free variables, either is illegal. Revise the symtable to use a PySymtableEntryObject, which holds all the revelent information for a scope, rather than using a bunch of st_cur_XXX pointers in the symtable struct. The changes simplify the internal management of the current symtable scope and of the stack. Added new C source file: Python/symtable.c. (Does the Windows build process need to be updated?) As part of these changes, the initial _symtable module interface introduced in 2.1a2 is replaced. A dictionary of PySymtableEntryObjects are returned. | ||||
* | Whitespace normalization. | Tim Peters | 2001-02-09 | 1 | -1/+1 |
| | |||||
* | Nuke accurate but confusing and unhelpful comments about split vs splitfields. | Tim Peters | 2001-02-09 | 2 | -2/+0 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2001-02-09 | 4 | -13/+11 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2001-02-09 | 8 | -22/+21 |
| | |||||
* | This modified version of a patch by Thomas Heller allows __import__ | Marc-André Lemburg | 2001-02-09 | 1 | -8/+9 |
| | | | | | | | | | | hooks to take over the Python import machinery at a very early stage in the Python startup phase. If there are still places in the Python interpreter which need to bypass the __import__ hook, these places must now use PyImport_ImportModuleEx() instead. So far no other places than in the import mechanism itself have been identified. | ||||
* | joinfields -> join. | Eric S. Raymond | 2001-02-09 | 1 | -1/+1 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 3 | -8/+4 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 2 | -25/+23 |
| | |||||
* | Fixed syntax error. | Sjoerd Mullender | 2001-02-09 | 1 | -1/+1 |
| | |||||
* | splitfields -> split | Eric S. Raymond | 2001-02-09 | 1 | -1/+1 |
| | |||||
* | Added prototype for DlgObj_WhichDialog() | Jack Jansen | 2001-02-09 | 1 | -0/+1 |
| | |||||
* | Replaced touched(), which no longer seems to work under os9, with something ↵ | Jack Jansen | 2001-02-09 | 1 | -1/+10 |
| | | | | using an appleevent to the finder. More expensive, but at least it works:-) | ||||
* | Added a few constants. | Jack Jansen | 2001-02-09 | 1 | -0/+6 |
| | |||||
* | Dialogs and there windows were still confused in some spots. Fixed. | Jack Jansen | 2001-02-09 | 1 | -7/+8 |
| | |||||
* | Get rid of from ... import * | Jack Jansen | 2001-02-09 | 2 | -6/+6 |
| | |||||
* | Reindent a function that was somehow indented by 7 spaces. Also did a | Guido van Rossum | 2001-02-09 | 1 | -15/+15 |
| | | | | spaces->tab conversion for fields added to struct compiling. | ||||
* | Remove silly EMPTYSTRING global. Saves a global lookup. | Marc-André Lemburg | 2001-02-09 | 1 | -8/+6 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 5 | -18/+17 |
| | |||||
* | Eliminate use of string.whitespace and a string import with it. | Eric S. Raymond | 2001-02-09 | 1 | -2/+1 |
| | | | | | | Some of the characters (form feed, vertical tab) are not legal continuation characters anyway, so this was wrong as well as annoying. | ||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 4 | -10/+6 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 6 | -7/+5 |
| | | | | (This one was trivial -- no actual string. references in it!) | ||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 19 | -79/+58 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 1 | -1/+1 |
| | | | | (This one was trivial -- no actual string. references in it!) | ||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 1 | -1/+1 |
| | | | | (This one was trivial -- no actual string. references in it!) | ||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 6 | -38/+35 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 2 | -42/+42 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 1 | -2/+1 |
| | |||||
* | Test with an actual mbox caught a trivial error. | Eric S. Raymond | 2001-02-09 | 1 | -1/+1 |
| | |||||
* | Correction after translation test. | Eric S. Raymond | 2001-02-09 | 1 | -1/+1 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 1 | -13/+12 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 2 | -8/+6 |
| | |||||
* | Aha. We can remove he string import after all by using ValueError. | Eric S. Raymond | 2001-02-09 | 1 | -2/+1 |
| | |||||
* | Use ValueError instead of string.atoi.error, since we've switched to | Eric S. Raymond | 2001-02-09 | 1 | -1/+1 |
| | | | | int(). | ||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 1 | -8/+4 |
| | | | | (This one was trivial -- no actual string. references in it!) | ||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 1 | -13/+13 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 1 | -27/+26 |
| | |||||
* | Patches for AIX. Checked by Benjamin Collar. | Marc-André Lemburg | 2001-02-09 | 2 | -2/+3 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 2 | -12/+11 |
| | |||||
* | String method conversion. Added a trivial main to test it with. | Eric S. Raymond | 2001-02-09 | 1 | -7/+10 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 4 | -23/+23 |
| | |||||
* | Oops...that will teach me to hit ^C^C too fast. Test passed. | Eric S. Raymond | 2001-02-09 | 1 | -1/+1 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 2 | -23/+22 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 2 | -8/+8 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 5 | -18/+14 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 1 | -8/+8 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 1 | -16/+11 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 3 | -20/+17 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 1 | -35/+33 |
| |