On Tue, Sep 10, 2013 at 4:09 PM, Steven D'Aprano <st...@pearwood.info> wrote: > What design mistakes, traps or gotchas do you think Python has? Gotchas > are not necessarily a bad thing, there may be good reasons for it, but > they're surprising.
Significant indentation. It gets someone every day, it seems. The fact that importing twice doesn't reexecute any code. The whole "consenting adults" philosophy. I happen to quite like it, as do many of the regulars here, but it does trip up a lot of programmers who've come from other languages. Like you say, not necessarily a bad thing; but Admiral Ackbars all the same. ChrisA -- https://mail.python.org/mailman/listinfo/python-list