summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* In O_writelines: Replace use of string.joinfields with "".join.Jeremy Hylton2001-02-093-9/+20
|
* SF bug #131560: pdb imports 'repr', causing name collisionTim Peters2001-02-091-2/+2
|
* When calling a PyCFunction that has METH_KEYWORDS defined, don'tJeremy Hylton2001-02-091-10/+0
| | | | | | | | create an empty dictionary if it is called without keyword args. Just pass NULL. XXX I had believed that this caused weird errors, but the test suite runs cleanly.
* Teach Windows build about new symtable.c.Tim Peters2001-02-091-0/+15
|
* update to use new symtable interfaceJeremy Hylton2001-02-091-3/+4
|
* update test cases for recent compiler changes: exec/import * in nestedJeremy Hylton2001-02-094-23/+65
| | | | functinos and cell vars with */** parameters
* SF patch 103589: Fix handling of cell vars that are either * or ** parameters.Jeremy Hylton2001-02-091-8/+15
| | | | | | (Nick Mathewson) Remove to XXX comments
* Relax the rules for using 'from ... import *' and exec in the presenceJeremy Hylton2001-02-095-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 Peters2001-02-091-1/+1
|
* Nuke accurate but confusing and unhelpful comments about split vs splitfields.Tim Peters2001-02-092-2/+0
|
* Whitespace normalization.Tim Peters2001-02-094-13/+11
|
* Whitespace normalization.Tim Peters2001-02-098-22/+21
|
* This modified version of a patch by Thomas Heller allows __import__Marc-André Lemburg2001-02-091-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. Raymond2001-02-091-1/+1
|
* String method conversion.Eric S. Raymond2001-02-093-8/+4
|
* String method conversion.Eric S. Raymond2001-02-092-25/+23
|
* Fixed syntax error.Sjoerd Mullender2001-02-091-1/+1
|
* splitfields -> splitEric S. Raymond2001-02-091-1/+1
|
* Added prototype for DlgObj_WhichDialog()Jack Jansen2001-02-091-0/+1
|
* Replaced touched(), which no longer seems to work under os9, with something ↵Jack Jansen2001-02-091-1/+10
| | | | using an appleevent to the finder. More expensive, but at least it works:-)
* Added a few constants.Jack Jansen2001-02-091-0/+6
|
* Dialogs and there windows were still confused in some spots. Fixed.Jack Jansen2001-02-091-7/+8
|
* Get rid of from ... import *Jack Jansen2001-02-092-6/+6
|
* Reindent a function that was somehow indented by 7 spaces. Also did aGuido van Rossum2001-02-091-15/+15
| | | | spaces->tab conversion for fields added to struct compiling.
* Remove silly EMPTYSTRING global. Saves a global lookup.Marc-André Lemburg2001-02-091-8/+6
|
* String method conversion.Eric S. Raymond2001-02-095-18/+17
|
* Eliminate use of string.whitespace and a string import with it.Eric S. Raymond2001-02-091-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. Raymond2001-02-094-10/+6
|
* String method conversion.Eric S. Raymond2001-02-096-7/+5
| | | | (This one was trivial -- no actual string. references in it!)
* String method conversion.Eric S. Raymond2001-02-0919-79/+58
|
* String method conversion.Eric S. Raymond2001-02-091-1/+1
| | | | (This one was trivial -- no actual string. references in it!)
* String method conversion.Eric S. Raymond2001-02-091-1/+1
| | | | (This one was trivial -- no actual string. references in it!)
* String method conversion.Eric S. Raymond2001-02-096-38/+35
|
* String method conversion.Eric S. Raymond2001-02-092-42/+42
|
* String method conversion.Eric S. Raymond2001-02-091-2/+1
|
* Test with an actual mbox caught a trivial error.Eric S. Raymond2001-02-091-1/+1
|
* Correction after translation test.Eric S. Raymond2001-02-091-1/+1
|
* String method conversion.Eric S. Raymond2001-02-091-13/+12
|
* String method conversion.Eric S. Raymond2001-02-092-8/+6
|
* Aha. We can remove he string import after all by using ValueError.Eric S. Raymond2001-02-091-2/+1
|
* Use ValueError instead of string.atoi.error, since we've switched toEric S. Raymond2001-02-091-1/+1
| | | | int().
* String method conversion.Eric S. Raymond2001-02-091-8/+4
| | | | (This one was trivial -- no actual string. references in it!)
* String method conversion.Eric S. Raymond2001-02-091-13/+13
|
* String method conversion.Eric S. Raymond2001-02-091-27/+26
|
* Patches for AIX. Checked by Benjamin Collar.Marc-André Lemburg2001-02-092-2/+3
|
* String method conversion.Eric S. Raymond2001-02-092-12/+11
|
* String method conversion. Added a trivial main to test it with.Eric S. Raymond2001-02-091-7/+10
|
* String method conversion.Eric S. Raymond2001-02-094-23/+23
|
* Oops...that will teach me to hit ^C^C too fast. Test passed.Eric S. Raymond2001-02-091-1/+1
|
* String method conversion.Eric S. Raymond2001-02-092-23/+22
|