Bug report
Bug description:
Description
I found a bug where Python's parser accepts the Sumerian Cuneiform Number One (𒁹) at the beginning of a function name. According to Python's rules, identifiers should not start with a digit. Even though this is an ancient digit, it is still a numeric value and should trigger a SyntaxError.
Repetition
I tested this on 3 different installations of Python on my machine, and they all allowed it.
Code Example
def 𒁹():
return "Success"
Python Verison 3.14.2
Reporter: Mohammed Al-Ghazali/ Mohammed-600
CPython versions tested on:
3.14
Operating systems tested on:
Windows
Bug report
Bug description:
Description
I found a bug where Python's parser accepts the Sumerian Cuneiform Number One (𒁹) at the beginning of a function name. According to Python's rules, identifiers should not start with a digit. Even though this is an ancient digit, it is still a numeric value and should trigger a SyntaxError.
Repetition
I tested this on 3 different installations of Python on my machine, and they all allowed it.
Code Example
def 𒁹():
return "Success"
Python Verison 3.14.2
Reporter: Mohammed Al-Ghazali/ Mohammed-600
CPython versions tested on:
3.14
Operating systems tested on:
Windows