Ram Rachum <cool...@cool-rr.com> added the comment: Hmm... So how about making `elements` a smart object which will implement `__bool__`? Then we could give it a `__len__` too and be rid of issue11733.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11775> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com