[Python-Dev] How far to go with user-friendliness
ethan at stoneleaf.us
Fri Jul 17 02:11:40 CEST 2015
On 07/16/2015 04:48 PM, Antoine Pitrou wrote:
> On Fri, 17 Jul 2015 11:35:53 +1200 Alexander wrote:
>> I do not want to read mistyped code from other developers and try to
>> guess whether it will work properly or not.
> You don't have to guess anything. If it's mistyped, either it raises
> AttributeError (because it starts with "assert_"), or it doesn't do
> anything. So, in both cases, it *doesn't* work properly.
Yes, but in the case of "assrt_*" it won't work properly and won't not work properly. And neither should "assret_*".
More information about the Python-Dev