[Edu-sig] OK, time for 2.4

Kirby Urner urnerk at qwest.net
Sun Oct 24 20:50:47 CEST 2004



> -----Original Message-----
> From: edu-sig-bounces at python.org [mailto:edu-sig-bounces at python.org] On
> Behalf Of Guido van Rossum
> Sent: Sunday, October 24, 2004 11:10 AM
> To: Kirby Urner
> Cc: edu-sig at python.org
> Subject: Re: [Edu-sig] OK, time for 2.4
> 
> >  >>> help(decimal)
> >
> >  Traceback (most recent call last):
> >    File "<pyshell#5>", line 1, in -toplevel-
> >      help(decimal)
> >  NameError: name 'decimal' is not defined
> 
> help('decimal') would have worked, though.

Doesn't.  But note that I don't 'import decimal' until later, then it works.
    
 IDLE 1.1a3      
 >>> help(decimal)

 Traceback (most recent call last):
   File "<pyshell#0>", line 1, in -toplevel-
     help(decimal)
 NameError: name 'decimal' is not defined

Wondering why, in the help string it says:

 DESCRIPTION
     This is a Py2.3 implementation of decimal floating point 
 arithmetic based on the General Decimal Arithmetic Specification:

Why Py2.3?  Just an oversight?

Kirby




More information about the Edu-sig mailing list