Rob Cliffe via Python-Dev wrote:
Sorry, that won't work. Strings are parsed at compile time, open() is executed at run-time.
It could check for control characters, which are probably the result of a backslash accident. Maybe even auto-correct them... -- Greg _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/IQ62S3MI2T2RMQXT7UNQT3SKA7URHWSZ/