[New-bugs-announce] [issue5358] Unicode control characters are not allowed as identifiers

Baiju M report at bugs.python.org
Tue Feb 24 12:53:52 CET 2009


New submission from Baiju M <baiju.m.mail at gmail.com>:

I tried to use Zero-width joiner (U+200D) as part of an identifier.
It produce an exception like this:

SyntaxError: invalid character in identifier

I have attached the Python file which produce this error.

Zero-width joiner (U+200D) is a Unicode control character:
http://en.wikipedia.org/wiki/Unicode_control_characters

----------
components: Unicode
files: identifier.py
messages: 82664
nosy: baijum
severity: normal
status: open
title: Unicode control characters are not allowed as identifiers
type: behavior
versions: Python 3.0, Python 3.1
Added file: http://bugs.python.org/file13162/identifier.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5358>
_______________________________________


More information about the New-bugs-announce mailing list