[issue18280] Documentation is too personalized

2020-07-27 Thread Michael Felt
Michael Felt added the comment: Thanks. afaik, double spacing is a 'feature' a programmer added to a text processing language - of the WYSIWUG kind, because program's such as troff/nroff didn't need them. They, rather it, understood that a period followed by a space indicated the end of a sente

[issue40891] Use PEP 573 in functools

2020-07-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'm dropping off the nosy list. It's not something that I understand and can help with. Adding Serhiy, he might be able to review this. -- nosy: +serhiy.storchaka ___ Python tracker

[issue18280] Documentation is too personalized

2020-07-27 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: -rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue18280] Documentation is too personalized

2020-07-27 Thread Matej Cepl
Change by Matej Cepl : -- nosy: -mcepl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue41345] Remote end closed connection without response

2020-07-27 Thread Michal Arbet
Michal Arbet added the comment: Hello, Thank you very much for help, I created pull request for urllib3 -> https://github.com/urllib3/urllib3/pull/1911 Can u just confirm that this could be fixed in urllib3 as it is in pull request ? Have I fixed it by good way ? Thanks. Michal Arbet ( kevko )

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

2020-07-27 Thread Frost Ming
New submission from Frost Ming : The following snippet behaves differently between Windows and POSIX. import subprocess import time p = subprocess.Popen("ls -l", shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) print(p.stdout.read(1)) # read 1 byte print(p.communicate())# R

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

2020-07-27 Thread Frost Ming
Change by Frost Ming : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue34723] lower() on Turkish letter "İ" returns a 2-chars-long string

2020-07-27 Thread Philippe Ombredanne
Philippe Ombredanne added the comment: Şahin Kureta you wrote: > I know it is not finalized and released yet but are you going to > implement Version 14.0.0 of the Unicode Standard? > It finally solves the issue of Turkish lower/upper case 'I' and 'i'. Thank you for the pointer! I guess this

[issue41349] Tk window not going full screen on 90° rotated screen on mac

2020-07-27 Thread E. Paine
E. Paine added the comment: I am unfortunately unable to reproduce the issue (with the method provided by Ronald), but the way to create a blank window (equivalent to `import tkinter; tkinter.Tk()`) is simply to run `wish` in a terminal without giving it any commands (using `exit` to escape

[issue38628] Issue with ctypes in AIX

2020-07-27 Thread Tony Reix
Tony Reix added the comment: On AIX 7.2, with libffi compiled with -O0 -g, I have: 1) Call to memchr thru memchr_args_hack #0 0x091b0d60 in memchr () from /usr/lib/libc.a(shr_64.o) #1 0x0900058487a0 in ffi_call_DARWIN () from /opt/freeware/lib/libffi.a(libffi.so.6) #2 0x090

[issue34723] lower() on Turkish letter "İ" returns a 2-chars-long string

2020-07-27 Thread Christian Heimes
Christian Heimes added the comment: We don't update the unicodedata database in patch releases because updates are backwards incompatible. Python 3.9 will ship with 13.0. Python 3.10 is going to ship with 14.0. -- ___ Python tracker

[issue41407] Tricky behavior of builtin-function map

2020-07-27 Thread DarrenDanielDay
New submission from DarrenDanielDay : # The following is a tricky example: # This is an example function that possibly raises `StopIteration`. # In some cases, this function may raise `StopIteration` in the first iteration. def raise_stop_iteration(param): if param == 10: raise Stop

[issue41407] Tricky behavior of builtin-function map

2020-07-27 Thread Steven D'Aprano
Steven D'Aprano added the comment: Converting *all* exceptions into RuntimeError is certainly not a good idea, especially since you include KeyboardInterrupt and other non-errors. I'm probably going to be on the losing side of this one (I lost the argument back when a similar issue was raise

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

2020-07-27 Thread Avinash Maddikonda
New submission from Avinash Maddikonda : Add a `clamp` function to the `math` module which does something like this: ```py def clamp(value=0.5, minimum=0, maximum=1): """Clamps the *value* between the *minimum* and *maximum* and returns it.. """ return max(minimum, min(value, max

[issue41398] cgi module, parse_multipart fails

2020-07-27 Thread Magnus Johnsson
Magnus Johnsson added the comment: https://github.com/yohanboniface/falcon-multipart/issues/8 It would seem that the same issue pops up elsewhere. We do indeed set the content-type, as per the default examples for unity. -- ___ Python tracker

[issue38628] Issue with ctypes in AIX

2020-07-27 Thread Tony Reix
Tony Reix added the comment: After adding traces and after rebuilding Python and libffi with -O0 -g -gdwarf, it appears that, still in 64bit, the bug is still there, but that ffi_call_AIX is called now instead of ffi_call_DARWIN from ffi_call() routine of ../src/powerpc/ffi_darwin.c (lines 9

[issue18280] Documentation is too personalized

2020-07-27 Thread Michael Felt
Change by Michael Felt : -- keywords: +patch pull_requests: +20780 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21639 ___ Python tracker ___ ___

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

2020-07-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to be a duplicate of https://bugs.python.org/issue36788 -- nosy: +xtreak ___ Python tracker ___

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

2020-07-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There are two errors in test_io, both are not related to AIX. The first one is in test_fspath_support. It is exposed on non-UTF-8 locales. AIX by accident use ISO8859-1 locale by default. The second one is in test_reader_writer_close_error_on_close and rel

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

2020-07-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +20781 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21640 ___ Python tracker ___

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

2020-07-27 Thread Akuli
New submission from Akuli : The pop method of collections.deque can't be used like deque.pop(index), even though `del deque[index]` or deque.pop() without an argument works. This breaks the Liskov substitution principle because collections.abc.MutableMapping supports the .pop(index) usage. Is

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

2020-07-27 Thread Michael Felt
Michael Felt added the comment: Excellent!! aixtools@gcc119:[/home/aixtools/cpython/cpython-master]git pr 21640 remote: Enumerating objects: 50, done. remote: Counting objects: 100% (50/50), done. remote: Compressing objects: 100% (4/4), done. remote: Total 58 (delta 46), reused 48 (delta 46),

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

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

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

2020-07-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: deque is not a subclass of MutableMapping, so the Liskov substitution principle is not related here. deque is not registered as a virtual subclass of MutableMapping and it lacks a number of MutableMapping methods. >>> import collections.abc >>> issubclass

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

2020-07-27 Thread Akuli
Akuli added the comment: I meant MutableSequence instead of MutableMapping. Oops. -- ___ Python tracker ___ ___ Python-bugs-list ma

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

2020-07-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: >>> issubclass(collections.deque, collections.abc.MutableSequence) True >>> sorted(set(dir(collections.abc.MutableSequence)) - >>> set(dir(collections.deque))) ['__abstractmethods__', '__module__', '__slots__', '_abc_impl'] Well, it is a bug. -- ty

[issue41386] Popen.wait does not account for negative return codes

2020-07-27 Thread Eryk Sun
Eryk Sun added the comment: > in the windows API they seam to not know whether to use a ulong or a uint This usage requires C `long int` to be the same size as `int` in 64-bit Windows. -- resolution: -> not a bug ___ Python tracker

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

2020-07-27 Thread Yuan
Yuan added the comment: Same status as slicing support from MutableSequence. -- nosy: +Yuan ___ Python tracker ___ ___ Python-bugs-

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

2020-07-27 Thread Bob Kline
New submission from Bob Kline : The documentation for tempfile.mkstemp() says "If text is specified, it indicates whether to open the file in binary mode (the default) or text mode. On some platforms, this makes no difference." That might have been true for Python 2.x, but in Python 3, there

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

2020-07-27 Thread Shubham Kumar Jha
Shubham Kumar Jha added the comment: Hi, I want to start contributing to CPython. Can I take up this issue? -- nosy: +ShubhamKJha ___ 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 ;) --

[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

[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 : #!/opt/freeware/src/packages/BUILD/Python-3.8.5/bui

[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: +Shu

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

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

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

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

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

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

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

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

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

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

[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: https://mail

[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

[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 "cmd.e

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

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

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

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

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

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

[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) https://github.com/python/cpython/commit/72cabb2aa636272e608285f5a6ba83b62be9b

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

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

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

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

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

[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

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

[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) https://github.com/python/cpython/commit/e6b2d93f0c3891827f609e

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

[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

[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 ... Parser/parser.c

[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

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

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

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

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

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

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

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

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

[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: +mi

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

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

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

[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

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

[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

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

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

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

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

[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). Ther

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

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

[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

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

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

[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

[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: https://m

[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

[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 self.dic

  1   2   >