New submission from john kaiser:
found error when naming variables with basic functions
how to replicate
while=123 #while should be treated as variable name
while True: #this should be treated as a function
print while #this should be as a variable name
result:
File "C:\Users\_you got served_\Desktop\bugs.py", line 1
while = 123
^
SyntaxError: invalid syntax
----------
files: bugs.py
messages: 241502
nosy: kaiser
priority: normal
severity: normal
status: open
title: variable naming
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file39117/bugs.py
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue24003>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com