On Sun, Mar 18, 2007, Mark Dickinson wrote:
>
> I'm wondering whether anyone would be interested in a rewrite of the
> cmath module.
In theory, yes, but my observations of past discussions have been that
they tend to founder on the issues of cross-platform support and
long-term code maintenance.
The current cmath module has some significant numerical problems,
particularly in the inverse trig and inverse hyperbolic trig
functions. I've listed a few of these below, but for now I'll just
note the following upsetting result:
>>> asin(-1e8)
Traceback (most recent call last):
File "", line 1
On Sun, Mar 18, 2007 at 11:49:55AM +1200, Greg Ewing wrote:
> I've just discovered the hard way that NamedTemporaryFile
> automatically deletes the file when you close it. That
> doesn't seem very useful to me, since surely the reason
> you're using NamedTemporaryFile instead of TemporaryFile
> is
On 8/03/2007, at 2:42 AM, Paul Moore wrote:
> On 06/03/07, Scott Dial <[EMAIL PROTECTED]> wrote:
>> Sadly the sf tracker doesn't let you search for "With comments
>> by". The
>> patch I was making reference to was 1410680. Someone else actually
>> had
>> wrote a patch that contained bugs and I
On 3/17/07, Ewan Mellor <[EMAIL PROTECTED]> wrote:
> I have a problem being reported (by Xen users) where inspect.stack() is
> throwing IndexError. I think that this is a bug in inspect.py -- findsource
> generally throws IOError when it can't find a particular source file, but in
> the case where
I've just discovered the hard way that NamedTemporaryFile
automatically deletes the file when you close it. That
doesn't seem very useful to me, since surely the reason
you're using NamedTemporaryFile instead of TemporaryFile
is that you want to do something else with it afterwards?
What's the rati
All,
I have a problem being reported (by Xen users) where inspect.stack() is
throwing IndexError. I think that this is a bug in inspect.py -- findsource
generally throws IOError when it can't find a particular source file, but in
the case where it finds a source file, but that file is shorter tha
On Feb 15, 2007, at 2:59 PM, Raymond Hettinger wrote:
> * Enhance doctest with a method that computes updated doctest
> results. If the
> only change I make to a matrix suite is to add commas to long
> numbers in the
> matrix repr(), then it would be nice to have an automated way to
> update
Sorry, forgot to include the output of doctest_driver.py --help.
Here it is:
-Edward
Usage: doctest_driver.py [options] NAME ...
Options:
--version show program's version number and exit
-h, --helpshow this help message and exit
Actions (default=check):
On Thu, Mar 15, 2007, "Martin v. L??wis" wrote:
>
> I'm not quite sure what "it" is, here. If "it" is that there be no
> incompatible changes in Python: this is not policy, and not even
> consensus. Instead, policy (as enforced by the release manager), and
> consensus is that bug fix releases (2.x.
Patrick Maupin wrote:
> On 3/16/07, Steve Holden <[EMAIL PROTECTED]> wrote:
[...]
>> Then I can stop wasting everyone's time. Even though I am no fonder of
>> code breakage than I was.
>
> Fortunately, for new code (at least for this particular change!), you
> don't have to worry about breakage.
11 matches
Mail list logo