Comment on draft PEP for deprecating six builtins

Roman Neuhauser neuhauser at mail.cz
Tue Apr 30 08:21:30 EDT 2002


> From: Roy Smith <roy at panix.com>
> Subject: Re: Comment on draft PEP for deprecating six builtins
> To: python-list at python.org
> Date: Tue, 30 Apr 2002 07:45:34 -0400
> 
> Duncan Booth <duncan at NOSPAMrcp.co.uk> wrote:
> > The problem with int.chr() is that a lot of people are going to get 
> > confused when they find that "42.chr()" doesn't work (although "42 .chr()" 
> > does).
> 
> What about "(42).chr"?  Wouldn't that work?  Seems a lot more natural than 
> putting a space in there (which I didn't even realize was legal, and looks 
> horrible to me).

    (42).chr does look better, and is IMO more readable.
    I didn't originally suggest this as I (having spotty knowledge of
    python) thought it would make it a tuple. But you're right, no
    comma, no tuple.

-- 
FreeBSD 4.4-STABLE
2:19PM up 1 day, 4:44, 11 users, load averages: 0.01, 0.05, 0.01





More information about the Python-list mailing list