Thursday, May 19, 2011

Memorable moments in code reading

Reading through other people's code can be tedious. But sometimes you come across a comment that makes it all worthwhile. Thanks to the httplib2 contributor who added this gem.

# info = email.message_from_string(cached_value)
#
# Need to replace the line above with the kludge below
# to fix the non-existent bug not fixed in this
# bug report: http://mail.python.org/pipermail/python-bugs-list/2005-September/030289.html
view raw __init__.py hosted with ❤ by GitHub