[Python-Dev] How far to go with user-friendliness
Antoine Pitrou
solipsis at pitrou.net
Fri Jul 17 01:48:51 CEST 2015
On Fri, 17 Jul 2015 11:35:53 +1200
Alexander <xr.lists at gmail.com> 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.
Regards
Antoine.
More information about the Python-Dev
mailing list