Is Python as capable as Perl for sysadmin work?

Peter Maas peter at somewhere.com
Tue Feb 8 15:24:48 EST 2005


Jeff Epler schrieb:
> Unlike Perl, Python implements only a *finite turning machine* model of
> computation.  An easy way to see this limitation is in the following
> code:
>     >>> 1.0 / 10.0
>     0.10000000000000001
> In an infinite Turning machine, there would be an unbounded number of
> zeros before the second 1, giving the exact result, not a numeric
> approximation.

Boy, you are cheating us!!!! Wake up, this isn't April 1st! :)))

-- 
-------------------------------------------------------------------
Peter Maas,  M+R Infosysteme,  D-52070 Aachen,  Tel +49-241-93878-0
E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64')
-------------------------------------------------------------------



More information about the Python-list mailing list