summaryrefslogtreecommitdiff
path: root/Python
AgeCommit message (Expand)AuthorLines
2001-03-22Set the line number correctly for a nested function with an exec orJeremy Hylton-2/+5
2001-03-22Make error messages clearer for illegal combinations of nestedJeremy Hylton-15/+36
2001-03-22Extend support for from __future__ import nested_scopesJeremy Hylton-16/+112
2001-03-22If a code object is compiled with nested scopes, define the CO_NESTED flag.Jeremy Hylton-1/+11
2001-03-21Use PyObject_IsInstance() to check whether the first argument to anGuido van Rossum-13/+19
2001-03-21Update PyNode_CompileSymtable() to understand future statementsJeremy Hylton-9/+15
2001-03-21Move the code implementing isinstance() and issubclass() to new CGuido van Rossum-96/+6
2001-03-21Fix PyFrame_FastToLocals() and counterpart to deal with cells andJeremy Hylton-55/+114
2001-03-20Case-checking was broken on the Macintosh. Fixed.Jack Jansen-3/+2
2001-03-20Fixup handling of free variables in methods when the class scope alsoJeremy Hylton-3/+12
2001-03-19Fix crashes in nested list comprehensionsJeremy Hylton-8/+10
2001-03-13Variety of small INC/DECREF patches that fix reported memory leaksJeremy Hylton-4/+7
2001-03-12Py_BuildValue(): Add "D" conversion to create a Python complex value fromFred Drake-0/+6
2001-03-10When iterating over the names imported in a future statement, ignore theFred Drake-1/+1
2001-03-06Use Py_CHARMASK for ctype macros. Fixes bug #232787.Martin v. Löwis-4/+4
2001-03-06Add some spaces around the "=" in assignments.Fred Drake-2/+2
2001-03-02RISCOS changes by dschwertberger.Guido van Rossum-0/+58
2001-03-02Refactored the warning-issuing code more.Guido van Rossum-11/+17
2001-03-02Thanks to Steven Majewski, finally putting MacOS X imports to bed for 2.1b1.Tim Peters-9/+3
2001-03-01Useful future statement support for the interactive interpreterJeremy Hylton-26/+52
2001-03-01More MacOSX fiddling. As noted in a comment, I believe all variationsTim Peters-18/+37
2001-03-01More fiddling w/ the new-fangled Mac import code.Tim Peters-5/+9
2001-03-01Suppress a compiler warning under OpenVMS; time_t is unsigned on (at least)Fred Drake-2/+2
2001-03-01Fix core dump in example from Samuele Pedroni:Jeremy Hylton-15/+31
2001-03-01Remove extra close curly in code #ifdef'ed out on my box.Tim Peters-1/+0
2001-03-01In Steven's apparent absence, check in *something* with a non-zero chanceTim Peters-35/+40
2001-03-01Don't add global names to st->st_global if we're already iteratingJeremy Hylton-6/+15
2001-02-28undo introduction of st_global_starJeremy Hylton-3/+0
2001-02-28Warn about global statement at the module level.Jeremy Hylton-2/+17
2001-02-28Add warning/error handlin for problematic nested scopes cases asJeremy Hylton-26/+119
2001-02-28Let's have some sanity. Introduce a helper to issue a symbol tableGuido van Rossum-16/+17
2001-02-28Use the new PyErr_WarnExplicit() API to issue better warnings forGuido van Rossum-12/+21
2001-02-28SyntaxError__init__(): Be a little more robust when picking apart theFred Drake-16/+22
2001-02-28Add PyErr_WarnExplicit(), which calls warnings.warn_explicit(), withGuido van Rossum-0/+42
2001-02-28Now that Jeremy is asking about this code, it looks really bogus to me,Fred Drake-18/+0
2001-02-28Improve SyntaxErrors for bad future statements. Set file and locationJeremy Hylton-94/+109
2001-02-28SF patch 404928: Support for next Cygwin gcc (2.95.2-8)Tim Peters-8/+2
2001-02-28Print the offending line of code in the traceback for SyntaxErrorsJeremy Hylton-66/+143
2001-02-28Ack -- my eyes are getting bleary. Typos in the comment typo repairs.Tim Peters-1/+1
2001-02-28Comment typos.Tim Peters-2/+2
2001-02-28Implement PEP 235: Import on Case-Insensitive Platforms.Tim Peters-137/+86
2001-02-28Need to support single_input explicitly so from __future__ importsJeremy Hylton-0/+8
2001-02-28Presumed correct compiler pass for future statementsJeremy Hylton-29/+128
2001-02-27Improved __future__ parser; still more to doJeremy Hylton-43/+152
2001-02-27Add warnings about undefined "global"Jeremy Hylton-0/+29
2001-02-27Preliminary support for future nested scopesJeremy Hylton-115/+270
2001-02-23Shuffle premature decref; nuke unreachable code block.Tim Peters-9/+3
2001-02-23symtable_update_free_vars(), symtable_undo_free(),Barry Warsaw-3/+3
2001-02-23Fix for bug 133489: compiler leaks memoryJeremy Hylton-5/+11
2001-02-20The code in PyImport_Import() tried to save itself a bit of work andGuido van Rossum-13/+7