17.07.18 19:25, Tim Peters пише:
It is a win (to my eyes) if the code it replaced was
if __debug__:
subdirs = list(path.iterdir())
assert len(subdirs) == 0, subdirs
in which case the semantics are the same in either spelling, with or
without -O, but the spelling at the top is less annoying ;-)
I completely agree.
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com