4 ms·
So it doesn't, and it's not about the type system. Any decode operation in python 3 raise an exception or return string. It's about the runtime error handling
by BiteCode_dev 5y ago
So it doesn't, and it's not about the type system. Any decode operation in python 3 raise an exception or return string.
It's about the runtime error handling making it mandatory to deal with the error and won't let you panic at run time for this specific error.
- morelisp 5y agoI'm sorry you don't see exceptions as part of a type system yet.