[issue35609] Improve of abc.py docstring

2019-01-02 Thread Emmanuel Arias
Emmanuel Arias added the comment: Hi Serhiy, A little question. Is there a planned version to remove the deprecated? -- ___ Python tracker <https://bugs.python.org/issue35

[issue35640] Allow passing PathLike arguments to SimpleHTTPRequestHandler

2019-01-02 Thread Emmanuel Arias
New submission from Emmanuel Arias : Hi, A PR was opened https://github.com/python/cpython/pull/11398. This PR seems interest in the sense that this allow passing a pathlike arguments to SimpleHTTPRequestHandler. Regards -- components: Library (Lib) messages: 332873 nosy: eamanu

[issue35545] asyncio.base_events.create_connection doesn't handle scoped IPv6 addresses

2019-01-02 Thread Emmanuel Arias
Emmanuel Arias added the comment: Hi!, I was reading the PR. Just a little comment. I am not sure about have a difference for IPv4 and IPv6, in the sense of use a tuple for IPv4 and separate parameters for IPv6 Regards -- nosy: +eamanu

[issue35615] "RuntimeError: Dictionary changed size during iteration" when copying a WeakValueDictionary

2018-12-30 Thread Emmanuel Arias
Change by Emmanuel Arias : -- versions: +Python 3.8 ___ Python tracker <https://bugs.python.org/issue35615> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35615] "RuntimeError: Dictionary changed size during iteration" when copying a WeakValueDictionary

2018-12-30 Thread Emmanuel Arias
Emmanuel Arias added the comment: Hi! Seems like a bug. Please provide a patch. This can be apply to 3.8? -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue35

[issue35617] unittest discover does not work with implicit namespaces

2018-12-30 Thread Emmanuel Arias
Emmanuel Arias added the comment: Hi! IMO its a good propose. You will have to modify some tests. -- nosy: +eamanu versions: +Python 3.8 ___ Python tracker <https://bugs.python.org/issue35

[issue35616] Change references to '4.0'.

2018-12-29 Thread Emmanuel Arias
Emmanuel Arias added the comment: Same similar occur with other docs $ git grep 'deprecated-removed::.*4\.0' Doc/c-api/arg.rst: .. deprecated-removed:: 3.3 4.0 Doc/c-api/arg.rst: .. deprecated-removed:: 3.3 4.0 Doc/c-api/arg.rst: .. deprecated-removed:: 3.3 4.0 Doc/c-api/arg.rst

[issue35616] Change references to '4.0'.

2018-12-29 Thread Emmanuel Arias
Change by Emmanuel Arias : -- keywords: +patch, patch, patch pull_requests: +10688, 10689, 10690 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35616] Change references to '4.0'.

2018-12-29 Thread Emmanuel Arias
Change by Emmanuel Arias : -- keywords: +patch, patch pull_requests: +10688, 10689 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35616] Change references to '4.0'.

2018-12-29 Thread Emmanuel Arias
Change by Emmanuel Arias : -- keywords: +patch pull_requests: +10688 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35609] Improve of abc.py docstring

2018-12-29 Thread Emmanuel Arias
Emmanuel Arias added the comment: > Double spaces between sentences increase readability. This is not a bug. hmm ok. I can see other docstring with not double spaces. But I will ignore. > Since abstractclassmethod and like are deprecated and should not be used in > new code, I d

[issue35609] Improve of abc.py docstring

2018-12-28 Thread Emmanuel Arias
Change by Emmanuel Arias : -- pull_requests: +10653, 10654 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue35609> ___ ___ Python-

[issue35609] Improve of abc.py docstring

2018-12-28 Thread Emmanuel Arias
Change by Emmanuel Arias : -- pull_requests: +10653, 10654, 10655 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue35609> ___ ___ Py

[issue35609] Improve of abc.py docstring

2018-12-28 Thread Emmanuel Arias
Change by Emmanuel Arias : -- pull_requests: +10653 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue35609> ___ ___ Python-bugs-lis

[issue35608] python3 multiprocessing queue deadlock when use thread and process at same time

2018-12-28 Thread Emmanuel Arias
Emmanuel Arias added the comment: > data = result_queue.get() And this is blocked -- ___ Python tracker <https://bugs.python.org/issue35608> ___ ___ Python-

[issue35608] python3 multiprocessing queue deadlock when use thread and process at same time

2018-12-28 Thread Emmanuel Arias
Emmanuel Arias added the comment: Hi >def write_to_stdout(result_queue: Queue): I think that you have to write here a sleep. IMO this is blocking all. -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issu

[issue35609] Improve of abc.py docstring

2018-12-28 Thread Emmanuel Arias
New submission from Emmanuel Arias : Hi! I prepare a little improve. I added some samples usage, some clarification and delete some whitespace unnecessary. Attach patch. Regards -- assignee: docs@python components: Documentation files: 0001-improve-abc.py-docstring.patch keywords

[issue35593] Register standard browser: Chrome

2018-12-27 Thread Emmanuel Arias
New submission from Emmanuel Arias : Hi! This issue is open to discuss the PR: https://github.com/python/cpython/pull/11327 This PR propose add "chrome" on webbrowser.register_standard_browsers for windows IMO this is a reasonable new feature simply because Chrome is com

[issue35590] logging.handlers.SysLogHandler with STREAM connects in constructor without timeout

2018-12-26 Thread Emmanuel Arias
Change by Emmanuel Arias : -- components: +Library (Lib) type: -> enhancement ___ Python tracker <https://bugs.python.org/issue35590> ___ ___ Python-bugs-lis

[issue35590] logging.handlers.SysLogHandler with STREAM connects in constructor without timeout

2018-12-26 Thread Emmanuel Arias
Emmanuel Arias added the comment: Hi, If I don't see bad, if a timeout occur this is catch by the OSError exception. -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue35

[issue24053] Define EXIT_SUCCESS and EXIT_FAILURE constants in sys

2018-12-25 Thread Emmanuel Arias
Emmanuel Arias added the comment: Hi Elliot! > It seems like a no-brainer to add these, they reduce magic number use and > improve the accessibility of Python to people coming from C. I would love to > add these if everyone is OK with it. Sound great. But IMO I think that

[issue33661] urllib may leak sensitive HTTP headers to a third-party web site

2018-12-23 Thread Emmanuel Arias
Emmanuel Arias added the comment: Hi!, Like say Katsuhiko YOSHIDA (https://github.com/python/cpython/pull/11292#issuecomment-449667371) this should be filter other sensitive header. I think that is reasonable if we think on a complete solution to this issue. Maybe this issue could

[issue35530] Counter-intuitive logging API

2018-12-19 Thread Emmanuel Arias
Emmanuel Arias added the comment: > What would the exception say? > >FatalError: no error occurred haha, I mean a message that tell you something to avoid have some weird behave (like here). :-) > If you have 3.8 installed, feel free to test the code yourself and report &g

[issue35530] Counter-intuitive logging API

2018-12-19 Thread Emmanuel Arias
Emmanuel Arias added the comment: > The call to logging.error() is irrelevant, since there's no expectation that > the module-level function will necessarily output the same as a method of a > specific instance logger.error(). That's true. Maybe and warning or Exception can

[issue19217] Calling assertEquals for moderately long list takes too long

2018-12-17 Thread Emmanuel Arias
Change by Emmanuel Arias : -- pull_requests: +10441 ___ Python tracker <https://bugs.python.org/issue19217> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35140] encoding problem: coding:gbk cause syntaxError

2018-11-11 Thread Emmanuel Arias
Emmanuel Arias added the comment: I can not reproduce this issue on my Debian9. -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue35140> ___ ___

[issue19217] Calling assertEquals for moderately long list takes too long

2018-11-10 Thread Emmanuel Arias
Emmanuel Arias added the comment: I create this patch on 3.7 -- ___ Python tracker <https://bugs.python.org/issue19217> ___ ___ Python-bugs-list mailin

[issue19217] Calling assertEquals for moderately long list takes too long

2018-11-10 Thread Emmanuel Arias
Emmanuel Arias added the comment: Hi! I see that this issue have a pr (https://github.com/python/cpython/pull/10034) opened 20 days ago. So, I want to continue work on this (my first pr). I use the vstinner's patch and I make two little change (attached patch): 1) first I add the "exp

[issue35047] Better error messages in unittest.mock

2018-10-24 Thread Emmanuel Arias
Emmanuel Arias added the comment: I think that is a good change. Maybe you can apply the change on 3.6, 3.7 and 3.8 -- ___ Python tracker <https://bugs.python.org/issue35

[issue35047] Better error messages in unittest.mock

2018-10-23 Thread Emmanuel Arias
Emmanuel Arias added the comment: It seems to be a good idea. If you attach a sample, it would be great. -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue35

[issue35051] Fix pep8 on Lib/turtledemo module

2018-10-23 Thread Emmanuel Arias
Emmanuel Arias added the comment: So, do you recommend me close the pr? -- ___ Python tracker <https://bugs.python.org/issue35051> ___ ___ Python-bugs-list m

[issue35051] Fix pep8 on Lib/turtledemo module

2018-10-23 Thread Emmanuel Arias
Change by Emmanuel Arias : -- keywords: +patch pull_requests: +9396 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue35051> ___ ___ Py

[issue35051] Fix pep8 on Lib/turtledemo module

2018-10-23 Thread Emmanuel Arias
New submission from Emmanuel Arias : This issue is related to #35039 Fix pep8. See comments on https://github.com/python/cpython/pull/10044 -- components: Library (Lib) messages: 328316 nosy: eamanu, thatiparthy priority: normal severity: normal status: open title: Fix pep8 on Lib

[issue35039] remove unused vars in Lib/turtledemo module

2018-10-22 Thread Emmanuel Arias
Change by Emmanuel Arias : -- pull_requests: +9383 ___ Python tracker <https://bugs.python.org/issue35039> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30090] Failed to build these modules: _ctypes

2017-04-17 Thread Emmanuel Arias
Emmanuel Arias added the comment: The problem was solution making: apt-get install libffi-dev Thanks -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue30090] Failed to build these modules: _ctypes

2017-04-17 Thread Emmanuel Arias
New submission from Emmanuel Arias: Hello everybody, I am working with the code. I clone the repo, and make a pull upstream of github's cpython repository (master branch), and when I make: ./configure --with-pydebug && make -j build correctly but finished with this message:

[issue13349] Non-informative error message in index() and remove() functions

2017-03-22 Thread Emmanuel Arias
Emmanuel Arias added the comment: I agree with Jim Fasarakis-Hilliard this message may be change in new 3.7 version -- nosy: +eamanu ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue27240] 'UnstructuredTokenList' object has no attribute '_fold_as_ew'

2016-06-06 Thread Leblond Emmanuel
New submission from Leblond Emmanuel: The folding code for email headers crashes whenever it hits line _header_value_parser.py:432 given it try to call method `_fold_as_ew`. ``` (venv)➜ vigiechiro-api git:(in2p3) ✗ python test_mail.py Traceback (most recent call last): File "test_ma

[issue24246] mimetypes.guess_extension returns different values when init() is called several times

2015-05-20 Thread Emmanuel Gamby
Changes by Emmanuel Gamby e.ga...@gmail.com: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24246 ___ ___ Python-bugs-list

[issue24246] mimetypes.guess_extension returns different values when init() is called several times

2015-05-20 Thread Emmanuel Gamby
New submission from Emmanuel Gamby: Hi, Following the principle of least astonishment, I would expect the function to return the same value. Python 2.7.3 (default, Mar 13 2014, 11:03:55) [GCC 4.7.2] on linux2 Type help, copyright, credits or license for more information. import mimetypes

[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout

2013-03-25 Thread emmanuel
emmanuel added the comment: Kevin, I now fully agree with you. Regarding points 2 3 I dismissed modifying sys.stdin/out in python out of hand because it still would not allow to have a proper behaviour with two concurrent consoles on the same interpreter. Anyway this is not a very meaningful

[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout

2013-03-20 Thread emmanuel
emmanuel added the comment: Kevin, I've read more carefully your messages and investigated some more. It seems that there are several issues: 1/ To take input from a defined tty without interfering with standard file descriptors 2/ To have the result (object) of evaluation printed to a defined

[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout

2013-03-18 Thread emmanuel
emmanuel added the comment: Kevin, These are good points. I had a cursory look at the python source code and observed the following: - There may also be a concern with stderr (used to print the prompt in PyOS_Readline) - PyOS_Readline has two different definitions in files pgenmain.c

[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout

2013-03-17 Thread emmanuel
Changes by emmanuel garcia6.emman...@wanadoo.fr: -- nosy: +emmanuel ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14916 ___ ___ Python-bugs-list

[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout

2013-03-17 Thread emmanuel
emmanuel added the comment: run the attached shell script to observe the bug ./bug.sh 0 - shows the bug ./bug.sh 1 - shows the expected behaviour (using a workaround) tested on linux with python 2.7 -- Added file: http://bugs.python.org/file29431/bug.sh

[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout

2013-03-17 Thread emmanuel
Changes by emmanuel garcia6.emman...@wanadoo.fr: Added file: http://bugs.python.org/file29432/bug.sh ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14916

[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout

2013-03-17 Thread emmanuel
Changes by emmanuel garcia6.emman...@wanadoo.fr: Removed file: http://bugs.python.org/file29431/bug.sh ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14916

[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout

2013-03-17 Thread emmanuel
emmanuel added the comment: Kevin, Indeed the code I submitted can be written entirely in C using pipe fork execl dup2 etc. as you suggest. The only purpose of mixing bash and C is to have a short self-contained file showing the problem. Anyway, whether in C or bash the workaround is less

[issue14977] mailcap does not respect precedence in the presence of wildcards

2012-06-01 Thread Emmanuel Beffara
New submission from Emmanuel Beffara m...@beffara.org: According to RFC 1542, the first matching entry in mailcap files should be used for handling a given type. The mailcap module does not respect this rule when wildcards are used in some rules, because the lookup function always checks

[issue6717] Some problem with recursion handling

2011-05-27 Thread Emmanuel Decitre
Emmanuel Decitre emm...@googlemail.com added the comment: Issue reproduceable on 3.2 (r32:88445) with drag_bug_is_nesting_events.py -- nosy: +Emmanuel.Decitre ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6717

[issue6924] struct.unpack weird behavior with bi (byte then integer)

2009-09-16 Thread Emmanuel Bengio
New submission from Emmanuel Bengio beng...@gmail.com: Using the following command in Python 2.6.1: struct.unpack(BI,12345) Traceback (most recent call last): File pyshell#1, line 1, in module struct.unpack(BI,12345) error: unpack requires a string argument of length 8 I get this error

<    1   2   3