On Fri, Dec 23, 2011 at 2:40 PM, alex23 <wuwe...@gmail.com> wrote: > I'm sorry, but I'm not going to modify my coding style for the sake of > bad programmers.
And there, folks, you have one of the eternal dilemmas. The correct decision depends on myriad factors; if you're writing code to go into the documentation as an example, you want it to be able to handle idiots hacking on it - but on the other hand, that same situation demands simplicity, which is why a lot of examples omit huge slabs of error checking. ChrisA -- http://mail.python.org/mailman/listinfo/python-list