Commonly-used names in the Python standard library

Marko Rauhamaa marko at
Thu Feb 20 12:28:30 CET 2014

Chris Angelico <rosuav at>:

> On Thu, Feb 20, 2014 at 9:22 PM, Marko Rauhamaa <marko at> wrote:
>>   py35.unless x > 7:
>>       return
> What about return? Are you allowed to namespace that? And 'from' and
> 'import' and '*'?

Old keywords are guaranteed not to clash with programs. Introducing new
keywords runs that risk. Hence, C had to introduce the ugly _Bool

> If you're curious about the full proposal, it's PEP 463, an expression
> form of the 'except' statement. The latest draft PEP can be found
> here:

A coworker pointed out that the gist of the PEP has already been
implemented by <URL:>.


More information about the Python-list mailing list