Skip to content

Matt Daemon

pypi.python.org
3 pointsballpoint1 comment
On HN

Comments

Why Python 2.7 only? This looks like it would be Python 3 code if you simply changed

    print str(err)
to:
    print(str(err))
Except, that's a pretty unhelpful thing to print. I believe a much better statement to put there, in Python 2 or 3, would be:
    raise
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.