Python’s Preprocessor(pydong.org)
375 points by rbanffy | 81 comments
Blog post explaining how Python source code encoding declarations (PEP 263) can be abused to implement a preprocessor that transforms code before execution.
1 story tagged source-encodings, newest first.
375 points by rbanffy | 81 comments
Blog post explaining how Python source code encoding declarations (PEP 263) can be abused to implement a preprocessor that transforms code before execution.