Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add test for a list comprehension that is nested in the left-hand part | Jeremy Hylton | 2001-03-19 | 1 | -0/+5 |
| | | | | | | | | | 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 test case for global stmt at module level. | Jeremy Hylton | 2001-02-28 | 1 | -0/+3 |
| | | | | | Fix test_grammar so that it ignores warning about global stmt at module level in exec. | ||||
* | Add simple section for assert, including assert w/ lambdas | Jeremy Hylton | 2001-02-19 | 1 | -0/+6 |
| | |||||
* | Add test for syntax error on "x = 1 + 1". | Jeremy Hylton | 2001-02-19 | 1 | -8/+3 |
| | | | | Move check_syntax() function into test_support. | ||||
* | update test cases for recent compiler changes: exec/import * in nested | Jeremy Hylton | 2001-02-09 | 1 | -1/+0 |
| | | | | functinos and cell vars with */** parameters | ||||
* | Whitespace normalization. | Tim Peters | 2001-02-09 | 1 | -1/+1 |
| | |||||
* | Allow 'continue' inside 'try' clause | Jeremy Hylton | 2001-02-01 | 1 | -0/+19 |
| | | | | SF patch 102989 by Thomas Wouters | ||||
* | Undo recent change that banned using import to bind a global, as per | Jeremy Hylton | 2001-02-01 | 1 | -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 imports | Jeremy Hylton | 2001-01-30 | 1 | -0/+2 |
| | |||||
* | PEP 227 implementation | Jeremy Hylton | 2001-01-25 | 1 | -0/+14 |
| | | | | | 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 properly | Jeremy Hylton | 2001-01-25 | 1 | -22/+19 |
| | | | | | 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't | Jeremy Hylton | 2001-01-23 | 1 | -0/+6 |
| | | | | | otherwise used in the same code block. (Not sure this is the right place, but there is no test_list_comprehensions.py.) | ||||
* | make error msg more informative when test of exec fails | Jeremy Hylton | 2001-01-19 | 1 | -1/+1 |
| | |||||
* | This patch removes all uses of "assert" in the regression test suite | Marc-André Lemburg | 2001-01-17 | 1 | -10/+10 |
| | | | | | | | and replaces them with a new API verify(). As a result the regression suite will also perform its tests in optimization mode. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum. | ||||
* | Update the code to better reflect recommended style: | Fred Drake | 2000-12-12 | 1 | -10/+10 |
| | | | | | Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects. | ||||
* | Make reindent.py happy (convert everything to 4-space indents!). | Fred Drake | 2000-10-23 | 1 | -90/+90 |
| | |||||
* | Added test cases for extended printing to an instance. This picked up | Barry Warsaw | 2000-10-11 | 1 | -1/+9 |
| | | | | a bug in JPython where the instance had to have a flush() method. | ||||
* | This patch adds a new Python C API called PyString_AsStringAndSize() | Marc-André Lemburg | 2000-09-19 | 1 | -0/+7 |
| | | | | | | | | | | | | | which implements the automatic conversion from Unicode to a string object using the default encoding. The new API is then put to use to have eval() and exec accept Unicode objects as code parameter. This closes bugs #110924 and #113890. As side-effect, the traditional C APIs PyString_Size() and PyString_AsString() will also accept Unicode objects as parameters. | ||||
* | Added tests of "print >> None" | Barry Warsaw | 2000-08-29 | 1 | -0/+25 |
| | |||||
* | require list comprehensions to start with a for clause | Skip Montanaro | 2000-08-22 | 1 | -0/+6 |
| | |||||
* | PEP 214, Extended print Statement, has been accepted by the BDFL. | Barry Warsaw | 2000-08-21 | 1 | -0/+19 |
| | | | | Additional test cases for the extended print form. | ||||
* | list comprehensions. see | Skip Montanaro | 2000-08-12 | 1 | -0/+40 |
| | | | | | | http://sourceforge.net/patch/?func=detailpatch&patch_id=100654&group_id=5470 for details. | ||||
* | add test cases for Greg Ewing's extended call syntax patch | Jeremy Hylton | 2000-03-28 | 1 | -2/+33 |
| | |||||
* | No need to define assert, it's built in. | Guido van Rossum | 1997-04-16 | 1 | -2/+2 |
| | |||||
* | avoid math, don't abort when overflow check fails | Guido van Rossum | 1995-03-04 | 1 | -3/+4 |
| | |||||
* | Fix exec test so presence of __builtins__ doesn't break it | Guido van Rossum | 1995-01-10 | 1 | -0/+3 |
| | |||||
* | Merge alpha100 branch back to main trunk | Guido van Rossum | 1994-08-01 | 1 | -17/+103 |
| | |||||
* | Some minute changes. | Guido van Rossum | 1993-12-29 | 1 | -3/+21 |
| | |||||
* | * test_select.py: (some) tests for built-in select module | Guido van Rossum | 1993-11-11 | 1 | -0/+16 |
| | | | | | | * test_grammar.py, testall.out: added test for funny things in string literals * token.py, symbol.py: definitions used with built-in parser module. * tokenize.py: added double-quote recognition | ||||
* | * string.py: added rindex(), rfind(); changed index() to interpret | Guido van Rossum | 1993-11-08 | 1 | -10/+13 |
| | | | | | | | | | | | negative start indices starting from the right. * ftplib.py: debug() -> set_debuglevel(); change demo to use __init__(). * os.py: added execl, execlp, and execvp. * lambda.py: removed (now that we have built-in map, reduce, bagof, lambda) * test_b{1,2}.py, testall.out: added tests for bagof, lambda, map, reduce * commands.py: use os, not posix * test_grammar.py: make it easy to disable non-portable int overflow tests * dis.py: don't abuse range() | ||||
* | added builtin b/w compat module. | Guido van Rossum | 1993-10-22 | 1 | -1/+20 |
| | | | | changed testing of exec. | ||||
* | Added some new tests and two new files for testing: test_types.py | Guido van Rossum | 1992-11-27 | 1 | -6/+33 |
| | | | | | (testing operations on built-in types) and autotest.py (automatic regression testing). | ||||
* | '+' no longer accepted for varargs list | Guido van Rossum | 1992-04-03 | 1 | -1/+1 |
| | |||||
* | Some weird forms of try statements are no longer allowed. | Guido van Rossum | 1992-03-31 | 1 | -5/+1 |
| | |||||
* | Initial revision | Guido van Rossum | 1992-01-27 | 1 | -0/+344 |