Other articles


  1. Self-documenting code

    I have to maintain code and narrative documentation for compliance reasons at work, but I don't want to separately update the documentation each time I update the code! Luckily, because I'm using Python and Sphinx, it's easy to the automatically update the docs.

    read more
  2. pdb post-mortem debugging

    I misread a recent feedparser bug report and thought that the author had mistyped a bbcode- or wiki-formatted link. Consequently, I wasted time debugging the code.

    Turns out, I wasted a lot of time, because I spent more than zero time debugging the code. Yes, zero time. I was using …

    read more
  3. Feedparser porting status

    I spent some time this weekend working on porting feedparser to Python 3, and found that it will be difficult because there are two separate parsers included (a strict parser and a loose parser), and while each works differently, both use the same core machinery in feedparser.

    With the strict …

    read more

Page 1 / 2 »

social