You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Improve internal interfaces for making and using exceptions
* Catch and check exceptions in the vm
* raise exceptions in the vm
* Unwind blocks (more work to do) in the vm
TabError=IndentationError.NewType("TabError", "Improper mixture of spaces and tabs.", nil, nil)
65
-
SystemError=ExceptionType.NewType("SystemError", "Internal error in the Python interpreter.\n\nPlease report this to the Python maintainer, along with the traceback,\nthe Python version, and the hardware/OS platform and version.", nil, nil)
65
+
SystemError=ExceptionType.NewType("SystemError", "Internal error in the Gpython interpreter.\n\nPlease report this to the Gpython maintainer, along with the traceback,\nthe Gpython version, and the hardware/OS platform and version.", nil, nil)
ValueError=ExceptionType.NewType("ValueError", "Inappropriate argument value (of correct type).", nil, nil)
68
68
UnicodeError=ValueError.NewType("UnicodeError", "Unicode related error.", nil, nil)
@@ -81,15 +81,20 @@ var (
81
81
BytesWarning=Warning.NewType("BytesWarning", "Base class for warnings about bytes and buffer related problems, mostly\nrelated to conversion from str or comparing to str.", nil, nil)
82
82
ResourceWarning=Warning.NewType("ResourceWarning", "Base class for warnings about resource usage.", nil, nil)
0 commit comments