miniblog.
← Back to all posts
Jun 2, 2014 at 11:00
Delighted to hear that Python 3.2+ has fixed a nasty gotcha with stale .pyc files:
Traps for the Unwary in Python’s Import System - Alyssa Coghlan's Python Notes
python-notes.curiousefficiency.org/en/latest/python_concepts/import_traps.html#the-stale-bytecode-file-trap
Wilfred Hughes
Related Posts
May 12, 2014 at 21:19
A delete all *.pyc files is a useful script to have handy, but it does occasionally reduce Python developers to superstition.
Wilfred Hughes
Shared words: pyc, Python, files Score: 70
Sep 11, 2014 at 11:58
Nasty Python 2 gotcha with hasattr():
[Python-Dev] 'hasattr' is broken by design
mail.python.org/pipermail/python-dev/2010-August/103178.html
Wilfred Hughes
Shared words: gotcha, Python, nasty Score: 64.2
Jul 20, 2024 at 23:34
I've released difftastic 0.59! In this release: * Fixed a nasty crash on textual files * Added F# and device tree support * Improved comment syntax highlighting (especially for Elm)
Release 0.59.0 · Wilfred/difftastic
Difftastic is a structural diff tool that understands syntax. See the manual to get started, and the changelog for historical changes. Diffing Fixed crash on some textual files where a single chang...
Wilfred Hughes
Shared words: fixed, nasty, files Score: 43.9