[issue41791] mimetypes module does not recognize jp2 type

2022-01-18 Thread Andrés Delfino
Change by Andrés Delfino : -- nosy: -adelfino ___ Python tracker <https://bugs.python.org/issue41791> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39452] Improve the __main__ module documentation

2021-11-06 Thread Andrés Delfino
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/issu

[issue15474] Differentiate decorator and decorator factory in docs

2020-02-26 Thread Andrés Delfino
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 m

[issue42496] Don't change indentation of RST markup

2020-11-29 Thread Andrés Delfino
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/is

[issue41429] Let fnmatch.filter accept a tuple of patterns

2020-12-12 Thread Andrés Delfino
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/issue41

[issue41224] Document is_annotate() in symtable and update doc strings

2020-12-29 Thread Andrés Delfino
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/issu

[issue41224] Document is_annotate() in symtable and update doc strings

2020-12-30 Thread Andrés Delfino
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/issu

[issue41224] Document is_annotate() in symtable and update doc strings

2020-12-30 Thread Andrés Delfino
Change by Andrés Delfino : -- pull_requests: +22857 pull_request: https://github.com/python/cpython/pull/24017 ___ Python tracker <https://bugs.python.org/issue41

[issue41429] Let fnmatch.filter accept a tuple of patterns

2020-07-28 Thread Andrés Delfino
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

[issue41429] Let fnmatch.filter accept a tuple of patterns

2020-07-28 Thread Andrés Delfino
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/issu

[issue19438] Where is NoneType in Python 3?

2020-09-08 Thread Andrés Delfino
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/i

[issue19438] Where is NoneType in Python 3?

2020-09-08 Thread Andrés Delfino
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 a

[issue19438] Where is NoneType in Python 3?

2020-09-09 Thread Andrés Delfino
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' mo

[issue33802] Regression in logging configuration

2020-09-15 Thread Andrés Delfino
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/issu

[issue36533] logging regression with threading + fork are mixed in 3.7.1rc2 (deadlock potential)

2020-09-15 Thread Andrés Delfino
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/issu

[issue6721] Locks in the standard library should be sanitized on fork

2020-09-15 Thread Andrés Delfino
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/iss

[issue41805] types.GenericAlias and types.Union have no documentation

2020-09-17 Thread Andrés Delfino
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

[issue41791] mimetypes module does not recognize jp2 type

2020-09-17 Thread Andrés Delfino
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?

[issue41791] mimetypes module does not recognize jp2 type

2020-09-18 Thread Andrés Delfino
Andrés Delfino added the comment: Nice debugging! -- ___ Python tracker <https://bugs.python.org/issue41791> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6721] Locks in the standard library should be sanitized on fork

2020-10-03 Thread Andrés Delfino
Change by Andrés Delfino : -- nosy: -adelfino ___ Python tracker <https://bugs.python.org/issue6721> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33802] Regression in logging configuration

2020-10-03 Thread Andrés Delfino
Change by Andrés Delfino : -- nosy: -adelfino ___ Python tracker <https://bugs.python.org/issue33802> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36533] logging regression with threading + fork are mixed in 3.7.1rc2 (deadlock potential)

2020-10-03 Thread Andrés Delfino
Change by Andrés Delfino : -- nosy: -adelfino ___ Python tracker <https://bugs.python.org/issue36533> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19438] Where is NoneType in Python 3?

2020-10-21 Thread Andrés Delfino
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 s

[issue15474] Differentiate decorator and decorator factory in docs

2019-06-04 Thread Andrés Delfino
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.o

[issue15474] Differentiate decorator and decorator factory in docs

2019-06-04 Thread Andrés Delfino
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 in

[issue35396] Add support for __fspath__ to fnmatch.fnmatchase and filter

2018-12-03 Thread Andrés Delfino
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

[issue35396] Add support for __fspath__ to fnmatch.fnmatchase and filter

2018-12-03 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +10121 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue35396> ___ ___ Py

[issue35396] Add support for __fspath__ to fnmatch.fnmatchase and filter

2018-12-05 Thread Andrés Delfino
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://bug

[issue32070] Clarify the behavior of the staticmethod builtin

2018-12-25 Thread Andrés Delfino
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/issue32

[issue30831] Inconsistent or wrong documentation around Asynchronous Context Manager

2019-03-07 Thread Andrés Delfino
Change by Andrés Delfino : -- nosy: +adelfino, yselivanov versions: +Python 3.8 ___ Python tracker <https://bugs.python.org/issue30831> ___ ___ Python-bugs-list m

[issue18249] Incorrect and incomplete help docs for close() method

2019-03-21 Thread Andrés Delfino
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.pyth

[issue36769] doc Document that fnmatch.filter supports any kind of iterable not just lists

2019-05-01 Thread Andrés Delfino
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

[issue36769] doc Document that fnmatch.filter supports any kind of iterable not just lists

2019-05-01 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +12958 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36769> ___ ___ Py

[issue33202] os.walk mentions os.listdir instead of os.scandir

2018-04-01 Thread Andrés Delfino
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

[issue33264] Remove to-be-deprecated urllib.request.urlretrieve function reference from HOWTO

2018-04-11 Thread Andrés Delfino
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 reques

[issue33264] Remove to-be-deprecated urllib.request.urlretrieve function reference from HOWTO

2018-04-11 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +6148 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33264> ___ ___ Py

[issue33264] Remove to-be-deprecated urllib.request.urlretrieve function reference from HOWTO

2018-04-11 Thread Andrés Delfino
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 t

[issue33264] Remove to-be-deprecated urllib.request.urlretrieve function reference from HOWTO

2018-04-11 Thread Andrés Delfino
Andrés Delfino added the comment: The agreement can be found at: https://secure.na1.echosign.com/public/viewAgreement?tsid=CBFCIBAA3AAABLblqZhC0bOfZxqQ_bUGhwUqnYiqqxAj3N7_dOts1qHsH9YdsbakL5qJ6FbSU9NHkecXglBLZ29gXbHeNdUErGzW7QkUs&; -- ___ Py

[issue33264] Remove to-be-deprecated urllib.request.urlretrieve function reference from HOWTO

2018-04-12 Thread Andrés Delfino
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.pyt

[issue33280] Update link to Tcl/Tk 8.6 man pages in tkinter.rst

2018-04-14 Thread Andrés Delfino
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

[issue33280] Update link to Tcl/Tk 8.6 man pages in tkinter.rst

2018-04-14 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +6172 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33280> ___ ___ Py

[issue33283] Mention PNG as a supported image format by Tcl/Tk

2018-04-15 Thread Andrés Delfino
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

[issue33283] Mention PNG as a supported image format by Tcl/Tk

2018-04-15 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +6179 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33283> ___ ___ Py

[issue33280] Update link to Tcl/Tk 8.6 man pages in tkinter.rst

2018-04-15 Thread Andrés Delfino
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 yo

[issue33283] Mention PNG as a supported image format by Tcl/Tk

2018-04-15 Thread Andrés Delfino
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 track

[issue33280] Update link to Tcl/Tk 8.6 man pages in tkinter.rst

2018-04-15 Thread Andrés Delfino
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 yo

[issue33283] Mention PNG as a supported image format by Tcl/Tk

2018-04-15 Thread Andrés Delfino
Andrés Delfino added the comment: I have updated the PR. Hopefully, it addreses Serhiy's comments. -- ___ Python tracker <https://bugs.python.org/is

[issue33280] Update link to Tcl/Tk 8.6 man pages in tkinter.rst

2018-04-15 Thread Andrés Delfino
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 s

[issue33297] Mention Pillow package on tkinter.rst to work with more image formats

2018-04-17 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +6201 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33297> ___ ___ Py

[issue33297] Mention Pillow package on tkinter.rst to work with more image formats

2018-04-17 Thread Andrés Delfino
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

[issue33297] Mention Pillow package on tkinter.rst to work with more image formats

2018-04-17 Thread Andrés Delfino
Change by Andrés Delfino : -- type: -> enhancement ___ Python tracker <https://bugs.python.org/issue33297> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue33283] Mention PNG as a supported image format by Tcl/Tk

2018-04-19 Thread Andrés Delfino
Change by Andrés Delfino : -- pull_requests: +6238 ___ Python tracker <https://bugs.python.org/issue33283> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33264] Remove to-be-deprecated urllib.request.urlretrieve function reference from HOWTO

2018-04-20 Thread Andrés Delfino
Andrés Delfino added the comment: I believe this issue can be closed, right? -- ___ Python tracker <https://bugs.python.org/issue33264> ___ ___ Python-bugs-list m

[issue33320] Clarify who can add the "skip issue" label on GitHub

2018-04-20 Thread Andrés Delfino
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 devel

[issue33320] Clarify who can add the "skip issue" label on GitHub

2018-04-20 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +6242 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33320> ___ ___ Py

[issue33320] Clarify who can add the "skip issue" label on GitHub

2018-04-20 Thread Andrés Delfino
Change by Andrés Delfino : -- pull_requests: -6242 ___ Python tracker <https://bugs.python.org/issue33320> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33320] Clarify who can add the "skip issue" label on GitHub

2018-04-20 Thread Andrés Delfino
Andrés Delfino added the comment: This is the PR: https://github.com/python/devguide/pull/359 -- ___ Python tracker <https://bugs.python.org/issue33320> ___ ___

[issue33320] Clarify who can add the "skip issue" label on GitHub

2018-04-20 Thread Andrés Delfino
Change by Andrés Delfino : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue33297] Mention Pillow package on tkinter.rst to work with more image formats

2018-04-21 Thread Andrés Delfino
Andrés Delfino added the comment: Currently cherry picking the commit for 2.7. -- ___ Python tracker <https://bugs.python.org/issue33297> ___ ___ Python-bug

[issue33297] Mention Pillow package on tkinter.rst to work with more image formats

2018-04-21 Thread Andrés Delfino
Change by Andrés Delfino : -- pull_requests: +6257 ___ Python tracker <https://bugs.python.org/issue33297> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33280] Update link to Tcl/Tk 8.6 man pages in tkinter.rst

2018-04-22 Thread Andrés Delfino
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 p

[issue33280] Update link to Tcl/Tk 8.6 man pages in tkinter.rst

2018-04-25 Thread Andrés Delfino
Change by Andrés Delfino : -- pull_requests: +6297 ___ Python tracker <https://bugs.python.org/issue33280> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33280] Update link to Tcl/Tk 8.6 man pages in tkinter.rst

2018-04-25 Thread Andrés Delfino
Change by Andrés Delfino : -- pull_requests: +6299 ___ Python tracker <https://bugs.python.org/issue33280> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33280] Update link to Tcl/Tk 8.6 man pages in tkinter.rst

2018-04-25 Thread Andrés Delfino
Change by Andrés Delfino : -- pull_requests: +6303 ___ Python tracker <https://bugs.python.org/issue33280> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33280] Update link to Tcl/Tk 8.6 man pages in tkinter.rst

2018-04-26 Thread Andrés Delfino
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/is

[issue33352] [EASY] Windows: test_regrtest fails on installed Python

2018-04-30 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +6350 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue32769] Add 'annotations' to the glossary

2018-04-30 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +6353 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue32769] Add 'annotations' to the glossary

2018-04-30 Thread Andrés Delfino
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/issue32

[issue33414] Make shutil.copytree use os.scandir to take advantage of cached is_(dir|file|symlink)

2018-05-02 Thread Andrés Delfino
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: Li

[issue32769] Add 'annotations' to the glossary

2018-05-03 Thread Andrés Delfino
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/issue32

[issue33414] Make shutil.copytree use os.scandir to take advantage of cached is_(dir|file|symlink)

2018-05-03 Thread Andrés Delfino
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 b

[issue32769] Add 'annotations' to the glossary

2018-05-03 Thread Andrés Delfino
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

[issue33422] Fix and update string/byte literals in help()

2018-05-03 Thread Andrés Delfino
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 l

[issue33422] Fix and update string/byte literals in help()

2018-05-03 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +6393 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33422> ___ ___ Py

[issue33422] Fix and update string/byte literals in help()

2018-05-03 Thread Andrés Delfino
Andrés Delfino added the comment: *While the list is still incomplete -- ___ Python tracker <https://bugs.python.org/issue33422> ___ ___ Python-bugs-list mailin

[issue33422] Fix and update string/byte literals in help()

2018-05-04 Thread Andrés Delfino
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 comprom

[issue33422] Fix and update string/byte literals in help()

2018-05-04 Thread Andrés Delfino
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

[issue33422] Fix and update string/byte literals in help()

2018-05-04 Thread Andrés Delfino
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 opt

[issue33422] Fix and update string/byte literals in help()

2018-05-04 Thread Andrés Delfino
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

[issue33422] Fix and update string/byte literals in help()

2018-05-05 Thread Andrés Delfino
Change by Andrés Delfino : -- pull_requests: +6405 ___ Python tracker <https://bugs.python.org/issue33422> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33422] Fix and update string/byte literals in help()

2018-05-07 Thread Andrés Delfino
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 :) -- ___ Pyth

[issue33414] Make shutil.copytree use os.scandir to take advantage of cached is_(dir|file|symlink)

2018-05-07 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +6416 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33414> ___ ___ Py

[issue33414] Make shutil.copytree use os.scandir to take advantage of cached is_(dir|file|symlink)

2018-05-08 Thread Andrés Delfino
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 ap

[issue33459] Fix "tuple display" mention in Expressions

2018-05-10 Thread Andrés Delfino
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 expres

[issue33459] Fix "tuple display" mention in Expressions

2018-05-10 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +6447 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33459> ___ ___ Py

[issue33459] Define "tuple display" in the docs

2018-05-11 Thread Andrés Delfino
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

[issue33459] Define "tuple display" in the docs

2018-05-11 Thread Andrés Delfino
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,

[issue33459] Define "tuple display" in the docs

2018-05-11 Thread Andrés Delfino
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

[issue32769] Add 'annotations' to the glossary

2018-05-14 Thread Andrés Delfino
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/is

[issue32769] Add 'annotations' to the glossary

2018-05-14 Thread Andrés Delfino
Change by Andrés Delfino : -- pull_requests: +6506 ___ Python tracker <https://bugs.python.org/issue32769> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32769] Add 'annotations' to the glossary

2018-05-14 Thread Andrés Delfino
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 m

[issue32769] Add 'annotations' to the glossary

2018-05-14 Thread Andrés Delfino
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 (incl

[issue32769] Add 'annotations' to the glossary

2018-05-14 Thread Andrés Delfino
Change by Andrés Delfino : -- pull_requests: +6513 ___ Python tracker <https://bugs.python.org/issue32769> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32769] Add 'annotations' to the glossary

2018-05-14 Thread Andrés Delfino
Change by Andrés Delfino : -- versions: +Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue32769> ___ ___ Python-bugs-list mailing list Unsub

[issue33518] Add PEP to glossary

2018-05-15 Thread Andrés Delfino
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

[issue33518] Add PEP to glossary

2018-05-15 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +6534 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33518> ___ ___ Py

[issue32769] Add 'annotations' to the glossary

2018-05-15 Thread Andrés Delfino
Andrés Delfino added the comment: Hopefully I address your comments with the last PR update. -- ___ Python tracker <https://bugs.python.org/issue32769> ___ ___

[issue32769] Add 'annotations' to the glossary

2018-05-15 Thread Andrés Delfino
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/issue32

[issue32769] Add 'annotations' to the glossary

2018-05-15 Thread Andrés Delfino
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://bu

[issue33518] Add PEP to glossary

2018-05-17 Thread Andrés Delfino
Change by Andrés Delfino : -- pull_requests: +6604 ___ Python tracker <https://bugs.python.org/issue33518> ___ ___ Python-bugs-list mailing list Unsubscribe:

  1   2   3   >