[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout
Changes by emmanuel : -- nosy: +emmanuel ___ Python tracker <http://bugs.python.org/issue14916> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout
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 ___ Python tracker <http://bugs.python.org/issue14916> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout
Changes by emmanuel : Added file: http://bugs.python.org/file29432/bug.sh ___ Python tracker <http://bugs.python.org/issue14916> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout
Changes by emmanuel : Removed file: http://bugs.python.org/file29431/bug.sh ___ Python tracker <http://bugs.python.org/issue14916> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout
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 than satisfying in that it uses up fds 0 1 2, and I have exactly the same goal and constraints as you. Finally, thanks for identifying the limitation in the python implementation and submitting a patch. Like you I hope it will be eventually applied. -- ___ Python tracker <http://bugs.python.org/issue14916> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout
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 and myreadline.c - There is this interesting comment in myreadline.c: /* By initializing this function pointer, systems embedding Python can override the readline function. Note: Python expects in return a buffer allocated with PyMem_Malloc. */ char *(*PyOS_ReadlineFunctionPointer)(FILE *, FILE *, char *); This pointer is actually used (set it to (void*)1 and the interpreter crashes) so it could offer a means to redirect stdin as we want. For stdout/stderr further investigation is needed. -- ___ Python tracker <http://bugs.python.org/issue14916> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout
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 tty without interfering with standard file descriptors 3/ (optionally) To direct to the tty (or not) the output that is a side effect of the evaluation Provided that no one messes with PyOS_ReadlineFunctionPointer (as with "import readline") it should be possible to solve 1 without modifying Python, and "approximately" solve 2 (with 3 implied out of necessity). On the other hand, modifying Python as you suggest could solve 1, but issues 2 and 3 would still remain and probably require some other modifications. -- ___ Python tracker <http://bugs.python.org/issue14916> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout
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 use-case, so modifying sys.stdin/out looks like the best solution. As for point 1, it can be worked around in a twisted and probably non-portable way (setting PyOS_ReadlineFunctionPointer to a custom function that forks a child which runs GNU readline or whatnot on its fds 0,1,2, and which communicates with the parent through pipes) but it's a pity that from PyOS_Readline() on, argument sys_stdin is correctly passed down, and that the chain has only this gap in tok_nextc() which dismisses the caller's argument and uses plain stdin. If the user arguments are not used, why does PyRun_InteractiveLoop() take any arguments at all? It would be nice to know the opinion of the python development team and to work out a complete fix (considering also stdout as you suggest) under their authority. -- ___ Python tracker <http://bugs.python.org/issue14916> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6717] Some problem with recursion handling
Emmanuel Decitre added the comment: Issue reproduceable on 3.2 (r32:88445) with drag_bug_is_nesting_events.py -- nosy: +Emmanuel.Decitre ___ Python tracker <http://bugs.python.org/issue6717> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19820] docs are missing info about module attributes
Emmanuel Arias added the comment: > I can update the docs but I would rely on the comments in Lib/inspect.py on > what to include. Executing inspect.getmembers on a module returns a lot more > attributes than documented in ismodule. I can help too. -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue19820> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38067] Add headers parameter on RobotFileParser
New submission from Emmanuel Arias : Hello I open an issue from a PR that I think need discussion: I write here the @fuwaraido's PR description: > I found some website like "sony.co.jp" requests User-Agent field in headers > when I try to fetch their robots.txt. Unless they returns 403 Forbidden > status code and RobotTextParser fails to read robots.txt. Currently there is > no way to specify headers so I propose add headers arguments in constructor. -- components: Library (Lib) messages: 351440 nosy: eamanu priority: normal pull_requests: 15423 severity: normal status: open title: Add headers parameter on RobotFileParser type: enhancement versions: Python 3.9 ___ Python tracker <https://bugs.python.org/issue38067> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38224] Windows embeddable distribution doesn't ship headers
New submission from Leblond Emmanuel : I don't understand why the headers are not provided as part of the distribution. It would be really easy to rm them once the distribution extracted for usecases that don't need them. On the other hand, usecases that need them cannot just download the Include folder from the CPython git repository given they get cooked during the build phase. It's also really inconvenient to extract the headers from the executable distribution. >From my personal experience, this prevented me from using the distribution >each time it would have been a good fit for my need: - Embedding CPython into the Godot game engine (see https://github.com/touilleMan/godot-python/blob/284f092d9f7893403f7af32cac5978532c0e7d21/platforms/windows-64/SCsub#L55-L62) - Providing a frozen distribution of python for a script with simple .exe binary that would initialize the CPython insterpeter and run a simple "import mymodule; mymodule.main()" command -- components: Build, Windows messages: 352778 nosy: paul.moore, steve.dower, tim.golden, touilleMan, zach.ware priority: normal severity: normal status: open title: Windows embeddable distribution doesn't ship headers versions: Python 2.7, Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue38224> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38225] iscoroutinefunction broken with cython - allow tagging of functions as async?
Change by Emmanuel Arias : -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue38225> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38260] asyncio.run documentation does not mention its return value
Emmanuel Arias added the comment: So, I think that will return the Future's return, isn't? I will propose a PR for this -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue38260> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38260] asyncio.run documentation does not mention its return value
Change by Emmanuel Arias : -- keywords: +patch pull_requests: +15914 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16337 ___ Python tracker <https://bugs.python.org/issue38260> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38172] Python 3.8 Segfult with Bandersnatch pytest Suite
Change by Emmanuel Arias : -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue38172> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38255] Replace "method" with "attribute" in the description of super()
Change by Emmanuel Arias : -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue38255> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38293] Deepcopying property objects results in unexpected TypeError
Change by Emmanuel Arias : -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue38293> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38293] Deepcopying property objects results in unexpected TypeError
Emmanuel Arias added the comment: I can confirm this behavior also on python 3.6 3.8 3.9 -- versions: +Python 3.6, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue38293> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38332] invalid content-transfer-encoding in encoded-word causes KeyError
Change by Emmanuel Arias : -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue38332> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38332] invalid content-transfer-encoding in encoded-word causes KeyError
Emmanuel Arias added the comment: Hello, I am not a email expert, but according to RFC 1342 the enconding can be either "B" or "Q". So, I think is reasonable that when a not correct enconding is set, should be raise an exception I think that we can improve the message raising a more specific Exception -- ___ Python tracker <https://bugs.python.org/issue38332> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38332] invalid content-transfer-encoding in encoded-word causes KeyError
Emmanuel Arias added the comment: Hi Andrei sorry for my last message. Now I understand perfectly your idea and your PR. IMO this is a correct patch. -- ___ Python tracker <https://bugs.python.org/issue38332> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue36953] Remove collections ABCs?
Emmanuel Arias added the comment: Now was remove from 3.7 https://github.com/python/cpython/commit/ef092fe9905f61ca27889092ca1248a11aa74498 This issue should be closed, isn't? -- ___ Python tracker <https://bugs.python.org/issue36953> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38554] A fatal error in test_descr
Emmanuel Arias added the comment: I can't reproduce the error -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue38554> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38554] A fatal error in test_descr
Emmanuel Arias added the comment: I' am using: Python 3.9.0a0 (heads/master:f548a3e4a2, Oct 22 2019, 12:02:14) [GCC 6.3.0 20170516] On Debian 9 -- ___ Python tracker <https://bugs.python.org/issue38554> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38567] urllib.parse.unquote_plus raises incorrect error message when string parameter is bytes
Change by Emmanuel Arias : -- nosy: +eamanu title: urllib.parse.unquote_plus raises incorrect errormessage when string parameter is bytes -> urllib.parse.unquote_plus raises incorrect error message when string parameter is bytes ___ Python tracker <https://bugs.python.org/issue38567> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38430] Memory leak in ThreadPoolExecutor + run_in_executor
Change by Emmanuel Arias : -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue38430> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38430] Memory leak in ThreadPoolExecutor + run_in_executor
Change by Emmanuel Arias : -- keywords: +patch pull_requests: +16551 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17038 ___ Python tracker <https://bugs.python.org/issue38430> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38599] Deprecate creation of asyncio object when the loop is not running
Change by Emmanuel Arias : -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue38599> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38599] Deprecate creation of asyncio object when the loop is not running
Emmanuel Arias added the comment: Hi, @asvetlov are you thinking something like the patch attached? -- keywords: +patch Added file: https://bugs.python.org/file48697/0001-Add-a-deprectation-warning-for-queue-w-o-event-runni.patch ___ Python tracker <https://bugs.python.org/issue38599> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue37784] Compiling Python 3 with sqlite impossible when sqlite installation is in a non standard directory
Emmanuel C added the comment: Sorry guy, I've found my error : I have to use the CPPFLAGS instead of the CFLAGS in order to include sqlite3 into my own Python compiled installation. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue37784> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue43623] nouveauté 2021
New submission from Emmanuel Miranda : Avec un nouveau cycle de release annuel la communauté Python ne cesse d’aller de l’avant hâte de voir ce qu’ils nous réservent pour 2021 après la version 3.10 ! En espérant que les applicatifs suivent pour supporter https://webscre.com/ -- components: Library (Lib) messages: 389503 nosy: Yanis77 priority: normal severity: normal status: open title: nouveauté 2021 ___ Python tracker <https://bugs.python.org/issue43623> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue28806] Improve the netrc library
Change by Emmanuel Arias : -- pull_requests: +24922 pull_request: https://github.com/python/cpython/pull/26330 ___ Python tracker <https://bugs.python.org/issue28806> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue28806] Improve the netrc library
Emmanuel Arias added the comment: Hello everybody I've just make this PR https://github.com/python/cpython/pull/26330 to continue the work. -- ___ Python tracker <https://bugs.python.org/issue28806> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34908] netrc parsing is overly strict
Change by Emmanuel Arias : -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue34908> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34908] netrc parsing is overly strict
Emmanuel Arias added the comment: Hellos, This issue is fixed via this PR[0] that is a continues from xiang.zhang work [1] [0] https://github.com/python/cpython/pull/26330 [1] https://github.com/python/cpython/pull/127 -- ___ Python tracker <https://bugs.python.org/issue34908> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue44221] ImportError: sys.meta_path is None, Python is likely shutting down
Emmanuel Arias added the comment: Hello, Can you please provide a piece of code to reproduce the issue? -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue44221> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14322] More test coverage for hmac
Change by Emmanuel Arias : -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue14322> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue44405] add program passed as string to dis module.
Change by Emmanuel Arias : -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue44405> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue44324] add a "expected expression" syntax error
Change by Emmanuel Arias : -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue44324> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue44779] Checkouts stale following changes to .gitattributes
Change by Emmanuel Arias : -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue44779> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20779] Add pathlib.chown method
Emmanuel Arias added the comment: Hello! I also use it frequently, but looking this issue I can agree with pitrou that there aren't lot of people that use chown. If I'm not wrong, there's a trend to move os to pathlib, perhaps chown should be in pathlib too :) I can work on this. -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue20779> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20779] Add pathlib.chown method
Change by Emmanuel Arias : -- versions: +Python 3.11 -Python 3.5 ___ Python tracker <https://bugs.python.org/issue20779> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue36287] Make ast.dump() not output optional default fields
Emmanuel Arias added the comment: Hi, Sorry sincerely I forgot this issue, if there are not any objection I can continue it. -- ___ Python tracker <https://bugs.python.org/issue36287> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue37334] Add a cancel method to asyncio Queues
Change by Emmanuel Arias : -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue37334> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38903] #if 0 block on parsetok.c
New submission from Emmanuel Arias : Hi, I can see that on parsetok.c there is the next block: ``` #ifdef PY_PARSER_REQUIRES_FUTURE_KEYWORD #if 0 static const char with_msg[] = "%s:%d: Warning: 'with' will become a reserved keyword in Python 2.6\n"; static const char as_msg[] = "%s:%d: Warning: 'as' will become a reserved keyword in Python 2.6\n"; static void warn(const char *msg, const char *filename, int lineno) { if (filename == NULL) filename = ""; PySys_WriteStderr(msg, filename, lineno); } #endif #endif ``` I think that the #if 0 block can be remove safely, right? I don't know if the #ifdef PY_PARSER_REQUIRES_FUTURE_KEYWORD we can remove. -- messages: 357387 nosy: eamanu priority: normal severity: normal status: open title: #if 0 block on parsetok.c versions: Python 3.9 ___ Python tracker <https://bugs.python.org/issue38903> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38903] #if 0 block on parsetok.c
Change by Emmanuel Arias : -- keywords: +patch pull_requests: +16850 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17365 ___ Python tracker <https://bugs.python.org/issue38903> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38960] DTrace FreeBSD build fix
Change by Emmanuel Arias : -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue38960> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38599] Deprecate creation of asyncio object when the loop is not running
Change by Emmanuel Arias : -- pull_requests: +17576 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18195 ___ Python tracker <https://bugs.python.org/issue38599> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39659] pathlib calls `os.getcwd()` without using accessor
Emmanuel Arias added the comment: Sorry, I cannot catch what is the problem of not use _Accesor on PurePath class -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue39659> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39953] Let's update ssl error codes
Change by Emmanuel Arias : -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue39953> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40052] Incorrect pointer alignment in _PyVectorcall_Function() of cpython/abstract.h
Emmanuel Arias added the comment: Hi! I cannot reproduce the error. Could you provide the way to reproduce? thanks -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue40052> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39159] Ideas for making ast.literal_eval() usable
Change by Emmanuel Arias : -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue39159> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue43025] Use normal 'i' character to denote imaginary part of complex numbers
Emmanuel Arias added the comment: Personally, it's more natural use 'j' for complex number, but it's true that in many math book (or that I used) letter 'i' is used. Now, it's feasible change i for j on cpython? Asking from my ignorance on this case. -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue43025> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue43025] Use normal 'i' character to denote imaginary part of complex numbers
Emmanuel Arias added the comment: > Now, it's feasible change i for j on cpython? Asking from my ignorance on > this case. j for i, sorry -- ___ Python tracker <https://bugs.python.org/issue43025> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue42464] Pathlib resolve() resolves non-existent ".." components with strict=False
Emmanuel Arias added the comment: Hi, I don't understand the point here. If you go back on a folder '..', IMO has more sense remove the '..', that is a way to resolve it -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue42464> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue43063] zipfile.Path / importlib.resources raises KeyError if a file wasn't found
Change by Emmanuel Arias : -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue43063> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue43225] Add missing value returned by methods on cookiejar
New submission from Emmanuel Arias : Documentation say that return something but don't specific what value is returned, and that can be confuse. -- assignee: docs@python components: Documentation messages: 386961 nosy: docs@python, eamanu priority: normal severity: normal status: open title: Add missing value returned by methods on cookiejar type: enhancement versions: Python 3.10, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue43225> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue43225] Add missing value returned by methods on cookiejar
Change by Emmanuel Arias : -- keywords: +patch pull_requests: +23314 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24522 ___ Python tracker <https://bugs.python.org/issue43225> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue43225] Add missing value returned by methods on cookiejar
Emmanuel Arias added the comment: Sorry I left nothing of information. On https://docs.python.org/3/library/http.cookiejar.html?highlight=http%20cookiejar#http.cookiejar.DefaultCookiePolicy.is_blocked and https://docs.python.org/3/library/http.cookiejar.html?highlight=http%20cookiejar#http.cookiejar.DefaultCookiePolicy.is_not_allowed docs mention that is_blocked and is_not_allowed methods "return whether *domain*..." but not mention what is return. So I added looking in the code, that this methods "return ``True`` whether *domain*..." IMO that is more clear. -- ___ Python tracker <https://bugs.python.org/issue43225> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue43253] asyncio open_connection fails when a socket is explicitly closed
Emmanuel Arias added the comment: I cannot reproduce on a Debian machine. Seems to be a Windows component issue? -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue43253> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue43253] asyncio open_connection fails when a socket is explicitly closed
Change by Emmanuel Arias : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker <https://bugs.python.org/issue43253> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue43352] Add a Barrier object in asyncio lib
Change by Emmanuel Arias : -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue43352> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40696] "await" hangs in Python3.9.0b1.
Change by Emmanuel Arias : -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue40696> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41020] Could not build the ssl module!
Emmanuel Arias added the comment: Hi, All issue opened seems to be the same: https://bugs.python.org/issue41019 https://bugs.python.org/issue41018 https://bugs.python.org/issue41017 https://bugs.python.org/issue41016 https://bugs.python.org/issue41015 https://bugs.python.org/issue41014 Maybe should be great close them? -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue41020> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24905] Allow incremental I/O to blobs in sqlite3
Emmanuel Arias added the comment: Hi everybody, I let a comment on github. I was asking about if are there some plans with this PR? Was open 3 years ago and there are not updating Cheers -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue24905> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue28806] Improve the netrc library
Emmanuel Arias added the comment: Hi! I let a comment on github. The PR was open 3 years agot, so I was wandering to know if are there some plans with that PR? Are you interested on the PR? Cheers, -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue28806> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41115] Codecs should raise precise UnicodeDecodeError or UnicodeEncodeError
Emmanuel Arias added the comment: Hi, IMO this can be mark as an easy issue. @thatiparthy please, go ahead -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue41115> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41098] Deprecating PyUnicodeEncodeError_Create
Change by Emmanuel Arias : -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue41098> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41098] Deprecating PyUnicodeEncodeError_Create
Emmanuel Arias added the comment: Yes, IMO in docs must exist a deprecated directive entry for `PyUnicodeEncodeError_Create`. Is the same situation with `PyUnicodeTranslateError_Create`, isn't? -- ___ Python tracker <https://bugs.python.org/issue41098> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41098] Deprecating PyUnicodeEncodeError_Create
Emmanuel Arias added the comment: oops, I didn't see. Thanks -- ___ Python tracker <https://bugs.python.org/issue41098> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41100] Build failure on macOS 11 (beta)
Change by Emmanuel Arias : -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue41100> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41137] pdb uses the locale encoding for .pdbrc
Change by Emmanuel Arias : -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue41137> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41217] Obsolete note for default asyncio event loop on Windows
Change by Emmanuel Arias : -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue41217> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41045] f-string's "debug" feature is undocumented
Change by Emmanuel Arias : -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue41045> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41316] tarfile: Do not write full path in FNAME field
Emmanuel Arias added the comment: Hi, If I understand correctly, the name that you are using into the tar is the basename of the file. I didn't test it yet, but this PR will remove the possibility to create a file into the tar using the source tree folder? Maybe we can think about implement a parameter seems like arcname on Zipfile? What about that? Cheers! -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue41316> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41378] IDLE EOL convention not set on a empty file
Emmanuel Arias added the comment: Hello everybody! When a new file is loaded, the current loadfile read for the newline to set the eol_convention. As does not exist for a empty file a None is saved and for that reason the exception is raised If you consider that this patch is correct I cant submit a PR Cheers -- keywords: +patch nosy: +eamanu Added file: https://bugs.python.org/file49334/0001-Fix-eol_convention-when-file-does-not-exist.patch ___ Python tracker <https://bugs.python.org/issue41378> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41373] IDLE: edit/save files created by Windows Explorer
Change by Emmanuel Arias : -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue41373> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41674] Doc tests failing for many PRs on GitHub
New submission from Emmanuel Arias : Hi, This issue was reported by Mark Shannon on Python-dev mailing list Seems that there's an issue on doc build on Github pipeline https://github.com/python/cpython/pull/22026/checks?check_run_id=1050881634 https://github.com/python/cpython/pull/22025/checks?check_run_id=1050403463 -- messages: 376151 nosy: eamanu priority: normal severity: normal status: open title: Doc tests failing for many PRs on GitHub versions: Python 3.10 ___ Python tracker <https://bugs.python.org/issue41674> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41749] Little improve on imghdr library
New submission from Emmanuel Arias : For the `what()` function, the `file` parameter is always needed. In despite of that users can use `h` for send a bytes stream to detect the kind of the image, the `file` parameter is need. Don't have sense ask for `file` parameter when this parameter will not any effect on the result of the `what` function. -- components: Library (Lib) messages: 376618 nosy: eamanu priority: normal severity: normal status: open title: Little improve on imghdr library type: behavior versions: Python 3.10 ___ Python tracker <https://bugs.python.org/issue41749> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41749] Little improve on imghdr library
Change by Emmanuel Arias : -- keywords: +patch pull_requests: +21240 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22166 ___ Python tracker <https://bugs.python.org/issue41749> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41778] Change a punctuation on documentation
Change by Emmanuel Arias : -- keywords: +patch pull_requests: +21284 stage: -> patch review pull_request: https://github.com/python/cpython/pull/9 ___ Python tracker <https://bugs.python.org/issue41778> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41778] Change a punctuation on documentation
New submission from Emmanuel Arias : On this paragrapah the clarification about IIS7 seems there's not connection beacuase is in other sentence. Move the punctuation to connect both the last sentence with the information in the parenthesis. I think the NEWS is not necessary here. -- components: email messages: 376850 nosy: barry, eamanu, r.david.murray priority: normal severity: normal status: open title: Change a punctuation on documentation versions: Python 3.10 ___ Python tracker <https://bugs.python.org/issue41778> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41778] Change a punctuation on documentation
Change by Emmanuel Arias : -- pull_requests: +21287 pull_request: https://github.com/python/cpython/pull/22232 ___ Python tracker <https://bugs.python.org/issue41778> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41749] Allow omission of imghdr.what file arg if bytes are given
Emmanuel Arias added the comment: > The opening message confused me by using 'need' as 'currently required to > call' rather than 'required to compute (test) and necessarily needed to > call'; but after reading the code, I believe I understand and modified title > to match. Sorry for my bad English, yes my idea was more likely your point of view. In the future I'll try to be more clear. > However, what is very problemmatic is requiring 1 of 2 different arguments. > For range, the first parameter is really 'start_or_stop', an int either way, > with the interpretation depending on the presence of a second. This is a > nuisance for understanding, but a convenience in usage. But I think > requiring an argument (usually) passed positionally or an argument that now > has to be passed by keyword, with an arbitrary letter name, is worse and less > justified. So my current view is that this change should be rejected. My intention is try to avoid a call like `what(None, b'...')`. IMO call a function that start with None seems a little weird (from my point of view). Sincerely, I don't know if for the people it's ok use `what(None, b'...')` or not, probably not because haven't changed since 1997. Reading your opinion it's more clear for me that this patch should be rejected. So, I'll close this issue and the PR. Thanks for the feedback, very appreciate. -- stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue41749> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue29940] Add follow_wrapped=True option to help()
Change by Emmanuel Arias : -- pull_requests: +21431 pull_request: https://github.com/python/cpython/pull/22390 ___ Python tracker <https://bugs.python.org/issue29940> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41858] Fix incomplete line on optparse documentation
New submission from Emmanuel Arias : This line seems to be incomplete. This fix come from the translation to spanish of @fjsevilla-dev on https://github.com/python/python-docs-es/pull/758/file. reading the proposal for the translate has sense add `the next lines`. -- assignee: docs@python components: Documentation messages: 377474 nosy: docs@python, eamanu priority: normal severity: normal status: open title: Fix incomplete line on optparse documentation versions: Python 3.10 ___ Python tracker <https://bugs.python.org/issue41858> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41858] Fix incomplete line on optparse documentation
Change by Emmanuel Arias : -- keywords: +patch pull_requests: +21447 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22407 ___ Python tracker <https://bugs.python.org/issue41858> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue29940] Add follow_wrapped=True option to help()
Emmanuel Arias added the comment: Hi @taleinat, Seems tha the wrapped func already has the __doc__ (in this case) copied. following your example: >>> double >>> double.__doc__ 'A function' so help(double) will print correctly the double doc. -- ___ Python tracker <https://bugs.python.org/issue29940> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40257] Improve the use of __doc__ in pydoc
Change by Emmanuel Arias : -- nosy: +eamanu nosy_count: 11.0 -> 12.0 pull_requests: +21452 pull_request: https://github.com/python/cpython/pull/22390 ___ Python tracker <https://bugs.python.org/issue40257> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41858] Fix incomplete line on optparse documentation
Emmanuel Arias added the comment: Hi Terry and Tal Einat, I can't say too much because I am not English native, and my English is very basic. When I read the docs and the translation from python-docs-es, that sentence make me feel how if something is missing, but I understand the intention with the Terry explanation. I will change the patch for ``Additionally, users can run one of the following ::`` What about now? -- ___ Python tracker <https://bugs.python.org/issue41858> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41858] Fix incomplete line on optparse documentation
Emmanuel Arias added the comment: Thanks for the help and review! -- ___ Python tracker <https://bugs.python.org/issue41858> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40455] GCC 10 compiler warnings
Emmanuel Arias added the comment: Hi, I've on my Debian (testing) the reported warning: In function ‘assemble_lnotab’, inlined from ‘assemble_emit’ at Python/compile.c:5706:25, inlined from ‘assemble’ at Python/compile.c:6048:18: Python/compile.c:5660:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 5660 | *lnotab++ = k; | gcc --version gcc (Debian 10.2.0-5) 10.2.0 Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue40455> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41940] AMD64 Debian root 3.x: tests fail because downloaded files start with:
Change by Emmanuel Arias : -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue41940> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41940] AMD64 Debian root 3.x: tests fail because downloaded files start with:
Emmanuel Arias added the comment: Hi, seems that this test doesn't occur ? or I'm very wrong? https://buildbot.python.org/all/#/builders/345 -- ___ Python tracker <https://bugs.python.org/issue41940> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41996] Should `make install` still install to /usr/bin/python3?
Emmanuel Arias added the comment: Hi, There're many people that still use py2, or both. Also python2 (python) is incompatible with python3, so we cannot call python == python3. (There was some discussion on Debian, just if you want take a look https://lists.debian.org/debian-python/2020/07/msg00042.html) -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue41996> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40064] py38: document xml.etree.cElementTree will be removed in 3.9
Emmanuel Arias added the comment: Hi, This ticket should be closed or updated. see disussion https://bugs.python.org/issue36543 -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue40064> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue37461] email.parser.Parser hang
Change by Emmanuel Arias : -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue37461> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41822] Document the meaning of values for sys.float_info.rounds
Change by Emmanuel Arias : -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue41822> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33167] RFC Documentation Updates to urllib.parse.rst
Emmanuel Arias added the comment: +1 for the closed -- nosy: +eamanu ___ Python tracker <https://bugs.python.org/issue33167> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com