On Sat, Jul 30, 2011 at 6:08 AM, Brett Cannon <br...@python.org> wrote: > Wasn't this change only in 3.3 where __nonzero__ doesn't exist? So when PyPy > eventually supports Python 3 they will have to update to support __bool__ on > None but this test won't exercise that for them. IOW I think the guard is > wrong and should go.
The entire assertion was removed by Raymond's checkin, as the addition of None.__bool__ made it false on CPython as well. Cheers, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia _______________________________________________ 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