[issue37303] Rename parameter name of imghdr what

2019-06-15 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: file can be a positional or keyword argument. Someone might be using it as a keyword argument and this would require a deprecation period before renaming could be done. ./python.exe Python 3.9.0a0 (heads/master:7a68f8c28b, Jun 15 2019, 21:00:05)

[issue37302] Add an "onerror" callback parameter to the tempfile.TemporaryDirectory member functions

2019-06-15 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37303] Rename parameter name of imghdr what

2019-06-15 Thread Dong-hee Na
New submission from Dong-hee Na : Still https://github.com/python/cpython/blob/3a1d50e7e573efb577714146bed5c03b9c95f466/Lib/imghdr.py#L11 signature is def what(file, h=None). I 'd like to suggest to update it into def what(filename, h=None) Also, the doc of imghdr represents it as the

[issue37302] Add an "onerror" callback parameter to the tempfile.TemporaryDirectory member functions

2019-06-15 Thread Jeffrey Kintscher
New submission from Jeffrey Kintscher : Add an "onerror" callback parameter to the tempfile.TemporaryDirectory member functions so that the caller can perform special handling for directory items that it can't automatically delete. The caller created the undeletable directory entries, so it

[issue37301] CGIHTTPServer doesn't handle long POST requests

2019-06-15 Thread vsbogd
vsbogd added the comment: Analysis: self.rfile.read(nbytes) https://github.com/python/cpython/blob/3a1d50e7e573efb577714146bed5c03b9c95f466/Lib/http/server.py#L1207 Doesn't read full content of the file but only first chunk because self.rfile is not BufferedIO instance. In fact it is

[issue37301] CGIHTTPServer doesn't handle long POST requests

2019-06-15 Thread vsbogd
New submission from vsbogd : Steps to reproduce: Use POST request with "multipart/form-data" encoding to pass long (more than 64KiB) file to the CGI script. Expected result: Script receives the whole file. Actual result: Script receives only first part which size is about size of the TCP

[issue37300] a Py_XINCREF in classobject.c are not necessary

2019-06-15 Thread hai shi
Change by hai shi : -- keywords: +patch pull_requests: +13969 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14120 ___ Python tracker ___

[issue37300] a Py_XINCREF in classobject.c are not necessary

2019-06-15 Thread hai shi
Change by hai shi : -- components: Interpreter Core nosy: shihai1991 priority: normal severity: normal status: open title: a Py_XINCREF in classobject.c are not necessary type: enhancement ___ Python tracker

[issue37299] RuntimeWarning is NOT raised

2019-06-15 Thread YoSTEALTH
New submission from YoSTEALTH : from asyncio import run async def true(): return True async def false(): return False async def error(): a = false() b = true() return await (a or b) # Good Error # "RuntimeWarning: coroutine 'true' was never awaited

[issue37298] IDLE: Revise html to tkinker converter for help.html

2019-06-15 Thread Terry J. Reedy
New submission from Terry J. Reedy : Sphinx 2.? generates different html than 1.8 such that the display of Help ==> IDLE Help has extra blank lines. Among possibly other things, the contents of ... is wrapped in ... and blank lines appear between the bullet and text. -coded in 100% pure

[issue37297] function changed when pickle bound method object

2019-06-15 Thread George Xie
New submission from George Xie : if we create a bound method object `f` with function object `A.f` and instance object `B()`, when pickling this bound method object: import pickle class A(): def f(self): pass class B(): def

[issue32846] Deletion of large sets of strings is extra slow

2019-06-15 Thread Tim Peters
Tim Peters added the comment: Thanks, Terry! Based on your latest results, "quadratic time" isn't plausible here anymore, so I'm closing this. Nasty cache effects certainly played a role, but they were just a flea on the dog ;-) -- resolution: -> fixed stage: commit review ->

[issue37260] shutil.rmtree() FileNotFoundError race condition

2019-06-15 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: The PR is ready for review. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37289] regression in Cython when pickling objects

2019-06-15 Thread STINNER Victor
STINNER Victor added the comment: I don't understand if this issue is a recent regression or not. Python 3.7 has been modified, but the reporter only mentions Python 3.8. I concur with Serhiy, a test is needed to prevent future regressions on this fix. --

[issue37294] concurrent.futures.ProcessPoolExecutor and multiprocessing.pool.Pool fail with super

2019-06-15 Thread Géry
Géry added the comment: And like the `concurrent.futures` module for `concurrent.futures.ProcessPoolExecutor` but not for `concurrent.futures.ThreadPoolExecutor` (see above), the `multiprocessing.pool` module seems also affected by a similar problem for `multiprocessing.pool.Pool` (process

[issue37271] Make multiple passes of the peephole optimizer until bytecode cannot be optimized further

2019-06-15 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: -> tim.peters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37294] ProcessPoolExecutor fails with super

2019-06-15 Thread Géry
Géry added the comment: @Andrew Svetlov Well this was just an example for illustrating the issue. In real code I need this to create `ThreadPoolMixin` and `ProcessPoolMixin` classes (similar to the `socketserver.ThreadingMixIn` and `socketserver.ForkingMixIn` classes in the standard

[issue37271] Make multiple passes of the peephole optimizer until bytecode cannot be optimized further

2019-06-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I afraid that the time of the peephole optimization is nothing in comparison with the cost of deduplicating constants in compile.c. -- ___ Python tracker

[issue37294] ProcessPoolExecutor fails with super

2019-06-15 Thread Andrew Svetlov
Change by Andrew Svetlov : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37294] ProcessPoolExecutor fails with super

2019-06-15 Thread Andrew Svetlov
Andrew Svetlov added the comment: The use case is weird. I don't think we need to do something with the issue. -- nosy: +gvanrossum ___ Python tracker ___

[issue37271] Make multiple passes of the peephole optimizer until bytecode cannot be optimized further

2019-06-15 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'm familiar with the trade-offs (I'm the original designer of this code), but it is possible to use that reasoning to talk yourself into thinking that any optimization to code generation is worth it. The speed of the compile does matter as well (think

[issue37294] ProcessPoolExecutor fails with super

2019-06-15 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37296] pdb next vs __next__

2019-06-15 Thread Rick
New submission from Rick : Don't know how to get version from pdb, Makefile says 2.7 Code runs but when debugging I get an error that an iterator has no next() function. It has got a __next__() function, and it runs, just not under pdb. If I create a spurious next() function, pdb runs, and

[issue37295] Possible optimizations for math.comb()

2019-06-15 Thread Raymond Hettinger
New submission from Raymond Hettinger : The implementation of math.comb() is nice in that it limits the size of intermediate values as much as possible and it avoids unnecessary steps when min(k,n-k) is small with respect to k. There are some ways it can be made better or faster: 1) For

[issue33972] AttributeError in email.message.iter_attachments()

2019-06-15 Thread Abhilash Raj
Change by Abhilash Raj : -- pull_requests: +13968 pull_request: https://github.com/python/cpython/pull/14119 ___ Python tracker ___

[issue37294] ProcessPoolExecutor fails with super

2019-06-15 Thread Géry
Change by Géry : -- nosy: +gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37271] Make multiple passes of the peephole optimizer until bytecode cannot be optimized further

2019-06-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: >So, we sometimes get faster wordcode but that time it takes to get there is >longer. Is worth noting that the (very small) overhead to obtain the wordcode happens once but the benefits of the resulting opcode will be felt every time you execute it.

[issue37294] ProcessPoolExecutor fails with super

2019-06-15 Thread Géry
New submission from Géry : The following code hangs forever instead of printing "called" 10 times: from concurrent.futures import ProcessPoolExecutor class A: def f(self): print("called") class B(A): def f(self): executor =

[issue35360] Update SQLite to 3.26 in Windows and macOS installer builds

2019-06-15 Thread Big Stone
Big Stone added the comment: any hope for beta2 ? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37271] Make multiple passes of the peephole optimizer until bytecode cannot be optimized further

2019-06-15 Thread Raymond Hettinger
Raymond Hettinger added the comment: Tim, do you have any thoughts on this? In the past, there was an implicit red-line that we would not cross even if a performance improvement was possible. Given that that was a long time ago and that the newer devs are both more aggressive and more

[issue37271] Make multiple passes of the peephole optimizer until bytecode cannot be optimized further

2019-06-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Probably is not that easy, but a naive thought respecting loops: As the peephole optimizer only produces code that is the same length or smaller and it works by feeling noops and deleting them, the only loop would be code that is of the same length

[issue37271] Make multiple passes of the peephole optimizer until bytecode cannot be optimized further

2019-06-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: We can add a #define for a maximum numbers of iterations. The pyperformance test suite shows speed ups of 2-3% without PGO/LTO. I will ran more concise experiments including PGO but even with a max cap of iterations (10 in my experiments) we get nice

[issue32912] Raise non-silent warning for invalid escape sequences

2019-06-15 Thread Mark Dickinson
Mark Dickinson added the comment: [Aaron] > [...] makes it very difficult for library authors to fix this. If you're willing to use 3rd party libraries, then my own experience is that `pycodestyle` or `flake8` make this easy: you just need to run "flake8 --select W605" at the root of your

[issue37251] Mocking a MagicMock with a function spec results in an AsyncMock

2019-06-15 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I created PR to ensure the __code__ object is checked to be a CodeType and converted the report to a unittest. I also found a similar function _is_async_func [0] which also seems to perform similar check but is used only in create_autospec.

[issue37289] regression in Cython when pickling objects

2019-06-15 Thread Thomas Caswell
Thomas Caswell added the comment: I can confirm that master branches of cpython, cython, and numpy all build together again, thank you for the quick investigation and fix! -- ___ Python tracker

[issue37271] Make multiple passes of the peephole optimizer until bytecode cannot be optimized further

2019-06-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: We should handle this with care and prove that the optimization loop is finite. -- ___ Python tracker ___

[issue35647] Cookie path check returns incorrect results

2019-06-15 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Closing this as resolved since the fix was merged to all branches. Thank you all. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue35121] Cookie domain check returns incorrect results

2019-06-15 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Closing this as resolved since the fix was merged to all branches. Thank you all. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue37289] regression in Cython when pickling objects

2019-06-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes, it could be moved to the compiler. See issue32477 which moves at that direction. -- ___ Python tracker ___

[issue37251] Mocking a MagicMock with a function spec results in an AsyncMock

2019-06-15 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch pull_requests: +13967 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14117 ___ Python tracker

[issue35647] Cookie path check returns incorrect results

2019-06-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset ee15aa2b8501718cb77e339381f72409a416f801 by Serhiy Storchaka (Xtreak) in branch '2.7': [2.7] bpo-35647: Fix path check in cookiejar. (GH-11436) (GH-13427) https://github.com/python/cpython/commit/ee15aa2b8501718cb77e339381f72409a416f801

[issue32477] Move jumps optimization from the peepholer to the compiler

2019-06-15 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.9 -Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue32477] Move jumps optimization from the peepholer to the compiler

2019-06-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: PR 14116 is based on the part of PR 5077. It serves three functions: * Finally fixes issue1875. * Simplifies the code. Removes special cases for "if 0" and "while 1". 31 insertions, 80 deletions in Python/compile.c + Python/peephole.c. * However such

[issue28009] core logic of uuid.getnode() needs refresh

2019-06-15 Thread miss-islington
miss-islington added the comment: New changeset f0e5c01182daefa20c624383c8a37c25eacfde43 by Miss Islington (bot) in branch '3.8': bpo-28009: Fix uuid SkipUnless logic to be based on platform programs capable of introspection (GH-12777)

[issue1875] "if 0: return" not raising SyntaxError

2019-06-15 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +13965 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14116 ___ Python tracker ___

[issue32477] Move jumps optimization from the peepholer to the compiler

2019-06-15 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +13966 pull_request: https://github.com/python/cpython/pull/14116 ___ Python tracker ___

[issue36785] Implement PEP 574

2019-06-15 Thread miss-islington
miss-islington added the comment: New changeset 298023633fde5cd60926a2923a01d896550cbf84 by Miss Islington (bot) in branch '3.8': bpo-36785: PEP 574 What's New entry (GH-13931) https://github.com/python/cpython/commit/298023633fde5cd60926a2923a01d896550cbf84 -- nosy:

[issue37289] regression in Cython when pickling objects

2019-06-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Would it make sense to put this on the compiler? When we run compile_if we could check if there is one constant in the test and of the constant is true we skip the block. -- ___ Python tracker

[issue28009] core logic of uuid.getnode() needs refresh

2019-06-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +13964 pull_request: https://github.com/python/cpython/pull/14115 ___ Python tracker ___

[issue28009] core logic of uuid.getnode() needs refresh

2019-06-15 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset 3a1d50e7e573efb577714146bed5c03b9c95f466 by Nick Coghlan (Michael Felt) in branch 'master': bpo-28009: Fix uuid SkipUnless logic to be based on platform programs capable of introspection (GH-12777)

[issue37289] regression in Cython when pickling objects

2019-06-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Sure, will do. How you think we should handle this particular optimization? Do you see a more resilient way of doing this on the peephole optimizer? -- ___ Python tracker

[issue1572968] release GIL while doing I/O operations in the mmap module

2019-06-15 Thread Zackery Spytz
Change by Zackery Spytz : -- components: +Extension Modules -Library (Lib) nosy: +ZackerySpytz versions: +Python 3.9 -Python 2.7, Python 3.1 ___ Python tracker ___

[issue1572968] release GIL while doing I/O operations in the mmap module

2019-06-15 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +13963 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/14114 ___ Python tracker

[issue37289] regression in Cython when pickling objects

2019-06-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Do you mind to add a test? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35121] Cookie domain check returns incorrect results

2019-06-15 Thread miss-islington
miss-islington added the comment: New changeset 979daae300916adb399ab5b51410b6ebd0888f13 by Miss Islington (bot) (Xtreak) in branch '2.7': [2.7] bpo-35121: prefix dot in domain for proper subdomain validation (GH-10258) (GH-13426)

[issue36785] Implement PEP 574

2019-06-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +13962 pull_request: https://github.com/python/cpython/pull/14113 ___ Python tracker ___

[issue37289] regression in Cython when pickling objects

2019-06-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 284daeade210d3aac049f4278a1fb76d19e6d78a by Pablo Galindo (Miss Islington (bot)) in branch '3.8': bpo-37289: Remove 'if False' handling in the peephole optimizer (GH-14099) (GH-14112)

[issue37289] regression in Cython when pickling objects

2019-06-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 81fecf7b7a6e766a213c6e670219c1da52461589 by Pablo Galindo (Miss Islington (bot)) in branch '3.7': bpo-37289: Remove 'if False' handling in the peephole optimizer (GH-14099) (GH-14111)

[issue37289] regression in Cython when pickling objects

2019-06-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Just to be clear, before PR14099, the code was wrongly optimized to: 3 0 LOAD_GLOBAL 0 (g) 2 LOAD_ATTR1 (__code__) 4 POP_JUMP_IF_FALSE8 6 JUMP_FORWARD

[issue37289] regression in Cython when pickling objects

2019-06-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Serhiy, this is the code that was incorrectly optimized: 3 0 LOAD_GLOBAL 0 (g) 2 LOAD_ATTR1 (__code__) 4 POP_JUMP_IF_FALSE8 6 JUMP_FORWARD 4 (to 12)

[issue1875] "if 0: return" not raising SyntaxError

2019-06-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The issue is not fixed yet. The compiler now rejects if 0: return but it still accepts if 1: pass else: return while 0: return -- resolution: fixed -> stage: resolved -> status: closed -> open

[issue35998] test_asyncio: test_start_tls_server_1() TimeoutError on Fedora 29

2019-06-15 Thread Andrew Svetlov
Andrew Svetlov added the comment: Ooops. Looks like a real problem, not test-only :( -- ___ Python tracker ___ ___

[issue37289] regression in Cython when pickling objects

2019-06-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +13961 pull_request: https://github.com/python/cpython/pull/14112 ___ Python tracker ___

[issue37289] regression in Cython when pickling objects

2019-06-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +13960 pull_request: https://github.com/python/cpython/pull/14111 ___ Python tracker ___

[issue37289] regression in Cython when pickling objects

2019-06-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 7a68f8c28bb78d957555a5001dac4df6345434a0 by Pablo Galindo in branch 'master': bpo-37289: Remove 'if False' handling in the peephole optimizer (GH-14099) https://github.com/python/cpython/commit/7a68f8c28bb78d957555a5001dac4df6345434a0

[issue37293] concurrent.futures.InterpreterPoolExecutor

2019-06-15 Thread Crusader Ky
New submission from Crusader Ky : As one of the logical consequences to PEP 554, it would be neat to have a concurrent.futures.InterpreterPoolExecutor. I wrote the initial code at https://github.com/crusaderky/subinterpreters_tests - currently missing unit tests and pickle5 buffers support.

[issue37292] _xxsubinterpreters: Can't unpickle objects defined in __main__

2019-06-15 Thread Crusader Ky
New submission from Crusader Ky : As of CPython 3.8.0b1: If one pickles an object that is defined in the __main__ module, sends it to a subinterpreter as bytes, and then tries unpickling it there, it fails saying that __main__ doesn't define it. import _xxsubinterpreters as interpreters

[issue37292] _xxsubinterpreters: Can't unpickle objects defined in __main__

2019-06-15 Thread Crusader Ky
Change by Crusader Ky : -- versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37248] support conversion of `func(**{} if a else b)`

2019-06-15 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. Closing. -- stage: -> resolved status: open -> closed superseder: -> Make lib2to3 grammar more closely match Python ___ Python tracker

[issue37248] support conversion of `func(**{} if a else b)`

2019-06-15 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- resolution: -> duplicate ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37248] support conversion of `func(**{} if a else b)`

2019-06-15 Thread Shen Han
Shen Han added the comment: Yes, I think so. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37291] AST - code cleanup

2019-06-15 Thread SilentGhost
Change by SilentGhost : -- components: +Interpreter Core nosy: +benjamin.peterson type: -> behavior ___ Python tracker ___ ___

[issue37279] asyncio sendfile sends extra data in the last chunk in fallback mode

2019-06-15 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset e5d67f1e31381d28b24f6e1c0f8388d9bf0bfc5f by Andrew Svetlov in branch '3.7': [3.7] bpo-37279: Fix asyncio sendfile support when extra data are sent in fallback mode. (GH-14075). (GH-14103)

[issue37289] regression in Cython when pickling objects

2019-06-15 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- versions: +Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37289] regression in Cython when pickling objects

2019-06-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I was not able to find it in Cython but PR14099 fixes it so I prefer to revert the optimization for now and then try to add it back once we understand what's failing exactly. -- ___ Python tracker

[issue32912] Raise non-silent warning for invalid escape sequences

2019-06-15 Thread Mark Dickinson
Mark Dickinson added the comment: [Raymond] > Also, it gets in the way of the end-user strategy of "backslash anything that > looks special" That's not a good strategy in the first place, though: adding an extra backslash for something that doesn't need to be escaped isn't benign - it's

[issue37291] AST - code cleanup

2019-06-15 Thread David Carlier
New submission from David Carlier : Removing little dead code part. -- messages: 345674 nosy: David Carlier priority: normal pull_requests: 13959 severity: normal status: open title: AST - code cleanup versions: Python 3.9 ___ Python tracker

[issue37289] regression in Cython when pickling objects

2019-06-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could you please provide an example of the improperly optimized code? -- ___ Python tracker ___

[issue37280] Use threadpool for reading from file for sendfile fallback mode

2019-06-15 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37279] asyncio sendfile sends extra data in the last chunk in fallback mode

2019-06-15 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37279] asyncio sendfile sends extra data in the last chunk in fallback mode

2019-06-15 Thread miss-islington
miss-islington added the comment: New changeset bb07321c6a7e1cbe597c3fc5fa275a85d0f50acb by Miss Islington (bot) in branch '3.8': bpo-37279: Fix asyncio sendfile support when extra data are sent in fallback mode. (GH-14075)

[issue37280] Use threadpool for reading from file for sendfile fallback mode

2019-06-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +13958 pull_request: https://github.com/python/cpython/pull/14101 ___ Python tracker ___

[issue37279] asyncio sendfile sends extra data in the last chunk in fallback mode

2019-06-15 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +13957 pull_request: https://github.com/python/cpython/pull/14103 ___ Python tracker ___

[issue37280] Use threadpool for reading from file for sendfile fallback mode

2019-06-15 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +13956 pull_request: https://github.com/python/cpython/pull/14102 ___ Python tracker ___

[issue37279] asyncio sendfile sends extra data in the last chunk in fallback mode

2019-06-15 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset ef2152354f03a165c5e3adb53e2276934fabd50a by Andrew Svetlov in branch 'master': bpo-37279: Fix asyncio sendfile support when extra data are sent in fallback mode. (GH-14075)

[issue37279] asyncio sendfile sends extra data in the last chunk in fallback mode

2019-06-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +13955 pull_request: https://github.com/python/cpython/pull/14100 ___ Python tracker ___

[issue37289] regression in Cython when pickling objects

2019-06-15 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +13954 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14099 ___ Python tracker

[issue37289] regression in Cython when pickling objects

2019-06-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I managed to find the original cause, although I don't understand exactly why it happens. The error is caused by the 'if False' handling of https://github.com/python/cpython/pull/13332. There is some failure in that logic, so for now I made a PR

[issue37290] Mistranslation (Japanese)

2019-06-15 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue37289] regression in Cython when pickling objects

2019-06-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: [I have deleted some comments claiming that I was not able to reproduce the issue because I managed to reproduce the issue correctly at the end] -- ___ Python tracker

[issue37289] regression in Cython when pickling objects

2019-06-15 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- Removed message: https://bugs.python.org/msg345663 ___ Python tracker ___ ___ Python-bugs-list

[issue37289] regression in Cython when pickling objects

2019-06-15 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- Removed message: https://bugs.python.org/msg345665 ___ Python tracker ___ ___ Python-bugs-list

[issue37289] regression in Cython when pickling objects

2019-06-15 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- Removed message: https://bugs.python.org/msg345668 ___ Python tracker ___ ___ Python-bugs-list

[issue37289] regression in Cython when pickling objects

2019-06-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I have compiled CPython master, install the current Cython on pypi (not Cython master) and tried to compile numpy and it succeeds. This seems that is something on Cython master. ~/github/numpy master ✔ ~/github/cpython/python.exe --version Python

[issue36707] The "m" ABI flag of SOABI for pymalloc is no longer needed

2019-06-15 Thread STINNER Victor
STINNER Victor added the comment: Thanks everybody for your help. It is now documented. -- ___ Python tracker ___ ___

[issue36707] The "m" ABI flag of SOABI for pymalloc is no longer needed

2019-06-15 Thread STINNER Victor
STINNER Victor added the comment: Ned Deily: > My preference remains to not make the flags change at all Well, "m" in ABI flags became useless around Python 3.4. I don't see the point of pretending that the "m" ABI is different and then provide two names for the same thing: python3.8

[issue37289] regression in Cython when pickling objects

2019-06-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I tried to compile numpy with python3.8 alpha 4 and Cython master and still fails: ~/github/numpy master ✔ ❯ ~/github/cpython/python.exe --version Python 3.8.0a4 ~/github/numpy master ✔ ❯ ~/github/cpython/python.exe -m pip freeze

[issue37289] regression in Cython when pickling objects

2019-06-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Did you open a bug in the Cython tracker? -- ___ Python tracker ___ ___ Python-bugs-list

[issue37289] regression in Cython when pickling objects

2019-06-15 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- title: regression in cython due to peephole optomization -> regression in Cython when pickling objects ___ Python tracker ___

[issue37289] regression in cython due to peephole optomization

2019-06-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I reverted 3498c642f4e83f3d8e2214654c0fa8e0d51cebe5 and tried to build cython and numpy an it fails for me still: > git log commit 17e024a1a999f96fee52e99bd4587da383647993 (HEAD -> master) Author: Pablo Galindo Date: Sat Jun 15 10:16:52 2019 +0100

  1   2   >