[issue28002] ast.unparse can't roundtrip some f-strings

2020-08-02 Thread Shantanu
Shantanu added the comment: Just bumping this issue, as per dev guide, since https://github.com/python/cpython/pull/19612 has been ready for about two months. Would be grateful for review :-) -- ___ Python tracker

[issue41260] datetime: strftime method takes different keyword argument: fmt (pure) or format (C)

2020-08-02 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch nosy: +ZackerySpytz nosy_count: 3.0 -> 4.0 pull_requests: +20856 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/21712 ___ Python tracker

Re: (Issue resolved!) Issue with Python module downloads from Library for a beginner Python coder.

2020-08-02 Thread Sarvesh Poddar via Python-list
Hi terry, I am so happy to mention that your suggestion worked! I moved the file from Tkinter to Lib and I am suddenly able to import the file.  Thanks you so much @Bob, @Arjun, @Cameron for your suggestions. I can finally move forward. I hope to contribute to this community in future after

Re: Issue with Python module downloads from Library for a beginner Python coder.

2020-08-02 Thread Sarvesh Poddar via Python-list
Hello Dennis, Sorry for my copy-paste error and thanks for highlighting the same. I will make sure that from next time I will maintain the line breaks. I tried opening it in CMD and it did open with the skewed triangle figure although I am still not able to use it in my IDLE environment.

[issue29269] test_socket failing in solaris

2020-08-02 Thread Brian Vandenberg
Brian Vandenberg added the comment: Solaris will be around for at least another 10-15 years. The least you could do is look into it and offer some speculations. -- ___ Python tracker

[issue41449] An article on Python 3 stdout and stderr output buffering

2020-08-02 Thread Anatoli Babenia
Anatoli Babenia added the comment: I didn't reopen the issue explicitly. Just pressed the submit button again when the notification about edited bug appeared. -- ___ Python tracker

[issue41449] An article on Python 3 stdout and stderr output buffering

2020-08-02 Thread Anatoli Babenia
Anatoli Babenia added the comment: The point is that without a clear description of buffering in Python 3, it is impossible to understand what goes when Python is wrapped by Docker, supervisord, redirected to file etc. -- ___ Python tracker

[issue41449] An article on Python 3 stdout and stderr output buffering

2020-08-02 Thread Guido van Rossum
Guido van Rossum added the comment: I don't know anything about Docker, so I can't help you there. Please don't reopen the issue again. -- resolution: -> wont fix status: open -> closed ___ Python tracker

[issue41449] An article on Python 3 stdout and stderr output buffering

2020-08-02 Thread Anatoli Babenia
Anatoli Babenia added the comment: To avoid too much outside reference, the commit message I am unsure of is this. > Run Python 3 in unbuffered mode to see lines in `docker logs` as soon as they > appear. When Python 3 is not attached to a terminal, it turns on the > buffering, like when

[issue41425] [tkinter] "Coupling Widget Variables" example missing code

2020-08-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: -patch resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue41210] Docs: More description(warning) about LZMA1 + BCJ with FORMAT_RAW

2020-08-02 Thread Hiroshi Miura
Change by Hiroshi Miura : -- title: Docs: More description of reason about LZMA1 data handling with FORMAT_ALONE -> Docs: More description(warning) about LZMA1 + BCJ with FORMAT_RAW ___ Python tracker

[issue41425] [tkinter] "Coupling Widget Variables" example missing code

2020-08-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 3c4fc864ce931db90214c54d742062a80dbef7c4 by Miss Islington (bot) in branch '3.9': bpo-41425: Make tkinter doc example runnable (GH-21706) https://github.com/python/cpython/commit/3c4fc864ce931db90214c54d742062a80dbef7c4 --

[issue41425] [tkinter] "Coupling Widget Variables" example missing code

2020-08-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 4bc8445c392e22fb926eeea50d3e943b6241affa by Miss Islington (bot) in branch '3.8': bpo-41425: Make tkinter doc example runnable (GH-21706) https://github.com/python/cpython/commit/4bc8445c392e22fb926eeea50d3e943b6241affa --

[issue41449] An article on Python 3 stdout and stderr output buffering

2020-08-02 Thread Guido van Rossum
Guido van Rossum added the comment: I don't think that waiting another six months is going to make this happen either. Maybe you can petition realpython.com to publish something about this. Honestly it sounds like this ties too many different topics together to easily fit in the library

[issue41210] Docs: More description of reason about LZMA1 data handling with FORMAT_ALONE

2020-08-02 Thread Hiroshi Miura
Hiroshi Miura added the comment: Here is a draft of additional text Usage of :const:`FILTER_LZMA1` with :const:`FORMAT_RAW` is not recommended. Because it may produce a wrong output in a certain condition, decompressing a combination of :const:`FILTER_LZMA1` and BCJ filters in

[issue41449] An article on Python 3 stdout and stderr output buffering

2020-08-02 Thread Anatoli Babenia
Anatoli Babenia added the comment: Not sure I can volunteer - need to find a sustenance ASAP. But given that nothing moved in this direction over the past 6 months, another week spent not writing this stuff won't change anything. In any case it would start with the following problem - "Logs

[issue41460] Translation Error in in Functional Programming HOWTO page

2020-08-02 Thread 李冰
New submission from 李冰 : There seems a translation error in Python Documentation in Functional Programming HOWTO page. The page's English version's url is https://docs.python.org/3/howto/functional.html And the Japanese version's url is https://docs.python.org/ja/3/howto/functional.html. In

[issue41425] [tkinter] "Coupling Widget Variables" example missing code

2020-08-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +20855 pull_request: https://github.com/python/cpython/pull/21711 ___ Python tracker ___

[issue41425] [tkinter] "Coupling Widget Variables" example missing code

2020-08-02 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +20854 pull_request: https://github.com/python/cpython/pull/21710 ___ Python tracker

[issue41425] [tkinter] "Coupling Widget Variables" example missing code

2020-08-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset c36dbac588e1d99975f285a874bb20e9f5040af4 by Ankit Chandawala in branch 'master': bpo-41425: Make tkinter doc example runnable (GH-21706) https://github.com/python/cpython/commit/c36dbac588e1d99975f285a874bb20e9f5040af4 --

[issue41424] [tkinter] Grammatical error in "Packer" docs

2020-08-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: -patch resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue41424] [tkinter] Grammatical error in "Packer" docs

2020-08-02 Thread miss-islington
miss-islington added the comment: New changeset 45d37cbb04279a52c63dd180aacda7d35e02a0ef by Miss Islington (bot) in branch '3.8': bpo-41424: Remove extra words in Tkinter-Packer documentation (GH-21707) https://github.com/python/cpython/commit/45d37cbb04279a52c63dd180aacda7d35e02a0ef

[issue41424] [tkinter] Grammatical error in "Packer" docs

2020-08-02 Thread miss-islington
miss-islington added the comment: New changeset 905c7de6e4bbccf8c3dfa593fa287aecac497472 by Miss Islington (bot) in branch '3.9': bpo-41424: Remove extra words in Tkinter-Packer documentation (GH-21707) https://github.com/python/cpython/commit/905c7de6e4bbccf8c3dfa593fa287aecac497472

[issue41424] [tkinter] Grammatical error in "Packer" docs

2020-08-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset ecaf949cc487887883c14dff7a96e09ac9404994 by Nathan M in branch 'master': bpo-41424: Remove extra words in Tkinter-Packer documentation (GH-21707) https://github.com/python/cpython/commit/ecaf949cc487887883c14dff7a96e09ac9404994 --

[issue41424] [tkinter] Grammatical error in "Packer" docs

2020-08-02 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +20852 pull_request: https://github.com/python/cpython/pull/21708 ___ Python tracker

[issue41424] [tkinter] Grammatical error in "Packer" docs

2020-08-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +20853 pull_request: https://github.com/python/cpython/pull/21709 ___ Python tracker ___

Python running in the Command Prompt Window questions

2020-08-02 Thread Steve
When I double click on a .py file, it executes at the command prompt with black background and small white font. Is there python code to change the font size and background color? === FootNote: Would it be ironic if Popeye’s chicken was fried in Olive Oil?

[issue41424] [tkinter] Grammatical error in "Packer" docs

2020-08-02 Thread Nathan Maynes
Change by Nathan Maynes : -- keywords: +patch pull_requests: +20850 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21707 ___ Python tracker ___

[issue41447] Resource Tracker in Multiprocessing Shared Memory not working correctly

2020-08-02 Thread Guido van Rossum
Guido van Rossum added the comment: Looks like a duplicate of https://bugs.python.org/issue38119 -- nosy: +gvanrossum resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker

[issue41449] An article on Python 3 stdout and stderr output buffering

2020-08-02 Thread Guido van Rossum
Guido van Rossum added the comment: Maybe you’ll get some explanation or pointers on python-list. Or were you volunteering to write something? -- nosy: +gvanrossum ___ Python tracker

[issue41425] [tkinter] "Coupling Widget Variables" example missing code

2020-08-02 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 3.0 -> 4.0 pull_requests: +20849 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21706 ___ Python tracker

[issue41398] cgi module, parse_multipart fails

2020-08-02 Thread Guido van Rossum
Guido van Rossum added the comment: So per the stackoverflow explanation you shouldn’t do that? Should we close this? -- nosy: +gvanrossum ___ Python tracker ___

[issue41335] free(): invalid pointer in list_ass_item() in Python 3.7.3

2020-08-02 Thread Howard A. Landman
Howard A. Landman added the comment: Made some progress. By running it under gdb and breaking in malloc_printerr(), I got a better stack trace: Breakpoint 1, malloc_printerr (str=0x76e028f8 "free(): invalid pointer") at malloc.c:5341 5341malloc.c: No such file or directory. (gdb) bt

[issue40978] Document that typing.SupportsXXX protocols are runtime checkable

2020-08-02 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks, I was looking for this. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

Re: questions re: calendar module

2020-08-02 Thread Richard Damon
On 8/2/20 5:38 PM, o1bigtenor wrote: > On Sun, Aug 2, 2020 at 2:08 PM Dennis Lee Bieber > wrote: >> On Sat, 1 Aug 2020 19:24:41 -0500, o1bigtenor >> declaimed the following: >> >>> It is very disappointing - - - -suggests that thinking outside the space of >>> one year is somehow deprecated.

[issue40978] Document that typing.SupportsXXX protocols are runtime checkable

2020-08-02 Thread Luciano Ramalho
Luciano Ramalho added the comment: The merged PR that fixed https://bugs.python.org/issue40979 also fixes this issue. It is now documented that these protocols are runtime checkable, with caveats. -- ___ Python tracker

[issue40979] typing module docs: keep text, add subsections

2020-08-02 Thread Guido van Rossum
Guido van Rossum added the comment: Thank you so much for your hard work and flexibility! The chapter is in much better shape now. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue40979] typing module docs: keep text, add subsections

2020-08-02 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset ab72fdeb82c3ab045b480cd4bb4f928c12653ecb by Luciano Ramalho in branch 'master': bpo-40979: refactored typing.rst; (mostly) same content, new sub-sections and ordering (#21574)

[issue41459] pickle.load raises SystemError on malformed input

2020-08-02 Thread Eric V. Smith
Eric V. Smith added the comment: As a rule, we don't put a lot of effort into handling malformed pickle input. Is this causing some practical problem? -- nosy: +eric.smith ___ Python tracker

[issue41390] Errors and warnings on generate bytecode files

2020-08-02 Thread Guido van Rossum
Guido van Rossum added the comment: You're going to have to ignore that status or skip the offending files. -- nosy: +gvanrossum resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker

Re: questions re: calendar module

2020-08-02 Thread o1bigtenor
On Sun, Aug 2, 2020 at 2:08 PM Dennis Lee Bieber wrote: > > On Sat, 1 Aug 2020 19:24:41 -0500, o1bigtenor > declaimed the following: > > > > >It is very disappointing - - - -suggests that thinking outside the space of > >one year is somehow deprecated. Frustrated when what you do demands > >that

[issue26185] zipfile.ZipInfo slots can raise unexpected AttributeError

2020-08-02 Thread Ned Deily
Ned Deily added the comment: Fixed in 3.9.0 -- nosy: +ned.deily resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.9 -Python 3.5, Python 3.6 ___ Python tracker

Re: questions re: calendar module

2020-08-02 Thread o1bigtenor
On Sun, Aug 2, 2020 at 2:28 PM Richard Damon wrote: > > On 8/2/20 12:58 PM, Dennis Lee Bieber wrote: > > Yet follows what most /print/ calendars contain (though some companies > > put the last four months of the current year in a 4-up page, before doing > > one month per page for the new

[issue41459] pickle.load raises SystemError on malformed input

2020-08-02 Thread Larry Hastings
Change by Larry Hastings : -- nosy: -larry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41459] pickle.load raises SystemError on malformed input

2020-08-02 Thread Guillaume
Guillaume added the comment: Updated Components. I believe pickle fit in the Library category. Note this was discovered with python 3.8.5 -- components: +Library (Lib) -Argument Clinic ___ Python tracker

[issue41459] pickle.load raises SystemError on malformed input

2020-08-02 Thread Guillaume
New submission from Guillaume : pickle.load() raises a criptic SystemError with malformed input, whereas I would have expected an UnpicklingError. "SystemError: deallocated bytearray object has exported buffers" Because pickle is not meant for use on untrusted input, this likely would not

Re: Downloading Python

2020-08-02 Thread OmPs
It's quite possible you have a version mismatch. Try installing python 3.8 first. BtW, before the would you like to check what version python command reports. Sorry for top post. I am sending from my phone and bottom post pretty confusing here. On Mon, Aug 3, 2020, 00:56 Eryk Sun wrote: > On

[issue26185] zipfile.ZipInfo slots can raise unexpected AttributeError

2020-08-02 Thread Mickaël Schoentgen
Mickaël Schoentgen added the comment: The ticket could be closed, right? The fix was merged quite some time ago. -- nosy: +Tiger-222 ___ Python tracker ___

[issue41424] [tkinter] Grammatical error in "Packer" docs

2020-08-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41424] [tkinter] Grammatical error in "Packer" docs

2020-08-02 Thread Nathan Maynes
Nathan Maynes added the comment: I'd like to create a pull request for this issue. Should be able to complete it this evening. -- nosy: +nmaynes ___ Python tracker ___

[issue41440] os.cpu_count doesn't work on VxWorks RTOS

2020-08-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Do you know if any core devs have experience with VxWorks? It is not even listed in https://devguide.python.org/experts/#platforms. -- nosy: +terry.reedy ___ Python tracker

[issue41458] Avoid overflow/underflow in math.prod()

2020-08-02 Thread Raymond Hettinger
New submission from Raymond Hettinger : For float inputs, the math.prod() function could be made smarter about avoiding overflow() and underflow(). That would also improve commutativity as well. Other tools like math.hypot() already take measures to avoid overflow/underflow and to improve

[issue41439] test_uuid.py and test_ssl.py failure on OSes without os.fork

2020-08-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Similar issues: #41440 os.cpu_count #41442 unix shell #41443 some posix.x functions PR 21684 is fine as far as it goes, and I could merge and backport, but I don't know about our test policy with respect to need and minimized OSes. We do not put conditions

Re: questions re: calendar module

2020-08-02 Thread Richard Damon
On 8/2/20 12:58 PM, Dennis Lee Bieber wrote: > Yet follows what most /print/ calendars contain (though some companies > put the last four months of the current year in a 4-up page, before doing > one month per page for the new year). "Daily planner" journals also tend to > cover just one

[issue41439] test_uuid.py and test_ssl.py failures on OS without os.fork

2020-08-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Are this and similar issues theoretical ("if Python were implemented on such systems...") or actual ("python is implemented on one such system (VxWorks?) and these tests fail"). If the latter, does the test suite pass at least with respect to, in this

Re: Downloading Python

2020-08-02 Thread Eryk Sun
On 8/1/20, MRAB wrote: > On 2020-08-01 21:58, Barry wrote: >> On 31-7-2020 22:10, Tanmay Shah wrote: >>> >>> After downloading Python 3.8.5 IDLE, an error message popped up, >>> saying the code execution cannot proceed because python38.dll was >>> not found. What should I do in order to use the

Re: Issue with Python module downloads from Library for a beginner Python coder.

2020-08-02 Thread Terry Reedy
On 8/2/2020 2:36 AM, Sarvesh Poddar via Python-list wrote: [I downloaded] https://mcsp.wartburg.edu/zelle/python/graphics.py) I have unmangled the traceback and added explanations. Traceback (most recent call last):  File "", line 1, in     import graphics You typed this in IDLE Shell in

[issue41439] test_uuid.py and test_ssl.py failures on OS without os.fork

2020-08-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: some test cases in test_uuid.py and test_ssl.py fail on some operating systems because of no os.fork support -> test_uuid.py and test_ssl.py failures on OS without os.fork ___ Python tracker

[issue7291] urllib2 cannot handle https with proxy requiring auth

2020-08-02 Thread Alexey Namyotkin
Alexey Namyotkin added the comment: It has been 5 years, now the urllib3 is actively used, but it also inherited this problem: if no authentication data has been received, then the method _tunnel raises an exception OSError that does not contain response headers. Accordingly, this exception

[issue41425] [tkinter] "Coupling Widget Variables" example missing code

2020-08-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Look at the next subsection for example with 1. and 2. -- nosy: +terry.reedy ___ Python tracker ___

Re: Non IDE development strategy - what do others do that's fairly simple?

2020-08-02 Thread Chris Green
Cameron Simpson wrote: [snip fantastic explanation] Cameron, thanks for that long and detailed explanation. -- Chris Green · -- https://mail.python.org/mailman/listinfo/python-list

Re: Issue with Python module downloads from Library for a beginner Python coder.

2020-08-02 Thread Bob van der Poel
Do you have tkinter installed? The graphics.py module needs it to run. On Sat, Aug 1, 2020 at 11:36 PM Sarvesh Poddar via Python-list < python-list@python.org> wrote: > Hi, > I am currently using Python 3.8.5 with IDLE environment that comes > pre-installed with the Python application. I am

[issue38628] Issue with ctypes in AIX

2020-08-02 Thread David Edelsohn
David Edelsohn added the comment: I thought that the ctypes documentation mentioned that Arrays passed by Value are converted to Structures. I cannot find it in the ctypes documentation at the moment. But Modules/_ctypes/stgdict.c has a large comment about passing Arrays by Value as

Re: questions re: calendar module

2020-08-02 Thread Peter Otten
Richard Damon wrote: > I would likely just build the formatter to start by assuming 6 week > months, and then near the end, after stacking the side by side months, > see if it can be trimmed out (easier to remove at the end then add if > needed) If you like some itertools gymnastics: you can

Re: questions re: calendar module

2020-08-02 Thread Richard Damon
On 8/2/20 7:26 AM, o1bigtenor wrote: > The differences become very relevant for formatting. A month that has > 4 weeks takes a different amount of vertical space than a month that > has 6 weeks. The only month that has only 4 weeks would be Febuary, on non-lead years, that starts on Sunday (or

[issue38628] Issue with ctypes in AIX

2020-08-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: David, is the issue you mention in your message at 2020-02-05 reproducible with valid usage of ctypes (that is, by calling a C function with the correct signature)? What do you mean with "this is documented in Python ctypes"? -- nosy:

Re: questions re: calendar module

2020-08-02 Thread 2QdxY4RzWzUUiLuE
On 2020-08-02 at 06:26:10 -0500, o1bigtenor wrote: > On Sat, Aug 1, 2020 at 11:33 PM dn via Python-list > wrote: > > The fact that some months have fewer, or more, weeks to include, is > > largely irrelevant. The solution is a standard "merge" algorithm. (us > > 'silver surfers' cut our teeth

Re: questions re: calendar module

2020-08-02 Thread o1bigtenor
On Sat, Aug 1, 2020 at 11:33 PM dn via Python-list wrote: > > On 02/08/2020 12:24, o1bigtenor wrote: > > On Sat, Aug 1, 2020 at 6:29 PM dn via Python-list > > wrote: > >> On 01/08/2020 23:36, o1bigtenor wrote: > >>> On Sat, Aug 1, 2020 at 1:29 AM dn via Python-list > >>>

[issue41457] Implement random.shuffled

2020-08-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is a duplicate of issue26393 and issue27964. -- nosy: +serhiy.storchaka resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> random.shuffled ___ Python tracker

[issue41457] Implement random.shuffled

2020-08-02 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +mark.dickinson, rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41457] Implement random.shuffled

2020-08-02 Thread Ram Rachum
Change by Ram Rachum : -- keywords: +patch pull_requests: +20848 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21704 ___ Python tracker ___

[issue41457] Implement random.shuffled

2020-08-02 Thread Ram Rachum
New submission from Ram Rachum : Writing the patch now. Thread: https://mail.python.org/archives/list/python-id...@python.org/thread/OHLXVKIBMNSQO6BCFK6LEHSYNXDB6OQJ/ -- components: Library (Lib) messages: 374683 nosy: cool-RR priority: normal severity: normal status: open title:

Re: Pygobject style question

2020-08-02 Thread Cameron Simpson
On 01Aug2020 13:32, Chris Green wrote: >Having (after lots of help from here, thank you) finally converted my >Python 2, gtk 2 program to Python 3 and pygobject gtk 3 I'm left with >a couple of what might be called style questions. > >I guess it's mostly down to what feels right to me but there

Re: Issue with Python module downloads from Library for a beginner Python coder.

2020-08-02 Thread Cameron Simpson
Diverting replies to tu...@python.org, a better place for all this. It looks like the error is in graphics.py, not in your file. Your line: from graphics import * is syntacticly correct. Something has mangled the line breaks in your traceback, which here appears as: When I write a

[issue41455] Python Devguide differs from python docs

2020-08-02 Thread Yaroslav
Yaroslav added the comment: Here's opened PR. https://github.com/python/cpython/pull/21703 -- nosy: -python-dev ___ Python tracker ___

[issue41455] Python Devguide differs from python docs

2020-08-02 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 2.0 -> 3.0 pull_requests: +20846 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21703 ___ Python tracker

[issue41455] Python Devguide differs from python docs

2020-08-02 Thread Yaroslav
Yaroslav added the comment: As I can see here https://github.com/python/devguide/blob/master/garbage_collector.rst#collecting-the-oldest-generation > the GC only triggers a full collection of the oldest generation if the ratio > long_lived_pending / long_lived_total is above a given value

[issue41395] pickle and pickletools cli interface doesn't close input and output file.

2020-08-02 Thread Amir Mohamadi
Change by Amir Mohamadi : -- nosy: +Amir nosy_count: 6.0 -> 7.0 pull_requests: +20845 pull_request: https://github.com/python/cpython/pull/21702 ___ Python tracker ___

[issue41456] loop.run_in_executor creat thread but not destory it after the task run over

2020-08-02 Thread Guo Xiyong
New submission from Guo Xiyong : code like this: import asyncio import time import threading def sync_test(): time.sleep(1) async def run_test(): loop = asyncio.get_event_loop() for _ in range(10): # r = await loop.getaddrinfo('wq.io', 443) # print(r)

Re: Issue with Python module downloads from Library for a beginner Python coder.

2020-08-02 Thread Sarvesh Poddar via Python-list
Hi, I am currently using Python 3.8.5 with IDLE environment that comes pre-installed with the Python application. I am using the book "An Introduction to computer science" by John Zelle as my reference. The problem I am facing is "There is a python program named "graphics.py" that is used as

[issue41410] Opening a file in binary mode makes a difference on all platforms in Python 3

2020-08-02 Thread Rishav Kundu
Rishav Kundu added the comment: Submitted a PR. Please let me know if I missed something :) -- ___ Python tracker ___ ___

[issue41410] Opening a file in binary mode makes a difference on all platforms in Python 3

2020-08-02 Thread Rishav Kundu
Change by Rishav Kundu : -- keywords: +patch nosy: +xrisk nosy_count: 3.0 -> 4.0 pull_requests: +20844 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21701 ___ Python tracker