[issue36027] Support negative exponents in pow() where a modulus is specified.

2021-06-13 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 10.0 -> 11.0 pull_requests: +25288 pull_request: https://github.com/python/cpython/pull/26702 ___ Python tracker

[issue36027] Support negative exponents in pow() where a modulus is specified.

2021-06-13 Thread Mark Dickinson
Change by Mark Dickinson : -- pull_requests: +25287 pull_request: https://github.com/python/cpython/pull/26703 ___ Python tracker ___

[issue36027] Support negative exponents in pow() where a modulus is specified.

2021-06-12 Thread Mark Dickinson
Change by Mark Dickinson : -- pull_requests: +25277 pull_request: https://github.com/python/cpython/pull/26690 ___ Python tracker ___

[issue36027] Support negative exponents in pow() where a modulus is specified.

2020-05-14 Thread paul rubin
paul rubin added the comment: https://bugs.python.org/issue457066 The old is new again ;-). -- nosy: +phr ___ Python tracker ___

[issue36027] Support negative exponents in pow() where a modulus is specified.

2020-02-23 Thread Mark Dickinson
Mark Dickinson added the comment: For tracker historians: see also #457066 -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue36027] Support negative exponents in pow() where a modulus is specified.

2019-06-03 Thread Mark Dickinson
Mark Dickinson added the comment: @Petr: Thanks for the quick fix! -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue36027] Support negative exponents in pow() where a modulus is specified.

2019-06-02 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 1e375c6269e9de4f3d05d4aa6d6d74e00f522d63 by Petr Viktorin in branch 'master': bpo-36027: Really fix "incompatible pointer type" compiler warning (GH-13761) https://github.com/python/cpython/commit/1e375c6269e9de4f3d05d4aa6d6d74e00f522d63

[issue36027] Support negative exponents in pow() where a modulus is specified.

2019-06-02 Thread Petr Viktorin
Change by Petr Viktorin : -- pull_requests: +13646 pull_request: https://github.com/python/cpython/pull/13761 ___ Python tracker ___

[issue36027] Support negative exponents in pow() where a modulus is specified.

2019-06-02 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset e584cbff1ea78e700cf9943d50467e3b58301ccc by Petr Viktorin in branch 'master': bpo-36027 bpo-36974: Fix "incompatible pointer type" compiler warnings (GH-13758) https://github.com/python/cpython/commit/e584cbff1ea78e700cf9943d50467e3b58301ccc

[issue36027] Support negative exponents in pow() where a modulus is specified.

2019-06-02 Thread Petr Viktorin
Change by Petr Viktorin : -- pull_requests: +13639 pull_request: https://github.com/python/cpython/pull/13758 ___ Python tracker ___

[issue36027] Support negative exponents in pow() where a modulus is specified.

2019-06-02 Thread Petr Viktorin
Petr Viktorin added the comment: I will fix the compiler warning along with another one that I just introduced. -- nosy: +petr.viktorin ___ Python tracker ___

[issue36027] Support negative exponents in pow() where a modulus is specified.

2019-06-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: PR 13266 introduced a compiler warning. Objects/longobject.c: In function ‘long_invmod’: Objects/longobject.c:4246:25: warning: passing argument 2 of ‘long_compare’ from incompatible pointer type [-Wincompatible-pointer-types] if (long_compare(a,

[issue36027] Support negative exponents in pow() where a modulus is specified.

2019-06-02 Thread Mark Dickinson
Mark Dickinson added the comment: Done. Closing. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36027] Support negative exponents in pow() where a modulus is specified.

2019-06-02 Thread Mark Dickinson
Mark Dickinson added the comment: New changeset c52996785a45d4693857ea219e040777a14584f8 by Mark Dickinson in branch 'master': bpo-36027: Extend three-argument pow to negative second argument (GH-13266) https://github.com/python/cpython/commit/c52996785a45d4693857ea219e040777a14584f8

[issue36027] Support negative exponents in pow() where a modulus is specified.

2019-06-01 Thread Mark Dickinson
Mark Dickinson added the comment: I think GH-13266 is ready to go, but I'd appreciate a second pair of eyes on it if anyone has time. -- ___ Python tracker ___

[issue36027] Support negative exponents in pow() where a modulus is specified.

2019-05-12 Thread Mark Dickinson
Change by Mark Dickinson : -- assignee: -> mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36027] Support negative exponents in pow() where a modulus is specified.

2019-05-12 Thread Mark Dickinson
Change by Mark Dickinson : -- keywords: +patch pull_requests: +13174 stage: -> patch review ___ Python tracker ___ ___

[issue36027] Support negative exponents in pow() where a modulus is specified.

2019-02-20 Thread Berry Schoenmakers
Berry Schoenmakers added the comment: In pure Python this seems to be the better option to compute inverses: def modinv(a, m): # assuming m > 0 b = m s, s1 = 1, 0 while b: a, (q, b) = b, divmod(a, b) s, s1 = s1, s - q * s1 if a != 1: raise

[issue36027] Support negative exponents in pow() where a modulus is specified.

2019-02-19 Thread Raymond Hettinger
Raymond Hettinger added the comment: Changing the title to reflect a focus on building-out pow() instead of a function in the math module. -- title: Consider adding modular multiplicative inverse to the math module -> Support negative exponents in pow() where a modulus is specified.