Re: [Python-Dev] [Python-checkins] cpython: Issue 12647: Add __bool__() method to the None object.

2011-07-30 Thread Nick Coghlan
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

Re: [Python-Dev] [Python-checkins] cpython: Issue 12647: Add __bool__() method to the None object.

2011-07-29 Thread Brett Cannon
On Thu, Jul 28, 2011 at 09:55, raymond.hettinger python-check...@python.org wrote: http://hg.python.org/cpython/rev/ccce01988603 changeset: 71542:ccce01988603 user:Raymond Hettinger pyt...@rcn.com date:Thu Jul 28 09:55:13 2011 -0700 summary: Issue 12647: Add __bool__()