On 3/29/2011 12:10 PM, Toshio Kuratomi wrote:
The possible flaw in python is this: Code like the blog poster wrote passes python3 without an error or a warning. This gives the programmer no feedback that they're doing something wrong until it actually bites them in the foot in deployed code.
Yes there is a certain level of knowledge required of the system configuration and python defaults for accessing the system for things like filenames. It can be coded in any of several ways.
But by the above definition of "possible flaw", that seems equivalent to saying that Python should give a warning for things like
os.unlink("my-most-important-file.doc")
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com