Author loewis
Recipients garden, loewis
Date 2008-04-24.11:14:12
SpamBayes Score 0.202763
Marked as misclassified No
Message-id <48106B83.9070607@v.loewis.de>
In-reply-to <1209035325.46.0.0471563034996.issue2677@psf.upfronthosting.co.za>
Content
> Maybe yes, the easier but probably harmless solution is to change the
> documentation and point out that "in general, you can't". Maybe this
> somehow leans towards promoting a bug to the rank of feature? ;-)

The language spec is stuck between saying what the abstract Python
language is supposed to do, and describing what CPython precisely
does. You shouldn't use keyword arguments to pass non-optional
positional arguments, IMO, but the text describes precisely what
happens if you do - for Python functions. The more vague
specification then shouldn't say "you can't" (because that would
indicate that you get an exception when you try), but "it's
unspecified", then going on to say what CPython happens to do
in some release.
History
Date User Action Args
2008-04-24 11:14:14loewissetspambayes_score: 0.202763 -> 0.202763
recipients: + loewis, garden
2008-04-24 11:14:13loewislinkissue2677 messages
2008-04-24 11:14:13loewiscreate