News for hackers. Stuff that matters.
Re:Ask HN: Good python code for code reading by Jasber on Thursday October 09, 2008 @10:37AM (#327845)
This was a major eye-opener for me as-well. I jumped into various python modules and was amazed at what I discovered. Like the easter-egg hidden away in "this.py":

http://pastebin.com/f25f08f20

(Couldn't figure out how to get code formatting to work properly)

Re:Ask HN: Good python code for code reading by andyn on Thursday October 09, 2008 @11:03AM (#327874)
Ha. All that code at the bottom of the file could be replaced by "print s.decode('rot13')" - I suppose it's backwards compatible though...
Re:Ask HN: Good python code for code reading by ivank on Thursday October 09, 2008 @01:25PM (#328038)
Or forward-compatible, since encode/decode in py3k is between bytes and unicode only.