summaryrefslogtreecommitdiffstats
path: root/Lib/test/output/test_grammar
Commit message (Collapse)AuthorAgeFilesLines
* Add test for a list comprehension that is nested in the left-hand partJeremy Hylton2001-03-191-0/+1
| | | | | | | | | of another list comp. This caused crashes reported as SF bugs 409230 and 407800. Note that the new tests are in a function so that the name lookup code isn't affected by how many *other* list comprehensions are in the same scope.
* Add simple section for assert, including assert w/ lambdasJeremy Hylton2001-02-191-0/+1
|
* Add test for syntax error on "x = 1 + 1".Jeremy Hylton2001-02-191-5/+0
| | | | Move check_syntax() function into test_support.
* update test cases for recent compiler changes: exec/import * in nestedJeremy Hylton2001-02-091-1/+0
| | | | functinos and cell vars with */** parameters
* Allow 'continue' inside 'try' clauseJeremy Hylton2001-02-011-0/+2
| | | | SF patch 102989 by Thomas Wouters
* Undo recent change that banned using import to bind a global, as perJeremy Hylton2001-02-011-1/+0
| | | | | | | | | | | discussion on python-dev. 'from mod import *' is still banned except at the module level. Fix value for special NOOPT entry in symtable. Initialze to 0 instead of None, so that later uses of PyInt_AS_LONG() are valid. (Bug reported by Donn Cave.) replace local REPR macros with PyObject_REPR in object.h
* add test for illegal importsJeremy Hylton2001-01-301-0/+2
|
* PEP 227 implementationJeremy Hylton2001-01-251-0/+2
| | | | | test_new: new.code() noew takes two more arguments test_grammer: Add a bunch of test cases for lambda (not really PEP 227 related)
* add extra tests to verify that co_varnames is being set up properlyJeremy Hylton2001-01-251-2/+4
| | | | | also normalize checks for syntax errors and delete commented out definition of verify.
* Add simple test of list comprehension that uses a name that isn'tJeremy Hylton2001-01-231-0/+1
| | | | | otherwise used in the same code block. (Not sure this is the right place, but there is no test_list_comprehensions.py.)
* Added tests of "print >> None"Barry Warsaw2000-08-291-0/+1
|
* require list comprehensions to start with a for clauseSkip Montanaro2000-08-221-0/+1
|
* PEP 214, Extended print Statement, has been accepted by the BDFL.Barry Warsaw2000-08-211-0/+4
| | | | Additional test cases for the extended print form.
* list comprehensions. seeSkip Montanaro2000-08-121-0/+7
| | | | | | http://sourceforge.net/patch/?func=detailpatch&patch_id=100654&group_id=5470 for details.
* fix previous checkinJeremy Hylton2000-03-281-23/+0
|
* add test cases for Greg Ewing's extended call syntax patchJeremy Hylton2000-03-281-0/+24
|
* Test output files in their new locationBarry Warsaw1996-12-101-0/+46