brython-dev / brython

Brython (Browser Python) is an implementation of Python 3 running in the browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`int('')` does not raise a `ValueError`

austin-schick opened this issue · comments

With the Brython online editor (v3.12.1), int('') does not raise an exception.

CPython 3.12 raises this exception: ValueError: invalid literal for int() with base 10: ''

Thanks for looking into it!

Thanks for the report Austin !