[issue45144] Use subtests in test_peepholer

2021-09-08 Thread Irit Katriel
New submission from Irit Katriel : test_peepholer has many tests that loop over test cases. Identifying them as subtests will make them easier to work with when something breaks. -- components: Tests messages: 401428 nosy: iritkatriel priority: normal severity: normal status: open titl

[issue45144] Use subtests in test_peepholer

2021-09-08 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch pull_requests: +26667 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28247 ___ Python tracker ___ ___

[issue45145] Case of headers in urllib.request.Request

2021-09-08 Thread E . M . P . Höller
New submission from E. M. P. Höller : urllib.request.Request internally .capitalize()s header names before adding them, as can be seen here: https://github.com/python/cpython/blob/3.9/Lib/urllib/request.py#L399 Since HTTP headers are case-insensitive, but dicts are not, this ensures that add

[issue45133] Open functions in dbm submodule should support path-like objects

2021-09-08 Thread Hakan Çelik
Change by Hakan Çelik : -- nosy: +hakancelik nosy_count: 1.0 -> 2.0 pull_requests: +26668 pull_request: https://github.com/python/cpython/pull/20274 ___ Python tracker ___ _

[issue40563] Support pathlike objects on dbm/shelve

2021-09-08 Thread David Mertz
David Mertz added the comment: I've made the few additional changes to those in this PR. When I work out the issues, I'll make a new PR. I took out an attempt with `path_t`. However, here is why I think argument clinic (or something else?!) is actually intercepting the attempted call: Wi

[issue40563] Support pathlike objects on dbm/shelve

2021-09-08 Thread David Mertz
David Mertz added the comment: If anyone wants to look at my not-yet-complete changes (see other comment), it's https://github.com/DavidMertz/cpython/tree/bpo-45133. It has a different bpo because I filed a duplicate before realizing. I can change the branch name before a PR, but making it

[issue20499] Rounding errors with statistics.variance

2021-09-08 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 4a5cccb02bb2254634c0fbb2cbb14e2e7f45e2d5 by Raymond Hettinger in branch 'main': bpo-20499: Rounding error in statistics.pvariance (GH-28230) https://github.com/python/cpython/commit/4a5cccb02bb2254634c0fbb2cbb14e2e7f45e2d5 -- _

[issue20499] Rounding errors with statistics.variance

2021-09-08 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue20499] Rounding errors with statistics.variance

2021-09-08 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +26669 pull_request: https://github.com/python/cpython/pull/28248 ___ Python tracker ___ ___

[issue20499] Rounding errors with statistics.variance

2021-09-08 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 3c30805b58421a1e2aa613052b6d45899f9b1b5d by Raymond Hettinger in branch '3.10': [3.10] bpo-20499: Rounding error in statistics.pvariance (GH-28230) (GH-28248) https://github.com/python/cpython/commit/3c30805b58421a1e2aa613052b6d45899f9b1b5d

[issue20499] Rounding errors with statistics.variance

2021-09-08 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: steven.daprano -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue45146] Add a possibility for asyncio.Condition to determine the count of currently waiting consumers

2021-09-08 Thread Mykola Mokhnach
New submission from Mykola Mokhnach : Currently the asyncio.Condition class does not provide any properties that would allow to determine how many (if) consumers are waiting for the current condition. My scenario is the following: ``` ... FILE_STATS_CONDITIONS: Dict[str, asyncio.Condition] =

[issue45147] Type in "What's New In Python 3.10" documentation

2021-09-08 Thread Ming Hua
New submission from Ming Hua : It's just a small typo, but since the documentation recommends reporting to bug tracker, here it is. After downloading the 64-bit Windows Installer for 3.10.0 rc2 and successfully installing on my Windows 10, the "Python 3.10 Manuals" in start menu opens a (pre

[issue45147] Typo in "What's New In Python 3.10" documentation

2021-09-08 Thread Ming Hua
Change by Ming Hua : -- title: Type in "What's New In Python 3.10" documentation -> Typo in "What's New In Python 3.10" documentation ___ Python tracker ___ __

<    1   2