[issue24564] shutil.copytree fails when copying NFS to NFS

2019-05-29 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: New changeset f1487b323549e2360460383b4304f6592fb38e27 by Giampaolo Rodola (Miss Islington (bot)) in branch '3.7': bpo-24564: shutil.copystat(): ignore EINVAL on os.setxattr() (GH-13369)

[issue37091] subprocess - uncaught PermissionError in send_signal can cause hang

2019-05-29 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue36610] os.sendfile can return EINVAL on Solaris

2019-05-29 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I currently have no Solaris box to test this against and am currently short on time but I'm of the opinion that because of: > Sendfile on Solaris can raise EINVAL if offset is equal or bigger than the size > of the file (Python expects that it will

[issue36983] typing.__all__ has drifted from actual contents

2019-05-29 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks! No 3.6 backport is needed after all. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue36983] typing.__all__ has drifted from actual contents

2019-05-29 Thread miss-islington
miss-islington added the comment: New changeset 3a98bbf7275903a0f84d1374abd0b7f3a85950a4 by Miss Islington (bot) (Anthony Sottile) in branch '3.7': [3.7] bpo-36983: Fix typing.__all__ and add test for exported names (GH-13456) (GH-13662)

[issue36610] os.sendfile can return EINVAL on Solaris

2019-05-29 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- pull_requests: +13563 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13675 ___ Python tracker ___

[issue37095] [Feature Request]: Add zstd support in tarfile

2019-05-29 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +lars.gustaebel, serhiy.storchaka versions: +Python 3.8, Python 3.9 -Python 3.7 ___ Python tracker ___

[issue37095] [Feature Request]: Add zstd support in tarfile

2019-05-29 Thread Evan Greenup
New submission from Evan Greenup : Zstandard is getting more and more popular. It could be awesome if tarfile support this compression format for .tar.zst file. -- components: Library (Lib) messages: 343945 nosy: evan0greenup priority: normal severity: normal status: open title:

[issue24564] shutil.copytree fails when copying NFS to NFS

2019-05-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +13562 pull_request: https://github.com/python/cpython/pull/13673 ___ Python tracker ___

[issue24564] shutil.copytree fails when copying NFS to NFS

2019-05-29 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: New changeset a16387ab2d85f19665920bb6ff91a7e57f59dd2a by Giampaolo Rodola (Ying Wang) in branch 'master': bpo-24564: shutil.copystat(): ignore EINVAL on os.setxattr() (GH-13369)

[issue37094] Provide an example for TestCase.skipTest in unittest doc

2019-05-29 Thread 麦栋铖
New submission from 麦栋铖 : I found that there's an function TestCase.skipTest(reason)[0] supports skipping test in testing, but there's no example for this function in chapter Skipping tests[1] and expected failures I create PR[2] for updating the example for TestCase.skipTest in unittest doc.

[issue36373] Deprecate explicit loop parameter in all public asyncio APIs

2019-05-29 Thread Emmanuel Arias
Change by Emmanuel Arias : -- pull_requests: +13560 pull_request: https://github.com/python/cpython/pull/13671 ___ Python tracker ___

[issue36373] Deprecate explicit loop parameter in all public asyncio APIs

2019-05-29 Thread Emmanuel Arias
Change by Emmanuel Arias : -- keywords: +patch pull_requests: +13559 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13670 ___ Python tracker ___

[issue37093] http.client aborts header parsing upon encountering non-ASCII header names

2019-05-29 Thread Tim Burke
New submission from Tim Burke : First, spin up a fairly trivial http server: import wsgiref.simple_server def app(environ, start_response): start_response('200 OK', [ ('Some-Canonical', 'headers'), ('sOme-CRAzY', 'hEaDERs'),

[issue37092] LoggerAdapter doesn't have fatal() like Logger

2019-05-29 Thread Dave Johansen
New submission from Dave Johansen : Using LoggerAdapter is a convenient way to add extra info to all logs, but it doesn't have the fatal() method like Logger, so it isn't a drop in replacement like it should be. -- components: Library (Lib) messages: 343941 nosy: Dave Johansen

[issue37088] Add a way to schedule a function to be called from the main thread

2019-05-29 Thread Yury Selivanov
Yury Selivanov added the comment: Eric, regarding signals no longer using pending calls -- interesting, I'll take a look. Thanks for pointing this out. Sent from my iPhone -- ___ Python tracker

[issue37091] subprocess - uncaught PermissionError in send_signal can cause hang

2019-05-29 Thread hw
New submission from hw <13hu...@gmail.com>: Python 3.7.3 Ubuntu 18.10 Cosmic https://github.com/python/cpython/pull/13669 Encountered a condition where uncaught PermissionError caused a hang running a subprocess command with sudo -u Traceback (most recent call last): File

[issue37089] `import Lib.os` works on windows (but shouldn't)

2019-05-29 Thread Anthony Sottile
Anthony Sottile added the comment: If I'm reading this correctly this is the relevant line for python3: https://github.com/python/cpython/blob/29cb21ddb92413931e473eb799a02e2d8cdf4a45/PC/getpathp.c#L1068 it was added in 4d0d471a8031de90a2b1ce99c4ac4780e60b3bc9 python2 seems to do the same

[issue37088] Add a way to schedule a function to be called from the main thread

2019-05-29 Thread STINNER Victor
STINNER Victor added the comment: I dislike pending calls. It is a weird beast which complicates ceval.c. I would prefer to remove it. It is no longer needed to handle signals! At least, it sounds like a bad idea to me to expose it in Python in a public API. If you really need it, hide it

[issue36974] Implement PEP 590

2019-05-29 Thread Petr Viktorin
Petr Viktorin added the comment: All stable buildbots are back to green. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue37088] Add a way to schedule a function to be called from the main thread

2019-05-29 Thread Eric Snow
Eric Snow added the comment: If this is about signals, it isn't enough just to run on the main thread. It also has to be the main interpreter. -- ___ Python tracker ___

[issue36974] Implement PEP 590

2019-05-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Great! Thank you very much for the quick fix for the problem. For AMD64 Ubuntu Shared 3.x, the last build was successful: https://buildbot.python.org/all/#/builders/141/builds/1870/steps/5/logs/stdio --

[issue37088] Add a way to schedule a function to be called from the main thread

2019-05-29 Thread Eric Snow
Eric Snow added the comment: > Well, it's absolutely the same mechanism that signal handlers use. Antoine changed signals a while back so they no longer use the pending calls machinery. -- ___ Python tracker

[issue36974] Implement PEP 590

2019-05-29 Thread Petr Viktorin
Petr Viktorin added the comment: No, just https://github.com/python/cpython/pull/13665 is addressing the failures. And it seems that it's successful -- only the slowest of the failed ones (AMD64 Ubuntu Shared 3.x) is still red. bpo-37090 extends the test so it can catch more bugs in the

[issue37088] Add a way to schedule a function to be called from the main thread

2019-05-29 Thread Yury Selivanov
Yury Selivanov added the comment: > As to exposing Py_AddPendingCall() as sys.addpendingcall, that might be > opening a can of worms. Injecting code into the eval loop at some arbitrary > ("soon") future time requires care and the code isn't well exercised > historically (much like

[issue37007] Implement socket.if_{nametoindex, indextoname} for Windows

2019-05-29 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue36974] Implement PEP 590

2019-05-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: @Petr is https://bugs.python.org/issue37090 and https://github.com/python/cpython/pull/13668 also addressing the buildbot failures? -- ___ Python tracker

[issue37089] `import Lib.os` works on windows (but shouldn't)

2019-05-29 Thread Steve Dower
Steve Dower added the comment: Honestly, no idea. Because it always has been :) If you can find when it was added, we may be able to answer that. -- ___ Python tracker ___

[issue36974] Implement PEP 590

2019-05-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: BUILDBOT FAILURE REPORT === Builder name: AMD64 Ubuntu Shared 3.x Builder url: https://buildbot.python.org/all/#/builders/141/ Build url: https://buildbot.python.org/all/#/builders/141/builds/1866 Failed tests -

[issue37090] test_gdb's test_pycfunction should test all calling conventions

2019-05-29 Thread Petr Viktorin
Change by Petr Viktorin : -- keywords: +patch pull_requests: +13557 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13668 ___ Python tracker ___

[issue37090] test_gdb's test_pycfunction should test all calling conventions

2019-05-29 Thread Petr Viktorin
New submission from Petr Viktorin : test_gdb.StackNavigationTests.test_pycfunction checks that the GDB integration can pick up calls to C-API functions. Currently it includes the comment: > Tested function must not be defined with METH_NOARGS or METH_O, > otherwise call_function() doesn't

[issue14656] Add a macro for unreachable code

2019-05-29 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue37089] `import Lib.os` works on windows (but shouldn't)

2019-05-29 Thread Anthony Sottile
Anthony Sottile added the comment: sys.prefix isn't on sys.path on other platforms -- why is it on windows? -- ___ Python tracker ___

[issue37007] Implement socket.if_{nametoindex, indextoname} for Windows

2019-05-29 Thread Steve Dower
Steve Dower added the comment: New changeset 8f96c9f8ed2a4795e34b333411451e24f28f74d2 by Steve Dower (Zackery Spytz) in branch 'master': bpo-37007: Implement socket.if_nametoindex(), if_indextoname() and if_nameindex() on Windows (GH-13522)

[issue37089] `import Lib.os` works on windows (but shouldn't)

2019-05-29 Thread Steve Dower
Steve Dower added the comment: I don't think we can change the assumption that sys.prefix is in sys.path at this point, though technically it's not required (certainly not in 3.7). Maybe we could create a new marker file that means "never treat this directory as a namespace package"?

[issue37089] `import Lib.os` works on windows (but shouldn't)

2019-05-29 Thread Anthony Sottile
New submission from Anthony Sottile : Additionally, virtualenvs have the root of their directory on `sys.path` -- this is unlike posix behaviour For example: $ python Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD6 4)] on win32 Type "help", "copyright",

[issue36974] Implement PEP 590

2019-05-29 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset fecb75c1bb46c818e6579ba422cfa5d0d9d104d1 by Petr Viktorin in branch 'master': bpo-36974: Fix GDB integration (GH-13665) https://github.com/python/cpython/commit/fecb75c1bb46c818e6579ba422cfa5d0d9d104d1 --

[issue26836] Add memfd_create to os module

2019-05-29 Thread miss-islington
miss-islington added the comment: New changeset e70bfa95e6f0c98b9906f306f24d71f8b7689f87 by Miss Islington (bot) (Zackery Spytz) in branch 'master': bpo-26836: Add ifdefs for all MFD_HUGE* constants (GH-13666) https://github.com/python/cpython/commit/e70bfa95e6f0c98b9906f306f24d71f8b7689f87

[issue37088] Add a way to schedule a function to be called from the main thread

2019-05-29 Thread Eric Snow
Eric Snow added the comment: Note that I'm working on making pending calls per-interpreter (see issue #33608 and https://github.com/python/cpython/pull/12360 (since reverted)). As to exposing Py_AddPendingCall() as sys.addpendingcall, that might be opening a can of worms. Injecting code

[issue26836] Add memfd_create to os module

2019-05-29 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +13556 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/13666 ___ Python tracker ___

[issue32388] Remove cross-version binary compatibility

2019-05-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset ada319bb6d0ebcc68d3e0ef2b4279ea061877ac8 by Antoine Pitrou in branch 'master': bpo-32388: Remove cross-version binary compatibility requirement in tp_flags (GH-4944)

[issue32388] Remove cross-version binary compatibility

2019-05-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: PR is merged now! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue26836] Add memfd_create to os module

2019-05-29 Thread Christian Heimes
Christian Heimes added the comment: https://buildbot.python.org/all/#builders/99/builds/2738 is failing because some HUGE TLB constants are not defined on Gentoo. -- stage: patch review -> needs patch ___ Python tracker

[issue26836] Add memfd_create to os module

2019-05-29 Thread Christian Heimes
Christian Heimes added the comment: New changeset 43fdbd2729cb7cdbb5afb5d16352f6604859e564 by Christian Heimes (Zackery Spytz) in branch 'master': bpo-26836: Add os.memfd_create() (#13567) https://github.com/python/cpython/commit/43fdbd2729cb7cdbb5afb5d16352f6604859e564 --

[issue22117] Rewrite pytime.h to work on nanoseconds

2019-05-29 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: Petr claims to have a fix, https://github.com/python/cpython/pull/13665 -- ___ Python tracker ___

[issue22117] Rewrite pytime.h to work on nanoseconds

2019-05-29 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: Can somebody here explain the meaning of the comment in test_gdb.py # Tested function must not be defined with METH_NOARGS or METH_O, # otherwise call_function() doesn't call PyCFunction_Call() This test is breaking with PEP 590, see

[issue37007] Implement socket.if_{nametoindex, indextoname} for Windows

2019-05-29 Thread Zackery Spytz
Zackery Spytz added the comment: Thanks, Steve. I've addressed your comments on the PR. -- ___ Python tracker ___ ___

[issue36974] Implement PEP 590

2019-05-29 Thread Petr Viktorin
Change by Petr Viktorin : -- pull_requests: +13555 pull_request: https://github.com/python/cpython/pull/13665 ___ Python tracker ___

[issue36983] typing.__all__ has drifted from actual contents

2019-05-29 Thread Anthony Sottile
Change by Anthony Sottile : -- pull_requests: +13554 pull_request: https://github.com/python/cpython/pull/13663 ___ Python tracker ___

[issue36983] typing.__all__ has drifted from actual contents

2019-05-29 Thread Anthony Sottile
Change by Anthony Sottile : -- pull_requests: +13553 pull_request: https://github.com/python/cpython/pull/13662 ___ Python tracker ___

[issue37015] Fix asyncio mock warnings

2019-05-29 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch pull_requests: +13552 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13661 ___ Python tracker

[issue36624] cleanup the stdlib and tests with regard to sys.platform usage

2019-05-29 Thread Michael Felt
Michael Felt added the comment: On 29/05/2019 16:36, Ned Deily wrote: > Ned Deily added the comment: > > FWIW, my opinion on making this kind of wholesale change has not changed: see > the discussion in PR 7800. I had actually read through that before I started on this. Your closing

[issue36983] typing.__all__ has drifted from actual contents

2019-05-29 Thread Anthony Sottile
Anthony Sottile added the comment: yep, happy to do that -- I know I'll need to do 3.7, but should I also do 3.6? 3.5? -- ___ Python tracker ___

[issue22385] Define a binary output formatting mini-language for *.hex()

2019-05-29 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 0c2f9305640f7655ba0cd5f478948b2763b376b3 by Gregory P. Smith in branch 'master': bpo-22385: Support output separators in hex methods. (#13578) https://github.com/python/cpython/commit/0c2f9305640f7655ba0cd5f478948b2763b376b3 --

[issue37086] time.sleep error message misleading

2019-05-29 Thread Cheryl Sabella
Cheryl Sabella added the comment: While not exactly the same, issue35707 is also about time.sleep and floats. -- nosy: +cheryl.sabella ___ Python tracker ___

[issue36974] Implement PEP 590

2019-05-29 Thread Petr Viktorin
New submission from Petr Viktorin : New changeset aacc77fbd77640a8f03638216fa09372cc21673d by Petr Viktorin (Jeroen Demeyer) in branch 'master': bpo-36974: implement PEP 590 (GH-13185) https://github.com/python/cpython/commit/aacc77fbd77640a8f03638216fa09372cc21673d --

[issue36794] asyncio.Lock documentation in Py3.8 lacks parts presented in documentation in Py3.6

2019-05-29 Thread miss-islington
miss-islington added the comment: New changeset 4e1e887203ef069bf293ecabd945f7567d6a4879 by Miss Islington (bot) in branch '3.7': bpo-36794: Document that Lock.acquire is fair. (GH-13082) https://github.com/python/cpython/commit/4e1e887203ef069bf293ecabd945f7567d6a4879 --

[issue36983] typing.__all__ has drifted from actual contents

2019-05-29 Thread Guido van Rossum
Guido van Rossum added the comment: It looks like the backports need to be done manually. Hopefully you'll feel up to that, otherwise we can close without doing the backports. -- ___ Python tracker

[issue36983] typing.__all__ has drifted from actual contents

2019-05-29 Thread miss-islington
miss-islington added the comment: New changeset d30da5dd9a8a965cf24a22bbaff8a5b1341c2944 by Miss Islington (bot) (Anthony Sottile) in branch 'master': bpo-36983: Fix typing.__all__ and add test for exported names (GH-13456)

[issue37086] time.sleep error message misleading

2019-05-29 Thread Eric V. Smith
Eric V. Smith added the comment: I think it's reasonable to change the TypeError to say integer or float. That's what _PyTime_FromObject is looking for. -- nosy: +eric.smith ___ Python tracker

[issue36889] Merge StreamWriter and StreamReader into just asyncio.Stream

2019-05-29 Thread Andrew Svetlov
Andrew Svetlov added the comment: Wow! Thanks for the report. Internally it is pretty close to freebsd problem. The test is unstable, not asyncio code itself. The test uses future objects to synchronize client and server socket processing but looks like there are race conditions still.

[issue36889] Merge StreamWriter and StreamReader into just asyncio.Stream

2019-05-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: test_stream_shutdown_hung_task_prevents_cancellation was added as part of this issue. Seems to be a random error : https://ci.appveyor.com/project/python/cpython/builds/24901585

[issue36794] asyncio.Lock documentation in Py3.8 lacks parts presented in documentation in Py3.6

2019-05-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +13551 pull_request: https://github.com/python/cpython/pull/13659 ___ Python tracker ___

[issue36794] asyncio.Lock documentation in Py3.8 lacks parts presented in documentation in Py3.6

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

[issue22454] Adding the opposite function of shlex.split()

2019-05-29 Thread Berker Peksag
Change by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36794] asyncio.Lock documentation in Py3.8 lacks parts presented in documentation in Py3.6

2019-05-29 Thread miss-islington
miss-islington added the comment: New changeset 34f4f5efea730504216ee19f237734e0bb0104ee by Miss Islington (bot) (Hrvoje Nikšić) in branch 'master': bpo-36794: Document that Lock.acquire is fair. (GH-13082) https://github.com/python/cpython/commit/34f4f5efea730504216ee19f237734e0bb0104ee

[issue37007] Implement socket.if_{nametoindex, indextoname} for Windows

2019-05-29 Thread Steve Dower
Steve Dower added the comment: Great, thanks Zackery! (And thanks for the ping - I don't notice GitHub notifications.) Had a few comments about error handling, but it looks great. -- ___ Python tracker

[issue33071] Document that PyPI no longer requires 'register'

2019-05-29 Thread miss-islington
miss-islington added the comment: New changeset 103b8d9f9179089019ddb363ec0098b63816001b by Miss Islington (bot) (Hai Shi) in branch '2.7': [2.7] bpo-33071: remove outdated PyPI docs (GH-13087) (GH-13584) https://github.com/python/cpython/commit/103b8d9f9179089019ddb363ec0098b63816001b

[issue33725] Python crashes on macOS after fork with no exec

2019-05-29 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On May 28, 2019, at 17:38, Ned Deily wrote: > > Ned Deily added the comment: > >> To be clear, what is unsafe on macOS (as of 10.13, but even more so on >> 10.14) is calling into the Objective-C runtime between fork and exec. > > No, it has *always*

[issue37007] Implement socket.if_{nametoindex, indextoname} for Windows

2019-05-29 Thread Eryk Sun
Change by Eryk Sun : -- nosy: -eryksun ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37088] Add a way to schedule a function to be called from the main thread

2019-05-29 Thread Yury Selivanov
New submission from Yury Selivanov : When asyncio event loop is created in a non-main thread, it needs to initialize a so called ChildWatcher for it (a helper object to intercept subprocesses exits). Doing that requires to run code in the main thread. I propose to add a 'sys.addpendingcall'

[issue37088] Add a way to schedule a function to be called from the main thread

2019-05-29 Thread Yury Selivanov
Change by Yury Selivanov : -- keywords: +patch pull_requests: +13550 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13656 ___ Python tracker ___

[issue37087] Adding native id support for openbsd

2019-05-29 Thread David Carlier
New submission from David Carlier : Following up on bpo-36084 -- messages: 343896 nosy: David Carlier priority: normal pull_requests: 13549 severity: normal status: open title: Adding native id support for openbsd versions: Python 3.8 ___ Python

[issue36084] Threading: add builtin TID attribute to Thread objects

2019-05-29 Thread David Carlier
Change by David Carlier : -- pull_requests: +13548 pull_request: https://github.com/python/cpython/pull/13654 ___ Python tracker ___

[issue33725] Python crashes on macOS after fork with no exec

2019-05-29 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On May 28, 2019, at 17:21, STINNER Victor wrote: > > > STINNER Victor added the comment: > >> To be clear, what is unsafe on macOS (as of 10.13, but even more so on >> 10.14) is calling into the Objective-C runtime between fork and exec. The >> problem

[issue37086] time.sleep error message misleading

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

[issue14656] Add a macro for unreachable code

2019-05-29 Thread Zackery Spytz
Zackery Spytz added the comment: The Py_UNREACHABLE() macro was implemented in bpo-31338, so this issue can be closed. -- nosy: +ZackerySpytz ___ Python tracker ___

[issue37007] Implement socket.if_{nametoindex, indextoname} for Windows

2019-05-29 Thread Zackery Spytz
Zackery Spytz added the comment: Well, it turns out that implementing if_nameindex() on Windows using GetIfTable2Ex() was also quite simple. I've updated the PR. -- ___ Python tracker

[issue36842] Implement PEP 578

2019-05-29 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue36842] Implement PEP 578

2019-05-29 Thread Steve Dower
Steve Dower added the comment: New changeset 9ddc416e9f6635376312c3615193f19480ac772a by Steve Dower in branch 'master': bpo-36842: Fix reference leak in tests by running out-of-proc (GH-13556) https://github.com/python/cpython/commit/9ddc416e9f6635376312c3615193f19480ac772a --

[issue36373] Deprecate explicit loop parameter in all public asyncio APIs

2019-05-29 Thread Andrew Svetlov
Change by Andrew Svetlov : -- title: asyncio.gather: no docs for deprecated loop parameter -> Deprecate explicit loop parameter in all public asyncio APIs ___ Python tracker

[issue31829] Portability issues with pickle

2019-05-29 Thread Cheryl Sabella
Cheryl Sabella added the comment: Bumping this discussion in case the should be merged for 3.8b1. Thanks! -- nosy: +cheryl.sabella ___ Python tracker ___

[issue36373] asyncio.gather: no docs for deprecated loop parameter

2019-05-29 Thread Emmanuel Arias
Emmanuel Arias added the comment: Hi > There is no need to jumbo PR, you can split the work into PR-per-module if it > is more comfortable to you. Yes, I think that is better split I will try it. > I'm ok with reviewing any approach. Thanks! -- title: Deprecate explicit loop

[issue36373] Deprecate explicit loop parameter in all public asyncio APIs

2019-05-29 Thread Andrew Svetlov
Change by Andrew Svetlov : -- title: asyncio.gather: no docs for deprecated loop parameter -> Deprecate explicit loop parameter in all public asyncio APIs ___ Python tracker

[issue36373] Deprecate explicit loop parameter in all public asyncio APIs

2019-05-29 Thread Andrew Svetlov
Change by Andrew Svetlov : -- versions: +Python 3.8 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue36373] asyncio.gather: no docs for deprecated loop parameter

2019-05-29 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thank you. The change is pretty straightforward. There is no need to jumbo PR, you can split the work into PR-per-module if it is more comfortable to you. I'm ok with reviewing any approach. -- ___ Python

[issue36373] asyncio.gather: no docs for deprecated loop parameter

2019-05-29 Thread Emmanuel Arias
Emmanuel Arias added the comment: hello, I will work on it, if there are no objection. :-) -- ___ Python tracker ___ ___

[issue31749] Request: Human readable byte amounts in the standard library

2019-05-29 Thread desbma
Change by desbma : -- nosy: +desbma ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36624] cleanup the stdlib and tests with regard to sys.platform usage

2019-05-29 Thread Ned Deily
Ned Deily added the comment: FWIW, my opinion on making this kind of wholesale change has not changed: see the discussion in PR 7800. I think the changes made there were not an improvement for all the reasons stated, primarily because this now requires people reading the code base to learn

[issue33918] Hooking into pause/resume of iterators/coroutines

2019-05-29 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue33918] Hooking into pause/resume of iterators/coroutines

2019-05-29 Thread Andrew Svetlov
Andrew Svetlov added the comment: decimal was changed from threading.local to contextvar usage. The module is "safe" not only for asyncio but for threading, trio etc. unittest.mock doesn't use explicit context all for patching. It changes global interpreter-wide objects instead. So,

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

2019-05-29 Thread Michael Felt
Michael Felt added the comment: On 25/05/2019 00:19, Erwan Le Pape wrote: > Erwan Le Pape added the comment: > > Thanks for testing that. It's good that you used an actual address because > that eliminates the possibility that AIX doesn't handle addresses it doesn't > really know about. > >

[issue36974] Implement PEP 590

2019-05-29 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- pull_requests: +13547 pull_request: https://github.com/python/cpython/pull/13653 ___ Python tracker ___

[issue36709] Asyncio SSL keep-alive connections raise errors after loop close.

2019-05-29 Thread Andrew Svetlov
Andrew Svetlov added the comment: I would say that if requests a designed from scratch more idiomatic way could be with requests.Session() as session: session.get('https://example.com/') or session = requests.Session() session.get('https://example.com/') session.close() Like the

[issue30458] [security][CVE-2019-9740][CVE-2019-9947] HTTP Header Injection (follow-up of CVE-2016-5699)

2019-05-29 Thread Sihoon Lee
Change by Sihoon Lee : -- pull_requests: +13545 pull_request: https://github.com/python/cpython/pull/12524 ___ Python tracker ___

[issue30458] [security][CVE-2019-9740][CVE-2019-9947] HTTP Header Injection (follow-up of CVE-2016-5699)

2019-05-29 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- pull_requests: +13546 pull_request: https://github.com/python/cpython/pull/11768 ___ Python tracker ___

[issue36373] asyncio.gather: no docs for deprecated loop parameter

2019-05-29 Thread Andrew Svetlov
Andrew Svetlov added the comment: A champion is welcome :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue19184] dis module has incorrect docs for RAISE_VARARGS

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

[issue21131] test_faulthandler.test_register_chain fails on 64bit ppc/arm with kernel >= 3.10

2019-05-29 Thread Peter Edwards
Change by Peter Edwards : -- pull_requests: +13543 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13649 ___ Python tracker ___

[issue33164] Blake 2 module update

2019-05-29 Thread Inada Naoki
Inada Naoki added the comment: New changeset d8b755167235e0621814eb5ac39163b3db6879bb by Inada Naoki (David Carlier) in branch 'master': bpo-33164: blake2 fix for HP-UX (GH-13633) https://github.com/python/cpython/commit/d8b755167235e0621814eb5ac39163b3db6879bb --

  1   2   >