Hacker News new | past | comments | ask | show | jobs | submit login
Python's Preprocessor – a deep dive into custom codecs (pydong.org)
5 points by Tsche 6 months ago | hide | past | favorite | 2 comments



And here I thought I was clever for pointing out that things like "# coding: punycode" are legal but basically unusable...


I always just glanced over the usual "# coding=utf8" lines in python files, and never thought they could be used in such unexpected ways. Great read




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: