Author paul.j3
Recipients Markus.Amalthea.Magnuson, SylvainDe, Yclept.Nemo, bethard, docs@python, paul.j3, r.david.murray
Date 2014-08-06.22:13:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1407363197.11.0.992871288139.issue16399@psf.upfronthosting.co.za>
In-reply-to
Content
In my suggestion I used 

    if 'current_value is default':

without going into detail.  The use of an 'is' test for integer values is tricky, as discussed in http://bugs.python.org/issue18943

    int("42") is 42    # True
    int("257") is 257  # False

As with your 'self.reset_dest', in 18943 I suggested using a boolean flag instead of the 'is' test.
History
Date User Action Args
2014-08-06 22:13:17paul.j3setrecipients: + paul.j3, bethard, r.david.murray, docs@python, Yclept.Nemo, Markus.Amalthea.Magnuson, SylvainDe
2014-08-06 22:13:17paul.j3setmessageid: <1407363197.11.0.992871288139.issue16399@psf.upfronthosting.co.za>
2014-08-06 22:13:17paul.j3linkissue16399 messages
2014-08-06 22:13:17paul.j3create