[issue32306] Clarify map API in concurrent.futures

2017-12-21 Thread David Lukeš
David Lukeš added the comment: Perfect, thanks! -- ___ Python tracker ___ ___

[issue26439] ctypes.util.find_library fails when ldconfig/glibc not available (e.g., AIX)

2017-12-21 Thread Michael Haubenwallner
Michael Haubenwallner added the comment: Within this context, the "svr4" label originates in the "-bsvr4" AIX linker flag, and actually is another (yet fully documented by the ld(1) man page) method for creating shared libraries on AIX to support

[issue26133] asyncio: ugly error related to signal handlers at exit if the loop is not closed explicitly

2017-12-21 Thread Andrew Svetlov
Andrew Svetlov added the comment: Implemented PR 4956 following Victor's suggestion. -- ___ Python tracker ___

[issue26357] asyncio.wait loses coroutine return value

2017-12-21 Thread Andrew Svetlov
Andrew Svetlov added the comment: Let's close as "wont fix". If user need an identity for awaited coroutine -- he/she should return it as part of coroutine result. -- nosy: +asvetlov resolution: -> wont fix stage: -> resolved status: open -> closed

[issue32396] Implement method to write/read to serials without blocking on windows with asyncio

2017-12-21 Thread jabdoa
New submission from jabdoa : This is a follow up to Issue30539. The main issue is that serial ports on windows do not behave like socket on unix. Therefore, pyserial-asyncio cannot use the asyncio socket api. Can we implement serial_recv and serial_send in asyncio?

[issue32346] Speed up slot lookup for class creation

2017-12-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: I don't really understand your proposal, so it's hard to answer :-) Perhaps you can try to implement it so that we can compare? -- ___ Python tracker

[issue32346] Speed up slot lookup for class creation

2017-12-21 Thread INADA Naoki
INADA Naoki added the comment: New slot is really required? My idea is: * Copy slots from MRO * Iterate namespace dict and override slots if dunder is defined Is it impossible or harder than my thought? -- nosy: +inada.naoki

[issue32323] urllib.parse.urlsplit() must not lowercase() IPv6 scope value

2017-12-21 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset fdb148f949e3ae66036b75163ff68042d19cf0fc by Andrew Svetlov (Miss Islington (bot)) in branch '3.6': bpo-32323: urllib.parse.urlsplit() must not lowercase() IPv6 scope value (GH-4867) (#4959)

[issue28212] Closing server in asyncio is not efficient

2017-12-21 Thread Andrew Svetlov
Andrew Svetlov added the comment: Superseded by https://bugs.python.org/issue32391 -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Add StreamWriter.wait_closed() ___ Python tracker

[issue31851] test_subprocess hangs randomly on Windows with Python 3.x

2017-12-21 Thread STINNER Victor
STINNER Victor added the comment: The bug still occurs randomly: http://buildbot.python.org/all/#/builders/38/builds/122 1:34:03 [404/406] test_typing passed -- running: test_subprocess (4577 sec) 1:34:22 [405/406] test_winreg passed -- running: test_subprocess (4596

[issue30996] add coroutine AbstractEventLoop.sock_close

2017-12-21 Thread Andrew Svetlov
Andrew Svetlov added the comment: Well, removing the reader on future cancellation makes sense. Can be done by add_done_callback(). Yury, what do you think? -- nosy: +asvetlov versions: +Python 3.7 ___ Python tracker

[issue32394] socket lib beahavior change in 3.6.4

2017-12-21 Thread Srinivas Reddy T
Srinivas Reddy T added the comment: dtdev@dtdev-centos $ python3 Python 3.6.3 (default, Oct 11 2017, 18:17:01) [GCC 4.4.7 20120313 (Red Hat 4.4.7-18)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import socket >>>

[issue32394] socket lib beahavior change in 3.6.4

2017-12-21 Thread Antoine Pitrou
Change by Antoine Pitrou : -- nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___

[issue32323] urllib.parse.urlsplit() must not lowercase() IPv6 scope value

2017-12-21 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4850 ___ Python tracker ___

[issue25749] asyncio.Server class documented but not exported

2017-12-21 Thread Ron Frederick
Ron Frederick added the comment: > I think you're doing it the right way. It's a rather niche requirement, so I > don't think we should make create_server to somehow support this use case. Agreed. > asyncssh looks absolutely amazing, btw. Thanks so much! --

[issue32401] No module named '_ctypes'

2017-12-21 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: Most likely the same issue as issue31652. Passing --without-ensurepip to ./configure is a workaround. -- nosy: +Chi Hsuan Yen ___ Python tracker

[issue32405] clr: AttributeError: 'module' object has no attribute 'AddReference'

2017-12-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am 99.99% sure that this is not an IDLE issue. IDLE submits your code to Python to be exec-ed. The exception comes from Python. You should get the same exception (though with a different fake file name) if you ran the same code

[issue28236] In xml.etree.ElementTree Element can be created with empty and None tag

2017-12-21 Thread Raymond Hettinger
Raymond Hettinger added the comment: I don't think this is worth fixing. The package is under no obligation to make early type checks for arguments. It is typical in the Python world to let those kinds of input errors surface downstream when they are used. In

[issue32386] dynload_next.c is obsolete

2017-12-21 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 62ed6be8da5fd1142f838582ecdb338af539e85b by Benjamin Peterson in branch 'master': remove the dynload_next.c file (closes bpo-32386) (#4957) https://github.com/python/cpython/commit/62ed6be8da5fd1142f838582ecdb338af539e85b

[issue32402] Coverity: CID 1426868/1426867: Null pointer dereferences in textio.c

2017-12-21 Thread INADA Naoki
Change by INADA Naoki : -- keywords: +patch pull_requests: +4862 stage: -> patch review ___ Python tracker ___

[issue32407] lib2to3 doesn't work when zipped

2017-12-21 Thread Benjamin Peterson
New submission from Benjamin Peterson : 2to3 pokes around on the file system to find the grammar files it needs in source or pickled form. This makes it not work if lib2to3 is running from a zip file. lib2to3 should use pkgutil.get_data() instead to load grammar files.

[issue32394] socket lib beahavior change in 3.6.4

2017-12-21 Thread TJG
TJG added the comment: Excluding for now seems like a simple option. (Basically a reversion to previous behaviour). And allows us easily to include again later easily. Messing with setsockopt seems a little more risky. In short: I'm with you -- exclude for now.

[issue32404] fromtimestamp does not call __new__ in datetime subclasses

2017-12-21 Thread Paul Ganssle
New submission from Paul Ganssle : In writing some tests for the alternate date constructors as part of my PR for issue 32403 (https://bugs.python.org/issue32403), I noticed that for `datetime`, the `fromtimestamp` bypasses the `__new__` call on the subclass: from

[issue20891] PyGILState_Ensure on non-Python thread causes fatal error

2017-12-21 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +4861 ___ Python tracker ___ ___

[issue20891] PyGILState_Ensure on non-Python thread causes fatal error

2017-12-21 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2e1ef00171179a8b906631b175cde2e68a804522 by Victor Stinner in branch '3.6': bpo-20891: Skip test_embed.test_bpo20891() (#4967) (#4969) https://github.com/python/cpython/commit/2e1ef00171179a8b906631b175cde2e68a804522

[issue28236] In xml.etree.ElementTree Element can be created with empty and None tag

2017-12-21 Thread Gordon P. Hemsley
Gordon P. Hemsley added the comment: I decided to take a look at this, since it seems easy... At first glance, this would appear to be a straightforward change--the docs state in multiple places that Element() takes a string as its tag argument. But it turns out that

[issue32403] date, time and datetime alternate constructors should take fast construction path

2017-12-21 Thread Paul Ganssle
New submission from Paul Ganssle : In the addition of the `fromisoformat()` alternate constructor (bpo-15873: https://github.com/python/cpython/pull/4699), I noted that I was able to get some significant speedup by special-casing the `datetime` baseclass in the C code so

[issue32405] clr: AttributeError: 'module' object has no attribute 'AddReference'

2017-12-21 Thread Ranya
New submission from Ranya : Am trying to use clr.AddReference and clr.AddReferenceToFile to import an assembly, but python(2.7) keeps making this error: Traceback (most recent call last): File "", line 1, in clr.AddReference("UnityEngine")

[issue32399] _uuidmodule.c cannot build on AIX - different typedefs of uuid_t, etc..

2017-12-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Keep in mind _uuid is an optional C extension that is used to accelerate the uuid module when available. It doesn't bring any additional functionality by itself. -- nosy: +pitrou ___ Python

[issue29240] PEP 540: Add a new UTF-8 mode

2017-12-21 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +4860 ___ Python tracker ___ ___

[issue29240] PEP 540: Add a new UTF-8 mode

2017-12-21 Thread STINNER Victor
STINNER Victor added the comment: IHMO test_readline should be fixed by ignoring the UTF-8 mode in Py_EncodeLocale/Py_DecodeLocale, but only when called from the Python readline module. We need maybe new functions, something like:

[issue29240] PEP 540: Add a new UTF-8 mode

2017-12-21 Thread STINNER Victor
STINNER Victor added the comment: New changeset 424315fa865b43f67e36a40647107379adf031da by Victor Stinner in branch 'master': bpo-29240: Skip test_readline.test_nonascii() (#4968) https://github.com/python/cpython/commit/424315fa865b43f67e36a40647107379adf031da

[issue32406] Doc: The new dataclasses module is not documented

2017-12-21 Thread STINNER Victor
New submission from STINNER Victor : bpo-32214 "Implement PEP 557: Data Classes" added a new dataclasses module and was closed, but the new module is not documented: https://docs.python.org/dev/library/dataclasses.html And it's also missing from What's New in Python

[issue20891] PyGILState_Ensure on non-Python thread causes fatal error

2017-12-21 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +4859 ___ Python tracker ___ ___

[issue20891] PyGILState_Ensure on non-Python thread causes fatal error

2017-12-21 Thread STINNER Victor
STINNER Victor added the comment: New changeset 550ee051d605b909dd75ef686d8e1244a0994394 by Victor Stinner in branch 'master': bpo-20891: Skip test_embed.test_bpo20891() (#4967) https://github.com/python/cpython/commit/550ee051d605b909dd75ef686d8e1244a0994394

[issue32406] Doc: The new dataclasses module is not documented

2017-12-21 Thread Eric V. Smith
Eric V. Smith added the comment: This is a duplicate of #32216, which is no doubt hard to find because the subject doesn't contain "dataclasses". I've fixed that. -- resolution: -> duplicate stage: -> resolved status: open -> closed

[issue32216] Document PEP 557 Data Classes (dataclasses module)

2017-12-21 Thread Eric V. Smith
Change by Eric V. Smith : -- title: Document PEP 557 Data Classes -> Document PEP 557 Data Classes (dataclasses module) ___ Python tracker

[issue32405] clr: AttributeError: 'module' object has no attribute 'AddReference'

2017-12-21 Thread R. David Murray
R. David Murray added the comment: Whatever clr is, it doesn't look like it is part of the Python standard library. Please contact the clr community for support on this package, or post to the python-list mailing list. -- nosy: +r.david.murray resolution: ->

[issue32405] clr: AttributeError: 'module' object has no attribute 'AddReference'

2017-12-21 Thread Ranya
Ranya added the comment: Could you provide me a link to contact the clr community please? -- ___ Python tracker ___

[issue32216] Document PEP 557 Data Classes (dataclasses module)

2017-12-21 Thread STINNER Victor
STINNER Victor added the comment: My Issue32406 has been marked as a duplicate of this one. Copy of my message: bpo-32214 "Implement PEP 557: Data Classes" added a new dataclasses module and was closed, but the new module is not documented:

[issue32030] PEP 432: Rewrite Py_Main()

2017-12-21 Thread STINNER Victor
STINNER Victor added the comment: New changeset e47e698da6bd982da277960c14afa9d9939e3155 by Victor Stinner in branch 'master': bpo-32030: Add _Py_EncodeUTF8_surrogateescape() (#4960) https://github.com/python/cpython/commit/e47e698da6bd982da277960c14afa9d9939e3155

[issue17972] inspect module docs omits many functions

2017-12-21 Thread Anand Reddy Pandikunta
Change by Anand Reddy Pandikunta : -- nosy: +chillaranand ___ Python tracker ___ ___

[issue32397] textwrap output may change if you wrap a paragraph twice

2017-12-21 Thread Larry Hastings
New submission from Larry Hastings : If you word-wrap a paragraph twice with textwrap, you may get different results. Specifically, you *will* get different results when: * the original text has a line that is too long by one character, * the last word on the line is the

[issue32030] PEP 432: Rewrite Py_Main()

2017-12-21 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +4852 ___ Python tracker ___ ___

[issue32030] PEP 432: Rewrite Py_Main()

2017-12-21 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +4851 ___ Python tracker ___ ___

[issue26133] asyncio: ugly error related to signal handlers at exit if the loop is not closed explicitly

2017-12-21 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 4a02543cf97e8cbf9293741379f977b85531e4c2 by Andrew Svetlov in branch 'master': bpo-26133: Dont unsubscribe signals in UNIX even loop on interpreter shutdown (#4956)

[issue32397] textwrap output may change if you wrap a paragraph twice

2017-12-21 Thread Larry Hastings
Larry Hastings added the comment: FWIW, the test program produces this output: -- original: ' . ' wrapped: ' .\n' wrapped twice: ' . ' Traceback (most

[issue32323] urllib.parse.urlsplit() must not lowercase() IPv6 scope value

2017-12-21 Thread Andrew Svetlov
Andrew Svetlov added the comment: RFC doesn't specify a case for Zone ID, let's keep it untouched (no lowercasing) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.8 ___

[issue26133] asyncio: ugly error related to signal handlers at exit if the loop is not closed explicitly

2017-12-21 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4853 ___ Python tracker ___

[issue32408] Performance regression in urllib.proxy_bypass_environment

2017-12-21 Thread Xiang Zhang
New submission from Xiang Zhang : Recently we update our environment from Python2.7.5 to Python2.7.13. Then one process's CPU usage grow from 15% to 70%. The cause is urllib.proxy_bypass_environment, the commit I wrote in #26864. Our environments get a no_proxy environment

[issue32394] socket lib beahavior change in 3.6.4

2017-12-21 Thread Steve Dower
Steve Dower added the comment: Okay, so it looks like we don't have any prior art to conditionally omit constants from _socket based on OS level, and nothing in the setsockopt() doc suggests that it may fail like this. So we either need to explicitly exclude this

[issue32030] PEP 432: Rewrite Py_Main()

2017-12-21 Thread STINNER Victor
STINNER Victor added the comment: Hum, _PyCoreConfig.ignore_environment is redundant with Py_IgnoreEnvironmentFlag. I don't recall why I added it to _PyCoreConfig. Maybe it should be removed. -- ___ Python tracker

[issue30607] Extract documentation theme into a separate package

2017-12-21 Thread Julien Palard
Change by Julien Palard : -- nosy: +mdk ___ Python tracker ___ ___ Python-bugs-list

[issue32030] PEP 432: Rewrite Py_Main()

2017-12-21 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +4854 ___ Python tracker ___ ___

[issue32030] PEP 432: Rewrite Py_Main()

2017-12-21 Thread STINNER Victor
STINNER Victor added the comment: New changeset 9bee329130aae5a13050c08dab9d349b76e66835 by Victor Stinner in branch 'master': bpo-32030: Add _Py_FindEnvConfigValue() (#4963) https://github.com/python/cpython/commit/9bee329130aae5a13050c08dab9d349b76e66835

[issue32030] PEP 432: Rewrite Py_Main()

2017-12-21 Thread STINNER Victor
STINNER Victor added the comment: New changeset 9dd762013fd9fcf975ad51700b55d050ca9ed60e by Victor Stinner in branch 'master': bpo-32030: Add _Py_EncodeLocaleRaw() (#4961) https://github.com/python/cpython/commit/9dd762013fd9fcf975ad51700b55d050ca9ed60e --

[issue32393] nav menu jitter in old documentation

2017-12-21 Thread Julien Palard
Change by Julien Palard : -- nosy: +mdk ___ Python tracker ___ ___ Python-bugs-list

[issue32398] OSX C++ linking workaround in distutils breaks other packages

2017-12-21 Thread R. David Murray
R. David Murray added the comment: I doubt we can make the change this way for backward compatibility reasons. That doesn't mean the situation can't be improved, though. -- components: +macOS nosy: +ned.deily, ronaldoussoren

[issue22908] ZipExtFile in zipfile can be seekable

2017-12-21 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4858 stage: needs patch -> patch review ___ Python tracker ___

[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2017-12-21 Thread Michael Felt
Michael Felt added the comment: Sure - I'll work on a PR. This will be the easier one. Where I am currently 'lost' is to correct _uuidmodule.c - another thing that has always been broken (new issue, about to open). -- ___

[issue32400] inspect.isdatadescriptor fasle negative

2017-12-21 Thread Lior Cohen
New submission from Lior Cohen : According to the c code in Include/descrobject.h #define PyDescr_IsData(d) (Py_TYPE(d)->tp_descr_set != NULL) and according to the "data model" chapter, a data descriptor is an object who has __set__ and /or __delete__. the

[issue32400] inspect.isdatadescriptor false negative

2017-12-21 Thread Lior Cohen
Change by Lior Cohen : -- title: inspect.isdatadescriptor fasle negative -> inspect.isdatadescriptor false negative ___ Python tracker

[issue31821] pause_reading() doesn't work from connection_made()

2017-12-21 Thread Andrew Svetlov
Change by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___

[issue32399] _uuidmodule.c cannot build on AIX - different typedefs of uuid_t, etc..

2017-12-21 Thread Michael Felt
New submission from Michael Felt : I was hoping for something simple - as in: +1 #define PY_SSIZE_T_CLEAN +2 +3 #include "Python.h" +4 #ifndef _AIX +5 #include +6 #else +7 #include +8 #endif However, it dies - instantly.

[issue32326] Update Build projects to version 10.0.16299.0 of the Windows 10 SDK.

2017-12-21 Thread Steve Dower
Steve Dower added the comment: Apparently Tk has something in its e_capi.c file that does not work with the latest SDK (I guess they're redefining macros). In master, we use prebuilt binaries, which is why this is not a problem. But we'll either need to fix Tk's

[issue32388] Remove cross-version binary compatibility

2017-12-21 Thread Steve Dower
Steve Dower added the comment: Totally okay with this in theory, but wanted to clarify that the linked PR is really just taking advantage of removing the guarantee? That is, the change isn't necessary to remove the requirement. --

[issue32394] socket lib beahavior change in 3.6.4

2017-12-21 Thread TJG
TJG added the comment: It's a compile-time option in socketmodule.c. https://github.com/python/cpython/blob/3.6/Modules/socketmodule.c#L7466 The MSDN page suggests that it was added for Win10:

[issue23428] Use the monotonic clock for thread conditions on POSIX platforms

2017-12-21 Thread Erik Bray
Change by Erik Bray : -- pull_requests: +4856 stage: -> patch review ___ Python tracker ___

[issue32243] Tests that set aggressive switch interval hang in Cygwin on a VM

2017-12-21 Thread Erik Bray
Change by Erik Bray : -- keywords: +patch pull_requests: +4855 stage: -> patch review ___ Python tracker ___

[issue32398] GDAL compilation error

2017-12-21 Thread Eduardo Suarez-Santana
New submission from Eduardo Suarez-Santana : When compiling GDAL with python support, under certain build chain environment variables, next error may appear when building and linking python extensions

[issue32394] socket lib beahavior change in 3.6.4

2017-12-21 Thread Steve Dower
Steve Dower added the comment: Yeah, I updated the build machine before doing 3.6.4rc1 (I never update between rc and final releases). I'm intrigued to see why it breaks libraries though - typically unsupported enum values like this are silently ignored on older

[issue32388] Remove cross-version binary compatibility

2017-12-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: That's basically exact. Actually, there is no ABI guarantee at all (when not using the stable ABI), just a best effort for advanced users who know what they're doing. Actually, this PR stems from Nathaniel's message here:

[issue32323] urllib.parse.urlsplit() must not lowercase() IPv6 scope value

2017-12-21 Thread R. David Murray
R. David Murray added the comment: I don't think a zone id in that form is actually valid in a URI, but I agree that not messing with whatever is there is probably the best policy as long as we aren't directly supporting whatever *is* valid. --

[issue32398] OSX C++ linking workaround in distutils breaks other packages

2017-12-21 Thread Eduardo Suarez-Santana
Change by Eduardo Suarez-Santana : -- title: GDAL compilation error -> OSX C++ linking workaround in distutils breaks other packages ___ Python tracker

[issue26133] asyncio: ugly error related to signal handlers at exit if the loop is not closed explicitly

2017-12-21 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 3bc68cff5b821e83ee5df8b8cd13f4f54151b406 by Andrew Svetlov (Miss Islington (bot)) in branch '3.6': bpo-26133: Dont unsubscribe signals in UNIX even loop on interpreter shutdown (GH-4956) (#4962)

[issue32398] OSX C++ linking workaround in distutils breaks other packages

2017-12-21 Thread Eduardo Suarez-Santana
Eduardo Suarez-Santana added the comment: When compiling GDAL with python support, before Lib/distutils/unixccompiler.py:180, self.compiler_cxx = ['/bin/sh', '/usr/x86_64-pc-linux-gnu/bin/libtool', '--mode=compile', '--tag=CXX', 'x86_64-pc-linux-gnu-c++'] linker =

[issue32387] Disallow untagged C extension import on major platforms

2017-12-21 Thread Steve Dower
Steve Dower added the comment: Please don't rush this in, at least for Windows. I deliberately decided to keep the included pyd files untagged for a reason, and need to recall what that was. (It might be in the issue when we added the tags.) Considering a .pyd file

[issue32387] Disallow untagged C extension import on major platforms

2017-12-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks for the heads-up Steve. > Considering a .pyd file linking against pythonXY.dll is only going to load in > the context of that version anyway, this is hardly urgent. I see. That's a good argument for keeping the current extensions

[issue32394] socket lib beahavior change in 3.6.4

2017-12-21 Thread Steve Dower
Steve Dower added the comment: Which libraries break? And which version of Windows are you running on? If TCP_KEEPCNT was only added recently (perhaps in an SDK update) then it may not really be available on all versions. (+Ned for awareness of the regression - not

[issue32388] Remove cross-version binary compatibility

2017-12-21 Thread Steve Dower
Steve Dower added the comment: Good to know. As I said on the other issue, Windows won't load extension modules built for a different version anyway unless they use the stable ABI, so there's no real reason these flags need to be binary compatible between 3.x

[issue32398] GDAL compilation error

2017-12-21 Thread R. David Murray
R. David Murray added the comment: Please describe the problem and your proposed solution in more detail and in terms of CPython, so that it can be discussed by the relevant experts. GDAL is a third party product and only relevant as an example, so it would also be

[issue32394] socket lib beahavior change in 3.6.4

2017-12-21 Thread Kamil
Kamil added the comment: My OS version is Windows 7 x64. I ran the script on the same computer, but with different versions of the python: import socket import platform print('1) OS Info: ', platform.architecture(), platform.platform()) print('2) Python Info: ',

[issue32388] Remove cross-version binary compatibility

2017-12-21 Thread Ned Deily
Change by Ned Deily : -- stage: -> patch review ___ Python tracker ___ ___

[issue32388] Remove cross-version binary compatibility

2017-12-21 Thread Ned Deily
Change by Ned Deily : -- nosy: +njs, serhiy.storchaka ___ Python tracker ___ ___

[issue32388] Remove cross-version binary compatibility

2017-12-21 Thread Ned Deily
Change by Ned Deily : -- nosy: +ncoghlan, ned.deily -njs, serhiy.storchaka stage: patch review -> ___ Python tracker ___

[issue32394] socket lib beahavior change in 3.6.4

2017-12-21 Thread Steve Dower
Steve Dower added the comment: Yes, I recognise that the change happened. I don't understand what breaks as a result. You said it breaks "many libraries" - can you name some of them and provide sample code? -- ___ Python

[issue32402] Coverity: CID 1426868/1426867: Null pointer dereferences in textio.c

2017-12-21 Thread STINNER Victor
New submission from STINNER Victor : The following warning may have been introduced by the commit 507434fd504f3ebc1da72aa77544edc0d73f136e from bpo-15216. New defect(s) Reported-by: Coverity Scan Showing 2 of 2 defect(s) ** CID 1426868: Null pointer dereferences

[issue32394] socket lib beahavior change in 3.6.4

2017-12-21 Thread Kamil
Kamil added the comment: websocket-client 0.44.0 https://pypi.python.org/pypi/websocket-client/0.44.0 My script gives the following Erroe: File "C:\Program Files\Python36\lib\site-packages\websocket\_http.py", line 108, in _open_socket sock.setsockopt(*opts) OSError:

[issue32399] _uuidmodule.c cannot build on AIX - different typedefs of uuid_t, etc..

2017-12-21 Thread Michael Felt
Michael Felt added the comment: So - KISS principle: This diff shows what can compile: diff --git a/Modules/_uuidmodule.c b/Modules/_uuidmodule.c index d4bc3c7..5550705 100644 --- a/Modules/_uuidmodule.c +++ b/Modules/_uuidmodule.c @@ -1,7 +1,11 @@ #define

[issue28459] _pyio module broken on Cygwin / setmode not usable

2017-12-21 Thread Zachary Ware
Change by Zachary Ware : -- nosy: +zach.ware stage: -> patch review versions: -Python 3.5 ___ Python tracker ___

[issue32401] No module named '_ctypes'

2017-12-21 Thread YoSTEALTH
New submission from YoSTEALTH : I tried to install python3.7.0a3 just to test it out and i keep getting error: Traceback (most recent call last): File "/tmp/psi/Python-3.7.0a3/Lib/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File

[issue32115] Ignored SIGCHLD causes asyncio.Process.wait to hang forever

2017-12-21 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thank for bug report. Do you know other widespread tools with this problem? plan9port sounds too esoteric to me. -- nosy: +asvetlov versions: +Python 3.6, Python 3.7 -Python 3.5 ___ Python

[issue32387] Disallow untagged C extension import on major platforms

2017-12-21 Thread Ned Deily
Ned Deily added the comment: With my macOS hat on, I don't see a problem with doing this. C extensions built via Distutils have been version-tagged on macOS since 3.5.0 (for some reason, macOS was skipped when PEP 3149 was originally implemented). With my release manager