Comment on draft PEP for deprecating six builtins

Roman Neuhauser neuhauser at mail.cz
Mon Apr 29 10:30:28 EDT 2002


> From: Duncan Booth <duncan at NOSPAMrcp.co.uk>
> Subject: Re: Comment on draft PEP for deprecating six builtins
> To: python-list at python.org
> Date: Mon, 29 Apr 2002 13:33:31 +0000 (UTC)
> 
> Roman Neuhauser <neuhauser at mail.cz> wrote in 
> news:mailman.1020083690.16055.python-list at python.org:
> 
> >     __builtin__.chr(int) -> int.chr()
> >     __builtin__.abs(int) -> int.abs()
> >     __builtin__.ord(str) -> str.ord()
> >     etc
> > 
> 
> 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).

    why? letters aren't valid decimal digits, are they?
 
-- 
FreeBSD 4.4-STABLE
4:28PM up 6:53, 10 users, load averages: 0.02, 0.09, 0.08





More information about the Python-list mailing list