Benjamin Peterson <benja...@python.org> added the comment:

1. You should always compare functions with "is".
2. You should add a comment explaining why os.listdir is special cased.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5676>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to