Skip to content

nfd/on_error_resume_next

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Implementing ON ERROR RESUME NEXT in Python

This implements the BASIC command ON ERROR RESUME NEXT in Python. When an exception is raised, the code is resumed at the next line. Exception information can be retrieved using the err() function.

A full discussion is at code.lardcave.net.

Yes, this is a joke.

Pull requests welcomed.

Usage

from basic import on_error_resume_next

on_error_resume_next()

value = 1 / 0

Also see demo.py.

About

Python bytecode abominations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages