[Python-3000-checkins] r59472 - python/branches/py3k/Lib/ctypes/test/test_values.py

Thomas Heller theller at ctypes.org
Wed Dec 12 21:03:35 CET 2007


Eric Smith schrieb:
> I think a comment in the code here would be very helpful.  If I ran 
> across this code, I would have no idea that restoring the original value 
> is an important part of what's going on.  If I were testing that 
> assigning 0 to 'value' worked (for example), there's every chance I'd 
> put it at the end, after 'value' was restored to 'x'.

I've added a comment.

Thanks,
Thomas



More information about the Python-3000-checkins mailing list