[issue37129] Add os.RWF_APPEND flag for os.pwritev

2020-05-22 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40738] backspace character \b not processed by IDLE

2020-05-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am considering terminal simulation as an option, but there is not exactly a standard to emulate. \b originally meant the same as the typewrite backspace and modern US computer keyboard left arrow key <- (move cursor left without erasing), which would

[issue40648] Test file mode on Windows

2020-05-22 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: File mode is not tested on Windows -> Test file mode on Windows ___ Python tracker ___ ___

[issue23188] Provide a C helper function to chain raised (but not yet caught) exceptions

2020-05-22 Thread Chris Jerdonek
Chris Jerdonek added the comment: > The documentation of PyErr_SetObject, PyErr_SetString et al should also be > updated to mention exception chaining. I just posted a PR to do the above: https://github.com/python/cpython/pull/20329 -- ___ Python

[issue23188] Provide a C helper function to chain raised (but not yet caught) exceptions

2020-05-22 Thread Chris Jerdonek
Change by Chris Jerdonek : -- keywords: +patch pull_requests: +19597 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/20329 ___ Python tracker

[issue40648] File mode is not tested on Windows

2020-05-22 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware versions: +Python 3.10 -Python 3.9 ___ Python tracker ___

[issue37129] Add os.RWF_APPEND flag for os.pwritev

2020-05-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: YoSTEALTH, are you both allowed and willing to do so? The patch is not completely trivial and you seem to have the needed knowledge. (I don't.) -- ___ Python tracker

[issue40640] Tutorial for Continue missing ... line

2020-05-22 Thread Florian Dahlitz
Florian Dahlitz added the comment: Please go head @docor...@sonic.net! It's a good one to get familiar with the process of contributing. Yes, PR stands for Pull Request. There is the devguide (https://devguide.python.org/), which documents how to contribute. In fact, the quick guide may be

[issue40670] supplying an empty string to timeit causes an IndentationError

2020-05-22 Thread Rahul Kumaresan
Change by Rahul Kumaresan : -- nosy: -rahul-kumi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40723] IDLE: make autocomplete test run without __main__.__file__

2020-05-22 Thread Florian Dahlitz
Change by Florian Dahlitz : -- keywords: +patch pull_requests: +19580 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/20311 ___ Python tracker

[issue40726] ast.Call end_lineno is defined and returns None

2020-05-22 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +BTaskaya ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40726] ast.Call end_lineno is defined and returns None

2020-05-22 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40690] unittest: if FunctionTestCase is imported, the loader loads "tests" from it

2020-05-22 Thread Vitalii
Vitalii added the comment: I don't think anyone is using FunctionTestCase -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue40297] test_socket.CANTest is broken at HEAD on master

2020-05-22 Thread Karl Ding
Karl Ding added the comment: Related: I've started a thread on Discourse [0] looking into why the tests don't seem to be run on the Buildbot cluster (and what it would take to enable them). Hopefully it gains some traction. [0]

[issue40721] PEP0435 (enums) -- there is no standard on enum item letters case

2020-05-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +barry, eli.bendersky, ethan.furman ___ Python tracker ___ ___ Python-bugs-list

[issue40723] IDLE: make autocomplete test run without __main__.__file__

2020-05-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Go ahead. Since the failure was user visible, there should be a note. For IDLE issues, idlelib/NEWS.txt also needs an addition, but not until ready to merge. So add a trial blurb or not as you wish. In any case, I need to fix the 3.8 version and perhaps

[issue38946] IDLE on macOS 10.15 Catalina does not open double-clicked files if app already launched

2020-05-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: When I say that I am 99% sure that this is not an IDLE issue at all, I mean that I am 99% sure that a non-IDLE tkinter program registered as a working double-click handler in Mohave will not be properly invoked in Catalina. A counter-example might suggest

[issue40725] Documentation: Benchmark table in "What's new in Python 3.9" has weird values

2020-05-22 Thread Jakub Beránek
New submission from Jakub Beránek : The "What's new in Python 3.9" page displays a table with microbenchmark results between different Python version (https://docs.python.org/3.9/whatsnew/3.9.html#optimizations). The values provided for Python 3.4 are suspicious, as they are several times

[issue40725] Documentation: Benchmark table in "What's new in Python 3.9" has weird values

2020-05-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40709] Malfunctioning of '\r'

2020-05-22 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 3.5, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___ ___

[issue40709] Malfunctioning of '\r'

2020-05-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Discussed on #23220. Note that 'sciencecomputer' is a different possible result if \r does not switch the simulated terminal from the normal insert mode to overwrite mode. I am considering terminal simulation as an option, but there is not exactly a

[issue40726] ast.Call end_lineno is defined and returns None

2020-05-22 Thread David Strobach
Change by David Strobach : -- nosy: +laloch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40721] PEP0435 (enums) -- there is no standard on enum item letters case

2020-05-22 Thread Florian Dahlitz
Florian Dahlitz added the comment: Should we add a note that there is no preferred way of naming enum members and provide a few examples or define some naming conventions? -- nosy: +DahlitzFlorian ___ Python tracker

[issue40690] unittest: if FunctionTestCase is imported, the loader loads "tests" from it

2020-05-22 Thread Chris Jerdonek
Chris Jerdonek added the comment: > then you will have 1 extra test in that module (the imported one), moreover, > that test will be broken. If this is true, then how is anyone able to be using FunctionTestCase in their tests today? Is the feature broken? -- nosy: +chris.jerdonek

[issue40727] SSLContext.load_verify_locations leaks memory on Linux in async code

2020-05-22 Thread Recursing
New submission from Recursing : Minimal code to reproduce: ``` import ssl import certifi import gc import asyncio ca_path = certifi.where() async def make_async_context() -> None: context = ssl.SSLContext(ssl.PROTOCOL_TLS) context.load_verify_locations(ca_path) await

[issue40726] ast.Call end_lineno is defined and returns None

2020-05-22 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: See here for the complete spec: https://docs.python.org/3.9/library/ast.html#abstract-grammar -- ___ Python tracker ___

[issue40726] ast.Call end_lineno is defined and returns None

2020-05-22 Thread Florian Dahlitz
Change by Florian Dahlitz : -- nosy: +DahlitzFlorian ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40727] SSLContext.load_verify_locations leaks memory on Linux in async code

2020-05-22 Thread Christian Heimes
Christian Heimes added the comment: Does it also leak without asyncio? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40723] IDLE: make autocomplete test run without __main__.__file__

2020-05-22 Thread Florian Dahlitz
Florian Dahlitz added the comment: I was able to reproduce the reported issue and the suggested fix worked fine. Is there anything else missing like documentation note? I would like to submit a PR for this @terry.reedy -- nosy: +DahlitzFlorian

[issue40726] ast.Call end_lineno is defined and returns None

2020-05-22 Thread gaborbernat
New submission from gaborbernat : Reporting an issue from https://github.com/xonsh/xonsh/issues/3581; boils down to, ast.Call used to not define end_lineno in 3.8: py -3.8 -c 'import ast; type(ast.Call().end_lineno)'

[issue40725] Documentation: Benchmark table in "What's new in Python 3.9" has weird values

2020-05-22 Thread Rahul Kumaresan
Change by Rahul Kumaresan : -- nosy: +rahul-kumi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40726] ast.Call end_lineno is defined and returns None

2020-05-22 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: This was done in b7e9525f9c7ef02a1d2ad8253afdeb733b0951d4 for issue 36287, all attribute should now be defined, even when they are not set. It looks like some parts of the ast module where not updated. If nobody works on this I will send a PR to update the

[issue38938] Possible performance improvement for heaqq.merge()

2020-05-22 Thread Dennis Sweeney
Dennis Sweeney added the comment: key_and_reverse.py employs the same strategy as winners.py, but uses lists as the nodes of the tree rather than using Node instances. It also eliminates the recursion of treeify, and adds (with neither much of a performance hit nor much code duplication)

[issue40724] Support buffer protocol with type specs

2020-05-22 Thread Stefan Behnel
New submission from Stefan Behnel : As far as I can see it in typeslots.h [1], the buffer protocol is still not supported when using type specs: /* Disabled, see #10181 */ #undef Py_bf_getbuffer #undef Py_bf_releasebuffer It seems that the discussion in issue 10181 did not lead anywhere at

[issue40711] Clearing the screen of IDLE interactive mode in Windows

2020-05-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.5 and 3.6 only get security fixes. #6143 proposes to add special mechanism to clear Shell. It is a low priority for me as I very seldom want to, or if a editor is open, one can close the shell and start over when running the editor file. Clear an editor

[issue40726] ast.Call end_lineno is defined and returns None

2020-05-22 Thread David Strobach
David Strobach added the comment: The issue is not limited to ast.Call. Other AST nodes are also affected (e.g. ast.BinOp). It's also not limited to end_lineno attribute. The same applies to end_col_offset. -- ___ Python tracker

[issue40640] Tutorial for Continue missing ... line

2020-05-22 Thread Rahul Kumaresan
Rahul Kumaresan added the comment: I think the ommission of secondary prompt(...) at the end of the loop in the code snippet doesn't affect what the example wanted to demonstrate. Even so, if this has to be fixed, this correction is to be done in versions 3.5 through 3.10 --

[issue40726] ast.Call end_lineno is defined and returns None

2020-05-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40579] Second argument to iterator.next not described

2020-05-22 Thread Rahul Kumaresan
Change by Rahul Kumaresan : -- nosy: +rahul-kumi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40726] ast.Call end_lineno is defined and returns None

2020-05-22 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: This is because the 'end_lineno' and 'end_col_offset' are declared as optional attributes in the ASDL spec. The commit 'b7e9525f9c7ef02a1d2ad8253afdeb733b0951d4' made all optional fields and attributes auto initalized with None. --

[issue40028] Math module method to find prime factors for non-negative int n

2020-05-22 Thread Mark Dickinson
Mark Dickinson added the comment: It seems we don't have a champion (someone willing to write a PEP) for this issue. I'm going to close. And if or when we do have such a champion, it probably makes more sense to re-open #37132, which is specifically about adding `imath`, or make a new

[issue40726] ast.Call end_lineno is defined and returns None

2020-05-22 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch nosy: +BTaskaya nosy_count: 5.0 -> 6.0 pull_requests: +19581 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20312 ___ Python tracker

[issue40727] SSLContext.load_verify_locations leaks memory on Linux in async code

2020-05-22 Thread Recursing
Recursing added the comment: > Without asyncio memory consumption stays low and stable for me Same for me > RSS jumps from 20 MB to about 1,600 MB. That is the memory consumption I observe as well, the issue is that it doesn't get freed on Linux > There is almost no increase when I run

[issue40728] UnboundLocalError as a result of except statement variable re-assignment

2020-05-22 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: >But then why I still can access this variable? Shouldn't it then be resulting in NameError as it's undefined variable at this point of time? I don't think so, this is the same as if you do: def f(exc): del exc return exc >>> f(3) Traceback

[issue40579] Second argument to iterator.next not described

2020-05-22 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue40568] Modify -c command-line option to accept multiple inputs

2020-05-22 Thread Florian Dahlitz
Change by Florian Dahlitz : -- nosy: +DahlitzFlorian ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40728] UnboundLocalError as a result of except statement variable re-assignment

2020-05-22 Thread Oleksandr Suvorov
New submission from Oleksandr Suvorov : def foo(exc): try: 1/0 except Exception as exc: ... finally: return exc foo(1) Executing the following code results in UnboundLocalError, while exc has been defined and passed to a function explicitly. I think this is

[issue40728] UnboundLocalError as a result of except statement variable re-assignment

2020-05-22 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > but if exc variable is only available in except block why then it shadows the function variable name? Because the except block does not create a new scope and therefore when you do 'except as x' it does an assignment to x in the same scope as the

[issue40728] UnboundLocalError as a result of except statement variable re-assignment

2020-05-22 Thread Oleksandr Suvorov
Oleksandr Suvorov added the comment: What I mean is why would it need to shadow function variable name if after except block it's always unbound, what is the reason and why this is expected? On Fri, May 22, 2020 at 1:19 PM Oleksandr Suvorov wrote: > > Oleksandr Suvorov added the comment: >

[issue40728] UnboundLocalError as a result of except statement variable re-assignment

2020-05-22 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > as it's either the variable should exist and have a value or it should be unknown and result in NameError at this point. One thing is the symbol and another thing is its value. The function is always aware of the existence of the symbol. For

[issue40640] Tutorial for Continue missing ... line

2020-05-22 Thread Florian Dahlitz
Florian Dahlitz added the comment: @docor...@sonic.net are you going to submit a PR for it or am I free to do it? -- nosy: +DahlitzFlorian ___ Python tracker ___

[issue40726] ast.Call end_lineno is defined and returns None

2020-05-22 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: > If nobody works on this I will send a PR to update the rest of AST later > today. :/ I'm terribly sorry for that, I just sent a PR without refreshing the tab. -- ___ Python tracker

[issue40728] UnboundLocalError as a result of except statement variable re-assignment

2020-05-22 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: This is expected behaviour and happens because we need to clean the exception variable outside the `except` block to avoid reference cycles. If you need the variable later, you need to do an assignment: try: 1/0 except Exception as exc:

[issue40280] Consider supporting emscripten/webassembly as a build target

2020-05-22 Thread Beuc
Beuc added the comment: I've been maintaining a Python Emscripten build for the Ren'Py (game engine) web port: https://github.com/python-emscripten/python https://renpy.beuc.net/ I recently tackled Python3 with a minimal/embeddable approach and checking the other ports already pointed in

[issue40028] Math module method to find prime factors for non-negative int n

2020-05-22 Thread Steven D'Aprano
Steven D'Aprano added the comment: On Fri, May 22, 2020 at 10:23:06AM +, Rémi Lapeyre wrote: > As you said the PEP would have to explain why not just use sympy and > honestly I don't have a very good argument there for now. Because sympy is a beast. It's an excellent beast, but its an

[issue40028] Math module method to find prime factors for non-negative int n

2020-05-22 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: Hi Mark Dickinson, I was waiting for everyone to have a chance to comment on this issue and read their reply before answering. It seems to me that there some core developers are mildly in favor of a new imath module and it's has been proposed on the bug

[issue40728] UnboundLocalError as a result of except statement variable re-assignment

2020-05-22 Thread Oleksandr Suvorov
Oleksandr Suvorov added the comment: but if exc variable is only available in except block why then it shadows the function variable name? On Fri, May 22, 2020 at 1:15 PM Christian Heimes wrote: > > Christian Heimes added the comment: > > UnboundLocalError is a subclass of NameError. You

[issue40727] SSLContext.load_verify_locations leaks memory on Linux in async code

2020-05-22 Thread Christian Heimes
Christian Heimes added the comment: Without asyncio memory consumption stays low and stable for me: $ ./python -m venv venv $ ./venv/bin/pip install psutil $ ./venv/bin/python >>> ssl.OPENSSL_VERSION 'OpenSSL 1.1.1g FIPS 21 Apr 2020' >>> import psutil, ssl, os >>> p =

[issue40723] IDLE: make autocomplete test run without __main__.__file__

2020-05-22 Thread Florian Dahlitz
Florian Dahlitz added the comment: I added a news entry to idlelib/NEWS.txt but don't know, where to add an additional note. The documentation of IDLE doesn't seem to be the right place. Should a note be added to Misc/NEWS.d/next or would it be redundant, because it is already added to

[issue40728] UnboundLocalError as a result of except statement variable re-assignment

2020-05-22 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: This is the equivalent construct that we compile it to: https://github.com/python/cpython/blob/master/Python/compile.c#L3102-L3110 -- ___ Python tracker

[issue40728] UnboundLocalError as a result of except statement variable re-assignment

2020-05-22 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +Mark.Shannon resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___

[issue40728] UnboundLocalError as a result of except statement variable re-assignment

2020-05-22 Thread Christian Heimes
Christian Heimes added the comment: UnboundLocalError is a subclass of NameError. You are getting a more specific error here. >>> UnboundLocalError.__mro__ (, , , , ) -- nosy: +christian.heimes ___ Python tracker

[issue40728] UnboundLocalError as a result of except statement variable re-assignment

2020-05-22 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40725] Documentation: Benchmark table in "What's new in Python 3.9" has weird values

2020-05-22 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: docs@python -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40727] SSLContext.load_verify_locations leaks memory on Linux in async code

2020-05-22 Thread Recursing
Recursing added the comment: Removing the `await asyncio.sleep(1)` removes the leak, while changing it to `await asyncio.sleep(0)` seems to keep it -- ___ Python tracker ___

[issue40727] SSLContext.load_verify_locations leaks memory on Linux in async code

2020-05-22 Thread Christian Heimes
Christian Heimes added the comment: When I run your example, RSS jumps from 20 MB to about 1,600 MB. There is almost no increase when I run the look several more times. >>> p.memory_info() pmem(rss=19902464, vms=240513024, shared=10014720, text=2125824, lib=0, data=9887744, dirty=0) >>>

[issue40728] UnboundLocalError as a result of except statement variable re-assignment

2020-05-22 Thread Oleksandr Suvorov
Oleksandr Suvorov added the comment: But then why I still can access this variable? Shouldn't it then be resulting in NameError as it's undefined variable at this point of time? I think UnboundError creates more confusing here, as it's either the variable should exist and have a value or it

[issue40217] The garbage collector doesn't take in account that objects of heap allocated types hold a strong reference to their type

2020-05-22 Thread Petr Viktorin
Petr Viktorin added the comment: Indeed, it seems my initial analysis was incorrect. I can't reproduce this outside of PySide. I'll close this bug and invesatigate more. Sorry for the noise. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue40452] Tkinter/IDLE: preserve clipboard on closure

2020-05-22 Thread E. Paine
E. Paine added the comment: Unfortunately, after lots of testing/experimenting, I cannot find a way to make the correct call/s at the correct time. The methods that call the exit handlers directly or through InvokeExitHandlers are Tcl_Exit, Tcl_Finalize & FinalizeThread (Tcl_FinalizeThread)

[issue40730] Odd sentence in 3.9 What's New

2020-05-22 Thread Eric V. Smith
New submission from Eric V. Smith : https://docs.python.org/3.9/whatsnew/3.9.html#optimizations has this sentence: "Unlike to the := operator this idiom does not leak a variable to the outer scope.". I'm not exactly sure what it should be. Probably the first "to" should be deleted?

[issue40730] Odd sentence in 3.9 What's New

2020-05-22 Thread miss-islington
miss-islington added the comment: New changeset 30d5a7364db9e65ccabbdce2c20b84fe2fb233fb by Florian Dahlitz in branch 'master': bpo-40730: Remove redundant 'to' (GH-20316) https://github.com/python/cpython/commit/30d5a7364db9e65ccabbdce2c20b84fe2fb233fb -- nosy: +miss-islington

[issue40728] UnboundLocalError as a result of except statement variable re-assignment

2020-05-22 Thread Mark Shannon
Mark Shannon added the comment: Oleksandr, Are you saying that the current behaviour is incorrect, in the sense that it disagrees with the documentation? Or are you saying that the current behaviour is undesirable? -- ___ Python tracker

[issue40730] Odd sentence in 3.9 What's New

2020-05-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +19587 pull_request: https://github.com/python/cpython/pull/20318 ___ Python tracker ___

[issue36395] Add deferred single-threaded/fake executor to concurrent.futures

2020-05-22 Thread Leonardo Santagada
Leonardo Santagada added the comment: I have a single example: Profiling. As most python profilers don't support threads or processes, it would be very convenient to have a in process executor in those cases. -- nosy: +santagada ___ Python

[issue40725] Documentation: Benchmark table in "What's new in Python 3.9" has weird values

2020-05-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 5c01ed6f9366bc6fd880c18e5a2929de72bc1be6 by Miss Islington (bot) in branch '3.9': bpo-40725: Restore missing column of digits (GH-20313) (GH-20315) https://github.com/python/cpython/commit/5c01ed6f9366bc6fd880c18e5a2929de72bc1be6

[issue40630] tracemalloc: allow resetting peak memory metric without touching other traces

2020-05-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8b62644831443e400215eeb822c921f4f06c8977 by Huon Wilson in branch 'master': bpo-40630: Add tracemalloc.reset_peak (GH-20102) https://github.com/python/cpython/commit/8b62644831443e400215eeb822c921f4f06c8977 --

[issue40725] Documentation: Benchmark table in "What's new in Python 3.9" has weird values

2020-05-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for the report. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue40731] CWI url's protocol on LICENSE file from http to https

2020-05-22 Thread Vinicius Henrique Silva Bastos
New submission from Vinicius Henrique Silva Bastos : CWI url's protocol on LICENSE file from http to https from: http://www.cwi.nl to: https://www.cwi.nl Obs.: Learning about pull requests and how it works. -- assignee: docs@python components: Documentation files: LICENSE hgrepos:

[issue40729] Update the list of auto-generated files in .gitattributes

2020-05-22 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: BTaskaya priority: normal severity: normal status: open title: Update the list of auto-generated files in .gitattributes ___ Python tracker

[issue40725] Documentation: Benchmark table in "What's new in Python 3.9" has weird values

2020-05-22 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +19584 pull_request: https://github.com/python/cpython/pull/20315 ___ Python tracker

[issue40730] Odd sentence in 3.9 What's New

2020-05-22 Thread Florian Dahlitz
Florian Dahlitz added the comment: Hi @eric.smith. I'm sure the first "to" can be removed. It sounds better this way. Am I free to open a PR? -- nosy: +DahlitzFlorian ___ Python tracker

[issue40730] Odd sentence in 3.9 What's New

2020-05-22 Thread Florian Dahlitz
Change by Florian Dahlitz : -- keywords: +patch pull_requests: +19585 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20316 ___ Python tracker ___

[issue40730] Odd sentence in 3.9 What's New

2020-05-22 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset 983b17ca1319adf9f06d5f2779a44450241eba54 by Miss Islington (bot) in branch '3.9': bpo-40730: Remove redundant 'to' (GH-20316) (GH-20318) https://github.com/python/cpython/commit/983b17ca1319adf9f06d5f2779a44450241eba54 --

[issue40725] Documentation: Benchmark table in "What's new in Python 3.9" has weird values

2020-05-22 Thread Raymond Hettinger
Change by Raymond Hettinger : -- keywords: +patch pull_requests: +19582 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20313 ___ Python tracker

[issue40730] Odd sentence in 3.9 What's New

2020-05-22 Thread Eric V. Smith
Eric V. Smith added the comment: Yes, please go ahead. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40729] Update the list of auto-generated files in .gitattributes

2020-05-22 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +19583 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20314 ___ Python tracker ___

[issue40630] tracemalloc: allow resetting peak memory metric without touching other traces

2020-05-22 Thread STINNER Victor
STINNER Victor added the comment: Thanks Huon Wilson! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 -Python 3.9 ___ Python tracker

[issue40731] CWI url's protocol on LICENSE file from http to https

2020-05-22 Thread Vinicius Henrique Silva Bastos
Change by Vinicius Henrique Silva Bastos : -- keywords: +patch pull_requests: +19586 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20317 ___ Python tracker

[issue26415] Excessive peak memory consumption by the Python parser

2020-05-22 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Closing as we have a new parser in 3.9 and the current one will be removed in Python 3.10. -- resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue40552] Enhance for loop and copy example in tutorial

2020-05-22 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: New changeset 6fad3e6b49f6a9f8b8a6635c41371e4451479f86 by Antoine in branch 'master': bpo-40552 Add 'users' variable in code sample (tutorial 4.2). (GH-19992) https://github.com/python/cpython/commit/6fad3e6b49f6a9f8b8a6635c41371e4451479f86 --

[issue40217] The garbage collector doesn't take in account that objects of heap allocated types hold a strong reference to their type

2020-05-22 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > If you add a Py_INCREF before, the crash disappears. To be clear: the other crash is still in the reproduced: the one that Petr describes in his comment. In PR 20264 I have prepared the changes that I proposed previously (including the revert of

[issue32398] OSX C++ linking workaround in distutils breaks other packages

2020-05-22 Thread Cheryl Sabella
Cheryl Sabella added the comment: I'm going to close this as the OP hasn't responded in over 2 years and Ronald was -1 on the solution. If the OP or someone else experiences this same problem, either this issue or a new one can be opened to address it. Thank you! -- nosy:

[issue40552] Enhance for loop and copy example in tutorial

2020-05-22 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: Thanks for the PR Antoine Wecxsteen. I will close this. -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue38946] IDLE on macOS 10.15 Catalina does not open double-clicked files if app already launched

2020-05-22 Thread Ned Deily
Ned Deily added the comment: Irv, thanks for the feedback and the attempt. I think we had a little bit of a misunderstanding on our end so I don't think we need you to try anything more for this problem. Terry, I apologize if I left the impression that there was some doubt about whether

[issue40439] Error in an external reference

2020-05-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +19596 pull_request: https://github.com/python/cpython/pull/20328 ___ Python tracker ___

[issue40439] Error in an external reference

2020-05-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +19595 pull_request: https://github.com/python/cpython/pull/20327 ___ Python tracker ___

[issue40439] Error in an external reference

2020-05-22 Thread miss-islington
miss-islington added the comment: New changeset af23f0d3cf19343512e6ca1fe1d46a5dbe425719 by Matteo Bertucci in branch 'master': bpo-40439: Update broken link in lexical analysis docs (GH-20184) https://github.com/python/cpython/commit/af23f0d3cf19343512e6ca1fe1d46a5dbe425719 --

[issue40439] Error in an external reference

2020-05-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +19594 pull_request: https://github.com/python/cpython/pull/20326 ___ Python tracker ___

[issue40733] Make IDLE doc more visible, mention in main python docs page

2020-05-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree that finding the online doc is slight pain. It is not listed in the Modules index because idlelib, not IDLE, is the stdlib module, and does not have a doc page. I may add one or, if possible, make the page serve as one, as part of this issue.

[issue40439] Error in an external reference

2020-05-22 Thread Cheryl Sabella
Cheryl Sabella added the comment: @audpa31, thank you for the report and @Akarys, thank you for the pull request. -- nosy: +cheryl.sabella resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

  1   2   >