[issue37496] Support annotations in signature strings.

2019-12-01 Thread Giovanni Cappellotto
Giovanni Cappellotto added the comment: Thanks for the info. Yes, I’m still interested in working on the issue, but lately I didn’t have much time to do it. If this is a high priority feel free to re-assign to someone else, otherwise I’ll start working on it next week. On Sun, Dec 1, 2019 at

[issue15266] Perform the same checks as PyPI for Description field

2019-08-12 Thread Giovanni Cappellotto
Change by Giovanni Cappellotto : -- nosy: -potomak ___ Python tracker <https://bugs.python.org/issue15266> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37700] shutil.copyfile does not raise SpecialFileError for socket files

2019-08-04 Thread Giovanni Cappellotto
Change by Giovanni Cappellotto : -- nosy: +potomak ___ Python tracker <https://bugs.python.org/issue37700> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15266] Perform the same checks as PyPI for Description field

2019-08-03 Thread Giovanni Cappellotto
Giovanni Cappellotto added the comment: Hi Victor, This is the 3rd issue in a row I found in the "Easy issues" list where you added a comment saying > I remove the "Easy" label Why are can I still find these issues in the "Easy issues" list? Do you mean t

[issue37724] [[Errno 17] File exists: ] # Try create directories that are not part of the archive with

2019-07-31 Thread Giovanni Cappellotto
Giovanni Cappellotto added the comment: There's also the `makedirs`'s `exist_ok` optional parameter, `False` by default. You could use it to avoid this error, but I'm not an expert on this particular library, so I'm not sure if it would make sense to make this cha

[issue37678] Incorrect behaviour for user@password URI pattern in urlparse

2019-07-28 Thread Giovanni Cappellotto
Giovanni Cappellotto added the comment: What do you mean that urlparse act as unexpected? I tried your example and I think urlparse's behavior is correct. >From the RFC 1738: > Octets must be encoded if they have no corresponding graphic > character within the US-ASCII coded

[issue21992] New AST node Else() should be introduced

2019-07-28 Thread Giovanni Cappellotto
Change by Giovanni Cappellotto : -- nosy: +potomak ___ Python tracker <https://bugs.python.org/issue21992> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37666] urllib.requests.urlopen doesn't support cadata=

2019-07-28 Thread Giovanni Cappellotto
Change by Giovanni Cappellotto : -- nosy: +potomak ___ Python tracker <https://bugs.python.org/issue37666> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37496] Support annotations in signature strings.

2019-07-27 Thread Giovanni Cappellotto
Giovanni Cappellotto added the comment: > You might want to look into how PEP 563 is implemented, it has a utility to > turn an AST back into a string (I assume this is what you want). Thanks for your suggestion @levkivskyi. I took a look at https://github.com/python/cpython/pull/4390

[issue37496] Support annotations in signature strings.

2019-07-18 Thread Giovanni Cappellotto
Giovanni Cappellotto added the comment: I'd like to work on this, but I'm kind of new to the codebase. Do you think I should leave this task to someone more expert on the matter? I took a look at the function you mentioned and I was able to support simple annotations, for instan

[issue37613] Broken "Back to top" link in www.python.org (mobile)

2019-07-17 Thread Giovanni Cappellotto
Giovanni Cappellotto added the comment: I can reproduce the error in Chrome for MacOS when I emulate the resolution of a generic mobile device. I think I have a quick fix for the issue, I will publish a PR soon. -- ___ Python tracker <ht

[issue37613] Broken "Back to top" link in www.python.org (mobile)

2019-07-17 Thread Giovanni Cappellotto
Change by Giovanni Cappellotto : -- title: Fix broken "Back to top" link in www.python.org (mobile) -> Broken "Back to top" link in www.python.org (mobile) ___ Python tracker <https://

[issue37613] Fix broken "Back to top" link in www.python.org (mobile)

2019-07-17 Thread Giovanni Cappellotto
New submission from Giovanni Cappellotto : The mobile version of https://www.python.org/ has a "Back to top" link at the bottom of every page that should scroll the page back to the top, but it doesn't work in Chrome for Android. Note: it works with Safari on iOS. --

[issue7202] "python setup.py cmd --verbose" does not set verbosity

2019-07-15 Thread Giovanni Cappellotto
Giovanni Cappellotto added the comment: I took a stab at this, see attached PR. I was able encode the first two cases described by @tarek, but not the first one because `_parse_command_opts` doesn't have visibility to the list of global options that have already been parsed. Note:

[issue7202] "python setup.py cmd --verbose" does not set verbosity

2019-07-15 Thread Giovanni Cappellotto
Change by Giovanni Cappellotto : -- keywords: +patch pull_requests: +14585 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14787 ___ Python tracker <https://bugs.python.org/iss

[issue37496] Support annotations in signature strings.

2019-07-14 Thread Giovanni Cappellotto
Change by Giovanni Cappellotto : -- nosy: +potomak ___ Python tracker <https://bugs.python.org/issue37496> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13127] xml.dom.Attr.name is not labeled as read-only

2019-07-13 Thread Giovanni Cappellotto
Giovanni Cappellotto added the comment: In https://github.com/python/cpython/pull/14757 I tried updating the implementation of `Attr._set_name` to remove and reset the attr node in the owner element. So now `Attr._set_name` behaves similarly to `Document.renameNode`. All existing tests are

[issue13127] xml.dom.Attr.name is not labeled as read-only

2019-07-13 Thread Giovanni Cappellotto
Change by Giovanni Cappellotto : -- keywords: +patch pull_requests: +14552 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/14757 ___ Python tracker <https://bugs.python.org/issu

[issue37548] Document range of atan, acos and asin

2019-07-11 Thread Giovanni Cappellotto
Giovanni Cappellotto added the comment: I created a small diff to update the documentation of `math.atan`, `math.asin` and `math.acos`. -- nosy: +potomak ___ Python tracker <https://bugs.python.org/issue37

[issue37548] Document range of atan, acos and asin

2019-07-11 Thread Giovanni Cappellotto
Change by Giovanni Cappellotto : -- keywords: +patch pull_requests: +14517 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14717 ___ Python tracker <https://bugs.python.org/issu

[issue37386] [EASY] test_io: test_large_file_ops() failed on AMD64 Windows7 SP1 3.x with: [Errno 28] No space left on device

2019-06-26 Thread Giovanni Cappellotto
Giovanni Cappellotto added the comment: Serhiy, Victor: I didn't get what's your suggested solution for this task. Should we just close it as "wontfix", can I go ahead and merge the existing PR, or do you have a better suggestion on how

[issue13127] xml.dom.Attr.name is not labeled as read-only

2019-06-25 Thread Giovanni Cappellotto
Giovanni Cappellotto added the comment: I took a quick look at `minidom.py` and `test_minidom.py`. It seems that you should always use `doc.renameNode(attr, namespace, new_name)` for renaming an attribute (or an element). When `doc.renameNode` is applied on an attribute node, it removes the

[issue37386] [EASY] test_io: test_large_file_ops() failed on AMD64 Windows7 SP1 3.x with: [Errno 28] No space left on device

2019-06-24 Thread Giovanni Cappellotto
Change by Giovanni Cappellotto : -- keywords: +patch pull_requests: +14173 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14356 ___ Python tracker <https://bugs.python.org/issu

[issue37386] [EASY] test_io: test_large_file_ops() failed on AMD64 Windows7 SP1 3.x with: [Errno 28] No space left on device

2019-06-24 Thread Giovanni Cappellotto
Giovanni Cappellotto added the comment: Hi, I'd like to claim this task if nobody else already started working on it. -- nosy: +potomak ___ Python tracker <https://bugs.python.org/is

[issue37284] Not obvious that new required attrs of sys.implementation must have a PEP.

2019-06-23 Thread Giovanni Cappellotto
Change by Giovanni Cappellotto : -- keywords: +patch pull_requests: +14148 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/14328 ___ Python tracker <https://bugs.python.org/issu

[issue37284] Not obvious that new required attrs of sys.implementation must have a PEP.

2019-06-22 Thread Giovanni Cappellotto
Giovanni Cappellotto added the comment: Hi, I'd like to claim this task if nobody else already started working on it. -- nosy: +potomak ___ Python tracker <https://bugs.python.org/is