[issue44072] Doc: power operator (`**`) present for numbers.Complex, not added in numbers.Integral

2021-05-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for the report and clean patch. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue44072] Doc: power operator (`**`) present for numbers.Complex, not added in numbers.Integral

2021-05-14 Thread miss-islington
miss-islington added the comment: New changeset fa9de0c383581936de3338c8dc6b58c10a6e27b8 by Miss Islington (bot) in branch '3.9': bpo-44072: fix Complex, Integral docs for `**` (GH-25986) https://github.com/python/cpython/commit/fa9de0c383581936de3338c8dc6b58c10a6e27b8 --

[issue44072] Doc: power operator (`**`) present for numbers.Complex, not added in numbers.Integral

2021-05-14 Thread miss-islington
miss-islington added the comment: New changeset 2e99869f64bbd3c6590cb5ceaf9cf59e63689d63 by Miss Islington (bot) in branch '3.10': bpo-44072: fix Complex, Integral docs for `**` (GH-25986) https://github.com/python/cpython/commit/2e99869f64bbd3c6590cb5ceaf9cf59e63689d63 --

[issue44072] Doc: power operator (`**`) present for numbers.Complex, not added in numbers.Integral

2021-05-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +24774 pull_request: https://github.com/python/cpython/pull/26140 ___ Python tracker ___

[issue44072] Doc: power operator (`**`) present for numbers.Complex, not added in numbers.Integral

2021-05-14 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +24773 pull_request: https://github.com/python/cpython/pull/26139 ___ Python tracker

[issue44072] Doc: power operator (`**`) present for numbers.Complex, not added in numbers.Integral

2021-05-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, complex ** complex works fine, and "TypeError: pow() 3rd argument not allowed unless all arguments are integers". -- nosy: +terry.reedy ___ Python tracker

[issue44072] Doc: power operator (`**`) present for numbers.Complex, not added in numbers.Integral

2021-05-08 Thread Rory Yorke
Change by Rory Yorke : -- keywords: +patch pull_requests: +24638 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25986 ___ Python tracker ___

[issue44072] Doc: power operator (`**`) present for numbers.Complex, not added in numbers.Integral

2021-05-08 Thread Rory Yorke
New submission from Rory Yorke : Checked at commit 42fcad2, HEAD of main circa 8 May 2021. cpython/Doc/library/numbers.rst says numbers.Complex subtypes "include the operations [...] ``+``, ``-``, ``*``, ``/``, :func:`abs`, :meth:`conjugate`, ``==``, and ``!=``" and for numbers.Integral: