I guessed that I probably made an error, and I had; finally got around to using my countdict class, and it failed to work correctly: all the counts came out to 1. It's now fixed with a super(type, obj) call, see the most recent arcane.py (near the bottom of the file) for details. Ignore the rest of the stuff in arcane, it was written some months ago when I didn't know nearly as much about Python as I do now (and obviously I still don't know nearly enough)...

Back to blog or home page

last updated 2013-01-10 20:36:43. served from tektonic.jcomeau.com