[issue41791] mimetypes module does not recognize jp2 type
Change by Andrés Delfino : -- nosy: -adelfino ___ Python tracker <https://bugs.python.org/issue41791> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39452] Improve the __main__ module documentation
Change by Andrés Delfino : -- nosy: +adelfino nosy_count: 11.0 -> 12.0 pull_requests: +27703 pull_request: https://github.com/python/cpython/pull/29379 ___ Python tracker <https://bugs.python.org/issue39452> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15474] Differentiate decorator and decorator factory in docs
Andrés Delfino added the comment: Hi, no I'm no longer working on this. -- ___ Python tracker <https://bugs.python.org/issue15474> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue42496] Don't change indentation of RST markup
Andrés Delfino added the comment: When I open a PR fixing mark-up it's because it has visual effects. -- ___ Python tracker <https://bugs.python.org/issue42496> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41429] Let fnmatch.filter accept a tuple of patterns
Andrés Delfino added the comment: Serhiy, could you take a look at this when you have some spare time? :) -- ___ Python tracker <https://bugs.python.org/issue41429> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41224] Document is_annotate() in symtable and update doc strings
Change by Andrés Delfino : -- nosy: +adelfino nosy_count: 2.0 -> 3.0 pull_requests: +22838 pull_request: https://github.com/python/cpython/pull/23861 ___ Python tracker <https://bugs.python.org/issue41224> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41224] Document is_annotate() in symtable and update doc strings
Change by Andrés Delfino : -- pull_requests: +22856 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/24016 ___ Python tracker <https://bugs.python.org/issue41224> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41224] Document is_annotate() in symtable and update doc strings
Change by Andrés Delfino : -- pull_requests: +22857 pull_request: https://github.com/python/cpython/pull/24017 ___ Python tracker <https://bugs.python.org/issue41224> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41429] Let fnmatch.filter accept a tuple of patterns
New submission from Andrés Delfino : I propose to let fnmatch.filter accept a tuple of patterns as its pat parameter, while still supporting a single string argument (just like str.endswith does). The code to do this manually and efficiently pretty much involves copying filter. -- components: Library (Lib) messages: 374540 nosy: adelfino priority: normal severity: normal status: open title: Let fnmatch.filter accept a tuple of patterns type: enhancement ___ Python tracker <https://bugs.python.org/issue41429> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41429] Let fnmatch.filter accept a tuple of patterns
Change by Andrés Delfino : -- keywords: +patch pull_requests: +20812 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21666 ___ Python tracker <https://bugs.python.org/issue41429> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19438] Where is NoneType in Python 3?
Change by Andrés Delfino : -- keywords: +patch nosy: +adelfino nosy_count: 3.0 -> 4.0 pull_requests: +21235 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22161 ___ Python tracker <https://bugs.python.org/issue19438> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19438] Where is NoneType in Python 3?
Andrés Delfino added the comment: types.NoneType was removed here: https://github.com/python/cpython/commit/c9543e42330e5f339d6419eba6a8c5a61a39aeca#diff-0f021aec4e35b86a3160d44069dec997 The thing of adding NoneType to types that is somewhat unpleasing to me is that it's named exactly as the actual type. Seems confusing. -- ___ Python tracker <https://bugs.python.org/issue19438> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19438] Where is NoneType in Python 3?
Andrés Delfino added the comment: ammar2 found this mail mentioning the changes in that commit https://mail.python.org/pipermail/python-dev/2007-November/075386.html "I've removed the 'new' module from py3k and also removed a lot of types from the 'types' module in py3k. It only contains types that aren't easily available through builtins." -- ___ Python tracker <https://bugs.python.org/issue19438> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33802] Regression in logging configuration
Change by Andrés Delfino : -- nosy: +adelfino nosy_count: 8.0 -> 9.0 pull_requests: +21317 pull_request: https://github.com/python/cpython/pull/22205 ___ Python tracker <https://bugs.python.org/issue33802> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue36533] logging regression with threading + fork are mixed in 3.7.1rc2 (deadlock potential)
Change by Andrés Delfino : -- nosy: +adelfino nosy_count: 8.0 -> 9.0 pull_requests: +21316 pull_request: https://github.com/python/cpython/pull/22205 ___ Python tracker <https://bugs.python.org/issue36533> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6721] Locks in the standard library should be sanitized on fork
Change by Andrés Delfino : -- nosy: +adelfino nosy_count: 28.0 -> 29.0 pull_requests: +21315 pull_request: https://github.com/python/cpython/pull/22205 ___ Python tracker <https://bugs.python.org/issue6721> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41805] types.GenericAlias and types.Union have no documentation
Andrés Delfino added the comment: Hi, Patrick! Yes! It would be great if you could open a PR to document those new types. The documentation of types.Union should go to master only, and the documentation of types.GenericAlias to both master and 3.9, so two PRs should me opened to address this issues separately. The backporting (yes! that's the word) to 3.9 will be (fingers-crossed) automatic thanks to Mariatta's https://github.com/python/miss-islington -- nosy: +adelfino ___ Python tracker <https://bugs.python.org/issue41805> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41791] mimetypes module does not recognize jp2 type
Andrés Delfino added the comment: Hi, Radim! I've tested with 3.7.8 and got (None, None). I'm curious on how you got that 'image/jp2' output. It seems jp2 was never supported by looking into the git history of Lib/mimetypes.py. Would you like to open a PR to support it? :) -- nosy: +adelfino ___ Python tracker <https://bugs.python.org/issue41791> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41791] mimetypes module does not recognize jp2 type
Andrés Delfino added the comment: Nice debugging! -- ___ Python tracker <https://bugs.python.org/issue41791> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6721] Locks in the standard library should be sanitized on fork
Change by Andrés Delfino : -- nosy: -adelfino ___ Python tracker <https://bugs.python.org/issue6721> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33802] Regression in logging configuration
Change by Andrés Delfino : -- nosy: -adelfino ___ Python tracker <https://bugs.python.org/issue33802> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue36533] logging regression with threading + fork are mixed in 3.7.1rc2 (deadlock potential)
Change by Andrés Delfino : -- nosy: -adelfino ___ Python tracker <https://bugs.python.org/issue36533> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19438] Where is NoneType in Python 3?
Andrés Delfino added the comment: As per https://github.com/python/cpython/pull/22336 I believe this issue can be closed now. My PR is not relevant to the problem stated by OP, so I'm "unlinking" it. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue19438> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15474] Differentiate decorator and decorator factory in docs
Andrés Delfino added the comment: Hi Windson Yang! Yes, I'm still working on it. I'll have it ready by the end of June. -- ___ Python tracker <https://bugs.python.org/issue15474> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15474] Differentiate decorator and decorator factory in docs
Andrés Delfino added the comment: Great! I'll definitely give it a look. I prefer not to make a PR until everything is in its place. You can check the status though: https://github.com/andresdelfino/cpython/tree/decorators-howto Fred was very helpful with his insight :) -- ___ Python tracker <https://bugs.python.org/issue15474> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35396] Add support for __fspath__ to fnmatch.fnmatchase and filter
New submission from Andrés Delfino : Both fnmatch.fnmatchase and fnmatch.filter (in Unix) do not support path-like objects. This is inconvenient, for example, when taking advantage of os.scandir and working with os.DirEntry objets. Also, fnmatch.filter in Windows does support path-like objects, since it uses os.path.normcase (which works with path-like objects), so the change for Unix would add consistency. I propose for both functions to accept path-like objects, and in the case of fnmatch.filter, to return the path-like object if it matches the pattern (as it does now for Windows). -- components: Library (Lib) messages: 330992 nosy: adelfino priority: normal severity: normal status: open title: Add support for __fspath__ to fnmatch.fnmatchase and filter type: enhancement versions: Python 3.8 ___ Python tracker <https://bugs.python.org/issue35396> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35396] Add support for __fspath__ to fnmatch.fnmatchase and filter
Change by Andrés Delfino : -- keywords: +patch pull_requests: +10121 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue35396> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35396] Add support for __fspath__ to fnmatch.fnmatchase and filter
Andrés Delfino added the comment: Closing, as __fspath__ returns paths and fnmatchcase/filter deals with filenames. -- resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue35396> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32070] Clarify the behavior of the staticmethod builtin
Andrés Delfino added the comment: Also see #34085 that deals with the same issue in functions.rst. -- nosy: +adelfino ___ Python tracker <https://bugs.python.org/issue32070> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue30831] Inconsistent or wrong documentation around Asynchronous Context Manager
Change by Andrés Delfino : -- nosy: +adelfino, yselivanov versions: +Python 3.8 ___ Python tracker <https://bugs.python.org/issue30831> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18249] Incorrect and incomplete help docs for close() method
Andrés Delfino added the comment: Closing with Victor Stinner's approval. -- nosy: +adelfino resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue18249> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue36769] doc Document that fnmatch.filter supports any kind of iterable not just lists
New submission from Andrés Delfino : Documentation on fnmatch.filter says: Return the subset of the list of names that match pattern. It is the same as [n for n in names if fnmatch(n, pattern)], but implemented more efficiently. But the function actual accepts any kind of iterable. I think it should be documented. -- assignee: docs@python components: Documentation messages: 341198 nosy: adelfino, docs@python priority: normal severity: normal status: open title: doc Document that fnmatch.filter supports any kind of iterable not just lists type: enhancement versions: Python 3.7, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue36769> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue36769] doc Document that fnmatch.filter supports any kind of iterable not just lists
Change by Andrés Delfino : -- keywords: +patch pull_requests: +12958 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36769> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33202] os.walk mentions os.listdir instead of os.scandir
New submission from Andrés Delfino : Documentation states that, for walk, "errors from the listdir() call are ignored". That's no longer the case since 3.5. Change mention to listdir() to scandir(). -- assignee: docs@python components: Documentation messages: 314786 nosy: adelfino, docs@python priority: normal pull_requests: 6049 severity: normal status: open title: os.walk mentions os.listdir instead of os.scandir versions: Python 3.8 ___ Python tracker <https://bugs.python.org/issue33202> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33264] Remove to-be-deprecated urllib.request.urlretrieve function reference from HOWTO
New submission from Andrés Delfino : Documentation says urllib.request.urlretrieve "might become deprecated at some point in the future". IMHO, it's better to provide examples that do not make users rely on API that has this label. I propose the example in the pull request to accomplish exactly the same task while not relying on urllib.request.urlretrieve. -- assignee: docs@python components: Documentation messages: 315204 nosy: adelfino, docs@python priority: normal severity: normal status: open title: Remove to-be-deprecated urllib.request.urlretrieve function reference from HOWTO type: enhancement versions: Python 3.8 ___ Python tracker <https://bugs.python.org/issue33264> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33264] Remove to-be-deprecated urllib.request.urlretrieve function reference from HOWTO
Change by Andrés Delfino : -- keywords: +patch pull_requests: +6148 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33264> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33264] Remove to-be-deprecated urllib.request.urlretrieve function reference from HOWTO
Andrés Delfino added the comment: Hi Senthil! I signed the CLA several days ago. Got the "Python Contributor Agreement Form between Python Software Foundation and Andrés Delfino is Signed and Filed!" mail on April 1st (perhaps I chose a bad date to fill the request ;) ) -- ___ Python tracker <https://bugs.python.org/issue33264> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33264] Remove to-be-deprecated urllib.request.urlretrieve function reference from HOWTO
Andrés Delfino added the comment: The agreement can be found at: https://secure.na1.echosign.com/public/viewAgreement?tsid=CBFCIBAA3AAABLblqZhC0bOfZxqQ_bUGhwUqnYiqqxAj3N7_dOts1qHsH9YdsbakL5qJ6FbSU9NHkecXglBLZ29gXbHeNdUErGzW7QkUs&; -- ___ Python tracker <https://bugs.python.org/issue33264> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33264] Remove to-be-deprecated urllib.request.urlretrieve function reference from HOWTO
Andrés Delfino added the comment: My contributor form shows as received now :) Don't know how to update the "CLA not signed" label on the PR. -- ___ Python tracker <https://bugs.python.org/issue33264> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33280] Update link to Tcl/Tk 8.6 man pages in tkinter.rst
New submission from Andrés Delfino : There are two links to the Tcl/Tk documentation on tkinter.rst. One of them points to 8.5 man pages. -- assignee: docs@python components: Documentation messages: 315303 nosy: adelfino, docs@python priority: normal severity: normal status: open title: Update link to Tcl/Tk 8.6 man pages in tkinter.rst type: enhancement versions: Python 3.8 ___ Python tracker <https://bugs.python.org/issue33280> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33280] Update link to Tcl/Tk 8.6 man pages in tkinter.rst
Change by Andrés Delfino : -- keywords: +patch pull_requests: +6172 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33280> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33283] Mention PNG as a supported image format by Tcl/Tk
New submission from Andrés Delfino : PNG is supported since Tcl/Tk 8.6. Update the doc/source accordingly. -- assignee: docs@python components: Documentation messages: 315324 nosy: adelfino, docs@python priority: normal severity: normal status: open title: Mention PNG as a supported image format by Tcl/Tk type: enhancement versions: Python 3.8 ___ Python tracker <https://bugs.python.org/issue33283> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33283] Mention PNG as a supported image format by Tcl/Tk
Change by Andrés Delfino : -- keywords: +patch pull_requests: +6179 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33283> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33280] Update link to Tcl/Tk 8.6 man pages in tkinter.rst
Andrés Delfino added the comment: IMHO, it's important to provide the link of the specific version of Tcl/Tk that Python actually uses. Otherwise, when 8.7 users might read the wrong documentation. Also, users might read the 8.5 man pages. Perhaps I didn't get your comment? -- ___ Python tracker <https://bugs.python.org/issue33280> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33283] Mention PNG as a supported image format by Tcl/Tk
Andrés Delfino added the comment: This brings the question: should the documentation follow what Python provides, or the minimum supported version? Maybe a compromise is to have a "requires Tcl/Tk 8.6" note? -- ___ Python tracker <https://bugs.python.org/issue33283> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33280] Update link to Tcl/Tk 8.6 man pages in tkinter.rst
Andrés Delfino added the comment: Replaces msg315327: IMHO, it's important to provide the link of the specific version of Tcl/Tk that Python actually uses. Otherwise, when 8.7 users might read the wrong documentation. Perhaps I didn't get your comment? -- ___ Python tracker <https://bugs.python.org/issue33280> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33283] Mention PNG as a supported image format by Tcl/Tk
Andrés Delfino added the comment: I have updated the PR. Hopefully, it addreses Serhiy's comments. -- ___ Python tracker <https://bugs.python.org/issue33283> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33280] Update link to Tcl/Tk 8.6 man pages in tkinter.rst
Andrés Delfino added the comment: Perhaps a comment in the lines of: --- You can find the relevant Tk man pages by checking what version is installed in your system: python -c "import tkinter; print(tkinter.TkVersion)" --- at the top of the page, and then removing all version suffixes as you suggested? -- ___ Python tracker <https://bugs.python.org/issue33280> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33297] Mention Pillow package on tkinter.rst to work with more image formats
Change by Andrés Delfino : -- keywords: +patch pull_requests: +6201 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33297> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33297] Mention Pillow package on tkinter.rst to work with more image formats
New submission from Andrés Delfino : Given that the default list of supported formats is quite limited, IMHO we should point to Pillow, or any other package that provides support for more formats. -- assignee: docs@python components: Documentation messages: 315393 nosy: adelfino, docs@python priority: normal severity: normal status: open title: Mention Pillow package on tkinter.rst to work with more image formats versions: Python 3.8 ___ Python tracker <https://bugs.python.org/issue33297> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33297] Mention Pillow package on tkinter.rst to work with more image formats
Change by Andrés Delfino : -- type: -> enhancement ___ Python tracker <https://bugs.python.org/issue33297> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33283] Mention PNG as a supported image format by Tcl/Tk
Change by Andrés Delfino : -- pull_requests: +6238 ___ Python tracker <https://bugs.python.org/issue33283> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33264] Remove to-be-deprecated urllib.request.urlretrieve function reference from HOWTO
Andrés Delfino added the comment: I believe this issue can be closed, right? -- ___ Python tracker <https://bugs.python.org/issue33264> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33320] Clarify who can add the "skip issue" label on GitHub
New submission from Andrés Delfino : IMHO, the wording of https://devguide.python.org/pullrequest/ is somewhat confusing regarding the "skip issue" label. I thought that I (with no commit access) should add the label, but, as far I understand, that is a responsibility of developers with commit access. The PR offers a wording to clarify this. -- assignee: docs@python components: Documentation messages: 315512 nosy: adelfino, docs@python priority: normal severity: normal status: open title: Clarify who can add the "skip issue" label on GitHub type: enhancement ___ Python tracker <https://bugs.python.org/issue33320> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33320] Clarify who can add the "skip issue" label on GitHub
Change by Andrés Delfino : -- keywords: +patch pull_requests: +6242 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33320> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33320] Clarify who can add the "skip issue" label on GitHub
Change by Andrés Delfino : -- pull_requests: -6242 ___ Python tracker <https://bugs.python.org/issue33320> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33320] Clarify who can add the "skip issue" label on GitHub
Andrés Delfino added the comment: This is the PR: https://github.com/python/devguide/pull/359 -- ___ Python tracker <https://bugs.python.org/issue33320> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33320] Clarify who can add the "skip issue" label on GitHub
Change by Andrés Delfino : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue33320> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33297] Mention Pillow package on tkinter.rst to work with more image formats
Andrés Delfino added the comment: Currently cherry picking the commit for 2.7. -- ___ Python tracker <https://bugs.python.org/issue33297> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33297] Mention Pillow package on tkinter.rst to work with more image formats
Change by Andrés Delfino : -- pull_requests: +6257 ___ Python tracker <https://bugs.python.org/issue33297> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33280] Update link to Tcl/Tk 8.6 man pages in tkinter.rst
Andrés Delfino added the comment: I have updated the PR: * Now we mention that python -m tkinter shows the installed Tcl/Tk version so users can read the right man pages. * Only mention the link to documentation page (sadly, there doesn't seem to exist an "Archived man pages", and mentioning 8.5/8.4 man pages doesn't seem right). * I have merged the two "See also" sections of the page, separating Tkinter-specific documentation from Tcl/Tk general documentation. -- ___ Python tracker <https://bugs.python.org/issue33280> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33280] Update link to Tcl/Tk 8.6 man pages in tkinter.rst
Change by Andrés Delfino : -- pull_requests: +6297 ___ Python tracker <https://bugs.python.org/issue33280> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33280] Update link to Tcl/Tk 8.6 man pages in tkinter.rst
Change by Andrés Delfino : -- pull_requests: +6299 ___ Python tracker <https://bugs.python.org/issue33280> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33280] Update link to Tcl/Tk 8.6 man pages in tkinter.rst
Change by Andrés Delfino : -- pull_requests: +6303 ___ Python tracker <https://bugs.python.org/issue33280> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33280] Update link to Tcl/Tk 8.6 man pages in tkinter.rst
Andrés Delfino added the comment: There's still an open PR to backport this to 3.6: https://github.com/python/cpython/pull/6602 -- ___ Python tracker <https://bugs.python.org/issue33280> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33352] [EASY] Windows: test_regrtest fails on installed Python
Change by Andrés Delfino : -- keywords: +patch pull_requests: +6350 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue33352> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32769] Add 'annotations' to the glossary
Change by Andrés Delfino : -- keywords: +patch pull_requests: +6353 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue32769> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32769] Add 'annotations' to the glossary
Andrés Delfino added the comment: I just made a PR to start working on the right wording. -- nosy: +adelfino ___ Python tracker <https://bugs.python.org/issue32769> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33414] Make shutil.copytree use os.scandir to take advantage of cached is_(dir|file|symlink)
New submission from Andrés Delfino : Right now we are using os.path.is(dir|file|symlink) in shutil.copytree, but taking advantage of os.scandir's is_(dir|file|symlink) seems the way to go. I'll make a PR with to start the discussion with a proof of concept. -- components: Library (Lib) messages: 316108 nosy: adelfino priority: normal severity: normal status: open title: Make shutil.copytree use os.scandir to take advantage of cached is_(dir|file|symlink) versions: Python 3.8 ___ Python tracker <https://bugs.python.org/issue33414> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32769] Add 'annotations' to the glossary
Andrés Delfino added the comment: Guido, now that we are working on this, perhaps you can list what other terms related to type hints/annotations you were thinking for addition. -- ___ Python tracker <https://bugs.python.org/issue32769> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33414] Make shutil.copytree use os.scandir to take advantage of cached is_(dir|file|symlink)
Andrés Delfino added the comment: To be frank, I just searched the tree for uses of listdir() combined with isdir()/isfile()/issymlink(). Thought that using scandir() would make sense, and didn't think of a reason for not using it. That being said, I cannot state a case and I'll be happy to close the PR if there's no need for this :) -- ___ Python tracker <https://bugs.python.org/issue33414> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32769] Add 'annotations' to the glossary
Andrés Delfino added the comment: Great, I'll look into them. It will take me some time to make a list of the new terms and write proper descriptions. Perhaps we could deliver the updates to the glossary by waves so people can make benefit of it? As in multiple PR being merged while retaining this issue open until all required terms are added. -- ___ Python tracker <https://bugs.python.org/issue32769> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33422] Fix and update string/byte literals in help()
New submission from Andrés Delfino : Right now, for string/byte literals help() shows, for example: No Python documentation found for 'r'. Use help() to get the interactive help utility. Use help(str) for help on the str class. PR fixes the quotation mark removal and updates the list with f and u literals, while also adding uppercase versions of all literals. While the list is install incomplete (e.g., fR and the others could be listed) I believe that's too much. -- components: Library (Lib) messages: 316148 nosy: adelfino priority: normal severity: normal status: open title: Fix and update string/byte literals in help() versions: Python 3.8 ___ Python tracker <https://bugs.python.org/issue33422> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33422] Fix and update string/byte literals in help()
Change by Andrés Delfino : -- keywords: +patch pull_requests: +6393 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33422> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33422] Fix and update string/byte literals in help()
Andrés Delfino added the comment: *While the list is still incomplete -- ___ Python tracker <https://bugs.python.org/issue33422> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33422] Fix and update string/byte literals in help()
Andrés Delfino added the comment: Eric, I entered "r'" in the interactive prompt. Serhiy, using the code in tokenize, I got a total of 144 combinations. For comparison, the list of symbols help() shows, after the proposed change, has 67 items. IMHO, we should compromise. Maybe just mentioning the letters? With no quoting character. I do know that this can be confusing, since J is shown as a letter but it's used as a suffix unlike b/f/r/u... What do you think? -- ___ Python tracker <https://bugs.python.org/issue33422> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33422] Fix and update string/byte literals in help()
Andrés Delfino added the comment: To get the 144 combinations I used the logic in tokenize.py: import re def _combinations(*l): return set( x + y for x in l for y in l + ("",) if x.casefold() != y.casefold() ) _strprefixes = ( _combinations('r', 'R', 'f', 'F') | _combinations('r', 'R', 'b', 'B') | {'u', 'U', 'ur', 'uR', 'Ur', 'UR'} ) triple_quoted = ( {"'''", '"""'} | {f"{prefix}'''" for prefix in _strprefixes} | {f'{prefix}"""' for prefix in _strprefixes} ) single_quoted = ( {"'", '"'} | {f"{prefix}'" for prefix in _strprefixes} | {f'{prefix}"' for prefix in _strprefixes} ) all_combinations = _strprefixes | single_quoted | triple_quoted print(' '.join(list(all_combinations))) print(len(all_combinations)) -- ___ Python tracker <https://bugs.python.org/issue33422> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33422] Fix and update string/byte literals in help()
Andrés Delfino added the comment: And what should symbols show in pydoc? Should symbols show: 1. All legal combinations with ("'", '"') (48 possible combinations) 2. Only b/f/r/u with ("'", '"') (IMHO, this is the most reasonable option) 3. Only b/f/r/u with ' or " Depending on that, we can choose one of the options you mentioned. -- ___ Python tracker <https://bugs.python.org/issue33422> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33422] Fix and update string/byte literals in help()
Andrés Delfino added the comment: I have updated the PR. Now symbols show: Here is a list of the punctuation symbols which Python assigns special meaning to. Enter any symbol to get more help. != + <= __ " += <> ` """ , == b" % - > b' %= -= >= f" & . >> f' &= ... >>= j ' / @ r" ''' // J r' ( //= [ u" ) /= \ u' * : ] | ** < ^ |= **= << ^= ~ *= <<= _ I don't understand how topics.py gets autogenerated by Sphinx (by te way, it says it was generated on January 2018), so I'm having trouble with using a more specific topic for f'. -- ___ Python tracker <https://bugs.python.org/issue33422> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33422] Fix and update string/byte literals in help()
Change by Andrés Delfino : -- pull_requests: +6405 ___ Python tracker <https://bugs.python.org/issue33422> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33422] Fix and update string/byte literals in help()
Andrés Delfino added the comment: I was exploring pydoc, saw the literals as available help "terms" on the sysmbols section, and tried reading the help for one of them. I learnt about IDLE debugging to trace this bug :) -- ___ Python tracker <https://bugs.python.org/issue33422> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33414] Make shutil.copytree use os.scandir to take advantage of cached is_(dir|file|symlink)
Change by Andrés Delfino : -- keywords: +patch pull_requests: +6416 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33414> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33414] Make shutil.copytree use os.scandir to take advantage of cached is_(dir|file|symlink)
Andrés Delfino added the comment: I believe you are right about being conservative with changing working code, specially when there's no proof about performance being improved. I think its best to close this ticket. I'd do it myself, but I know what resolution applies here. -- ___ Python tracker <https://bugs.python.org/issue33414> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33459] Fix "tuple display" mention in Expressions
New submission from Andrés Delfino : Expressions mentions "tuple displays" in 6.16 (Operator precedence). AFAIK, there ano "tuple displays". Expressions mentions list, dict, and set displays, and then talks about generator expressions. I guess "parenthesized expressions" should be the term that fits here? -- assignee: docs@python components: Documentation messages: 316380 nosy: adelfino, docs@python priority: normal severity: normal status: open title: Fix "tuple display" mention in Expressions type: enhancement versions: Python 3.8 ___ Python tracker <https://bugs.python.org/issue33459> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33459] Fix "tuple display" mention in Expressions
Change by Andrés Delfino : -- keywords: +patch pull_requests: +6447 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33459> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33459] Define "tuple display" in the docs
Andrés Delfino added the comment: The thing is that "tuple displays" like: nums = (n for n in range(10)) Yield a generator expression instead of a tuple. Also, unparenthesized "tuple displays" like 1, 2, 3 can't be used in expressions, AFAIK: >>> if 3 == 1, 2, 3: SyntaxError: invalid syntax So, you end up using parenthesized expressions (that may or may not shield tuples) to use tuples in expressions. So talking about "tuple expressions" in the operator precedence table doesn't make much sense to me :/ Also, if a "tuple display" doesn't yield a tuple, should it be named a "tuple display" after all? -- ___ Python tracker <https://bugs.python.org/issue33459> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33459] Define "tuple display" in the docs
Andrés Delfino added the comment: Ignore the previous comment. The thing is that "tuple displays" like: nums = (n for n in range(10)) Yield a generator expression instead of a tuple. Also, unparenthesized "tuple displays" like 1, 2, 3 can't be used in expressions, AFAIK: >>> if 3 == 1, 2, 3: SyntaxError: invalid syntax So, you end up using parenthesized expressions to use tuples in expressions. So talking about "tuple displays" in the operator precedence table doesn't make much sense to me :/ Also, if a "tuple display" doesn't yield a tuple, should it be named a "tuple display" after all? -- ___ Python tracker <https://bugs.python.org/issue33459> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33459] Define "tuple display" in the docs
Andrés Delfino added the comment: The documentation says a display may or may not have a comprehension :/ [1, 2, 3] is a list display too. [x for x in range(3)] is a display that has a comprehension. Acoording to the doc. -- ___ Python tracker <https://bugs.python.org/issue33459> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32769] Add 'annotations' to the glossary
Andrés Delfino added the comment: Yes, Ivan, I was thinking about that. I think it makes sense, and I'll be glad to do it. -- ___ Python tracker <https://bugs.python.org/issue32769> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32769] Add 'annotations' to the glossary
Change by Andrés Delfino : -- pull_requests: +6506 ___ Python tracker <https://bugs.python.org/issue32769> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32769] Add 'annotations' to the glossary
Andrés Delfino added the comment: Shouldn't we have this on 3.6 also? -- ___ Python tracker <https://bugs.python.org/issue32769> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32769] Add 'annotations' to the glossary
Andrés Delfino added the comment: I see a conflict here in that annotations can be used for other purpouses, for example variable annotations, they are heavily intended for type hinting (PEP 526 says "This PEP aims at adding syntax to Python for annotating the types of variables (including class variables and instance variables), instead of expressing them through comments") I think it's correct to separate annotations from type hints, and say: annotations can be used for type hinting. I can make a new PR based on master having this in mind, and then cherry picking it for 3.7/3.6. -- ___ Python tracker <https://bugs.python.org/issue32769> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32769] Add 'annotations' to the glossary
Change by Andrés Delfino : -- pull_requests: +6513 ___ Python tracker <https://bugs.python.org/issue32769> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32769] Add 'annotations' to the glossary
Change by Andrés Delfino : -- versions: +Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue32769> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33518] Add PEP to glossary
New submission from Andrés Delfino : I think PEP should be mentioned in the glossary, as it is an important piece of how Python is developed and learned. The PR's wording is taken from PEP1, mostly verbatim. -- assignee: docs@python components: Documentation messages: 316653 nosy: adelfino, docs@python priority: normal severity: normal status: open title: Add PEP to glossary type: enhancement versions: Python 2.7, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue33518> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33518] Add PEP to glossary
Change by Andrés Delfino : -- keywords: +patch pull_requests: +6534 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33518> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32769] Add 'annotations' to the glossary
Andrés Delfino added the comment: Hopefully I address your comments with the last PR update. -- ___ Python tracker <https://bugs.python.org/issue32769> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32769] Add 'annotations' to the glossary
Andrés Delfino added the comment: Guido, could you point out what parts make it sound that way to you so I can change them? -- ___ Python tracker <https://bugs.python.org/issue32769> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32769] Add 'annotations' to the glossary
Andrés Delfino added the comment: I'm sorry, because of your comment, I believe you haven't read the last update on the PR. Could you take a look at it? https://github.com/python/cpython/pull/6829 -- ___ Python tracker <https://bugs.python.org/issue32769> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33518] Add PEP to glossary
Change by Andrés Delfino : -- pull_requests: +6604 ___ Python tracker <https://bugs.python.org/issue33518> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com