[issue45917] Add math.exp2() function: 2^x

2021-11-28 Thread Gideon
Gideon added the comment: I've submitted a PR at https://github.com/python/cpython/pull/29829. I'd just like to add that the whole Python team is amazing. Thank you for doing what you do! -- ___ Python tracker <https://bugs.python.o

[issue45917] Add math.exp2() function: 2^x

2021-11-28 Thread Gideon
Gideon added the comment: Sounds good. I've already made the necessary code changes on my own build, so I'll just finish writing the tests + documentation and submit a PR. -- ___ Python tracker <https://bugs.python.o

[issue45917] Add math.exp2() function: 2^x

2021-11-28 Thread Gideon
New submission from Gideon : Dear Python Support Team, I was looking through Python’s list of supported methods in the math module, and I noticed that C99’s exp2 method was not implemented. This method raises 2 to the power of the supplied argument. I understand that it’s pretty trivial to

[issue3720] segfault in for loop with evil iterator

2008-08-28 Thread Gideon Smeding
New submission from Gideon Smeding <[EMAIL PROTECTED]>: The attached example crashes python. The crash is caused by an evil iterator that removes its own next function. -- files: baditerator.py messages: 72119 nosy: gideon severity: normal status: open title: segfault in for loo