[issue31938] Convert selectmodule.c to Argument Clinic

2020-06-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There is no need to change default-value signatures. The root problem is that select.epoll.register does not have the __module__ attribute. Well, seems that all method objects do not have the __module__ attribute. There are two solutions: 1. Make inspect

[issue41069] Use non-ascii file names in tests by default

2020-06-23 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- dependencies: +Audit does not work with non-ASCII data on non-UTF-8 locale ___ Python tracker ___ __

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset 281cce1106568ef9fec17e3c72d289416fac02a5 by Victor Stinner in branch 'master': bpo-40521: Make MemoryError free list per interpreter (GH-21086) https://github.com/python/cpython/commit/281cce1106568ef9fec17e3c72d289416fac02a5 -- _

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20263 pull_request: https://github.com/python/cpython/pull/21096 ___ Python tracker ___ __

[issue31938] Convert selectmodule.c to Argument Clinic

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset d051801052211b533c46a593b1c1bccf649a171c by Anthony Sottile in branch 'master': bpo-31938: Fix default-value signatures of several functions in the select module (GH-21066) https://github.com/python/cpython/commit/d051801052211b533c46a593b1c1bc

[issue31938] Convert selectmodule.c to Argument Clinic

2020-06-23 Thread Anthony Sottile
Change by Anthony Sottile : -- pull_requests: +20264 pull_request: https://github.com/python/cpython/pull/21097 ___ Python tracker ___ _

[issue31938] Convert selectmodule.c to Argument Clinic

2020-06-23 Thread Anthony Sottile
Change by Anthony Sottile : -- pull_requests: +20265, 20266, 20267 pull_request: https://github.com/python/cpython/pull/21098 ___ Python tracker ___ ___

[issue31938] Convert selectmodule.c to Argument Clinic

2020-06-23 Thread Anthony Sottile
Change by Anthony Sottile : -- pull_requests: +20265 pull_request: https://github.com/python/cpython/pull/21098 ___ Python tracker ___ _

[issue31938] Convert selectmodule.c to Argument Clinic

2020-06-23 Thread Anthony Sottile
Change by Anthony Sottile : -- pull_requests: +20265, 20266 pull_request: https://github.com/python/cpython/pull/21098 ___ Python tracker ___ __

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset f363d0a6e9cfa50677a6de203735fbc0d06c2f49 by Victor Stinner in branch 'master': bpo-40521: Make empty Unicode string per interpreter (GH-21096) https://github.com/python/cpython/commit/f363d0a6e9cfa50677a6de203735fbc0d06c2f49 -- __

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20268 pull_request: https://github.com/python/cpython/pull/21099 ___ Python tracker ___ __

[issue31938] Convert selectmodule.c to Argument Clinic

2020-06-23 Thread miss-islington
miss-islington added the comment: New changeset 60cbdc81d1bd5c175ff890ee4cfdc85c10090b75 by Anthony Sottile in branch '3.8': [3.8] bpo-31938: Fix default-value signatures of several functions in the select module (GH-21066) (GH-21098) https://github.com/python/cpython/commit/60cbdc81d1bd5c17

[issue31938] Convert selectmodule.c to Argument Clinic

2020-06-23 Thread miss-islington
miss-islington added the comment: New changeset 48fc35ada7c4237f11bb9638387bfe5b4cebfb12 by Anthony Sottile in branch '3.9': [3.9] bpo-31938: Fix default-value signatures of several functions in the select module (GH-21066) (GH-21097) https://github.com/python/cpython/commit/48fc35ada7c4237f

[issue31938] Convert selectmodule.c to Argument Clinic

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: > There is no need to change default-value signatures. The root problem is that > select.epoll.register does not have the __module__ attribute. Oh, I saw your comment after merging Anthony's PR. At least, I confirm that it fix the reported issue: "./python -

[issue41095] inspect.signature() doesn't parse __text_signature__ containing a newline character

2020-06-23 Thread STINNER Victor
New submission from STINNER Victor : $ ./python Python 3.10.0a0 (heads/unicode_latin1:40855c7064, Jun 24 2020, 00:20:07) >>> import select >>> select.epoll.register.__text_signature__ '($self, /, fd,\n eventmask=select.EPOLLIN | select.EPOLLPRI | select.EPOLLOUT)' >>> import inspect >

[issue41095] inspect.signature() doesn't parse __text_signature__ containing a newline character

2020-06-23 Thread Anthony Sottile
Change by Anthony Sottile : -- keywords: +patch nosy: +Anthony Sottile nosy_count: 3.0 -> 4.0 pull_requests: +20269 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21066 ___ Python tracker

[issue31938] Convert selectmodule.c to Argument Clinic

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: pydoc doesn't show the eventmask parameter whereas it is in select.epoll.register.__text_signature__. I created bpo-41095: "inspect.signature() doesn't parse __text_signature__ containing a newline character". -- ___

[issue31938] Convert selectmodule.c to Argument Clinic

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: Thanks Anthony Sottile for fixing pydoc select! The fix is now in 3.8, 3.9 and master branches. -- ___ Python tracker ___ __

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset 90ed8a6d71b2d6e0853c14e8e6f85fe730a4329a by Victor Stinner in branch 'master': bpo-40521: Optimize PyUnicode_New(0, maxchar) (GH-21099) https://github.com/python/cpython/commit/90ed8a6d71b2d6e0853c14e8e6f85fe730a4329a -- _

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20270 pull_request: https://github.com/python/cpython/pull/21101 ___ Python tracker ___ __

[issue41094] Audit does not work with non-ASCII data on non-UTF-8 locale

2020-06-23 Thread Steve Dower
Steve Dower added the comment: SGTM. Thanks for the PR! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue41021] ctypes callback with structure crashes in Python 3.8 on Windows x86

2020-06-23 Thread Eryk Sun
Change by Eryk Sun : -- nosy: +vinay.sajip versions: +Python 3.10, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue41070] Simplify pyshellext.dll build

2020-06-23 Thread Steve Dower
Steve Dower added the comment: New changeset bbf36e8903f8e86dcad8131c818e122537c30f9e by Nikita Nemkin in branch 'master': bpo-41070: Simplify pyshellext.dll build (GH-21037) https://github.com/python/cpython/commit/bbf36e8903f8e86dcad8131c818e122537c30f9e -- __

[issue41070] Simplify pyshellext.dll build

2020-06-23 Thread Steve Dower
Steve Dower added the comment: Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue39891] [difflib] Improve get_close_matches() to better match when casing of words are different

2020-06-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: I concur with the other respondents that this is best left to the application code. Thank you for the suggestion, but I'll mark this as closed. Don't be deterred from making other suggestions :-) -- resolution: -> rejected stage: patch review

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2f9ada96e0d420fed0d09a032b37197f08ef167a by Victor Stinner in branch 'master': bpo-40521: Make Unicode latin1 singletons per interpreter (GH-21101) https://github.com/python/cpython/commit/2f9ada96e0d420fed0d09a032b37197f08ef167a -- _

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20271 pull_request: https://github.com/python/cpython/pull/21103 ___ Python tracker ___ __

[issue41095] inspect.signature() doesn't parse __text_signature__ containing a newline character

2020-06-23 Thread Anthony Sottile
Anthony Sottile added the comment: Looking into this, it appears to be due to the default value and not due to the newline I've stumbled upon two simplifications to the routines in inspect but not a fix for this 1. https://github.com/python/cpython/pull/21100 2. https://github.com/python/cp

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset cde283d16d87024f455e45c6f1b4e4f7d8905836 by Victor Stinner in branch 'master': bpo-40521: Fix _PyContext_Fini() (GH-21103) https://github.com/python/cpython/commit/cde283d16d87024f455e45c6f1b4e4f7d8905836 -- __

[issue40707] Popen.communicate documentation does not say how to get the return code

2020-06-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Will merge after CI passes the addition of 'the'. -- versions: -Python 3.7 ___ Python tracker ___ __

[issue24905] Allow incremental I/O to blobs in sqlite3

2020-06-23 Thread Emmanuel Arias
Emmanuel Arias added the comment: Hi everybody, I let a comment on github. I was asking about if are there some plans with this PR? Was open 3 years ago and there are not updating Cheers -- nosy: +eamanu ___ Python tracker

[issue41096] Need command to exit PDB interactive shell

2020-06-23 Thread Kerrick Staley
New submission from Kerrick Staley : In PDB, when you use "interact" to enter an interactive shell, the only way to exit that shell is to send an end-of-transmission (Ctrl+D) character. In some environments, such as Jupyter, this is awkward to do. Here is a StackOverflow post where a user enc

[issue28806] Improve the netrc library

2020-06-23 Thread Emmanuel Arias
Emmanuel Arias added the comment: Hi! I let a comment on github. The PR was open 3 years agot, so I was wandering to know if are there some plans with that PR? Are you interested on the PR? Cheers, -- nosy: +eamanu ___ Python tracker

[issue40707] Popen.communicate documentation does not say how to get the return code

2020-06-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset bf2e515fa43406d4bd9c4c53ecc9364034d8f9f6 by Gareth Rees in branch 'master': bpo-40707: Document that Popen.communicate sets the returncode attribute (GH-20283) https://github.com/python/cpython/commit/bf2e515fa43406d4bd9c4c53ecc9364034d8f9f6

[issue40707] Popen.communicate documentation does not say how to get the return code

2020-06-23 Thread miss-islington
Change by miss-islington : -- pull_requests: +20273 pull_request: https://github.com/python/cpython/pull/21106 ___ Python tracker ___ __

[issue40707] Popen.communicate documentation does not say how to get the return code

2020-06-23 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +20272 pull_request: https://github.com/python/cpython/pull/21105 ___ Python tracker _

[issue40707] Popen.communicate documentation does not say how to get the return code

2020-06-23 Thread miss-islington
miss-islington added the comment: New changeset 02d5c74f89709672baa866fcdd04278e59328351 by Miss Islington (bot) in branch '3.9': bpo-40707: Document that Popen.communicate sets the returncode attribute (GH-20283) https://github.com/python/cpython/commit/02d5c74f89709672baa866fcdd04278e59328

[issue40707] Popen.communicate documentation does not say how to get the return code

2020-06-23 Thread miss-islington
miss-islington added the comment: New changeset 4f5dde463b588fc97cacb4a1905eb422b16daa37 by Miss Islington (bot) in branch '3.8': bpo-40707: Document that Popen.communicate sets the returncode attribute (GH-20283) https://github.com/python/cpython/commit/4f5dde463b588fc97cacb4a1905eb422b16da

[issue40707] Popen.communicate documentation does not say how to get the return code

2020-06-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for the fix. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue41094] Audit does not work with non-ASCII data on non-UTF-8 locale

2020-06-23 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +20274 pull_request: https://github.com/python/cpython/pull/21107 ___ Python tracker _

[issue41094] Audit does not work with non-ASCII data on non-UTF-8 locale

2020-06-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 6c6810d98979add7a89391c3c38990d0859f7a29 by Serhiy Storchaka in branch 'master': bpo-41094: Fix decoding errors with audit when open files. (GH-21095) https://github.com/python/cpython/commit/6c6810d98979add7a89391c3c38990d0859f7a29

[issue41094] Audit does not work with non-ASCII data on non-UTF-8 locale

2020-06-23 Thread miss-islington
Change by miss-islington : -- pull_requests: +20275 pull_request: https://github.com/python/cpython/pull/21108 ___ Python tracker ___ __

[issue41096] Need command to exit PDB interactive shell

2020-06-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Both "exit" and "quit" and even just "q" quit the PDB interactive shell. -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue41094] Audit does not work with non-ASCII data on non-UTF-8 locale

2020-06-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Oh, I made a mistake in tests (they do not test with non-ASCII data), but fixed tests fail on Windows. -- ___ Python tracker ___ _

[issue41094] Audit does not work with non-ASCII data on non-UTF-8 locale

2020-06-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The problem is that they pass successfully on my local Windows, but fail on CI. -- ___ Python tracker ___ _

<    1   2