summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/try-as-var.py
Commit message (Collapse)AuthorAge
* tests: Rename test scripts, changing - to _ for consistency.Damien George2014-07-05
| | | | | | From now on, all new tests must use underscore. Addresses issue #727.
* py: Implement support for "except Exception as var" clause.Paul Sokolovsky2014-03-23
For this, needed to implement DELETE_NAME bytecode (because var bound in except clause is automatically deleted at its end). http://docs.python.org/3/reference/compound_stmts.html#except : "When an exception has been assigned using as target, it is cleared at the end of the except clause."