This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author steven.daprano
Recipients serhiy.storchaka, steven.daprano
Date 2021-11-15.23:11:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1637017884.02.0.311625820684.issue45810@roundup.psfhosted.org>
In-reply-to
Content
Currently invisible control characters aside from whitespace (tabs, newlines, formfeeds, carriage returns) are prohibited outside of comments and string literals. As discussed in this thread:

https://mail.python.org/archives/list/python-dev@python.org/message/DN24FK3A2DSO4HBGEDGJXERSAUYK6VK6/

we should ban C0 and C1 control characters (aside from \t\n\f\r) in string literals and comments too.

To be clear, the ban is on actual invisible control characters, not escape sequences.
History
Date User Action Args
2021-11-15 23:11:24steven.dapranosetrecipients: + steven.daprano, serhiy.storchaka
2021-11-15 23:11:24steven.dapranosetmessageid: <1637017884.02.0.311625820684.issue45810@roundup.psfhosted.org>
2021-11-15 23:11:23steven.dapranolinkissue45810 messages
2021-11-15 23:11:23steven.dapranocreate