Author serhiy.storchaka
Recipients Joseph.Siddall, ZackerySpytz, berker.peksag, davin, jnoller, pitrou, sbt, serhiy.storchaka, xtreak, zvyn
Date 2018-10-18.12:55:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1539867310.93.0.788709270274.issue22872@psf.upfronthosting.co.za>
In-reply-to
Content
I don't think we need to document AssertionError in older Python versions. This is an implementation detail. We don't document all exceptions that can be raised with improper use of the API. Just don't do this.

In addition, using the assert statement for validating user input or the object state which depends on user actions is a bad style. We shouldn't encourage this by documenting it as a behavior of the stdlib. It was a bug, and it is fixed now.
History
Date User Action Args
2018-10-18 12:55:11serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, jnoller, sbt, berker.peksag, zvyn, Joseph.Siddall, davin, ZackerySpytz, xtreak
2018-10-18 12:55:10serhiy.storchakasetmessageid: <1539867310.93.0.788709270274.issue22872@psf.upfronthosting.co.za>
2018-10-18 12:55:10serhiy.storchakalinkissue22872 messages
2018-10-18 12:55:10serhiy.storchakacreate