[issue36871] Misleading error from unittest.mock's assert_has_calls

2019-08-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Closing this as fixed since all PRs are merged. Thank you all :) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37950] ast.dump() with incomplete node

2019-08-29 Thread miss-islington
miss-islington added the comment: New changeset d3d2650cf84e6be0f84d6d0d538999d1e0cfdd43 by Miss Islington (bot) in branch '3.7': bpo-37950: Fix ast.dump() when call with incompletely initialized node. (GH-15510) https://github.com/python/cpython/commit/d3d2650cf84e6be0f84d6d0d538999d1e0cfdd

[issue37974] zip() docstring should say 'iterator' instead of 'object with __next__()'

2019-08-29 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +rhettinger type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue37974] zip() docstring should say 'iterator' instead of 'object with __next__()'

2019-08-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: This looks fine to me. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___

[issue35946] Ambiguous documentation for assert_called_with()

2019-08-29 Thread Ned Deily
Ned Deily added the comment: Thanks for the report and thanks for the PR! Merged for 3.8.0b4. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.9 -Python 3.7 ___ Python tracker

[issue36871] Misleading error from unittest.mock's assert_has_calls

2019-08-29 Thread Ned Deily
Change by Ned Deily : -- versions: +Python 3.9 -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue37372] datetime.time unpickling fails in case of python2 pickle with seconds>=24

2019-08-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 122376df550b71dd3bec0513c7483cc1714212fa by Serhiy Storchaka (Justin Blanchard) in branch 'master': bpo-37372: Fix error unpickling datetime.time objects from Python 2 with seconds>=24. (GH-14307) https://github.com/python/cpython/commit/1223

[issue37372] datetime.time unpickling fails in case of python2 pickle with seconds>=24

2019-08-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +15260 pull_request: https://github.com/python/cpython/pull/15584 ___ Python tracker ___ __

[issue37372] datetime.time unpickling fails in case of python2 pickle with seconds>=24

2019-08-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +15259 pull_request: https://github.com/python/cpython/pull/15583 ___ Python tracker ___ __

[issue23674] super() documentation isn't very clear

2019-08-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +15261 pull_request: https://github.com/python/cpython/pull/15585 ___ Python tracker ___ __

[issue23674] super() documentation isn't very clear

2019-08-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset cd81f0500fe98c7f4cddb06530fffabd14f036b8 by Raymond Hettinger in branch 'master': bpo-23674: Clarify ambiguities in super() docs (#15564) https://github.com/python/cpython/commit/cd81f0500fe98c7f4cddb06530fffabd14f036b8 -- ___

[issue37950] ast.dump() with incomplete node

2019-08-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 097eae5b9b4801d34bb900c01b5e6a80f028bc12 by Serhiy Storchaka in branch '3.8': [3.8] bpo-37950: Fix ast.dump() when call with incompletely initialized node. (GH-15510) (GH-15582) https://github.com/python/cpython/commit/097eae5b9b4801d34bb900c

[issue23674] super() documentation isn't very clear

2019-08-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +15262 pull_request: https://github.com/python/cpython/pull/15586 ___ Python tracker ___ __

[issue37372] datetime.time unpickling fails in case of python2 pickle with seconds>=24

2019-08-29 Thread miss-islington
miss-islington added the comment: New changeset d1d42bf4a404f092fe90fe8984481c507a64ef0a by Miss Islington (bot) in branch '3.8': bpo-37372: Fix error unpickling datetime.time objects from Python 2 with seconds>=24. (GH-14307) https://github.com/python/cpython/commit/d1d42bf4a404f092fe90fe89

[issue23674] super() documentation isn't very clear

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

[issue37176] super() docs don't say what super() does

2019-08-29 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-

[issue37372] datetime.time unpickling fails in case of python2 pickle with seconds>=24

2019-08-29 Thread miss-islington
miss-islington added the comment: New changeset 6b50c10f675a9e8438024c5fcc592b0d38d8c62d by Miss Islington (bot) in branch '3.7': bpo-37372: Fix error unpickling datetime.time objects from Python 2 with seconds>=24. (GH-14307) https://github.com/python/cpython/commit/6b50c10f675a9e8438024c5f

[issue16468] argparse only supports iterable choices

2019-08-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +15263 pull_request: https://github.com/python/cpython/pull/15587 ___ Python tracker ___ __

[issue16468] argparse only supports iterable choices

2019-08-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 84125fed2a45a9e454d7e870d8bbaf6ece3d41e8 by Raymond Hettinger in branch 'master': bpo-16468: Clarify which objects can be passed to "choices" in argparse (GH-15566) https://github.com/python/cpython/commit/84125fed2a45a9e454d7e870d8bbaf6ece3

[issue16468] argparse only supports iterable choices

2019-08-29 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8, Python 3.9 ___ Python tracker ___ _

[issue23674] super() documentation isn't very clear

2019-08-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 43b7ed77a8224c378b436ad3385733454198be41 by Raymond Hettinger (Miss Islington (bot)) in branch '3.8': bpo-23674: Clarify ambiguities in super() docs (GH-15564) (GH-15586) https://github.com/python/cpython/commit/43b7ed77a8224c378b436ad338573

[issue34410] itertools.tee not thread-safe; can segfault interpreter when wrapped iterator releases GIL

2019-08-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The documentation changes should be backported. And I think we need a change like PR 9254, but with raising a RuntimeError instead of adding the value to the queue, to be applied in older versions. It may be better to apply it even to the developed version

[issue37372] datetime.time unpickling fails in case of python2 pickle with seconds>=24

2019-08-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your contribution Justin! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue37960] repr() of buffered and text streams silences too many exceptions

2019-08-29 Thread miss-islington
miss-islington added the comment: New changeset 102130a63c93fde7bcabbbf4fae1ebce3981 by Miss Islington (bot) in branch '3.8': bpo-37960: Silence only necessary errors in repr() of buffered and text streams. (GH-15543) https://github.com/python/cpython/commit/102130a63c93fde7bcabbbf4fae1e

[issue37950] ast.dump() with incomplete node

2019-08-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37960] repr() of buffered and text streams silences too many exceptions

2019-08-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.7 ___ Python tracker ___ _

[issue16468] argparse only supports iterable choices

2019-08-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 0d45d50e421b46b56195821580c3760b43813106 by Raymond Hettinger (Miss Islington (bot)) in branch '3.8': bpo-16468: Clarify which objects can be passed to "choices" in argparse (GH-15566) (GH-15587) https://github.com/python/cpython/commit/0d45

[issue10978] Add optional argument to Semaphore.release for releasing multiple threads

2019-08-29 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +15264 pull_request: https://github.com/python/cpython/pull/15588 ___ Python tracker ___ ___

[issue34410] itertools.tee not thread-safe; can segfault interpreter when wrapped iterator releases GIL

2019-08-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: Go ahead and take this in any direction you want. -- ___ Python tracker ___ ___ Python-bugs-li

[issue36743] Docs: Descript __get__ signature defined differently across the docs

2019-08-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 0dac68f1e593c11612ed54af9edb865d398f3b05 by Raymond Hettinger in branch 'master': bpo-36743: __get__ is sometimes called without the owner argument (#12992) https://github.com/python/cpython/commit/0dac68f1e593c11612ed54af9edb865d398f3b05 -

[issue36743] Docs: Descript __get__ signature defined differently across the docs

2019-08-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +15265 pull_request: https://github.com/python/cpython/pull/15589 ___ Python tracker ___ __

[issue36743] Docs: Descript __get__ signature defined differently across the docs

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

[issue37973] improve docstrings of sys.float_info

2019-08-29 Thread Mark Dickinson
Mark Dickinson added the comment: Unhelpful indeed. +1 to updating those docstrings to match the details at docs.python.org. -- nosy: +mark.dickinson ___ Python tracker ___ _

[issue12077] Harmonizing descriptor protocol documentation

2019-08-29 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue10978] Add optional argument to Semaphore.release for releasing multiple threads

2019-08-29 Thread Raymond Hettinger
Change by Raymond Hettinger : -- versions: +Python 3.9 -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue10978] Add optional argument to Semaphore.release for releasing multiple threads

2019-08-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 35f6301d68bdb0517be284421782d64407dfe72c by Raymond Hettinger in branch 'master': bpo-10978: Semaphores can release multiple threads at a time (GH-15588) https://github.com/python/cpython/commit/35f6301d68bdb0517be284421782d64407dfe72c

[issue10978] Add optional argument to Semaphore.release for releasing multiple threads

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

[issue37975] Typo in the documentation by C-API DateTime Objects¶

2019-08-29 Thread Aleksey
New submission from Aleksey : In the documentation by Python 3.5 C-API DateTime Objects (https://docs.python.org/3.5/c-api/datetime.html) method PyDateTime_DELTA_GET_MICROSECOND has not "S" in the end of method name. But in the header file "datetime.h", this method has "S" and so named PyDate

[issue8425] a -= b should be fast if a is a small set and b is a large set

2019-08-29 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +15266 pull_request: https://github.com/python/cpython/pull/15590 ___ Python tracker ___

[issue36743] Docs: Descript __get__ signature defined differently across the docs

2019-08-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset c71ae1a45bd6e6d0f5aebc470b35f5a7dc0d8078 by Raymond Hettinger (Miss Islington (bot)) in branch '3.8': bpo-36743: __get__ is sometimes called without the owner argument (GH-12992) (GH-15589) https://github.com/python/cpython/commit/c71ae1a45b

[issue37975] Typo in the documentation by C-API DateTime Objects¶

2019-08-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. This was fixed in 82cd3cede804ca694fb0657fd985d5eff84a414f (https://bugs.python.org/issue31678). It was not merged to 3.5 at that time. Now 3.5 only accepts security fixes so I would propose closing this as duplicate of issue

[issue24726] OrderedDict has strange behaviour when dict.__setitem__ is used.

2019-08-29 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> wont fix stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37587] JSON loads performance improvement for long strings

2019-08-29 Thread Inada Naoki
Change by Inada Naoki : -- pull_requests: +15267 pull_request: https://github.com/python/cpython/pull/15591 ___ Python tracker ___ _

[issue37587] JSON loads performance improvement for long strings

2019-08-29 Thread Inada Naoki
Inada Naoki added the comment: @mpaolini I don't have enough time in these weeks. Would you try PR-15591? I confirmed up to 4x speedup. But I'm afraid about there is performance regression in simple cases. -- ___ Python tracker

[issue37971] Wrong trace with multiple decorators (linenumber wrong in frame)

2019-08-29 Thread Joran van Apeldoorn
Joran van Apeldoorn added the comment: Digging around with the disassembler shows that this originates in the bytecode. Code: import dis src = """ def printingdec(f): raise Exception() return f def dummydec(f): return f @printingdec @dummydec def foo(): pass """ cod

[issue37976] zip() shadows TypeError raised in __iter__() of source iterable

2019-08-29 Thread Sergey Fedoseev
New submission from Sergey Fedoseev : zip() shadows TypeError raised in __iter__() of source iterable: In [21]: class Iterable: ...: def __init__(self, n): ...: self.n = n ...: def __iter__(self): ...: return iter(range(self.n)) ...: In [22]: zi

[issue37976] zip() shadows TypeError raised in __iter__() of source iterable

2019-08-29 Thread Sergey Fedoseev
Change by Sergey Fedoseev : -- keywords: +patch pull_requests: +15268 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15592 ___ Python tracker ___

[issue35889] sqlite3.Row doesn't have useful repr

2019-08-29 Thread Vlad Shcherbina
Vlad Shcherbina added the comment: 1. "This patch adds too many lines of code and not enough value." If the maintainers judge it so, I have nothing to say. You have the responsibility to keep the codebase relatively simple. 2a. "Existing programs made with the assumption that repr(row) is sho

[issue37954] Multiple tests are leaking references in AMD64 Windows8.1 Refleaks 3.x and x86 Gentoo Refleaks 3.x buildbots

2019-08-29 Thread Nick Coghlan
Nick Coghlan added the comment: Thank you Pablo! Even having seen your fix, it still took me a couple of rescans of the original PR to figure out exactly how I'd broken it in the first place (refactoring to call an existing function without noticing that the replaced code included an extra

[issue37947] symtable_handle_namedexpr does not adjust correctly the recursion level

2019-08-29 Thread Nick Coghlan
Change by Nick Coghlan : -- pull_requests: +15269 pull_request: https://github.com/python/cpython/pull/15593 ___ Python tracker ___

[issue37947] symtable_handle_namedexpr does not adjust correctly the recursion level

2019-08-29 Thread Nick Coghlan
Nick Coghlan added the comment: Reviewing the PR post-merge, I'm pretty sure this has introduced a double-decrement bug due to the original code being hard to read (the error cases did the decrement inside the helper function, while the success case did it in the calling function). https://

[issue37947] symtable_handle_namedexpr does not adjust correctly the recursion level

2019-08-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Thank you very much Nick for correcting this! -- ___ Python tracker ___ ___ Python-bugs-li

[issue37976] zip() shadows TypeError raised in __iter__() of source iterable

2019-08-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I am not even sure this is a bug. -- nosy: +rhettinger, serhiy.storchaka ___ Python tracker ___ ___

[issue37947] symtable_handle_namedexpr does not adjust correctly the recursion level

2019-08-29 Thread Nick Coghlan
Nick Coghlan added the comment: Reviewing all the code that touches recursion_depth (both in the symtable and in the thread state), I'm not seeing any sanity checks that ensure our increments and decrements *balance*. So I'm going to add one to PySymTable_BuildObject. -- __

[issue37971] Wrong trace with multiple decorators (linenumber wrong in frame)

2019-08-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It makes sense. If write decorators as explicit function calls: decorated = ( deco1( deco2( original ) ) ) The line number of decorator itself will be used for CALL_FUNCTION: 2 0 LOAD_NAME0 (d

[issue36833] Add tests for Datetime C API Macros

2019-08-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2c5fb1711818926862d0d7b2e5effcaa5a5eb002 by Victor Stinner (Joannah Nanjekye) in branch 'master': bpo-36833: Add tests for Datetime C API Macros (GH-14842) https://github.com/python/cpython/commit/2c5fb1711818926862d0d7b2e5effcaa5a5eb002 -

[issue36833] Add tests for Datetime C API Macros

2019-08-29 Thread STINNER Victor
STINNER Victor added the comment: Thanks Joannah Nanjekye, well done ;-) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37878] Sub-Interpreters : Document PyThreadState_DeleteCurrent()

2019-08-29 Thread STINNER Victor
STINNER Victor added the comment: I did a GitHub code search on "PyThreadState_DeleteCurrent" in C code: https://github.com/search?l=C&q=PyThreadState_DeleteCurrent&type=Code I looked at the first 6 pages: I only found copies of the Python source code, but no *call* to this function. It seems

[issue37976] zip() shadows TypeError raised in __iter__() of source iterable

2019-08-29 Thread Sergey Fedoseev
Sergey Fedoseev added the comment: Maybe it's not clear from description, but traceback only show the line with zip(), so it doesn't help at localizing the source of exception at all. You only see that 'argument #N must support iteration', but that argument has __iter__() i.e. it supports i

[issue37966] is_normalized is much slower at "no" than the standard's algorithm

2019-08-29 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue37976] zip() shadows TypeError raised in __iter__() of source iterable

2019-08-29 Thread Sergey Fedoseev
Sergey Fedoseev added the comment: Also using this example class: In [5]: iter(Iterable('one')) --- TypeError Traceback (most recent call last) in () > 1 iter(Iterable('one')) in __it

[issue37947] symtable_handle_namedexpr does not adjust correctly the recursion level

2019-08-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +15270 pull_request: https://github.com/python/cpython/pull/15594 ___ Python tracker ___ __

[issue37947] symtable_handle_namedexpr does not adjust correctly the recursion level

2019-08-29 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset 06145230c833c3db5dab8858e11bcd550a37c57f by Nick Coghlan in branch 'master': bpo-37947: Avoid double-decrement in symtable recursion counting (GH-15593) https://github.com/python/cpython/commit/06145230c833c3db5dab8858e11bcd550a37c57f --

[issue37977] Big red pickle security warning should stress the point even more

2019-08-29 Thread Daniel Pope
New submission from Daniel Pope : CVEs related to unpickling untrusted data continue to come up a few times a year: https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=pickle This is certainly the tip of the iceberg. In a previous role I noted several internal services that could be compromised

[issue37977] Big red pickle security warning should stress the point even more

2019-08-29 Thread Daniel Pope
Change by Daniel Pope : -- keywords: +patch pull_requests: +15271 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15595 ___ Python tracker ___

[issue32847] Add DirectoryNotEmptyError subclass of OSError

2019-08-29 Thread STINNER Victor
STINNER Victor added the comment: > Maybe we should add one? I don't think that we need to add an *builtin* exception for every single possible errno. On Linux with Python 3.7, I count 133 different error numbers: >>> len([name for name in dir(errno) if name.startswith("E")]) 133 PEP 3151 e

[issue37947] symtable_handle_namedexpr does not adjust correctly the recursion level

2019-08-29 Thread miss-islington
miss-islington added the comment: New changeset 384c6d72d9a12764282ccc2d3935232a34a7cfbe by Miss Islington (bot) in branch '3.8': bpo-37947: Avoid double-decrement in symtable recursion counting (GH-15593) https://github.com/python/cpython/commit/384c6d72d9a12764282ccc2d3935232a34a7cfbe ---

[issue37978] Importing an unused package causes the function of another package to malfunction

2019-08-29 Thread JemyTan
New submission from JemyTan : After commenting out the first line of code, the result of the program is different. I stepped in to debug(the program runs to line 30), and found that when it hit the code"from numpy.dual import inv as func" It seems to use different inv().

[issue37978] Importing an unused package causes the function of another package to malfunction

2019-08-29 Thread Christian Heimes
Christian Heimes added the comment: Please report the bug with sklearn and numpy. I assume that the import of sklearn has a side-effect on numpy. -- nosy: +christian.heimes resolution: -> third party stage: -> resolved status: open -> closed ___

[issue37971] Wrong trace with multiple decorators (linenumber wrong in frame)

2019-08-29 Thread Joran van Apeldoorn
Joran van Apeldoorn added the comment: After compiling 3.7 and 3.8 as well it seems that the change happened between those versions. I was a able to patch compiler.c for 3.9 to make it work (first time changing cpython internals, so no guarantees). Patch is attached. This trips up one of th

[issue32847] Add DirectoryNotEmptyError subclass of OSError

2019-08-29 Thread Eryk Sun
Eryk Sun added the comment: > I have no opinion about "errno 39 (Directory not empty)". > Is it a "common" error? Python's code base never specifically handles ENOTEMPTY. On the other hand, in terms of basic operations on files and directories, I think implementing DirectoryNotEmptyError fo

[issue37979] Document an alternative to ISO 8601 parsing

2019-08-29 Thread Paul Ganssle
New submission from Paul Ganssle : Per Antoine's comment in the discourse thread ( https://discuss.python.org/t/parse-z-timezone-suffix-in-datetime/2220/6 ): > ... the doc isn’t helpful, as it doesn’t give any alternative. I think we can link to dateutil.parser.isoparse as an alternative. I'm

[issue32847] Add DirectoryNotEmptyError subclass of OSError

2019-08-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: According to POSIX, the only system calls that can fail with ENOTEMPTY are rmdir(), rename() and unlinkat(). -- ___ Python tracker ___ _

[issue37979] Document an alternative to ISO 8601 parsing

2019-08-29 Thread Paul Ganssle
Change by Paul Ganssle : -- keywords: +patch pull_requests: +15272 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/15596 ___ Python tracker

[issue37979] Document an alternative to ISO 8601 parsing

2019-08-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +15273 pull_request: https://github.com/python/cpython/pull/15597 ___ Python tracker ___ __

[issue37979] Document an alternative to ISO 8601 parsing

2019-08-29 Thread miss-islington
miss-islington added the comment: New changeset 59725f3badb3028636c8906ecac4ceb0a37f3982 by Miss Islington (bot) (Paul Ganssle) in branch 'master': bpo-37979: Add alternative to fromisoformat in documentation (GH-15596) https://github.com/python/cpython/commit/59725f3badb3028636c8906ecac4ceb0

[issue37034] Argument Clinic omits name of keyword-only parameter on _PyArg_BadArgument() call

2019-08-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 4901fe274bc82b95dc89bcb3de8802a3dfedab32 by Serhiy Storchaka (Rémi Lapeyre) in branch 'master': bpo-37034: Display argument name on errors with keyword arguments with Argument Clinic. (GH-13593) https://github.com/python/cpython/commit/4901fe2

[issue37979] Document an alternative to ISO 8601 parsing

2019-08-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +15274 pull_request: https://github.com/python/cpython/pull/15598 ___ Python tracker ___ __

[issue37979] Document an alternative to ISO 8601 parsing

2019-08-29 Thread miss-islington
miss-islington added the comment: New changeset 8ba8cc51a9899594f7fe66fe790973d83fd3d657 by Miss Islington (bot) in branch '3.7': bpo-37979: Add alternative to fromisoformat in documentation (GH-15596) https://github.com/python/cpython/commit/8ba8cc51a9899594f7fe66fe790973d83fd3d657 ---

[issue37979] Document an alternative to ISO 8601 parsing

2019-08-29 Thread miss-islington
miss-islington added the comment: New changeset 9db66a2b5ab6a302bc46421712f13b0afd94654b by Miss Islington (bot) in branch '3.8': bpo-37979: Add alternative to fromisoformat in documentation (GH-15596) https://github.com/python/cpython/commit/9db66a2b5ab6a302bc46421712f13b0afd94654b ---

[issue37979] Document an alternative to ISO 8601 parsing

2019-08-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks for contributing this, Paul! -- nosy: +pitrou resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue37034] Argument Clinic omits name of keyword-only parameter on _PyArg_BadArgument() call

2019-08-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +15275 pull_request: https://github.com/python/cpython/pull/15599 ___ Python tracker ___

[issue37034] Argument Clinic omits name of keyword-only parameter on _PyArg_BadArgument() call

2019-08-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 96631dcb11c2786f470d4586bf23ecca14361506 by Serhiy Storchaka in branch '3.8': [3.8] bpo-37034: Display argument name on errors with keyword arguments with Argument Clinic. (GH-13593). (GH-15599) https://github.com/python/cpython/commit/96631d

[issue37971] Wrong trace with multiple decorators (linenumber wrong in frame)

2019-08-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your patch Joran. We now use GitHub, do you mind to create a pull request? You need to use 4-spaces indentation instead of tabs. Would be nice if you have signed the PSF contributor agreement https://www.python.org/psf/contrib/contrib-form/ .

[issue37034] Argument Clinic omits name of keyword-only parameter on _PyArg_BadArgument() call

2019-08-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Rémi! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue8425] a -= b should be fast if a is a small set and b is a large set

2019-08-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 88ea166dadb8aeb34541a0a464662dea222629e5 by Raymond Hettinger in branch 'master': bpo-8425: Fast path for set inplace difference when the second set is large (GH-15590) https://github.com/python/cpython/commit/88ea166dadb8aeb34541a0a464662de

[issue8425] a -= b should be fast if a is a small set and b is a large set

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

[issue37798] Add C fastpath for statistics.NormalDist.inv_cdf()

2019-08-29 Thread Dong-hee Na
Dong-hee Na added the comment: @rhettinger If you are okay, Can you review PR 15546, please? IMHO, this issue should be fixed ASAP... Thanks again -- ___ Python tracker ___ __

[issue37933] faulthandler causes segfaults

2019-08-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset e278335a6eb049e6028db9a8dcb8baac6cb365ee by Victor Stinner (Thomas A Caswell) in branch 'master': bpo-37933: Fix faulthandler.cancel_dump_traceback_later() (GH-15440) https://github.com/python/cpython/commit/e278335a6eb049e6028db9a8dcb8baac6cb36

[issue37933] faulthandler causes segfaults

2019-08-29 Thread STINNER Victor
STINNER Victor added the comment: Thanks Thomas. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue37970] urllib.parse docstrings incomplete

2019-08-29 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: > Also, the note about not splitting netloc is misleading; the components > of > netloc (username, password, hostname, and port) are available as >extra > attributes of the returned SplitResult. Also, the docs in urllib.parse.rst should also be updated to

[issue32847] Add DirectoryNotEmptyError subclass of OSError

2019-08-29 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: +nanjekyejoannah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue37034] Argument Clinic omits name of keyword-only parameter on _PyArg_BadArgument() call

2019-08-29 Thread STINNER Victor
STINNER Victor added the comment: Thanks, that's a great enhancement! -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue34651] Disallow fork in a subinterpreter.

2019-08-29 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37980] regression when passing numpy bools to sorted(..., reverse=r)

2019-08-29 Thread Thomas Caswell
New submission from Thomas Caswell : In python37, numpy1.17 the following runs without warning. import numpy as np sorted([1, 2], reverse=np.bool_(True)) with python38 this emits a DeprecationWarning: In future, it will be an error for 'np.bool_' scalars to be interpreted as an index I bi

[issue37980] regression when passing numpy bools to sorted(..., reverse=r)

2019-08-29 Thread Thomas Caswell
Change by Thomas Caswell : Added file: https://bugs.python.org/file48569/python_bisect.sh ___ Python tracker ___ ___ Python-bugs-list mailin

[issue37980] regression when passing numpy bools to sorted(..., reverse=r)

2019-08-29 Thread Thomas Caswell
Change by Thomas Caswell : Added file: https://bugs.python.org/file48570/test.py ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue37973] improve docstrings of sys.float_info

2019-08-29 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: See also #37970 -- nosy: +nanjekyejoannah ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue37981] Can't install Python 3.7.4 x64 on Win 8.1

2019-08-29 Thread Alexander Podgórski
New submission from Alexander Podgórski : Have double "No Python 3.7 installation detected" error -- components: Installation files: python_installation_log.txt messages: 350802 nosy: Alexander Podgórski priority: normal severity: normal status: open title: Can't install Python 3.7.4 x64

[issue37980] regression when passing numpy bools to sorted(..., reverse=r)

2019-08-29 Thread Thomas Caswell
Thomas Caswell added the comment: xref numpy issue https://github.com/numpy/numpy/issues/14397 -- ___ Python tracker ___ ___ Python

  1   2   >