Laszlo <[EMAIL PROTECTED]> added the comment: Oops, sorry I didn't realize validate_step() is supposed to validate the input AND return the converted value. Thanks for the feedback.
This new patch should work fine. It retains only the two final points of the previous patch; it doesn't clear the error, and it checks for other NULL values before calling validate_step(). Added file: http://bugs.python.org/file12233/range.diff _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4536> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com