New submission from Mike Speciner <[EMAIL PROTECTED]>:
I'm running Python 3.0b2 (r30b2:65106, Jul 18 2008, 18:44:17) [MSC
v.1500 32 bit (Intel)] on win32.
Typing help('finally') loops, repeatedly typing the following two lines
File "C:\Python30\lib\pydoc.py", l
New submission from Mike Speciner <[EMAIL PROTECTED]>:
The math module contains log1p but is missing expm1 (the inverse of
log1p). These functions are necessary to avoid loss of precision in
floating point calculations, and are part of the C99 standard math library.
--
components
New submission from Mike Speciner <[EMAIL PROTECTED]>:
Tried this on wintel 32-bit
(3.0b1 (r30b1:64403M, Jun 19 2008, 14:56:09) [MSC v.1500 32 bit (Intel)]
--
messages: 68853
nosy: ms
severity: normal
status: open
title: inf*inf gives inf, but inf**2 gives overflow error
type: be
Mike Speciner <[EMAIL PROTECTED]> added the comment:
Well, I think I found exec in bltinmodule.c,
but execfile isn't in that file. [In the 3.0 tree.]
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.
Mike Speciner <[EMAIL PROTECTED]> added the comment:
I'm actually quite new to Python. My current interpreter of choice is
PostScript, followed by Matlab, but I've been discouraged from using
either one here at EMC. (PostScript because it's obscure, Matlab because
it
New submission from Mike Speciner <[EMAIL PROTECTED]>:
In 2.5, exec(open(filename)), where filename refers to a file with
python code, executes the code.
In 2.5, open returns an open file, but in 3.0, open returns a stream,
and so exec (which wants "a string, file, or code