[issue37603] parsetok(): Assertion `(intptr_t)(int)(a - line_start) == (a - line_start)' failed, when running get-pip.py

2019-07-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I just merged PR 14433 -- ___ Python tracker <https://bugs.python.org/issue37603> ___ ___ Python-bugs-list mailin

[issue37500] 3.8.0b2 no longer optimizes away "if 0:" ?

2019-07-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I will close this for now, we can revisit this if we find a better solution for the issue. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracke

[issue37268] Deprecate the parser module

2019-07-29 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +14780 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15017 ___ Python tracker <https://bugs.python.org/issu

[issue37268] Deprecate the parser module

2019-07-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > Any update on deprecating the parser module? Wish granted: PR 15017 -- ___ Python tracker <https://bugs.python.org/issu

[issue37268] Deprecate the parser module

2019-07-30 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue37562] PEP 590 implementation may have introduced a performance regression

2019-08-05 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue36753] Python modules not linking to libpython causes issues for RTLD_LOCAL system-wide

2019-08-08 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: In the What's New section of 3.8 (https://docs.python.org/3.8/whatsnew/3.8.html#changes-in-the-c-api) it indicates that: > On Unix, C extensions are no longer linked to libpython except on Android and > Cygwin. When Python is embedded

[issue37795] Fix deprecation warnings causing the test suite to fail when running with -Werror

2019-08-08 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : The test suite is failing when running with python -Werror due to some uncatched DeprecationWarnings. -- components: Tests messages: 349261 nosy: pablogsal priority: normal severity: normal status: open title: Fix deprecation warnings

[issue37795] Fix deprecation warnings causing the test suite to fail when running with -Werror

2019-08-08 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +14916 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15184 ___ Python tracker <https://bugs.python.org/issu

[issue37795] Fix deprecation warnings causing the test suite to fail when running with -Werror

2019-08-08 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset aa542c2cf26c5af9298dda6064576b18906cdfbf by Pablo Galindo in branch 'master': bpo-37795: Capture DeprecationWarnings in the test suite (GH-15184) https://github.com/python/cpython/commit/aa542c2cf26c5af9298dda6064576b

[issue37795] Fix deprecation warnings causing the test suite to fail when running with -Werror

2019-08-08 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue37795] Fix deprecation warnings causing the test suite to fail when running with -Werror

2019-08-08 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +14920 pull_request: https://github.com/python/cpython/pull/15188 ___ Python tracker <https://bugs.python.org/issue37

[issue37795] Fix deprecation warnings causing the test suite to fail when running with -Werror

2019-08-08 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 162d45c531552d0699f945d2c22a763941dca3c1 by Pablo Galindo in branch '3.8': [3.8] bpo-37795: Capture DeprecationWarnings in the test suite (GH-15184) (GH-15188) https://github.com/python/cpyt

[issue37830] continue in finally with return in try results with segfault

2019-08-12 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +pablogsal ___ Python tracker <https://bugs.python.org/issue37830> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31171] multiprocessing.BoundedSemaphore of 32-bit python could not work while cross compiling on linux platform

2018-11-26 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +benjamin.peterson, pitrou ___ Python tracker <https://bugs.python.org/issue31171> ___ ___ Python-bugs-list mailin

[issue35316] test_eintr fails randomly on macOS

2018-11-28 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Some buildbots failing with this problem: https://buildbot.python.org/all/#/builders/145/builds/849 -- ___ Python tracker <https://bugs.python.org/issue35

[issue35316] test_eintr fails randomly on macOS

2018-11-28 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I will investigate with MacOS Mojave this week. -- ___ Python tracker <https://bugs.python.org/issue35316> ___ ___ Pytho

[issue35316] test_eintr fails randomly on macOS

2018-11-28 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- assignee: -> pablogsal ___ Python tracker <https://bugs.python.org/issue35316> ___ ___ Python-bugs-list mailing list Un

[issue33930] Segfault with deep recursion into object().__dir__

2018-11-28 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > Can someone please explain me why this change has any impact? Does it mean > that _PyObject_GC_UNTRACK() macro has a bug? Interestingly, this lonely and perplexing comment is left in PyObject_GC_UnTrack (the function): void PyObject_GC_U

[issue34521] Multiple tests (test_socket, test_multiprocessing_*) fail due to incorrect recvmsg(2) buffer lengths, causing failures on FreeBSD CURRENT

2018-11-28 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I did not backport this still because the code is very different and it required more time to understand how it works on 2.7. I do not have access currently to koobs buildbot (the IP has changed) so I cannot check if that works

[issue34172] multiprocessing.Pool and ThreadPool leak resources after being deleted

2018-12-01 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: multiprocessing.Pool.imap hangs in MacOs after applying this commit: import multiprocessing def the_test(): print("Begin") for x in multiprocessing.Pool().imap(int, ["4", "3"]): print(x)

[issue34172] multiprocessing.Pool and ThreadPool leak resources after being deleted

2018-12-01 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Bisecting between 3.7.0(good) and 3.7.1(bad) with the code in my previous commit points to: 97f998a4dfd6db6d867f446daa62445d0782bf39 is the first bad commit commit 97f998a4dfd6db6d867f446daa62445d0782bf39 Author: Miss Islington (bot) <31488909+m

[issue34172] multiprocessing.Pool and ThreadPool leak resources after being deleted

2018-12-01 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: This also happens on Linux, hanging in different moments: ❯ ./python test.py Begin 4 [hangs] ❯ ./python test.py Begin 4 3 [hangs] ❯ ./python test.py [hangs] -- ___ Python tracker <https://bugs.python.

[issue35378] multiprocessing.Pool.imaps iterators do not maintain alive the multiprocessing.Pool objects

2018-12-02 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : After applying the PRs in issue34172, multiprocessing.Pool.imap hangs on MacOs and Linux. This is a simple reproducer: import multiprocessing def the_test(): print("Begin") for x in multiprocessing.Pool().imap(int,

[issue34172] multiprocessing.Pool and ThreadPool leak resources after being deleted

2018-12-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: As this issue was somehow still present previous to this commit, I am going to track this problem in a new issue: issue35378 -- status: open -> closed ___ Python tracker <https://bugs.pyth

[issue35378] multiprocessing.Pool.imaps iterators do not maintain alive the multiprocessing.Pool objects

2018-12-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I was working already on a PR. Do you prefer to wait for yours instead? -- ___ Python tracker <https://bugs.python.org/issue35

[issue35378] multiprocessing.Pool.imaps iterators do not maintain alive the multiprocessing.Pool objects

2018-12-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I think the code is almost ok (I also prefer to also use the cache as an excuse to maintain the pool alive) but the test needs to be done a bit more carefully to avoid hanging the test suite in case of failure and to avoid leaking threads or

[issue35378] multiprocessing.Pool.imaps iterators do not maintain alive the multiprocessing.Pool objects

2018-12-02 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +10087 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue34172] multiprocessing.Pool and ThreadPool leak resources after being deleted

2018-12-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Víctor, I have a PR fixing this in: issue35378 Even if is not correct to not call close or join on the Pool, this behaviour was working before while now it hangs. The fix is really simple, si I think we should fix it and not revert the change on this

[issue34172] multiprocessing.Pool and ThreadPool leak resources after being deleted

2018-12-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > I'm not comfortable with the fix. I cannot explain why but I feel like adding > a strong dependency from a child to its parent is going to lead to more bugs, > not less. It sounds like a recipe for reference cycles. Maybe I'm

[issue34172] multiprocessing.Pool and ThreadPool leak resources after being deleted

2018-12-03 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- Removed message: https://bugs.python.org/msg330994 ___ Python tracker <https://bugs.python.org/issue34172> ___ ___ Python-bug

[issue34172] multiprocessing.Pool and ThreadPool leak resources after being deleted

2018-12-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > I'm not comfortable with the fix. I cannot explain why but I feel like adding > a strong dependency from a child to its parent is going to lead to more bugs, > not less. It sounds like a recipe for reference cycles. Maybe I'm

[issue34172] multiprocessing.Pool and ThreadPool leak resources after being deleted

2018-12-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > I'm not comfortable with the fix. I cannot explain why but I feel like adding > a strong dependency from a child to its parent is going to lead to more bugs, > not less. It sounds like a recipe for reference cycles. Maybe I'm

[issue34172] multiprocessing.Pool and ThreadPool leak resources after being deleted

2018-12-03 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- Removed message: https://bugs.python.org/msg330995 ___ Python tracker <https://bugs.python.org/issue34172> ___ ___ Python-bug

[issue34172] multiprocessing.Pool and ThreadPool leak resources after being deleted

2018-12-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > I disagree that a child should keep its parent alive. But this is normal across the standard library. For example, here is how a deque iterator keeps the deque alive: >>> x = deque([1,2,3]) >>> deque_iter = iter(x) >>>

[issue34172] multiprocessing.Pool and ThreadPool leak resources after being deleted

2018-12-04 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > that there is code in the stdlib that holdes reference between child and > parent Just to clarify: is not that is just code in the stdlib that keeps a reference between child and parent. The examples I have given are the exact same situatio

[issue35378] multiprocessing.Pool.imaps iterators do not maintain alive the multiprocessing.Pool objects

2018-12-06 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Although I think keeping the iterator is not a bad solution if done correctly, I think more and more that is not the best solution. @Antoine, would you be ok passing a weak reference to the iterator and raising if the pool is dead? I still think we

[issue35378] multiprocessing.Pool.imaps iterators do not maintain alive the multiprocessing.Pool objects

2018-12-06 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Ok, I will modify my PR to pass a weak reference and raise. -- ___ Python tracker <https://bugs.python.org/issue35

[issue35437] Almost all Windows buildbots are failing to compile

2018-12-07 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : Almost all Windows buildbots are failing to compile Python: https://buildbot.python.org/all/#/builders/130/builds/525 https://buildbot.python.org/all/#/builders/113/builds/825 https://buildbot.python.org/all/#/builders/121/builds/782 https

[issue35437] Almost all Windows buildbots are failing to compile

2018-12-07 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +ned.deily versions: +Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue35437> ___ ___ Python-bug

[issue35437] Almost all Windows buildbots are failing to compile

2018-12-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: https://github.com/python/cpython/commit/468a15aaf9206448a744fc5eab3fc21f51966aad -- versions: -Python 3.6 ___ Python tracker <https://bugs.python.org/issue35

[issue35437] Almost all Windows buildbots are failing to compile

2018-12-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Reverting that commit seem to work: https://buildbot.python.org/all/#/builders/91/builds/9 -- ___ Python tracker <https://bugs.python.org/issue35

[issue35437] Almost all Windows buildbots are failing to compile

2018-12-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: More broken buildbots: https://buildbot.python.org/all/#/builders/32/builds/1867 -- ___ Python tracker <https://bugs.python.org/issue35

[issue35437] Almost all Windows buildbots are failing to compile

2018-12-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: @Steve Notice that 468a15aaf9206448a744fc5eab3fc21f51966aad is currently reverted, so you need to push it again if you plan to add something on top of it. -- ___ Python tracker <https://bugs.python.

[issue35378] multiprocessing.Pool.imaps iterators do not maintain alive the multiprocessing.Pool objects

2018-12-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I am playing with passing weakreferences into the iterator objects, but this may not be enough. For example, take the code of ApplyResult.get: def get(self, timeout=None): if self._pool() is None: raise RuntimeError("The pool is

[issue35378] multiprocessing.Pool.imaps iterators do not maintain alive the multiprocessing.Pool objects

2018-12-09 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- Removed message: https://bugs.python.org/msg331441 ___ Python tracker <https://bugs.python.org/issue35378> ___ ___ Python-bug

[issue35378] multiprocessing.Pool.imaps iterators do not maintain alive the multiprocessing.Pool objects

2018-12-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I am playing with weakreferences inside the iterator objects, but this may not be enough. For example, take the code of ApplyResult.get: def get(self, timeout=None): if self._pool() is None: raise RuntimeError("The pool is dead!"

[issue35378] multiprocessing.Pool.imaps iterators do not maintain alive the multiprocessing.Pool objects

2018-12-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Also, making tests that do not leak threads for this case is very difficult as if we go with weakrefs, the test *has* to leak a pool (the pool is dead but never calls join/close) to check that when you use the iterator the exception happens. Also

[issue20239] Allow repeated deletion of unittest.mock.Mock attributes

2018-12-09 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +10291 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35122] Process not exiting on unhandled exception when using multiprocessing module

2018-12-09 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue35433] Correctly detect installed SDK versions

2018-12-10 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: This commit broke the following (at least) the buildbots: https://buildbot.python.org/all/#/builders/38/builds/751 https://buildbot.python.org/all/#/builders/31/builds/719 can someone work on a fix? Otherwise we would have to revert the commit per our

[issue35425] test_eintr fails randomly on AMD64 FreeBSD 10-STABLE Non-Debug 3.7: TypeError: 'int' object is not callable

2018-12-10 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Could it be that there is another test that is sending SIGALRM but does not disarm the ITIMER_REAL timer before restoring the previous handler? --- TypeError: 'int' object is not callable Can it be that thread.file has some custom d

[issue35425] test_eintr fails randomly on AMD64 FreeBSD 10-STABLE Non-Debug 3.7: TypeError: 'int' object is not callable

2018-12-10 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I logged in into the buildbot and try to reproduce that. After 230 iterations of `test_eintr` I cannot reproduce the signal problem. Maybe this is an interaction with some other test -- ___ Python

[issue35412] test_future4 ran no test

2018-12-10 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +10318 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35426] test_signal.test_interprocess_signal() race condition

2018-12-10 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +10319 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35412] test_future4 ran no test

2018-12-11 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset a932d0b496767b5aac14191cbc17093e502b6cb4 by Pablo Galindo in branch 'master': bpo-35412: Skip test_multiprocessing_fork and test_multiprocessing_forkserver on Windows (GH-11086) https://github.com/python/cpyt

[issue35426] test_signal.test_interprocess_signal() race condition

2018-12-11 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 2ab2afd387084ba38a37f5944fcb0675113b64dc by Pablo Galindo in branch 'master': bpo-35426: Eliminate race condition in test_interprocess_signal (GH-11087) https://github.com/python/cpython/commit/2ab2afd387084ba38a37f5944fcb06

[issue35601] Race condition in test_signal_handling_args x86-64 High Sierra 3.75

2018-12-27 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : There is a race condition in FAIL: test_signal_handling_args (test.test_asyncio.test_events.KqueueEventLoopTests) in macOS: https://buildbot.python.org/all/#/builders/147/builds/546/steps/4/logs/stdio

[issue35601] Race condition in test_signal_handling_args x86-64 High Sierra 3.75

2018-12-27 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +10612 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35601] Race condition in test_signal_handling_args x86-64 High Sierra 3.75

2018-12-27 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch, patch pull_requests: +10612, 10613 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35601] Race condition in test_signal_handling_args x86-64 High Sierra 3.75

2018-12-27 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch, patch, patch pull_requests: +10612, 10613, 10614 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35602] cleanup code may fail in test_asyncio.test_unix_events.SelectorEventLoopUnixSockSendfileTests

2018-12-27 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : According to this buildbot: https://buildbot.python.org/all/#/builders/170/builds/218/steps/4/logs/stdio there is some cleanup failure in test_sock_sendfile_os_error_first_call: test_sock_sendfile_os_error_first_call

[issue35602] cleanup code may fail in test_asyncio.test_unix_events.SelectorEventLoopUnixSockSendfileTests

2018-12-27 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch, patch pull_requests: +10615, 10616 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35602] cleanup code may fail in test_asyncio.test_unix_events.SelectorEventLoopUnixSockSendfileTests

2018-12-27 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +10615 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35602] cleanup code may fail in test_asyncio.test_unix_events.SelectorEventLoopUnixSockSendfileTests

2018-12-27 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch, patch, patch pull_requests: +10615, 10616, 10617 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35601] Race condition in test_signal_handling_args x86-64 High Sierra 3.75

2018-12-28 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 5471420faa84519530f29b08f2b042b2288e3e96 by Pablo Galindo in branch 'master': bpo-35601: Alleviate race condition when waiting for SIGALRM in test_asyncio (GH-11337) https://github.com/python/cpyt

[issue35602] cleanup code may fail in test_asyncio.test_unix_events.SelectorEventLoopUnixSockSendfileTests

2018-12-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset d51324a2f5d172665f8824b25456c9822797fc84 by Pablo Galindo in branch 'master': bpo-35602: Make sure the transport is always closed in SelectorEventLoopUnixSockSendfileTests (GH-11338) https://github.com/python/cpyt

[issue35601] Race condition in test_signal_handling_args x86-64 High Sierra 3.75

2018-12-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I am going to close this one as the only branch left is 3.6 and is on security fixes only. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracke

[issue35602] cleanup code may fail in test_asyncio.test_unix_events.SelectorEventLoopUnixSockSendfileTests

2018-12-29 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue35578] Add test for Argument Clinic converters

2018-12-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Is there anything left in this issue or we can close it? -- nosy: +pablogsal ___ Python tracker <https://bugs.python.org/issue35

[issue20171] Derby #2: Convert 115 sites to Argument Clinic in Modules/_cursesmodule.c

2018-12-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Should we close this issue or is anything left in this Derby? -- nosy: +pablogsal ___ Python tracker <https://bugs.python.org/issue20

[issue35606] Add prod() function to the math module

2018-12-29 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch, patch pull_requests: +10676, 10677 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35606] Add prod() function to the math module

2018-12-29 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +10676 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35606] Add prod() function to the math module

2018-12-29 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch, patch, patch pull_requests: +10676, 10677, 10678 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35606] Add prod() function to the math module

2018-12-29 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: -10677, 10678 ___ Python tracker <https://bugs.python.org/issue35606> ___ ___ Python-bugs-list mailin

[issue35606] Add prod() function to the math module

2018-12-29 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: -10678 ___ Python tracker <https://bugs.python.org/issue35606> ___ ___ Python-bugs-list mailing list Unsub

[issue33234] Improve list() pre-sizing for inputs with known lengths

2018-12-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 0e5f771f38138714415f665651de7e674fcebc38 by Pablo Galindo (Sergey Fedoseev) in branch 'master': bpo-33234: Simplify list_preallocate_exact() (GH-11220) https://github.com/python/cpython/commit/0e5f771f38138714415f665651de7e

[issue33234] Improve list() pre-sizing for inputs with known lengths

2018-12-29 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue35031] test_asyncio test_start_tls_server_1 fails in AMD64 FreeBSD CURRENT buildbots

2018-12-30 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I think is missing a manual backport to 3.6, but now that we are in security fixes only I am not sure of what to do. -- ___ Python tracker <https://bugs.python.org/issue35

[issue35674] Expose os.posix_spawnp()

2019-01-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I also think to expose posix_spawnp() as os.posix_spawnp() seems the more consistent thing to do as the os/posix module tries to mirror glibc as much as possible, which helps with discoverability and cross-reference with man pages

[issue35493] multiprocessing.Pool._worker_handler(): use SIGCHLD to be notified on worker exit

2019-01-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: @Antoine Do you think we should start planning one of these long term solutions or we should start trying to use Process.sentinel as a short term solution for this particular issue? -- ___ Python tracker

[issue35493] multiprocessing.Pool._worker_handler(): use SIGCHLD to be notified on worker exit

2019-01-09 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch, patch, patch pull_requests: +11001, 11002, 11003 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35493] multiprocessing.Pool._worker_handler(): use SIGCHLD to be notified on worker exit

2019-01-09 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +11001 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35493] multiprocessing.Pool._worker_handler(): use SIGCHLD to be notified on worker exit

2019-01-09 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch, patch pull_requests: +11001, 11002 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-10 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +11030, 11031 ___ Python tracker <https://bugs.python.org/issue24746> ___ ___ Python-bugs-list mailin

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-10 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +11030 ___ Python tracker <https://bugs.python.org/issue24746> ___ ___ Python-bugs-list mailing list Unsub

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-10 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I made https://github.com/python/cpython/pull/11501 to fix this problem. After my patch: ❯ ./python.exe -m test test_doctest test_doctest Run tests sequentially 0:00:00 load avg: 1.82 [1/2] test_doctest 0:00:02 load avg: 1.82 [2/2] test_doctest

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-10 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +11030, 11031, 11032 ___ Python tracker <https://bugs.python.org/issue24746> ___ ___ Python-bugs-list mailin

[issue35679] pdb restart hooks

2019-01-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Hi Hernot, I think I understand what you are indicating but I still find it a bit confusing. Could you provide a reproducer and document a bit more the expected and actual behaviour, maybe with some code snippets? Thanks -- nosy: +pablogsal

[issue35378] multiprocessing.Pool.imaps iterators do not maintain alive the multiprocessing.Pool objects

2019-01-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I have been playing with possible solutions for a while and the weak-reference solution seems not robust enough as there are too potential race conditions between the destruction of the weakreferences (the pool) and the handling code. I would

[issue35732] Typo in library/warnings documentation

2019-01-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: That looks like an error indeed. Are you interested on making a PR for fixing this? -- nosy: +pablogsal ___ Python tracker <https://bugs.python.org/issue35

[issue35753] Importing call from unittest.mock directly causes ValueError

2019-01-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Hi David, Can you provide a full reproducer? In your example, mocked_print is undefined. Please, provide a self-contained script that can be executed to test the behaviour. -- nosy: +pablogsal ___ Python

[issue35753] Importing call from unittest.mock directly causes ValueError

2019-01-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Indeed, closed as duplicate of https://bugs.python.org/issue25532 -- resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue35747] Python threading event wait influenced by date change

2019-01-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I think this is becase at the end, the threading code calls sem_timedwait(thelock, &ts) where &ts is the timespect structure. The manpage of sem_timedwait says: ... The timeout shall expire when the absolute time specified by abs_timeout pa

[issue35537] use os.posix_spawn in subprocess

2019-01-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > One of the issue that I have with using posix_spawn() is that the *exact* > behavior of subprocess is not properly defined by test_subprocess. Should we > more more tests, or document that the exact behavior is "an implementation >

[issue17005] Add a topological sort algorithm

2019-01-16 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +11266 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue17005] Add a topological sort algorithm

2019-01-16 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch, patch pull_requests: +11266, 11267 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue17005] Add a topological sort algorithm

2019-01-16 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch, patch, patch pull_requests: +11266, 11267, 11268 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue17005] Add a topological sort algorithm

2019-01-16 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: -11268 ___ Python tracker <https://bugs.python.org/issue17005> ___ ___ Python-bugs-list mailing list Unsub

[issue17005] Add a topological sort algorithm

2019-01-16 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: -11267, 11268 ___ Python tracker <https://bugs.python.org/issue17005> ___ ___ Python-bugs-list mailin

<    33   34   35   36   37   38   39   40   41   42   >