[issue40841] Provide mimetypes.sniff API as stdlib

2020-07-27 Thread Jim Jewett
Jim Jewett added the comment: There are a zillion reasons a filename could be wrong -- but the standard says to trust the filesystem. So if it sniffs based on contents, it isn't quite following the standard. It is probably still a useful tool, but it won't be the One Right Way, and it isn't

[issue41345] Remote end closed connection without response

2020-07-27 Thread Martin Panter
Martin Panter added the comment: Previous report about Requests to the Python bug tracker: Issue 33620. I suspect this is an unavoidable race condition with trying a POST (or other non-idempotent) request on an idle HTTP connection. I think it has to be up to the higher-level application or

[issue41328] In unittest doc, replace Hudson CI with Travis and Appveyor

2020-07-27 Thread Dmytro Litvinov
Dmytro Litvinov added the comment: Hi Terry, Seems like link to Academic Free License v. 2.1(https://www.python.org/psf/contrib/) does not work. That link is mentioned at https://www.python.org/psf/contrib/ that you gave me. Also, I have signed CLA before submitting PR as you wrote. From

[issue41328] In unittest doc, replace Hudson CI with Travis and Appveyor

2020-07-27 Thread Dmytro Litvinov
Change by Dmytro Litvinov : -- keywords: +patch pull_requests: +20794 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/21653 ___ Python tracker

[issue41409] deque.pop(index) is not supported

2020-07-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, the relationship between a concrete class and an ABC is normative with respect to core capabilities but isn't 100% strict. Concrete classes can vary in small respects when it makes sense. For example, the __or__ and __and__ methods for

[issue19016] autospecced namedtuples should be truthy by default

2020-07-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41013] test_os.test_memfd_create() fails on AMD64 FreeBSD Shared 3.x

2020-07-27 Thread Kubilay Kocak
Kubilay Kocak added the comment: @Kyle Yes, msg373597 freebsd CURRENT buildbot passes, but freebsd 12/stable does not (cannot, since stable/12 wont get the syscall) That means the Python memfd functions and tests need to account for this -- ___

[issue41391] Make test_unicodedata pass when running without network

2020-07-27 Thread Jim Jewett
Jim Jewett added the comment: Looks Good To Me -- nosy: +Jim.Jewett ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41415] duplicated signature of dataclass in help()

2020-07-27 Thread Sergey Fedoseev
Change by Sergey Fedoseev : -- keywords: +patch pull_requests: +20793 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21652 ___ Python tracker ___

[issue41415] duplicated signature of dataclass in help()

2020-07-27 Thread Sergey Fedoseev
New submission from Sergey Fedoseev : In [191]: import dataclasses, pydoc In [192]: @dataclass ...: class C: ...: pass ...: In [193]: print(pydoc.render_doc(C)) Python Library Documentation: class C in module __main__ class C(builtins.object) | C() -> None | | C() |

[issue31904] Python should support VxWorks RTOS

2020-07-27 Thread Jim Jewett
Jim Jewett added the comment: Is it safe to say that there is an now intent to support VxWorks within the main tree, with Wind River agreeing to be primary support? And this ticket has become a tracking ticket for the status on getting it there, small PR by small PR plus buildbot?

[issue41355] os.link(..., follow_symlinks=False) without linkat(3)

2020-07-27 Thread Eryk Sun
Eryk Sun added the comment: I'm trying to give os.link() and follow_symlinks the benefit of the doubt, but the implementation just seems buggy to me. POSIX says that "[i]f path1 names a symbolic link, it is implementation-defined whether link() follows the symbolic link, or creates a new

[issue18861] Problems with recursive automatic exception chaining

2020-07-27 Thread Martin Panter
Change by Martin Panter : -- nosy: +martin.panter ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41409] deque.pop(index) is not supported

2020-07-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: This was an intentional decision. Deques designed for fast access at the end points. Also, pop() is a core deque operation that needs to be fast. Altering its signature with an optional argument would slow it down. Thank you for the suggestion, but we

[issue41013] test_os.test_memfd_create() fails on AMD64 FreeBSD Shared 3.x

2020-07-27 Thread Kyle Evans
Kyle Evans added the comment: Hey koobs, Can you confirm that this is fine now after I implemented SHM_GROW_ON_WRITE? -- ___ Python tracker ___

[issue41413] IDLE: exit at input() prompt is not complete

2020-07-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Simpler test. Open IDLE Shell (only) from icon or (preferably) terminal. >>> input() # Close IDLE without giving input with Window (X), File => exit, or Control/Command-Q. Click OK in "Your program is still running" box (from PyShell) On Windows, IDLE

[issue41394] Document '_' in interpreter tutorial

2020-07-27 Thread wyz23x2
wyz23x2 added the comment: Submmited PR 21651. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41394] Document '_' in interpreter tutorial

2020-07-27 Thread wyz23x2
Change by wyz23x2 : -- pull_requests: +20792 pull_request: https://github.com/python/cpython/pull/21651 ___ Python tracker ___ ___

[issue41394] Document '_' in interpreter tutorial

2020-07-27 Thread wyz23x2
wyz23x2 added the comment: I agree it's more important. Working. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41394] Document '_' in interpreter tutorial

2020-07-27 Thread Eric V. Smith
Eric V. Smith added the comment: I think it should be in a new section. But I'd put it as a 16.1.2 and push the others down. It seems like a more important piece of information than shebangs and startup files in interactive mode. Or maybe I'd even put it first. That said, I'm not terribly

[issue41394] Document '_' in interpreter tutorial

2020-07-27 Thread wyz23x2
wyz23x2 added the comment: If no one wants to work on it, I'll pick up that patch. Should it be section 16.1.5? If not, what section should it fit into? -- ___ Python tracker

[issue41394] Document '_' in interpreter tutorial

2020-07-27 Thread Eric V. Smith
Eric V. Smith added the comment: I think it should be mentioned in https://docs.python.org/3/tutorial/appendix.html#tut-interac, since that's the link that https://docs.python.org/3/tutorial/interpreter.html#interactive-mode uses for it's "for more information" link. This seems like a "more

[issue41394] Document '_' in interpreter tutorial

2020-07-27 Thread wyz23x2
Change by wyz23x2 : -- title: Document '_' in interpreter in shell tutorial -> Document '_' in interpreter tutorial ___ Python tracker ___

[issue41394] Document '_' in interpreter in shell tutorial

2020-07-27 Thread wyz23x2
wyz23x2 added the comment: Submmited PR 21650. Should we also mention it in: https://docs.python.org/3/tutorial/interpreter.html or https://docs.python.org/3/tutorial/appendix.html ? (Matching the title of the issue) -- ___ Python tracker

[issue41394] Document '_' in interpreter in shell tutorial

2020-07-27 Thread wyz23x2
Change by wyz23x2 : -- keywords: +patch pull_requests: +20790 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21650 ___ Python tracker ___

[issue41407] Tricky behavior of builtin-function map

2020-07-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: I concur with Jim and Steven, so we'll mark this a closed. If you want to go forward, consider bringing this up on python-ideas. If it gets a favorable reception, this can be re-opened. -- nosy: +rhettinger resolution: -> rejected stage: ->

[issue41374] socket.TCP_* no longer available with cygwin 3.1.6+

2020-07-27 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch nosy: +ZackerySpytz nosy_count: 2.0 -> 3.0 pull_requests: +20789 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21649 ___ Python tracker

[issue41000] IDLE: only allow single instance

2020-07-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: We cannot prevent files being viewed and possibly modified by multiple programs and in general, should not. I often open a file in more than one python version. In any case, the proposed change would have a high chance on introducing bugs. I just

[issue41411] Improve and consolidate f-strings docs

2020-07-27 Thread Ezio Melotti
Change by Ezio Melotti : -- keywords: +patch pull_requests: +20788 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/21552 ___ Python tracker

[issue1721083] Add File - Reload

2020-07-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Recent edits to iomenu.IOBinding.loadfile were intended to preserve the option of reloading a non-empty editor. -- stage: patch review -> test needed ___ Python tracker

[issue1721083] Add File - Reload

2020-07-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: All open files, up to the most recent 21 (and that could be increased) are in the recent file list. Clicking on any name loads that file, unless it is already loaded. The exception enforced in filelist.FileList.open, lines 29-32: if key in

[issue41389] Garbage Collector Ignoring Some (Not All) Circular References of Identical Type

2020-07-27 Thread Tim Peters
Tim Peters added the comment: Well, this isn't a help desk ;-) You may want instead to detail your problem on, say, StackOverflow, or the general Python mailing list. Please note that I don't know what your "problem" _is_: you haven't said. You posted some numbers that didn't make sense to

[issue1175686] add "reload" function to IDLE

2020-07-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41407] Tricky behavior of builtin-function map

2020-07-27 Thread Jim Jewett
Jim Jewett added the comment: Why would you raise StopIteration if you didn't want to stop the nearest iteration loop? I agree that the result of your sample code seems strange, but that is because it is strange code. I agree with Steven D'Aprano that changing it would cause more pain than

[issue41405] python 3.9.0b5 test

2020-07-27 Thread YoSTEALTH
YoSTEALTH added the comment: I compiled and tested for same issues in 3.8.5 and they exist as well. -- ___ Python tracker ___ ___

[issue18280] Documentation is too personalized

2020-07-27 Thread Jim Jewett
Jim Jewett added the comment: I won't speak of nroff or troff in particular, but many programs had trouble distinguishing the end of a sentence from an honorific abbreviation, such as Mr. Spock or Dr. Seuss. -- nosy: +Jim.Jewett ___ Python

[issue41355] os.link(..., follow_symlinks=False) without linkat(3)

2020-07-27 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch nosy: +pablogsal nosy_count: 1.0 -> 2.0 pull_requests: +20787 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/21648 ___ Python tracker

[issue41045] f-string's "debug" feature is undocumented

2020-07-27 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks Ama Aje My Fren! You can transfer your other PR to a different bpo issue by editing the subject on GitHub. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python

[issue41045] f-string's "debug" feature is undocumented

2020-07-27 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset 3baff21f5bb8db7fa1c15788a8f82fa040a90d5d by Guido van Rossum in branch '3.8': [3.8] bpo-41045: Document debug feature of f-strings ('=') (GH-21509) (#21647) https://github.com/python/cpython/commit/3baff21f5bb8db7fa1c15788a8f82fa040a90d5d

[issue40841] Provide mimetypes.sniff API as stdlib

2020-07-27 Thread Guido van Rossum
Guido van Rossum added the comment: Whether the data was retrieved over a network has nothing to do with it. There are complementary ways of guessing what data you are working with -- guess based on the filename extension or sniff based on the contents of the file (or downloaded data).

[issue41412] After installation on Windows7, 64bit Python 3.9.0b5 reports "api-ms-win-core-path-l1-1-0.dll" missing and doesn't start

2020-07-27 Thread Steve Dower
Steve Dower added the comment: I thought we already made it fail? (Checks) No we did not. Guess I misremembered that. I'll fix this tomorrow. We need it, or else we'll be inundated with these reports for the entire life of 3.9. -- assignee: -> steve.dower priority: normal ->

[issue40841] Provide mimetypes.sniff API as stdlib

2020-07-27 Thread Jim Jewett
Jim Jewett added the comment: The standard itself says that it only applies to content served over http; if the content is retrieved by ftp or from a file system, then you should trust that. I don't notice that in the code you pointed to. So maybe filetype is the right answer if the data

[issue41406] BufferedReader causes Popen.communicate losing the remaining output.

2020-07-27 Thread Grégory Starck
Grégory Starck added the comment: also affecting 3.6 -- nosy: +g.sta...@gmail.com versions: +Python 3.6 ___ Python tracker ___ ___

[issue41045] f-string's "debug" feature is undocumented

2020-07-27 Thread Guido van Rossum
Change by Guido van Rossum : -- pull_requests: +20786 pull_request: https://github.com/python/cpython/pull/21647 ___ Python tracker ___

[issue41045] f-string's "debug" feature is undocumented

2020-07-27 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset e962e3f65a086d9d3b848483fd01215d96ecc5f9 by Guido van Rossum in branch '3.9': [3.9] bpo-41045: Document debug feature of f-strings ('=') (GH-21509) (GH-21645) https://github.com/python/cpython/commit/e962e3f65a086d9d3b848483fd01215d96ecc5f9

[issue38119] resource tracker destroys shared memory segments when other processes should still have valid access

2020-07-27 Thread Guido van Rossum
Guido van Rossum added the comment: @Davin, could you merge one or the other of the PRs that fix this? Presumably also backport to 3.9 and 3.8 (but that's up to you and the release manager). -- nosy: +gvanrossum versions: +Python 3.10 ___ Python

[issue39959] Bug on multiprocessing.shared_memory

2020-07-27 Thread Guido van Rossum
Guido van Rossum added the comment: I declare this a duplicate of issue 38119. -- nosy: +gvanrossum resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> resource tracker destroys shared memory segments when other processes should still have

[issue41045] f-string's "debug" feature is undocumented

2020-07-27 Thread Guido van Rossum
Change by Guido van Rossum : -- pull_requests: +20785 pull_request: https://github.com/python/cpython/pull/21645 ___ Python tracker ___

[issue41409] deque.pop(index) is not supported

2020-07-27 Thread Jim Jewett
Jim Jewett added the comment: It may well have been intentional, as deques should normally be mutated only at the ends. But Raymond did make changes to conform to the ABC, so this should probably be supported too. Go ahead and include docstrings and/or discouraging it, though, except for

[issue41045] f-string's "debug" feature is undocumented

2020-07-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +20784 pull_request: https://github.com/python/cpython/pull/21644 ___ Python tracker ___

[issue41045] f-string's "debug" feature is undocumented

2020-07-27 Thread miss-islington
miss-islington added the comment: New changeset 13efaec2e03288d7ff0ee643589c32bde6c6973c by amaajemyfren in branch 'master': bpo-41045: Document debug feature of f-strings ('=') (GH-21509) https://github.com/python/cpython/commit/13efaec2e03288d7ff0ee643589c32bde6c6973c -- nosy:

[issue41045] f-string's "debug" feature is undocumented

2020-07-27 Thread Guido van Rossum
Guido van Rossum added the comment: I think your PR 21552 and any work you're doing on pydoc could go under the new issue 41411 that Ezio just opened. -- ___ Python tracker

[issue41405] python 3.9.0b5 test

2020-07-27 Thread Jim Jewett
Jim Jewett added the comment: Is this a platform where 3.8 was working? The curses test seems to think you have too many color-pairs defined, and this might well be part of a semi-compatible curses library. I guess I would add some output to the test showing how many (and which) color pairs

[issue41045] f-string's "debug" feature is undocumented

2020-07-27 Thread Ama Aje My Fren
Ama Aje My Fren added the comment: > then we can merge that one and close *this* issue. I am looking at the pydoc issue now. It will take me more than an hour but I will figure it. Can that be under this issue also or (since you raised it as an OT) make that another issue? --

[issue41389] Garbage Collector Ignoring Some (Not All) Circular References of Identical Type

2020-07-27 Thread Ian O'Shaughnessy
Ian O'Shaughnessy added the comment: >I don't know of any language that guarantees all garbage will be collected >"right away". Do you? I'm not an expert in this domain, so, no. I am however attempting to find a way to mitigate this issue. Do you have any suggestions how I can avoid these

[issue41414] AST for arguments shows extra element

2020-07-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: (arg* posonlyargs) is correct and was added to 3.8 as part of https://www.python.org/dev/peps/pep-0570/ -- nosy: +pablogsal resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python

[issue41414] AST for arguments shows extra element

2020-07-27 Thread James Foster
New submission from James Foster : https://docs.python.org/3.8/library/ast.html shows seven elements: arguments = (arg* posonlyargs, arg* args, arg? vararg, arg* kwonlyargs, expr* kw_defaults, arg? kwarg, expr* defaults) https://docs.python.org/3.7/library/ast.html shows

[issue41389] Garbage Collector Ignoring Some (Not All) Circular References of Identical Type

2020-07-27 Thread Tim Peters
Tim Peters added the comment: It's impossible for any implementation to know that cyclic trash _is_ trash without, in some way, traversing the object graph. This is expensive, so CPython (or any other language) does not incur that expense after every single decref that leaves a non-zero

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

2020-07-27 Thread Howard A. Landman
Howard A. Landman added the comment: I'm running under 32-bit Raspbian, so let's assume the magic number is 13. There are only two places in my own code where the number 13 appears: (1) My result_list is 14 items long, i.e. 0 to 13. Relevant code from qtd.py: cum_results = [0, 0, 0, 0, 0, 0,

[issue41389] Garbage Collector Ignoring Some (Not All) Circular References of Identical Type

2020-07-27 Thread Ian O'Shaughnessy
Ian O'Shaughnessy added the comment: "Leak" was likely the wrong word. It does appear problematic though. The loop is using a fixed number of variables (yes, there are repeated dynamic allocations, but they fall out of scope with each iteration), only one of these variables occupies 1MB of

[issue41405] python 3.9.0b5 test

2020-07-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: The lnotab warning is probably a bug in gcc 10 -- nosy: +pablogsal ___ Python tracker ___

[issue41405] python 3.9.0b5 test

2020-07-27 Thread YoSTEALTH
YoSTEALTH added the comment: >>> /opt/python/3.9.0/bin/python3 -m test.pythoninfo Python debug information CC.version: gcc (GCC) 10.1.0 Py_DEBUG: No (sys.gettotalrefcount() missing) _decimal.__libmpdec_version__: 2.5.0 builtins.float.double_format: IEEE, little-endian

[issue41059] Large number of Coverity reports for parser.c

2020-07-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I tried reprodicing the coverity results using cppcheck (I don't have access to the coverity project, someone needs to approve :() and I got just a dozen of results: ❯ cppcheck Parser/parser.c --enable=style Checking Parser/parser.c ...

[issue41000] IDLE: only allow single instance

2020-07-27 Thread E. Paine
E. Paine added the comment: Is it worth me developing a PR for this issue, as it may be a suitable fix for #38946? (I am not guaranteeing any code, though, but I will try). If not, I will probably close this issue. -- ___ Python tracker

[issue40939] Remove the old parser

2020-07-27 Thread miss-islington
miss-islington added the comment: New changeset b3fbff7289176ba1a322e6899c3d4a04880ed5a7 by Lysandros Nikolaou in branch 'master': bpo-40939: Remove even more references to the old parser (GH-21642) https://github.com/python/cpython/commit/b3fbff7289176ba1a322e6899c3d4a04880ed5a7

[issue40939] Remove the old parser

2020-07-27 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset e6b2d93f0c3891827f609ecac1ced21e1626ed0a by Guido van Rossum in branch '3.9': [3.9] bpo-40939: Use the new grammar for the grammar specification documentation (GH-19969) (#21641)

[issue40939] Remove the old parser

2020-07-27 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- pull_requests: +20783 pull_request: https://github.com/python/cpython/pull/21642 ___ Python tracker ___

[issue41409] deque.pop(index) is not supported

2020-07-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > Hi, I want to start contributing to CPython. Can I take up this issue? Sure, go ahead. Feel free to ping one of us in the PR for review -- nosy: +pablogsal ___ Python tracker

[issue39959] Bug on multiprocessing.shared_memory

2020-07-27 Thread Diogo Flores
Diogo Flores added the comment: I have tried a different approach using https://gitlab.com/tenzing/shared-array and I got it to perform well on Linux. Basically, the code above places all numpy arrays in /dev/shm which allows you to access and modify them from any number of processes

[issue40939] Remove the old parser

2020-07-27 Thread Guido van Rossum
Guido van Rossum added the comment: The old parser is completely gone from the 3.10 branch. Closing. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue41413] At prompt for input(), pressing Command q kills IDLE

2020-07-27 Thread Ned Deily
Ned Deily added the comment: Thanks for the report. Actually this behavior is not specific to running IDLE on macOS, it's also reproducible on Linux and on all current versions of IDLE. -- components: -macOS nosy: -ronaldoussoren versions: +Python 3.10, Python 3.8, Python 3.9

[issue40939] Remove the old parser

2020-07-27 Thread Guido van Rossum
Change by Guido van Rossum : -- pull_requests: +20782 pull_request: https://github.com/python/cpython/pull/21641 ___ Python tracker ___

[issue41412] After installation on Windows7, 64bit Python 3.9.0b5 reports "api-ms-win-core-path-l1-1-0.dll" missing and doesn't start

2020-07-27 Thread Eryk Sun
Eryk Sun added the comment: > running python.exe results in an error message popup which tells me ... > that the "api-ms-win-core-path-l1-1-0.dll" is missing on the computer. > I googled for it and it seems that this dll is not a part of Windows 7. Microsoft ended extended support for

[issue40939] Remove the old parser

2020-07-27 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset 72cabb2aa636272e608285f5a6ba83b62be9be4e by Pablo Galindo in branch 'master': bpo-40939: Use the new grammar for the grammar specification documentation (GH-19969)

[issue41401] Using non-ascii that require UTF-8 breaks AIX testing

2020-07-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Automatic backport does not work due to changes in the test.support module. Victor, do you mind to backport PR 21640 to 3.9 and 3.8? -- nosy: +vstinner ___ Python tracker

[issue41362] Regenerating parser table fails (windows)

2020-07-27 Thread Constant Marks
Constant Marks added the comment: Thanks for the help. I got my modification working by modifying the python.gram file and running build.bat --regen. -- ___ Python tracker

[issue41413] At prompt for input(), pressing Command q kills IDLE

2020-07-27 Thread Irv Kalb
New submission from Irv Kalb : This is probably related to earlier problems with running IDLE on MacOS Catalina: Environment: MacOS Catalina: 10.15.5 Python: 3.7.3 IDLE: 3.7.3 Steps to reproduce: - Open IDLE, create a new file. (Can reopen this file again for subsequent tests.) - Code

[issue41401] Using non-ascii that require UTF-8 breaks AIX testing

2020-07-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 67987acd5dc9776f55f4e139e2b3d9e7a6434d9f by Serhiy Storchaka in branch 'master': bpo-41401: Fix test_fspath_support in test_io. (GH-21640) https://github.com/python/cpython/commit/67987acd5dc9776f55f4e139e2b3d9e7a6434d9f --

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

2020-07-27 Thread Irv Kalb
Irv Kalb added the comment: Right. I'm struggling with this bug every day. Irv > On Jul 23, 2020, at 9:09 AM, Ned Deily wrote: > > > Ned Deily added the comment: > > Ramon, I am not sure why you closed this issue. Perhaps it may no longer be a > problem for you, but it has not yet

[issue41412] After installation on Windows7, 64bit Python 3.9.0b5 reports "api-ms-win-core-path-l1-1-0.dll" missing and doesn't start

2020-07-27 Thread Martin Borus
Martin Borus added the comment: Changed "component" from "resource" to "crash" because it seems to fit better. -- type: resource usage -> crash ___ Python tracker ___

[issue41412] After installation on Windows7, 64bit Python 3.9.0b5 reports "api-ms-win-core-path-l1-1-0.dll" missing and doesn't start

2020-07-27 Thread Martin Borus
New submission from Martin Borus : I just installed Python 3.9.0b5 using the provided beta installer python-3.9.0b5-amd64 on a Windows7, 64bit machine. I did the installation without the Py Launcher update, into the folder "c:\python39" The installer finished without problem. Running

[issue41411] Improve and consolidate f-strings docs

2020-07-27 Thread Guido van Rossum
Guido van Rossum added the comment: It's basically an accident that the only f-strings docs are in the language reference. Yes, they should be there, and the text there is pretty good *for the reference*, but there isn't much about them elsewhere outside of the tutorial, so everything links

[issue41406] BufferedReader causes Popen.communicate losing the remaining output.

2020-07-27 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24599] urllib URLopener().open https url returns 501 Not Implemented when https_proxy env var is http://

2020-07-27 Thread Stefano Mazzucco
Stefano Mazzucco added the comment: Closing as this bug refers to versions of Python that have been EOL'd. -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker

[issue41411] Improve and consolidate f-strings docs

2020-07-27 Thread Eric V. Smith
Eric V. Smith added the comment: I think this is an excellent idea. The main f-string docs being in a section titled "Lexical Analysis" never seemed very user-friendly. -- ___ Python tracker

[issue41045] f-string's "debug" feature is undocumented

2020-07-27 Thread Ezio Melotti
Ezio Melotti added the comment: > I agree that it might be better to separate them into a new issue. I created #41411. -- ___ Python tracker ___

[issue41411] Improve and consolidate f-strings docs

2020-07-27 Thread Ezio Melotti
New submission from Ezio Melotti : [Creating a new issue from #41045] I was just just trying to link to someone the documentation for f-strings, but: 1) Searching "fstring" only returns two results about xdrlib[0]; 2) Searching "f-string" returns many unrelated results[1]; 3) The first (and

[issue41045] f-string's "debug" feature is undocumented

2020-07-27 Thread Guido van Rossum
Guido van Rossum added the comment: Those are really good observations and proposals, Ezio! I agree that it might be better to separate them into a new issue. Can you also review https://github.com/python/cpython/pull/21552 (the second PR here by amaajemyfren)? Maybe it would actually make

[issue41408] Add a `clamp` function to the `math` module

2020-07-27 Thread Avinash Maddikonda
Avinash Maddikonda added the comment: Okay, I'm rejecting this issue. But please let me know/contribute if anyone is going to add a clamp function as a built-in method or a math module function. -- ___ Python tracker

[issue41408] Add a `clamp` function to the `math` module

2020-07-27 Thread Avinash Maddikonda
Change by Avinash Maddikonda : -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue38628] Issue with ctypes in AIX

2020-07-27 Thread David Edelsohn
David Edelsohn added the comment: Tony, Please see my reply from 2020-02-05. This is a known "bug" in Python ctypes. This is documented in Python ctypes. This will not be fixed. This cannot be fixed. Python ctypes converts the array to a structure and creates an incorrect libffi

[issue41045] f-string's "debug" feature is undocumented

2020-07-27 Thread Ezio Melotti
Ezio Melotti added the comment: I was just just trying to link to someone the documentation for f-strings, but: 1) Searching "fstring" only returns two results about xdrlib[0]; 2) Searching "f-string" returns many unrelated results[1]; 3) The first (and closer) result (string -- Common string

[issue41408] Add a `clamp` function to the `math` module

2020-07-27 Thread Avinash Maddikonda
Avinash Maddikonda added the comment: So should I delete/reject this now? Because I think it would be more useful than functions like copysign (I mean copysign can be written easily without confusion, but clamp is confusing sometimes as the max function takes minimum and the min of value

[issue38628] Issue with ctypes in AIX

2020-07-27 Thread Tony Reix
Tony Reix added the comment: Fedora32/x86_64 : Python v3.8.5 : optimized : uint type. If, instead of using ulong type, the Pb.py program makes use of uint, the issue is different: see below. This means that the issue depends on the length of the data. BUILD=optimized TYPE=int export

[issue41408] Add a `clamp` function to the `math` module

2020-07-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I will leave it to math module experts to keep it open or close it. There wasn't strong consensus on adding it math module either without a discussion in python-ideas https://bugs.python.org/msg358789. -- nosy: +mark.dickinson, rhettinger,

[issue38628] Issue with ctypes in AIX

2020-07-27 Thread Tony Reix
Change by Tony Reix : -- versions: +Python 3.8 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41394] Document '_' in interpreter in shell tutorial

2020-07-27 Thread Shubham Kumar Jha
Shubham Kumar Jha added the comment: The link provided by Karthikeyan Singaravelan doesn't mention that `_` would only get the not-None values. It is a part of interpreter and hence should be documented there. If no one is working on a patch, I would like to submit one. -- nosy:

[issue38628] Issue with ctypes in AIX

2020-07-27 Thread Tony Reix
Tony Reix added the comment: Fedora32/x86_64 : Python v3.8.5 has been built. Issue is still there, but different in debug or optimized mode. Thus, change done in https://bugs.python.org/issue22273 did not fix this issue. ./Pb-3.8.5-debug.py :

[issue41408] Add a `clamp` function to the `math` module

2020-07-27 Thread Avinash Maddikonda
Avinash Maddikonda added the comment: Oh, I didn't know that. But I was thinking of adding it to the math module and not as a built-in method. I mean, it is definitely more useful than copysign, right? -- ___ Python tracker

[issue40841] Provide mimetypes.sniff API as stdlib

2020-07-27 Thread Dong-hee Na
Dong-hee Na added the comment: > This looks like a useful addition. I hope someone will take up the review! Thank you guido! I also think that this API is good to be added to the standard library and it would be very useful! I hope that someone would like to interest in this issue ;)

  1   2   >