Skip to content

Instantly share code, notes, and snippets.

@samdphillips
Last active June 18, 2023 20:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samdphillips/92dbf101bbb52c8e60b3db4234a06775 to your computer and use it in GitHub Desktop.
Save samdphillips/92dbf101bbb52c8e60b3db4234a06775 to your computer and use it in GitHub Desktop.
Python Codec Abuse List

Python allows a codec directive at the start of a file which allows for a hook to rewrite the content.

Here are some uses I've found of this in the wild using this github query.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment