Skip to content
Fragmented Development

Latest Post

Python `hasattr` method headache

Python's hasattr function checks to see if an object has an attribute - a fairly straightforward and sensible purpose. When I used it, however, it caused some very subtle problems that were tricky and unintuitive to debug.

Read the full post: Python `hasattr` method headache


My servers run a host of underlying software that allows me to host sites and applications:

  • Debian GNU/Linux
  • PHP
  • Python
  • Django
  • Nginx
  • OpenSSH
  • MariaDB
  • Postgres
  • Postfix
  • Dovecot
  • SpamAssassin
  • SQLite