I was messing around in python, for fun, and noticed that there was no error message for trying to make a bytes instance of a negative number. instead of saying 'ValueError: cannot convert negative number to bytes' it just raises 'ValueError:'.
this is copied from the repl on mu.
>>> bytes(-5)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError:
running: os: macos, cirpy: beta4 built on the first of april from master.
I was messing around in python, for fun, and noticed that there was no error message for trying to make a bytes instance of a negative number. instead of saying 'ValueError: cannot convert negative number to bytes' it just raises 'ValueError:'.
this is copied from the repl on mu.
running: os: macos, cirpy: beta4 built on the first of april from master.