Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • U uPython-mirror
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TASTETASTE
  • uPython-mirror
  • Repository
Switch branch/tag
  • uPython-mirror
  • tests
  • basics
  • try-as-var.py
Find file BlameHistoryPermalink
  • Paul Sokolovsky's avatar
    py: Implement support for "except Exception as var" clause. · f9090344
    Paul Sokolovsky authored Mar 23, 2014
    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."
    f9090344