[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
[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
[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 : -- 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
[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
[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
[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
[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
[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
[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
[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
[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
[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
[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
[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?
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
[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
[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
[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
[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
[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
[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
[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
[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
[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
[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
[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
[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
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
[issue33699] Don't describe try's else clause in a footnote
Change by Andrés Delfino : -- pull_requests: +9740 ___ Python tracker <https://bugs.python.org/issue33699> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33699] Don't describe try's else clause in a footnote
Andrés Delfino added the comment: I'm doing the 2.7 backport right now :) -- ___ Python tracker <https://bugs.python.org/issue33699> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13407] tarfile doesn't support multistream bzipped tar files
Change by Andrés Delfino : -- type: -> enhancement ___ Python tracker <https://bugs.python.org/issue13407> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13407] tarfile doesn't support multistream bzipped tar files
Andrés Delfino added the comment: I believe this can be closed. -- ___ Python tracker <https://bugs.python.org/issue13407> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34789] Make xml.sax.make_parser accept iterables
Change by Andrés Delfino : -- components: +XML -Library (Lib) ___ Python tracker <https://bugs.python.org/issue34789> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34789] Make xml.sax.make_parser accept iterables
Change by Andrés Delfino : -- components: +Library (Lib) -Documentation title: doc xml.sax.make_parser expects a list not just any sequence -> Make xml.sax.make_parser accept iterables ___ Python tracker <https://bugs.python.org/issue34789> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34789] doc xml.sax.make_parser expects a list not just any sequence
Change by Andrés Delfino : -- pull_requests: +8978 ___ Python tracker <https://bugs.python.org/issue34789> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34789] doc xml.sax.make_parser expects a list not just any sequence
Andrés Delfino added the comment: Admittedly, my Git-fu is not strong, but since the PR was opened against master, and given that the PR as is won't be merged to master, can it still be "backported" to 3.7, 3.6, and 2.7? Shouldn't I update the PR so it can be merged to master (that won't be backported), and then open a new PR against 3.7 that will be backported to 3.6 and 2.7? -- ___ Python tracker <https://bugs.python.org/issue34789> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34789] doc xml.sax.make_parser expects a list not just any sequence
Andrés Delfino added the comment: I think it makes sense for make_parser to accept any iterable too. I'll update the PR when I have the testcase ready. -- ___ Python tracker <https://bugs.python.org/issue34789> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34789] doc xml.sax.make_parser expects a list not just any sequence
Change by Andrés Delfino : -- keywords: +patch pull_requests: +8944 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34789> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34789] doc xml.sax.make_parser expects a list not just any sequence
New submission from Andrés Delfino : Doc says: "If parser_list is provided, it must be a *sequence* of strings which name modules that have a function named create_parser()" but code concatenas parser_list with an existing list: for parser_name in parser_list + default_parser_list: Fix this by stating parser_list must be a specific kind of sequence, that is, a list. -- assignee: docs@python components: Documentation messages: 326261 nosy: adelfino, docs@python priority: normal severity: normal status: open title: doc xml.sax.make_parser expects a list not just any sequence type: enhancement versions: Python 2.7, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue34789> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34612] doc Some classes are treated as functions in Built-in Functions
Andrés Delfino added the comment: Please note that several classes are marked as such (e.g., int, float, str, dict, list) and bool for example treats itself as a class in it's description. Perhaps your concerns applies to all those ocurrences too? -- ___ Python tracker <https://bugs.python.org/issue34612> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34612] doc Some classes are treated as functions in Built-in Functions
Change by Andrés Delfino : -- keywords: +patch pull_requests: +8572 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34612> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34612] doc Some classes are treated as functions in Built-in Functions
New submission from Andrés Delfino : Beyond other classes documented as functions (classmethod, enumerate, filter, map, reversed, staticmethod, super and zip), the following issues exist: * memoryview, range, and tuple are marked as functions * complex and object treat themselves as functions in their descriptions Attached PR fixes this. -- assignee: docs@python components: Documentation messages: 324864 nosy: adelfino, docs@python priority: normal severity: normal status: open title: doc Some classes are treated as functions in Built-in Functions type: enhancement versions: Python 2.7, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue34612> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34531] doc Move comment about list sorting behavour outside impl-detail directive
Change by Andrés Delfino : -- keywords: +patch pull_requests: +8450 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34531> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34531] doc Move comment about list sorting behavour outside impl-detail directive
New submission from Andrés Delfino : As this text is phrased: CPython implementation detail: While a list is being sorted, the effect of attempting to mutate, or even inspect, the list is undefined. The C implementation of Python makes the list appear empty for the duration, and raises ValueError if it can detect that the list has been mutated during a sort. I take it that the first sentence is a general comment for all implementations, as the second sentence does define a specific behavior in CPython, so it's not undefined there. I propose taking the first sentence out of the impl-detail directive. -- assignee: docs@python components: Documentation messages: 324259 nosy: adelfino, docs@python priority: normal severity: normal status: open title: doc Move comment about list sorting behavour outside impl-detail directive type: enhancement versions: Python 2.7, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue34531> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34432] doc Mention complex and decimal.Decimal on str.format note about locales
Change by Andrés Delfino : -- versions: +Python 3.6 ___ Python tracker <https://bugs.python.org/issue34432> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34432] doc Mention complex and decimal.Decimal on str.format note about locales
Change by Andrés Delfino : -- keywords: +patch pull_requests: +8285 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34432> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34432] doc Mention complex and decimal.Decimal on str.format note about locales
New submission from Andrés Delfino : On str.format method, the note about how locales are dealt with reads: "When formatting a number (int, float, float and subclasses)..." PR removes the second float, and mentions complex and decimal.Decimal. The bug which introduced this note is: #31900 -- assignee: docs@python components: Documentation messages: 323718 nosy: adelfino, docs@python priority: normal severity: normal status: open title: doc Mention complex and decimal.Decimal on str.format note about locales type: enhancement versions: Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue34432> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5978] cProfile and profile don't work with pygtk/pyqt and sys.exit(0)
Change by Andrés Delfino : -- pull_requests: +8032 ___ Python tracker <https://bugs.python.org/issue5978> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13407] tarfile doesn't support multistream bzipped tar files
Change by Andrés Delfino : -- keywords: +patch pull_requests: +7954 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue13407> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13407] tarfile doesn't support multistream bzipped tar files
Andrés Delfino added the comment: Sorry, you are right. I'll try on 2.7 when I get home, and make a PR if needed. -- ___ Python tracker <https://bugs.python.org/issue13407> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13407] tarfile doesn't support multistream bzipped tar files
Andrés Delfino added the comment: This is no longer reproducible under 3.7.0. >>> import tarfile >>> tf = tarfile.open("kdelibs-4.7.3.tar.bz2", "r") >>> print(len(tf.getnames())) 9237 Not sure I should be the one closing this. -- nosy: +adelfino ___ Python tracker <https://bugs.python.org/issue13407> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33869] doc Add link to list definition in Glossary list entry
Change by Andrés Delfino : -- resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue33869> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34147] doc Describe briefly sampling w/out replacement in random
Change by Andrés Delfino : -- keywords: +patch pull_requests: +7861 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34147> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34147] doc Describe briefly sampling w/out replacement in random
New submission from Andrés Delfino : I think a short footnote explaining these terms could be useful to those without statistics knowledge. -- assignee: docs@python components: Documentation messages: 321882 nosy: adelfino, docs@python priority: normal severity: normal status: open title: doc Describe briefly sampling w/out replacement in random type: enhancement versions: Python 2.7, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue34147> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34116] Move all bytes/bytearray/int/float/complex documentation to Built-in Types
Andrés Delfino added the comment: See talk at: https://python.zulipchat.com/#narrow/stream/116633-documentation/subject/Gather.20all.20type.20documentation.20in.20stdtypes -- ___ Python tracker <https://bugs.python.org/issue34116> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34116] Move all bytes/bytearray/int/float/complex documentation to Built-in Types
Change by Andrés Delfino : -- keywords: +patch pull_requests: +7820 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34116> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34116] Move all bytes/bytearray/int/float/complex documentation to Built-in Types
New submission from Andrés Delfino : Right now, bytearray, bytes, complex, float and int documentation is splitted into stdtypes.rst and functions.rst. I think stdtypes.rst should be the only source with all documentation, and functions.rst should just point out to stdtypes.rst. This would make it easier to get the complete picture of a given type without having to jump between pages. This is how the documentation of dict, frozenset, list, memoryview, range, set, str and tuple works. I believe bool() is more useful in functions.rst, as it's really short. -- assignee: docs@python components: Documentation messages: 321667 nosy: adelfino, docs@python priority: normal severity: normal status: open title: Move all bytes/bytearray/int/float/complex documentation to Built-in Types type: enhancement versions: Python 2.7, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue34116> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4260] Document that ctypes.xFUNCTYPE are decorators.
Change by Andrés Delfino : -- nosy: +amaury.forgeotdarc, belopolsky, meador.inge ___ Python tracker <https://bugs.python.org/issue4260> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34085] doc Improve wording on classmethod/staticmethod
Change by Andrés Delfino : -- keywords: +patch pull_requests: +7766 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34085> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34085] doc Improve wording on classmethod/staticmethod
New submission from Andrés Delfino : 1. The classmethod definition reads: """ The @classmethod form is a function decorator – see the description of function definitions in Function definitions for details. It can be called either on the class (such as C.f()) or on an instance (such as C().f()) """ The second paragraph seems like talking about the classmethod function instead of a class method. The same goes for staticmethod. 2. The staticmethod definition reads: """ It can be called either on the class (such as C.f()) or on an instance (such as C().f()). The instance is ignored except for its class. """ "The instance is ignored except for its class." seems to have been copied from classmethod definition. 3. There is redundant text: "see the description of function definitions in Function definitions" "consult the documentation on the standard type hierarchy in The standard type hierarchy" PR fixes this. -- assignee: docs@python components: Documentation messages: 321390 nosy: adelfino, docs@python priority: normal severity: normal status: open title: doc Improve wording on classmethod/staticmethod type: enhancement versions: Python 2.7, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue34085> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34077] doc Be explicit about mock_open created mocks not supporting __iter__
Change by Andrés Delfino : -- keywords: +patch pull_requests: +7753 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34077> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34077] doc Be explicit about mock_open created mocks not supporting __iter__
New submission from Andrés Delfino : I've been bitten by this one, and while the docs are clear in what the created mock objects support, I think something explicit about __iter__ will help. -- assignee: docs@python components: Documentation messages: 321327 nosy: adelfino, docs@python priority: normal severity: normal status: open title: doc Be explicit about mock_open created mocks not supporting __iter__ type: enhancement versions: Python 3.6, Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue34077> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33702] Add some missings links in production lists and a little polish
Change by Andrés Delfino : -- versions: -Python 2.7 ___ Python tracker <https://bugs.python.org/issue33702> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33702] Add some missings links in production lists and a little polish
Change by Andrés Delfino : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue33702> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33804] Document the default value of the size parameter of io.TextIOBase.read
Change by Andrés Delfino : -- pull_requests: +7728 ___ Python tracker <https://bugs.python.org/issue33804> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33804] Document the default value of the size parameter of io.TextIOBase.read
Andrés Delfino added the comment: I do see your point (not bloat BPO with a one line fix per each undocumented feature), but IMHO it's somewhat unrealistic to fix all issues of the same type in a single PR. I opened this PR because I was reading this particular function and noticed that the "size" parameter is documented as required. If it was documented as optional, the default value is not documented either. Perhaps we can compromise, and I can look at all the classes/functions in "io", and improve this PR? I cannot propose myself to do this to the whole Python documentation at once :/ Excuse me if I didn't interpret your comment right. -- ___ Python tracker <https://bugs.python.org/issue33804> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34015] doc Add link to Descriptor HowTo Guide in Data Model
Andrés Delfino added the comment: ok :) I have just updated the PR following your comment. -- ___ Python tracker <https://bugs.python.org/issue34015> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34015] doc Add link to Descriptor HowTo Guide in Data Model
Change by Andrés Delfino : -- keywords: +patch pull_requests: +7647 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34015> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34015] doc Add link to Descriptor HowTo Guide in Data Model
New submission from Andrés Delfino : IMHO, it would be useful to make the Descriptor HowTo Guide more discoverable. As far as I can see, we are not linking to it from anywhere except the HOWTO index. Section 3.3.2.2., "Implementing Descriptors", in "Data Model" seems to be the most appropriate place. -- assignee: docs@python components: Documentation messages: 320821 nosy: adelfino, docs@python priority: normal severity: normal status: open title: doc Add link to Descriptor HowTo Guide in Data Model type: enhancement versions: Python 2.7, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue34015> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6761] Class calling
Andrés Delfino added the comment: The PR uses a slight rewording of David's phrasing. -- nosy: +adelfino versions: +Python 3.6, Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue6761> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6761] Class calling
Change by Andrés Delfino : -- keywords: +patch pull_requests: +7598 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue6761> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5978] cProfile and profile don't work with pygtk/pyqt and sys.exit(0)
Change by Andrés Delfino : -- nosy: +adelfino versions: +Python 2.7, Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue5978> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5978] cProfile and profile don't work with pygtk/pyqt and sys.exit(0)
Change by Andrés Delfino : -- keywords: +patch pull_requests: +7548 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue5978> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4260] Document that ctypes.xFUNCTYPE are decorators.
Andrés Delfino added the comment: I suspect we'll be working on this PR a little, but a least it's a start to get this moving. -- nosy: +adelfino ___ Python tracker <https://bugs.python.org/issue4260> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4260] Document that ctypes.xFUNCTYPE are decorators.
Change by Andrés Delfino : -- keywords: +patch pull_requests: +7532 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue4260> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33959] doc Remove time complexity mention from list Glossary entry
Change by Andrés Delfino : -- keywords: +patch pull_requests: +7516 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33959> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33959] doc Remove time complexity mention from list Glossary entry
New submission from Andrés Delfino : Per Raymond's comment in msg319931 I believe time complexity for list items access should be removed from the Glossary. -- assignee: docs@python components: Documentation messages: 320437 nosy: adelfino, docs@python priority: normal severity: normal status: open title: doc Remove time complexity mention from list Glossary entry type: enhancement versions: Python 2.7, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue33959> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33883] doc Mention mypy, pyrex, pytype and PyAnnotate in FAQ
Andrés Delfino added the comment: I'm adding Pyre to the list of type checkers. I have also simplified the proposed text. -- title: doc Mention mypy, pytype and PyAnnotate in FAQ -> doc Mention mypy, pyrex, pytype and PyAnnotate in FAQ ___ Python tracker <https://bugs.python.org/issue33883> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33869] doc Add link to list definition in Glossary list entry
Change by Andrés Delfino : -- title: doc Add set, frozen set, and tuple entries to Glossary -> doc Add link to list definition in Glossary list entry ___ Python tracker <https://bugs.python.org/issue33869> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33952] doc Fix typo in str.upper() documentation
Change by Andrés Delfino : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue33952> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33877] Doc: Delete UNIX qualification for script running instructions
Change by Andrés Delfino : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue33877> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33952] doc Fix typo in str.upper() documentation
Change by Andrés Delfino : -- keywords: +patch pull_requests: +7504 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33952> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33952] doc Fix typo in str.upper() documentation
New submission from Andrés Delfino : Doc says: Note that str.upper().isupper() might be False if s... Should say: Note that s.upper().isupper() might be False if s... PR fixes this. -- assignee: docs@python components: Documentation messages: 320395 nosy: adelfino, docs@python priority: normal severity: normal status: open title: doc Fix typo in str.upper() documentation type: enhancement versions: Python 2.7, Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue33952> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33885] doc Replace "hook function" with "callable" in urllib.request.urlretrieve
Change by Andrés Delfino : -- pull_requests: +7495 ___ Python tracker <https://bugs.python.org/issue33885> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33885] doc Replace "hook function" with "callable" in urllib.request.urlretrieve
Change by Andrés Delfino : -- pull_requests: +7494 ___ Python tracker <https://bugs.python.org/issue33885> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33877] Doc: Delete UNIX qualification for script running instructions
Change by Andrés Delfino : -- pull_requests: +7476 ___ Python tracker <https://bugs.python.org/issue33877> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33943] doc Add references to logging.basicConfig
Change by Andrés Delfino : -- keywords: +patch pull_requests: +7468 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33943> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33943] doc Add references to logging.basicConfig
New submission from Andrés Delfino : IMHO, the logging.basicConfig documentation could have some useful references for filemodes, time.strftime, printf-formatting, and logging level. PR adds them. -- assignee: docs@python components: Documentation messages: 320242 nosy: adelfino, docs@python priority: normal severity: normal status: open title: doc Add references to logging.basicConfig versions: Python 2.7, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue33943> ___ ___ 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: Alright! :D Yes, your help will definitely come in handy, thanks! -- ___ 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: If deemed appropriate, I can take the task of writing a HOWTO for decorators/decorators factories. -- nosy: +adelfino ___ 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
[issue33832] doc Add "magic method" entry to Glossary
Change by Andrés Delfino : -- title: Make "magic methods" a little more discoverable in the docs -> doc Add "magic method" entry to Glossary ___ Python tracker <https://bugs.python.org/issue33832> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33876] doc Mention relevant pythonesque implementations
Change by Andrés Delfino : -- title: doc Mention the MicroPython implementation in Introduction -> doc Mention relevant pythonesque implementations ___ Python tracker <https://bugs.python.org/issue33876> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33892] doc Use gender neutral words
Change by Andrés Delfino : -- pull_requests: +7383 ___ Python tracker <https://bugs.python.org/issue33892> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33892] doc Use gender neutral words
Andrés Delfino added the comment: Yes, of course! -- title: doc Add a couple of "or she/her" -> doc Use gender neutral words ___ Python tracker <https://bugs.python.org/issue33892> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33887] doc Add TOC in Design and History FAQ
Andrés Delfino added the comment: Sorry, Raymond, you are right. -- ___ Python tracker <https://bugs.python.org/issue33887> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com