[issue37571] Incorrect use of c_char_p in example code

2019-07-12 Thread Michele Angrisano
Change by Michele Angrisano : -- keywords: +patch pull_requests: +14518 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14721 ___ Python tracker <https://bugs.python.org/issu

[issue37572] email lib bug

2019-07-12 Thread Michele Angrisano
Michele Angrisano added the comment: Hi and thank you for opening this issue. What is the behaviour? What is the test you used to reproduce this bug? -- nosy: +mangrisano ___ Python tracker <https://bugs.python.org/issue37

[issue37446] Undefined behavior in Python/hamt.c

2019-06-29 Thread Michele Angrisano
Michele Angrisano added the comment: I don't get that output on 3.8.0a4+. I'm on OSX. Anyway, I think that 1 should be cast with unsigned. What do you think? -- nosy: +mangrisano ___ Python tracker <https://bugs.python.org/issue37

[issue37371] Optimize and refactor readline().

2019-06-22 Thread Michele Angrisano
Change by Michele Angrisano : -- nosy: +benjamin.peterson ___ Python tracker <https://bugs.python.org/issue37371> ___ ___ Python-bugs-list mailing list Unsub

[issue37150] Do not allow to pass FileType class object instead of instance in add_argument

2019-06-07 Thread Michele Angrisano
Change by Michele Angrisano : -- nosy: +bethard ___ Python tracker <https://bugs.python.org/issue37150> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37198] _parse_localename fail to parse 'US_IL'

2019-06-07 Thread Michele Angrisano
Michele Angrisano added the comment: Hi Hodai, thank you for the report. Would you be interested to propose a Pull Request for this issue? You can read the devguide for more informations. Thank you. :) -- nosy: +lemburg, mangrisano ___ Python

[issue37187] CField.size from the ctypes module does not behave as documented on bitfields

2019-06-07 Thread Michele Angrisano
Michele Angrisano added the comment: Hi Eric, Thank you for the report. Would you interested to propose a Pull Request for this issue? You can read the devguide for more info: https://devguide.python.org/ -- nosy: +amaury.forgeotdarc, belopolsky, mangrisano, meador.inge

[issue37150] Do not allow to pass FileType class object instead of instance in add_argument

2019-06-04 Thread Michele Angrisano
Michele Angrisano added the comment: Yes, I meant that. Thanks! :) -- ___ Python tracker <https://bugs.python.org/issue37150> ___ ___ Python-bugs-list mailin

[issue37150] Do not allow to pass FileType class object instead of instance in add_argument

2019-06-04 Thread Michele Angrisano
Michele Angrisano added the comment: Reading the examples in the doc, it's clear the behavior when FileType takes an argument. What's the behavior of FileType when is called without any argument? -- nosy: +mangrisano ___ Python tracker <ht

[issue36986] tarfile: unexpected IsADirectoryError on extraction

2019-06-02 Thread Michele Angrisano
Change by Michele Angrisano : -- nosy: -mangrisano ___ Python tracker <https://bugs.python.org/issue36986> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37086] time.sleep error message misleading

2019-06-02 Thread Michele Angrisano
Change by Michele Angrisano : -- nosy: -mangrisano ___ Python tracker <https://bugs.python.org/issue37086> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37074] os.stat() does not work for NUL and CON

2019-06-02 Thread Michele Angrisano
Change by Michele Angrisano : -- nosy: -mangrisano ___ Python tracker <https://bugs.python.org/issue37074> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37086] time.sleep error message misleading

2019-05-29 Thread Michele Angrisano
Michele Angrisano added the comment: The doc (3.7) says that the argument "may be a floating point number to indicate a more precise sleep time." I think that TypeError message is right because you can choose how much precision you need but it's optional. What do you t

[issue19184] dis module has incorrect docs for RAISE_VARARGS

2019-05-29 Thread Michele Angrisano
Change by Michele Angrisano : -- keywords: +patch pull_requests: +13544 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/13652 ___ Python tracker <https://bugs.python.org/issu

[issue19184] dis module has incorrect docs for RAISE_VARARGS

2019-05-29 Thread Michele Angrisano
Michele Angrisano added the comment: I'm working on it. -- nosy: +mangrisano ___ Python tracker <https://bugs.python.org/issue19184> ___ ___ Python-bugs-list m

[issue37074] os.stat() does not work for NUL and CON

2019-05-28 Thread Michele Angrisano
Michele Angrisano added the comment: I've tried to reproduce this behavior on my Mac with python3.8 and python 3.7 but I couldn't. If 'nul' doesn't exist, it raises a FileNotFound exception as it should do. If 'nul' exists, it shows me the right output. Same behavior with 'con

[issue36461] timeit: Additional changes for autorange

2019-05-25 Thread Michele Angrisano
Michele Angrisano added the comment: I agree with *target_time*. I'm working on it and soon I'm going to update the pr. -- nosy: +mangrisano ___ Python tracker <https://bugs.python.org/issue36

[issue37014] [First easy issue] fileinput module should document that openhook and mode are ignored when reading from stdin

2019-05-24 Thread Michele Angrisano
Michele Angrisano added the comment: I've just made a PR for this issue. -- ___ Python tracker <https://bugs.python.org/issue37014> ___ ___ Python-bugs-list m

[issue37014] [First easy issue] fileinput module should document that openhook and mode are ignored when reading from stdin

2019-05-24 Thread Michele Angrisano
Change by Michele Angrisano : -- keywords: +patch pull_requests: +13457 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue37014> ___ _

[issue37014] [First easy issue] fileinput module should document that openhook and mode are ignored when reading from stdin

2019-05-24 Thread Michele Angrisano
Michele Angrisano added the comment: The Python's version chosen for this issue is 3.7. I think the suggest can be useful for 3.8 as well. Am I right? -- nosy: +mangrisano ___ Python tracker <https://bugs.python.org/issue37

[issue36713] duplicate method definition in Lib/ctypes/test/test_unicode.py

2019-05-23 Thread Michele Angrisano
Change by Michele Angrisano : -- keywords: +patch pull_requests: +13440 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue36713] duplicate method definition in Lib/ctypes/test/test_unicode.py

2019-05-23 Thread Michele Angrisano
Michele Angrisano added the comment: I'm on it. -- ___ Python tracker <https://bugs.python.org/issue36713> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36713] duplicate method definition in Lib/ctypes/test/test_unicode.py

2019-05-23 Thread Michele Angrisano
Michele Angrisano added the comment: The proper link is this: cf448832ebca7ed34809168660fa96c3c61f8abb. Sorry. -- ___ Python tracker <https://bugs.python.org/issue36

[issue36713] duplicate method definition in Lib/ctypes/test/test_unicode.py

2019-05-23 Thread Michele Angrisano
Michele Angrisano added the comment: That method was already removed in cf44883. -- nosy: +mangrisano ___ Python tracker <https://bugs.python.org/issue36

[issue36986] tarfile: unexpected IsADirectoryError on extraction

2019-05-21 Thread Michele Angrisano
Michele Angrisano added the comment: It looks like it has the same behavior of issue8958. -- nosy: +mangrisano ___ Python tracker <https://bugs.python.org/issue36

[issue36748] Optimize textio write buffering

2019-05-16 Thread Michele Angrisano
Change by Michele Angrisano : -- pull_requests: +13274 ___ Python tracker <https://bugs.python.org/issue36748> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36927] traceback docstrings should explicitly state return values instead of referring to other functions

2019-05-16 Thread Michele Angrisano
Change by Michele Angrisano : -- keywords: +patch pull_requests: +13268 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue36927] traceback docstrings should explicitly state return values instead of referring to other functions

2019-05-16 Thread Michele Angrisano
Michele Angrisano added the comment: If Aaron can't working on it, I can do it. Just tell me. Thanks. -- nosy: +Michele Angrisano ___ Python tracker <https://bugs.python.org/issue36

[issue36461] timeit: Additional changes for autorange

2019-04-25 Thread Michele Angrisano
Change by Michele Angrisano : -- keywords: +patch pull_requests: +12879 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu