Vinay Sajip <vinay_sa...@yahoo.co.uk> added the comment:
Unfortunately, setting the default value of validate to False would completely negate the usefulness of the feature, because it would rely on people coming to know about it and remembering to turn it on. Given that this feature is adding error checking, and that Errors should never pass silently. Unless explicitly silenced. I think that the default should remain as it is. I suggest that you either subclass str for your needs, or work around the backward compatibility issue by checking the version of Python you're running under. ---------- nosy: +BNMetrics, vinay.sajip resolution: -> not a bug stage: -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34998> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com