This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Aaron.Meurer
Recipients Aaron.Meurer, Nofar Schnider, benjamin.peterson, eric.araujo, georg.brandl, gvanrossum, mark.dickinson, ncoghlan, pitrou, python-dev, rhettinger, sbaird, serhiy.storchaka, stutzbach, tim.peters, veky, vstinner, waldir, zach.ware
Date 2016-08-11.19:52:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1470945127.69.0.0570186927289.issue12345@psf.upfronthosting.co.za>
In-reply-to
Content
I also wonder, if math will be gaining constants that no one uses like tau, if it will also gain constants that people actually do use (currently math just has pi, e, inf, and nan). [i for i in dir(numpy) if isinstance(getattr(numpy, i), float)] reveals euler_gamma as one example. https://docs.scipy.org/doc/scipy/reference/constants.html lists a bunch more. 

And if we're adding derived constants, why not loge2, another derived constants, used way more often than tau?

In case you can't tell, I'm opposed to adding tau, although fwiw I do think it would be nice to add some of the other constants I mentioned above like euler_gamma to math, and in general, I support adding more stuff to math (but only generally useful stuff, obviously; there's no need to port all of scipy.special, for instance).

As an aside, a technical note on the patch: for consistency, it should also be added to the cmath library (pardon me if I misread the patch and that's already happening).
History
Date User Action Args
2016-08-11 19:52:07Aaron.Meurersetrecipients: + Aaron.Meurer, gvanrossum, tim.peters, georg.brandl, rhettinger, mark.dickinson, ncoghlan, pitrou, vstinner, benjamin.peterson, stutzbach, eric.araujo, python-dev, sbaird, zach.ware, serhiy.storchaka, waldir, veky, Nofar Schnider
2016-08-11 19:52:07Aaron.Meurersetmessageid: <1470945127.69.0.0570186927289.issue12345@psf.upfronthosting.co.za>
2016-08-11 19:52:07Aaron.Meurerlinkissue12345 messages
2016-08-11 19:52:07Aaron.Meurercreate