[issue37946] Add the Bessel functions of the first and second kind to the math module

2019-08-26 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Thanks for your detailed opinion, Mark. After reflecting on your arguments I agree that we should close this issue as rejected. Thanks to everyone! -- resolution: -> rejected stage: patch review -> resolved status: open -> closed

[issue37946] Add the Bessel functions of the first and second kind to the math module

2019-08-26 Thread Zackery Spytz
Zackery Spytz added the comment: > IMO this is the province of things like scipy.special. The Bessel functions > (and many others) are already easily available to users of the scientific > Python stack. I don't really see a need to have them in core Python. I agree. -- nosy:

[issue37946] Add the Bessel functions of the first and second kind to the math module

2019-08-26 Thread Mark Dickinson
Mark Dickinson added the comment: Tim, Raymond: thoughts? I'm inclined to close this as rejected. -- ___ Python tracker ___ ___

[issue37946] Add the Bessel functions of the first and second kind to the math module

2019-08-26 Thread Mark Dickinson
Change by Mark Dickinson : -- nosy: +tim.peters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37946] Add the Bessel functions of the first and second kind to the math module

2019-08-26 Thread Mark Dickinson
Mark Dickinson added the comment: I'd also say that SciPy does this much better than the Python math library could ever hope to (without that math library effectively becoming a copy of scipy.special). It probably wouldn't be long before a user of the new Bessel functions also wanted Bessel

[issue37946] Add the Bessel functions of the first and second kind to the math module

2019-08-26 Thread Mark Dickinson
Mark Dickinson added the comment: They're not part of the C standard and they're not provided by all C libraries; we'd have to code our own and add thorough tests for the implementations (as we have for lgamma, gamma, erf, and other functions that may or may not exist in the platform libm).

[issue37946] Add the Bessel functions of the first and second kind to the math module

2019-08-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > If they are provided by the C lib, I would love to see them exposed by Python. Check PR 15497 for an initial version of exposing the libm functions if they are available. > I don't know if they should be treated as optional/platform dependent, or

[issue37946] Add the Bessel functions of the first and second kind to the math module

2019-08-25 Thread Steven D'Aprano
Steven D'Aprano added the comment: If they are provided by the C lib, I would love to see them exposed by Python. If they aren't, I don't know if they should be treated as optional/platform dependent, or if we should provide an independent implementation. I guess the easy way is to just

[issue37946] Add the Bessel functions of the first and second kind to the math module

2019-08-25 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +15187 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15497 ___ Python tracker

[issue37946] Add the Bessel functions of the first and second kind to the math module

2019-08-25 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : After repeatedly having to add 3rd party libraries only for the these functions or having to implement them myself quick and dirty based on numerical integration, I suggest add the Bessel functions of the first and second kind to the math module.