[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 ___ _

[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 ___ _

[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 miss-islington
Change by miss-islington : -- pull_requests: +20275 pull_request: https://github.com/python/cpython/pull/21108 ___ 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

[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 ___ __

[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 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
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
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 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

[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

[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

[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

[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 ___ __

[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 -- __

[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
Change by STINNER Victor : -- pull_requests: +20271 pull_request: https://github.com/python/cpython/pull/21103 ___ 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 2f9ada96e0d420fed0d09a032b37197f08ef167a by Victor Stinner in branch 'master': bpo-40521: Make Unicode latin1 singletons per interpreter (GH-21101) https://github.com/python/cpython/commit/2f9ada96e0d420fed0d09a032b37197f08ef167a -- _

[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

[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 ___ _

[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 -- __

[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

[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

[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 ___ __

[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 -- _

[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 ___ __

[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". -- ___

[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 >

[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 -

[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 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

[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 ___ __

[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 -- __

[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 ___ __

[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, 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: +20264 pull_request: https://github.com/python/cpython/pull/21097 ___ 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

[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 ___ __

[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 -- _

[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 ___ __

[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

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

2020-06-23 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +20262 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21095 ___ Python tracker ___

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

2020-06-23 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : There are issues with using PySys_Audit() with non-ASCII data on non-UTF-8 locale. One example is with PYTHONSTARTUP. In pymain_run_startup() in Modules/main.c the value of the PYTHONSTARTUP environment variable is passed to PySys_Audit() as UTF-8 encod

[issue41093] BaseServer's server_forever() shutdown immediately when calling shutdown()

2020-06-23 Thread Tony
Change by Tony : -- pull_requests: +20260 pull_request: https://github.com/python/cpython/pull/21094 ___ Python tracker ___ ___ Pyth

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

2020-06-23 Thread Gareth Rees
Gareth Rees added the comment: Is there anything I can do to move this forward? -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue41093] BaseServer's server_forever() shutdown immediately when calling shutdown()

2020-06-23 Thread Tony
Change by Tony : -- keywords: +patch pull_requests: +20259 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21093 ___ Python tracker ___ ___

[issue39960] Using typename.__setattr__ in extension type with Py_TPFLAGS_HEAPTYPE is broken (hackcheck too eager?)

2020-06-23 Thread Stefan Behnel
Change by Stefan Behnel : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue39960] Using typename.__setattr__ in extension type with Py_TPFLAGS_HEAPTYPE is broken (hackcheck too eager?)

2020-06-23 Thread Stefan Behnel
Stefan Behnel added the comment: I chose to go through the MRO, which takes multiple inheritance into account. -- stage: patch review -> ___ Python tracker ___ __

[issue39960] Using typename.__setattr__ in extension type with Py_TPFLAGS_HEAPTYPE is broken (hackcheck too eager?)

2020-06-23 Thread Stefan Behnel
Change by Stefan Behnel : -- keywords: +patch pull_requests: +20258 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21092 ___ Python tracker ___ __

[issue41054] Simplify resource compilation on Windows

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

[issue41039] Simplify python3.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 ___ _

[issue41039] Simplify python3.dll build

2020-06-23 Thread Steve Dower
Steve Dower added the comment: New changeset 2c6e4e91c5a4d3f25908108f4ed32aba936df70c by Nikita Nemkin in branch 'master': bpo-41039: Simplify python3.dll build (GH-20989) https://github.com/python/cpython/commit/2c6e4e91c5a4d3f25908108f4ed32aba936df70c -- _

[issue41089] Filters and other issues in Visual Studio projects

2020-06-23 Thread Steve Dower
Steve Dower added the comment: New changeset 47cd931a61146793faa44e01516bf07b0c23380c by Steve Dower in branch '3.9': bpo-41089: Filters and other issues in Visual Studio projects (GH-21070) https://github.com/python/cpython/commit/47cd931a61146793faa44e01516bf07b0c23380c -- __

[issue41054] Simplify resource compilation on Windows

2020-06-23 Thread miss-islington
miss-islington added the comment: New changeset cebd43fbfd25a80404728f73edc301f9558d9410 by Miss Islington (bot) in branch '3.9': bpo-41054: Simplify resource compilation on Windows (GH-21004) https://github.com/python/cpython/commit/cebd43fbfd25a80404728f73edc301f9558d9410 --

[issue41054] Simplify resource compilation on Windows

2020-06-23 Thread Steve Dower
Steve Dower added the comment: New changeset 4efc3360c9a83d5891f27ed67b4f0ab7275d2ab4 by Nikita Nemkin in branch 'master': bpo-41054: Simplify resource compilation on Windows (GH-21004) https://github.com/python/cpython/commit/4efc3360c9a83d5891f27ed67b4f0ab7275d2ab4 -- ___

[issue41054] Simplify resource compilation on Windows

2020-06-23 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +20257 pull_request: https://github.com/python/cpython/pull/21091 ___ Python tracker _

[issue41093] BaseServer's server_forever() shutdown immediately when calling shutdown()

2020-06-23 Thread Tony
Tony added the comment: By the way I have to ask, if I want this feature to be merged (this is my first PR) should I make a PR to 3.6/3.7/3.8/3.9 and master? Or should I create a PR to master only? thanks -- ___ Python tracker

[issue41093] BaseServer's server_forever() shutdown immediately when calling shutdown()

2020-06-23 Thread Tony
New submission from Tony : Currently calling BaseServer's shutdown() function will not make serve_forever() return immediately from it's select(). I suggest adding a new function called server_shutdown() that will make serve_forever() shutdown immediately. Then in TCPServer(BaseServer) all w

[issue41089] Filters and other issues in Visual Studio projects

2020-06-23 Thread Steve Dower
Steve Dower added the comment: Thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue41089] Filters and other issues in Visual Studio projects

2020-06-23 Thread Steve Dower
Change by Steve Dower : -- assignee: -> steve.dower resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.9 ___ Python tracker ___ _

[issue41089] Filters and other issues in Visual Studio projects

2020-06-23 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +20256 pull_request: https://github.com/python/cpython/pull/21090 ___ Python tracker ___ _

[issue41089] Filters and other issues in Visual Studio projects

2020-06-23 Thread Steve Dower
Steve Dower added the comment: New changeset fe2a48c605d98ac02ab2b9593cb87ce364aeae2d by Nikita Nemkin in branch 'master': bpo-41089: Filters and other issues in Visual Studio projects (GH-21070) https://github.com/python/cpython/commit/fe2a48c605d98ac02ab2b9593cb87ce364aeae2d -- _

[issue41072] Python 3.8.3 passively introduced open source software contains CVE vulnerability

2020-06-23 Thread Steve Dower
Steve Dower added the comment: It depends on your application. Almost all of these are exposed directly, so you will be vulnerable if your application uses them in the way described by the CVE. I'm not familiar enough with the vulnerabilities in question to tell you for sure, and I doubt an

[issue39699] Some CIs silence potentially useful output from make

2020-06-23 Thread Steve Dower
Steve Dower added the comment: New changeset 6eab52ffadb2836adb59d0578c84d247f05e19b1 by Ammar Askar in branch '3.8': bpo-39699: Remove accidentally committed test change (GH-21089) https://github.com/python/cpython/commit/6eab52ffadb2836adb59d0578c84d247f05e19b1 -- ___

[issue41087] Argparse int / float default

2020-06-23 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Pyth

[issue41087] Argparse int / float default

2020-06-23 Thread Bryan
Bryan added the comment: So you agree, Python lacks common sense... On Wed, 24 Jun 2020 at 03:32, Vedran Čačić wrote: > > Vedran Čačić added the comment: > > Yes, it is common sense in statically typed languages. Python is not > statically typed. Many other things are also "common sense" in

[issue39699] Some CIs silence potentially useful output from make

2020-06-23 Thread Ammar Askar
Ammar Askar added the comment: Opened up a quick pull request to fix it: https://github.com/python/cpython/pull/21089 -- ___ Python tracker ___ __

[issue39699] Some CIs silence potentially useful output from make

2020-06-23 Thread Ammar Askar
Ammar Askar added the comment: Thanks for finding this Mark, looks like this was accidentally introduced in the 3.8 backport for testing the changes: https://github.com/python/cpython/pull/18670 The master (6aa1f1ecf7142a4117eedb8c570f30da1598616c) and 3.7 (3bf9de2fb954bd1131f4f41517d7d5c31

[issue39699] Some CIs silence potentially useful output from make

2020-06-23 Thread Ammar Askar
Change by Ammar Askar : -- pull_requests: +20255 pull_request: https://github.com/python/cpython/pull/21089 ___ Python tracker ___ _

[issue41087] Argparse int / float default

2020-06-23 Thread Vedran Čačić
Vedran Čačić added the comment: Yes, it is common sense in statically typed languages. Python is not statically typed. Many other things are also "common sense" in various paradigms, which doesn't mean they should also be in Python. -- nosy: +veky

[issue41083] plistlib can't decode date from year 0

2020-06-23 Thread Michael Shields
Michael Shields added the comment: You're correct that there is no year 0, but as you see Apple does use -12-30T00:00:00Z in their plists. I did not set that in order to test plistlib; it's what I found on my system. If it's a goal that plistlib be able to parse system-generated plists a

[issue41087] Argparse int / float default

2020-06-23 Thread Bryan
Bryan added the comment: This sort of ambiguity is why I like strongly typed languages and languages where timtoady is not seen often. I can guarantee you, that if argparse was implemented in Pascal (and copt most probably has been), that if type was specified and a default given, that the def

[issue41092] Report actual size from 'os.path.getsize'

2020-06-23 Thread Stephen Finucane
Change by Stephen Finucane : -- keywords: +patch pull_requests: +20254 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21088 ___ Python tracker ___

[issue41092] Report actual size from 'os.path.getsize'

2020-06-23 Thread Stephen Finucane
New submission from Stephen Finucane : The 'os.path.getsize' API returns the apparent size of the file at *path*, that is, the number of bytes the file reports itself as consuming. However, it's often useful to get the actual size of the file, or the size of file on disk. It would be helpful

[issue41087] Argparse int / float default

2020-06-23 Thread paul j3
paul j3 added the comment: No, parameters like `type` let the developer control what his users provides. Violating that produces a runtime error, and exit. But in general argparse does not try to control values that the developer uses. There's plenty of time during development to catch err

[issue25257] In subject line email library inserts unwanted space after a thousands comma in a number

2020-06-23 Thread SilentGhost
Change by SilentGhost : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-06-23 Thread hai shi
Change by hai shi : -- pull_requests: +20253 pull_request: https://github.com/python/cpython/pull/21087 ___ 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 f9bd05e83e32bece49de5af0c9a232325c57648a by Raymond Hettinger in branch 'master': bpo-40521: Empty frozenset is no longer a singleton (GH-21085) https://github.com/python/cpython/commit/f9bd05e83e32bece49de5af0c9a232325c57648a --

[issue25257] In subject line email library inserts unwanted space after a thousands comma in a number

2020-06-23 Thread Zackery Spytz
Zackery Spytz added the comment: Python 2 is EOL, so I think this issue should be closed. -- nosy: +ZackerySpytz ___ Python tracker ___ ___

[issue39960] Using typename.__setattr__ in extension type with Py_TPFLAGS_HEAPTYPE is broken (hackcheck too eager?)

2020-06-23 Thread Petr Viktorin
Petr Viktorin added the comment: > do we still only support single inheritance at the C level? Not any more. Heap types may have multiple bases, and they can be created at the C level (since Python 3.2, PEP 384). > So, I think we should do something like walking up the hierarchy to find the

[issue41091] Remove recommendation in curses module documentation to initialize LC_ALL and encode strings

2020-06-23 Thread Manuel Jacob
New submission from Manuel Jacob : The documentation for the curses module (https://docs.python.org/3.9/library/curses.html) has the following note: > Since version 5.4, the ncurses library decides how to interpret non-ASCII > data using the nl_langinfo function. That means that you have to ca

[issue36921] Deprecate yield from and @coroutine in asyncio

2020-06-23 Thread Josh Rosenberg
Josh Rosenberg added the comment: Was this supposed to deprecate using types.coroutine as a decorator as well? Because that's not clearly documented, which means people can still use it to make generator-based coroutines without async def. -- nosy: +josh.r __

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

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

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

2020-06-23 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +20251 pull_request: https://github.com/python/cpython/pull/21085 ___ Python tracker ___ ___

[issue41084] Signify that a SyntaxError comes from an fstring in the error message

2020-06-23 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- keywords: +patch pull_requests: +20250 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21084 ___ Python tracker _

[issue41004] Hash collisions in IPv4Interface and IPv6Interface

2020-06-23 Thread Beuc
Change by Beuc : -- nosy: +Beuc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailm

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

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset 522691c46e2ae51faaad5bbbce7d959dd61770df by Victor Stinner in branch 'master': bpo-40521: Cleanup code of free lists (GH-21082) https://github.com/python/cpython/commit/522691c46e2ae51faaad5bbbce7d959dd61770df -- _

[issue41085] [easy C] array.array.index() method downcasts Py_ssize_t to long

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: Thanks William Pickard for the bug report and the fix! -- components: +Library (Lib) -Tests, Windows versions: +Python 3.8, Python 3.9 ___ Python tracker ___

[issue40133] Provide additional matchers for unittest.mock

2020-06-23 Thread Chris Withers
Chris Withers added the comment: Okay, but to be up-front about this, I don't see any place in the stdlib for any more "helpers" that could more easily be maintained on pypi and wouldn't incur further support burden for anyone looking after this part of the standard library. The only "helpe

[issue41065] Use zip-strict in zoneinfo

2020-06-23 Thread Paul Ganssle
Paul Ganssle added the comment: New changeset bc43f6e21244f31d25896875430174cd4ac7604c by Ram Rachum in branch 'master': bpo-41065: Use zip-strict in zoneinfo (GH-21031) https://github.com/python/cpython/commit/bc43f6e21244f31d25896875430174cd4ac7604c -- ___

[issue41056] minor NULL pointer and sign issues reported by Coverity

2020-06-23 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle nosy_count: 3.0 -> 4.0 pull_requests: +20249 pull_request: https://github.com/python/cpython/pull/21083 ___ Python tracker ___

[issue39699] Some CIs silence potentially useful output from make

2020-06-23 Thread Mark Dickinson
Mark Dickinson added the comment: The text "TEST CHANGE TO BE UNDONE" is currently visible here: https://docs.python.org/3/whatsnew/3.0.html It was introduced in commit 343bc06d8047e4a2e675394528dbb5155be1b3b5. Should this test change have been undone? -- nosy: +mark.dickinson

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

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

[issue40773] DOC: Fix rendering for 'retval' on the pdb page

2020-06-23 Thread Chenyoo Hao
Change by Chenyoo Hao : -- pull_requests: +20247 pull_request: https://github.com/python/cpython/pull/21081 ___ Python tracker ___ _

[issue36710] Pass _PyRuntimeState as an argument rather than using the _PyRuntime global variable

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset 61b649296110dcb38e67db382a7e8427c5eb75d0 by Victor Stinner in branch 'master': bpo-36710: Pass tstate explicitly in abstract.c (GH-21075) https://github.com/python/cpython/commit/61b649296110dcb38e67db382a7e8427c5eb75d0 -- ___

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

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

  1   2   >