[Python-Dev] sum() in math module not duplicated?

Raymond Hettinger python at rcn.com
Fri Jun 20 04:41:55 CEST 2008


We're still working on the implementation details for math.sum().
When it's finished, the cmath equilvalent will be added.

Raymond

----- Original Message ----- 
From: "A.M. Kuchling" <amk at amk.ca>
To: <python-dev at python.org>
Sent: Thursday, June 19, 2008 7:16 PM
Subject: [Python-Dev] sum() in math module not duplicated?


> In the comments before the implementation of sum()
> in mathmodule.c, note 4 says:
> 
>   Note 4: A similar implementation is in Modules/cmathmodule.c.
>   Be sure to update both when making changes.
> 
> I can't find a sum implementation or similar code in cmathmodule.c.
> Did someone intend to port the sum function to cmath, or was it copied
> and then taken out?  I'm wondering if this note should simply be
> removed.
> 
> --amk
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/python%40rcn.com


More information about the Python-Dev mailing list