On 04Apr2012 15:34, Miki Tebeka <miki.teb...@gmail.com> wrote: | I'm going to give a "Python Gotcha's" talk at work. | If you have an interesting/common "Gotcha" (warts/dark corners ...) please share. | | (Note that I want over http://wiki.python.org/moin/PythonWarts already).
Missing "return" means "return None". One only has to miss a control path to have this happen. Easy enough to accomodate, if only by having a return or raise at the end of the function, but ... -- Cameron Simpson <c...@zip.com.au> DoD#743 http://www.cskk.ezoshosting.com/cs/ I really don't like :-) symbols as well. I feel that if you can't see the pie coming, you deserve whipped cream up your nose. - r...@cherry.cray.com (rob derrick) -- http://mail.python.org/mailman/listinfo/python-list