2015-03-03 6:25 GMT+01:00 Chris Barker :
> As far as I can tell, the math module is entirely a C extension. So I can:
> (...)
> 2) Write it in Python, and monkey-patch it in to the math module -- I
> honestly have no idea how to do that, but as I can add a new name to the
> math module after import
On Mon, Mar 2, 2015 at 10:48 PM, Chris Barker wrote:
> On Mon, Mar 2, 2015 at 10:39 PM, Guido van Rossum
> wrote:
>
> (*) Adding it to the decimal module would require a discussion with
>> Raymond Hettinger, but Decimal users can probably copy and paste the
>> formula from the PEP.
>>
>
> yup --
On 03/03/2015 01:17 AM, Victor Stinner wrote:
> 2015-03-03 6:25 GMT+01:00 Chris Barker :
>>
>> As far as I can tell, the math module is entirely a C extension. So I can:
>> 2) Write it in Python, and monkey-patch it in to the math module -- I
>> honestly have no idea how to do that, but as I can a