Message224969
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. |
|
Date |
User |
Action |
Args |
2014-08-06 22:13:17 | paul.j3 | set | recipients:
+ paul.j3, bethard, r.david.murray, docs@python, Yclept.Nemo, Markus.Amalthea.Magnuson, SylvainDe |
2014-08-06 22:13:17 | paul.j3 | set | messageid: <1407363197.11.0.992871288139.issue16399@psf.upfronthosting.co.za> |
2014-08-06 22:13:17 | paul.j3 | link | issue16399 messages |
2014-08-06 22:13:17 | paul.j3 | create | |
|