[issue35673] Loader for namespace packages

2019-01-07 Thread Ronald Oussoren
Ronald Oussoren added the comment: @barry: I agree on both. Do you know why the namespace package loader lies about the source and code? Both .get_source() and .get_code() return a value that isn't None. And likewise: Why is the namespace package loader a private class, other loaders are ex

[issue35283] "threading._DummyThread" redefines "is_alive" but forgets "isAlive"

2019-01-07 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +10921, 10922 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue35283] "threading._DummyThread" redefines "is_alive" but forgets "isAlive"

2019-01-07 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +10921, 10922, 10923 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35283] "threading._DummyThread" redefines "is_alive" but forgets "isAlive"

2019-01-07 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +10921 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue35674] Expose os.posix_spawnp()

2019-01-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: To add some context, the follow_symlinks parameter was added to os.stat() after adding support of *at() functions (like openat() and fstatat()). Since both C functions stat() and lstat() are superseded by fstatat(), the latter was exposed at Python level a

[issue35596] Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings'

2019-01-07 Thread Marc Schlaich
Change by Marc Schlaich : -- nosy: +schlamar ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue35677] Do not automount in stat() by default

2019-01-07 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : There is a subtle difference between implementations of os.stat() that use system calls stat() and fstatat(). On Linux, fstatat() by default automounts the terminal ("basename") component of pathname if it is a directory that is an automount point. The L

[issue35677] Do not automount in stat() by default

2019-01-07 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch, patch pull_requests: +10924, 10925 stage: -> patch review ___ Python tracker ___

[issue35677] Do not automount in stat() by default

2019-01-07 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +10924 stage: -> patch review ___ Python tracker ___ ___ Python-bug

[issue35677] Do not automount in stat() by default

2019-01-07 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch, patch, patch pull_requests: +10924, 10925, 10926 stage: -> patch review ___ Python tracker ___ __

[issue4926] putenv() accepts names containing '=', return value of unsetenv() not checked

2019-01-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The original issues seem fixed. As for leaks in posix_putenv_garbage on Windows, it is better to open a new issue for this. -- status: open -> pending ___ Python tracker

[issue35257] Avoid leaking linker flags into distutils: add PY_LDFLAGS_NODIST

2019-01-07 Thread STINNER Victor
STINNER Victor added the comment: New changeset 92f90242994652d6b7afe0a2c8a61cf2bccc8c32 by Ned Deily (Miss Islington (bot)) in branch '3.7': bpo-35257: fix broken BLDSHARED - needs LDFLAGS too (GH-11297) https://github.com/python/cpython/commit/92f90242994652d6b7afe0a2c8a61cf2bccc8c32 Since

[issue17703] Trashcan mechanism segfault during interpreter finalization in Python 2.7.4

2019-01-07 Thread STINNER Victor
STINNER Victor added the comment: This issue is closed. Can you please open a new issue? Try to describe the bug that you have and what you attemped to fix it. -- ___ Python tracker

[issue35678] Issue with execute_child in startupinfo

2019-01-07 Thread MaximilianSP
New submission from MaximilianSP : Whenever startupinfo is called, python crashes on my Computer. I have added the file showing the error traceback. I have seen a few bug Reports related to startupinfo on Windows. Not sure what the issue is and I hope you can help me. I am running the python

[issue34431] Docs does not eval allows code object as argument

2019-01-07 Thread Jonathan Fine
Jonathan Fine added the comment: This graceful reminder is most welcome. At present, it's not help I'm short of, but time. I've given myself a reminder, to spend time on this before the end of this month (January 2019). Once again, thank you for this reminder. This is something I want to do.

[issue34173] [3.7] deadlock in /usr/lib/python3.7/concurrent/futures/thread.py

2019-01-07 Thread Corey Bryant
Corey Bryant added the comment: I think we can close this issue. It was narrowed down to eventlet. Please see: https://github.com/eventlet/eventlet/issues/508 On Tue, Jul 24, 2018 at 1:54 PM Karthikeyan Singaravelan < rep...@bugs.python.org> wrote: > > Karthikeyan Singaravelan added the comm

[issue35679] pdb restart hooks

2019-01-07 Thread Hernot
New submission from Hernot : I like the PDB debugger it is a quite powerfull tool, despite a few donws. One is that cleanup code eg registered by debugged script, module is not executed on restart. a crude hack is to check whether pdb is invoked via python -mpdb using inspect and decorate pdb

[issue33084] Computing median, median_high an median_low in statistics library

2019-01-07 Thread Jonathan Fine
Jonathan Fine added the comment: Based on a quick review of the python docs, the bug report, PEP 450 and this thread, I suggest 1. More carefully draw attention to the NaN feature, in the documentation for existing Python versions. 2. Consider revising statistics.py so that it raises an except

[issue34173] [3.7] deadlock in /usr/lib/python3.7/concurrent/futures/thread.py

2019-01-07 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the info. I am closing it as third party. -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker _

[issue35678] Issue with execute_child in startupinfo

2019-01-07 Thread STINNER Victor
STINNER Victor added the comment: The screenshot says "OSError: [WinError 87] Falscher Parameter" at Lib/subprocess.py:1178 which is this call: hp, ht, pid, tid = _winapi.CreateProcess(executable, args, # no special security

[issue35678] subprocess.check_output(): OSError: [WinError 87]

2019-01-07 Thread STINNER Victor
STINNER Victor added the comment: "Issue with execute_child in startupinfo" I don't think that the issue is related to startupinfo at all, since you don't specify this parameter in your check_output() call. Python shows you "startupinfo)" in the traceback because the function call takes mult

[issue35677] Do not automount in stat() by default

2019-01-07 Thread STINNER Victor
STINNER Victor added the comment: What if someone relies on the current behavior of os.stat(filename, dir_fd=fd)? Would it make sense to add a new "automount=False" optional parameter to os.stat()? AT_NO_AUTOMOUNT would only be added if automount is false. -- nosy: +vstinner ___

[issue35283] "threading._DummyThread" redefines "is_alive" but forgets "isAlive"

2019-01-07 Thread STINNER Victor
STINNER Victor added the comment: I suggest to start with: * Updating docstrings to recommend use is_alive() instead of isAlive(), and add a deprecation warning for Thread.isAlive We may apply such changes to Python 3.7, maybe also emit a PendingDeprecationWarning. -- nosy: +vstinn

[issue35633] test_eintr fails on AIX since fcntl functions were modified

2019-01-07 Thread STINNER Victor
STINNER Victor added the comment: Since you are getting indentation error, I'm not sure about your test. Can you please apply the patch below and run again test_eintr? Does it still fail with PermissionError? diff --git a/Lib/test/eintrdata/eintr_tester.py b/Lib/test/eintrdata/eintr_tester.

[issue35665] Function ssl.create_default_context raises exception on Windows 10 when called with ssl.Purpose.SERVER_AUTH) attribute

2019-01-07 Thread STINNER Victor
STINNER Victor added the comment: > self.load_verify_locations(cadata=certs) > ... > ssl.SSLError: nested asn1 error (_ssl.c:3926) It seems like one of your certificate is invalid. > In Python 3.6.4 same function call raises no error. We frequently update OpenSSL in Python. You can get OpenS

[issue35665] Function ssl.create_default_context raises exception on Windows 10 when called with ssl.Purpose.SERVER_AUTH) attribute

2019-01-07 Thread STINNER Victor
STINNER Victor added the comment: Would it be possible to attach the certification to the issue so someone can try to reproduce the issue? (but don't attach any private key ;-)) -- ___ Python tracker __

[issue35662] Windows #define _PY_EMULATED_WIN_CV 0 bug

2019-01-07 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue32592] Drop support of Windows Vista in Python 3.7

2019-01-07 Thread STINNER Victor
STINNER Victor added the comment: Hello 2018, I reopen the issue and change the version to Python 3.8. -- resolution: out of date -> status: closed -> open versions: +Python 3.8 -Python 3.7 ___ Python tracker _

[issue32592] Drop support of Windows Vista in Python 3.7

2019-01-07 Thread STINNER Victor
STINNER Victor added the comment: > I failed to fix failures on my PR. It's now too late for Python 3.7. I will try to redo PR 5231 in small chunks to better control the risk. I extracted os.cpu_count() changed as a new PR: PR 11457. I already updated time.monotonic() documentation in a prev

[issue32592] Drop support of Windows Vista in Python 3.7

2019-01-07 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +10927 stage: resolved -> patch review ___ Python tracker ___ ___ Python-bugs-list mail

[issue32592] Drop support of Windows Vista in Python 3.7

2019-01-07 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +10927, 10928 stage: resolved -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue32592] Drop support of Windows Vista in Python 3.7

2019-01-07 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +10927, 10928, 10929 stage: resolved -> patch review ___ Python tracker ___ ___ Python-

[issue35560] format(float(123), "00") causes segfault in debug builds

2019-01-07 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3f7983a25a3d19779283c707fbdd5bc91b1587ef by Victor Stinner (Xtreak) in branch 'master': bpo-35560: Remove assertion from format(float, "n") (GH-11288) https://github.com/python/cpython/commit/3f7983a25a3d19779283c707fbdd5bc91b1587ef --

[issue35560] format(float(123), "00") causes segfault in debug builds

2019-01-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +10930 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue35676] unittest assert helper methods have incorrect signature in docs

2019-01-07 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. Looking at git history it seems there were some changes done in issue10573 to use (actual, expected) for consistency and later changed to use (first, second) in the same issue at msg126911. Discussion for the issue : https://

[issue35624] Shelve sync issues while using Gevent

2019-01-07 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue35381] posixmodule: convert statically allocated types (DirEntryType & ScandirIteratorType) to heap-allocated types

2019-01-07 Thread STINNER Victor
Change by STINNER Victor : -- title: Heap-allocated posixmodule types -> posixmodule: convert statically allocated types (DirEntryType & ScandirIteratorType) to heap-allocated types ___ Python tracker _

[issue30170] "tests may fail, unable to create temporary directory" warning on buildbot: add a cleanup step to buildbots

2019-01-07 Thread Jorge Ramos
Jorge Ramos added the comment: I got this error trying to build Python 3.6.7, why is this closed? Running PGInstrument|x64 interpreter... E:\RepoGiT\3.6\lib\test\support\__init__.py:1029: RuntimeWarning: tests may fail, unable to create temp dir: D:\Users\yorch\AppData\Local\Temp\test_python

[issue35550] Some define guards for Solaris are wrong

2019-01-07 Thread STINNER Victor
STINNER Victor added the comment: Do you want to fix the 2.7 branch as well? -- nosy: +vstinner ___ Python tracker ___ ___ Python-b

[issue30170] "tests may fail, unable to create temporary directory" warning on buildbot: add a cleanup step to buildbots

2019-01-07 Thread Jorge Ramos
Jorge Ramos added the comment: May I add that this directory exists, maybe before this run tried to create it and hence not being able to do it as the first post suggested? -- ___ Python tracker ___

[issue35283] "threading._DummyThread" redefines "is_alive" but forgets "isAlive"

2019-01-07 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +10931 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue35283] "threading._DummyThread" redefines "is_alive" but forgets "isAlive"

2019-01-07 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +10931, 10932 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue35283] "threading._DummyThread" redefines "is_alive" but forgets "isAlive"

2019-01-07 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +10931, 10932, 10933 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35560] format(float(123), "00") causes segfault in debug builds

2019-01-07 Thread miss-islington
miss-islington added the comment: New changeset 9a413faa8708e5c2df509e97d48f18685c198b24 by Miss Islington (bot) in branch '3.7': bpo-35560: Remove assertion from format(float, "n") (GH-11288) https://github.com/python/cpython/commit/9a413faa8708e5c2df509e97d48f18685c198b24 -- nosy:

[issue35665] Function ssl.create_default_context raises exception on Windows 10 when called with ssl.Purpose.SERVER_AUTH) attribute

2019-01-07 Thread Christian Heimes
Christian Heimes added the comment: The certs are coming from Windows' trust store. Could you please dump the trust store for me and attach the result to the bug tracker. The following script is untested but should work. I don't have access to a Windows machine at the moment. ctx = ssl.SSLC

[issue35560] format(float(123), "00") causes segfault in debug builds

2019-01-07 Thread STINNER Victor
STINNER Victor added the comment: Thanks Karthikeyan Singaravelan for the bug report and the fix! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.6 ___ Python tracker

[issue35283] "threading._DummyThread" redefines "is_alive" but forgets "isAlive"

2019-01-07 Thread Dong-hee Na
Dong-hee Na added the comment: @vstinner Thanks, I've submitted PR 11459 for 3.7 which emit PendingDeprecationWarning. -- ___ Python tracker ___ __

[issue35218] decompressing and then re-compressing zipfiles with Python 3 zipfile loses flag_bits

2019-01-07 Thread STINNER Victor
STINNER Victor added the comment: Hi, > I'm unable to fill in your contributor agreement form Is there a specific reason why you cannot fill it? If you cannot cannot fill it, can someone else convert your patch into a PR? -- nosy: +vstinner ___ P

[issue31450] Subprocess exceptions re-raised in parent process do not have child_traceback attribute

2019-01-07 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue34522] PyTypeObject's tp_base initialization bug

2019-01-07 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue35671] reserved identifier violation

2019-01-07 Thread Ronald Oussoren
Ronald Oussoren added the comment: See: Basically all names starting with double underscores are reserved for the implementation in C++. Likewise for all names starting with an undersc

[issue35671] reserved identifier violation

2019-01-07 Thread STINNER Victor
STINNER Victor added the comment: __DYNAMIC_ANNOTATIONS_H__ can be replaced with PY_DYNAMIC_ANNOTATIONS_H. I don't understand why _Py_memory_order and only _Py_memory_order is a problem. We have tons of symbols starting with _Py: functions, defines, variables, etc. -- __

[issue35678] subprocess.check_output(): OSError: [WinError 87]

2019-01-07 Thread MaximilianSP
MaximilianSP added the comment: Thank you for the input Victor. I will need a little time to dig in the code and check the attributes. I am fairly new to python :) You are right that the code doesn't crash. Just I cannot continue with the following steps. That is why I thought it crashed. -

[issue35664] Optimize itemgetter()

2019-01-07 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 2d53bed79c1953390f85b191c72855e457e09305 by Raymond Hettinger in branch 'master': bpo-35664: Optimize operator.itemgetter (GH-11435) https://github.com/python/cpython/commit/2d53bed79c1953390f85b191c72855e457e09305 -- _

[issue35664] Optimize itemgetter()

2019-01-07 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue35680] [2.7] Coverity scan: Passing freed pointer "name" as an argument to "Py_BuildValue" in _bsddb module.

2019-01-07 Thread Charalampos Stratakis
New submission from Charalampos Stratakis : Results from a recent static analysis scan for python2: Error: USE_AFTER_FREE (CWE-825): Python-2.7.15/Modules/_bsddb.c:6697: freed_arg: "free" frees "name". Python-2.7.15/Modules/_bsddb.c:6715: pass_freed_arg: Passing freed pointer "name" as an argu

[issue35680] [2.7] Coverity scan: Passing freed pointer "name" as an argument to "Py_BuildValue" in _bsddb module.

2019-01-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There is no bug here. "name" is freed only when err == EINVAL. And the RETURN_IF_ERR() macro will return from the function if err != 0. So that a freed pointer will never passed to Py_BuildValue(). -- nosy: +serhiy.storchaka __

[issue35680] [2.7] Coverity scan: Passing freed pointer "name" as an argument to "Py_BuildValue" in _bsddb module.

2019-01-07 Thread Charalampos Stratakis
Charalampos Stratakis added the comment: Indeed it's not a bug per se, more like code readability issue, if however it's not deemed as an issue, it can be closed. -- ___ Python tracker _

[issue35633] test_eintr fails on AIX since fcntl functions were modified

2019-01-07 Thread Michael Felt
Michael Felt added the comment: On 07/01/2019 15:46, STINNER Victor wrote: > STINNER Victor added the comment: > > Since you are getting indentation error, I'm not sure about your test. Can > you please apply the patch below and run again test_eintr? Does it still fail > with PermissionError?

[issue35672] Error on divide

2019-01-07 Thread Guido van Rossum
Guido van Rossum added the comment: For reference, the OP reported the issue initially at https://github.com/python/psf-infra-meta/issues/17 (but it was closed because that's not the right tracker). The y1y2y3y4 etc. are multiplications (mangled by not quoting the code in GitHub and then co

[issue35665] Function ssl.create_default_context raises exception on Windows 10 when called with ssl.Purpose.SERVER_AUTH) attribute

2019-01-07 Thread Vladimir Perić
Vladimir Perić added the comment: Public Certificate file cert.pem is attached. Version of ssl lib in pythons on my machine: Python 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 23:09:28) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.

[issue35671] reserved identifier violation

2019-01-07 Thread Markus Elfring
Markus Elfring added the comment: * How do you think about to reduce the tampering with the reserved name space in mentioned source code (and also in related components)? * Would you like to avoid that this software depends on undefined behaviour? -- _

[issue35665] Function ssl.create_default_context raises exception on Windows 10 when called with ssl.Purpose.SERVER_AUTH) attribute

2019-01-07 Thread Christian Heimes
Christian Heimes added the comment: Your Windows cert store contains multiple invalid certificates. The first failing certificate is the custom "MUPCA Root", which looks like a certificate from http://ca.mup.gov.rs/sertifikati.html. The serial number seems to be badly formated or padded. The

[issue35665] Function ssl.create_default_context raises exception on Windows 10 when called with ssl.Purpose.SERVER_AUTH) attribute

2019-01-07 Thread Christian Heimes
Christian Heimes added the comment: OpenSSL 1.1.0 is more strict than OpenSSL 1.0.2. That's why you don't see the issue with Python 3.6 but with 3.7. The problem is explained in https://mta.openssl.org/pipermail/openssl-dev/2016-February/005100.html The CA has encoded the integer 102 (0x66)

[issue2506] Add mechanism to disable optimizations

2019-01-07 Thread Arthur Goldberg
Arthur Goldberg added the comment: This issue is well into the 2nd decade of debate. Who has the power to effect this change? Happy New Year Arthur -- ___ Python tracker ___

[issue32592] Drop support of Windows Vista in Python 3.7

2019-01-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: AFAIK, it was specifically Martin Loewis who did not want a specific list in PEP 11. Since he is long inactive, I think you and Steve should feel free to change that. -- ___ Python tracker

[issue33717] Enhance test.pythoninfo: meta-ticket for multiple changes

2019-01-07 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +10934 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue33717] Enhance test.pythoninfo: meta-ticket for multiple changes

2019-01-07 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +10934, 10935 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue33717] Enhance test.pythoninfo: meta-ticket for multiple changes

2019-01-07 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +10934, 10935, 10936 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue32710] test_asyncio: ProactorEventLoopTests.test_sendfile_close_peer_in_middle_of_receiving() leaked [4, 4, 3] memory blocks on AMD64 Windows8.1 Refleaks 3.x

2019-01-07 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +10937 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue32710] test_asyncio: ProactorEventLoopTests.test_sendfile_close_peer_in_middle_of_receiving() leaked [4, 4, 3] memory blocks on AMD64 Windows8.1 Refleaks 3.x

2019-01-07 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch, patch, patch pull_requests: +10937, 10938, 10939 stage: -> patch review ___ Python tracker ___

[issue32710] test_asyncio: ProactorEventLoopTests.test_sendfile_close_peer_in_middle_of_receiving() leaked [4, 4, 3] memory blocks on AMD64 Windows8.1 Refleaks 3.x

2019-01-07 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch, patch pull_requests: +10937, 10938 stage: -> patch review ___ Python tracker ___ __

[issue32592] Drop support of Windows Vista in Python 3.7

2019-01-07 Thread Steve Dower
Steve Dower added the comment: I'd rather leave it specified as it is in PEP 11, though perhaps specifying it explicitly in the release schedule PEPs would be helpful? Up to release managers. -- ___ Python tracker

[issue32710] test_asyncio: ProactorEventLoopTests.test_sendfile_close_peer_in_middle_of_receiving() leaked [4, 4, 3] memory blocks on AMD64 Windows8.1 Refleaks 3.x

2019-01-07 Thread STINNER Victor
STINNER Victor added the comment: New changeset df8e1fb4e388e18430a9be8c6ceeb03c330f166c by Victor Stinner in branch 'master': bpo-32710: test_asyncio: test_sendfile reset policy (GH-11461) https://github.com/python/cpython/commit/df8e1fb4e388e18430a9be8c6ceeb03c330f166c -- ___

[issue35681] urllib.request.HTTPPasswordMgr.add_password requires more information for HTTPPasswordMgrWithDefaultRealm

2019-01-07 Thread Tatz Sekine
New submission from Tatz Sekine : TL;DR HTTPPasswordMgrWithDefaultRealm.add_password() doesn't have proper documentation. All known version of urllib.request (or urllib2 in Python 2.x) documentaion have the same issue. Details: HTTPPasswordMgrWithDefaultRealm object doesn't have its own d

[issue33717] Enhance test.pythoninfo: meta-ticket for multiple changes

2019-01-07 Thread STINNER Victor
STINNER Victor added the comment: New changeset ddd7c422fd89a053700f9ed5272cf732ccb09088 by Victor Stinner in branch 'master': bpo-33717: pythoninfo logs information of all clocks (GH-11460) https://github.com/python/cpython/commit/ddd7c422fd89a053700f9ed5272cf732ccb09088 -- __

[issue35635] asyncio.create_subprocess_exec() only works in main thread

2019-01-07 Thread Stefan Seefeld
Stefan Seefeld added the comment: OK, so while I have been able to work around the issues (by using `quamash` to bridge between `asyncio` and `Qt`), I'd still like to understand the rationale behind the limitation that any subprocess-managing event-loop has to run in the main thread. Is this

[issue35682] asyncio: bug in _ProactorBasePipeTransport._force_close()

2019-01-07 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +10940 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue35682] asyncio: bug in _ProactorBasePipeTransport._force_close()

2019-01-07 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch, patch pull_requests: +10940, 10941 stage: -> patch review ___ Python tracker ___ __

[issue35682] asyncio: bug in _ProactorBasePipeTransport._force_close()

2019-01-07 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch, patch, patch pull_requests: +10940, 10941, 10943 stage: -> patch review ___ Python tracker ___

[issue35682] asyncio: bug in _ProactorBasePipeTransport._force_close()

2019-01-07 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch, patch, patch, patch pull_requests: +10940, 10941, 10942, 10943 stage: -> patch review ___ Python tracker ___ __

[issue32622] Implement loop.sendfile

2019-01-07 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +10944 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue32710] test_asyncio: ProactorEventLoopTests sendfile tests leak references on Windows

2019-01-07 Thread STINNER Victor
Change by STINNER Victor : -- title: test_asyncio: ProactorEventLoopTests.test_sendfile_close_peer_in_middle_of_receiving() leaked [4, 4, 3] memory blocks on AMD64 Windows8.1 Refleaks 3.x -> test_asyncio: ProactorEventLoopTests sendfile tests leak references on Windows _

[issue35682] asyncio: bug in _ProactorBasePipeTransport._force_close()

2019-01-07 Thread STINNER Victor
New submission from STINNER Victor : Running ProactorEventLoopTests.test_sendfile_close_peer_in_the_middle_of_receiving() logs a bug in _force_close(): see logs below. Extract of _force_close(): def _force_close(self, exc): if self._empty_waiter is not None: if exc is

[issue32710] test_asyncio: ProactorEventLoopTests sendfile tests leak references on Windows

2019-01-07 Thread STINNER Victor
STINNER Victor added the comment: Update: * test.test_asyncio.test_sendfile.ProactorEventLoopTests.test_sendfile_close_peer_in_the_middle_of_receiving leaks 1 reference per run: this bug is caused by bpo-35682 and fixed by PR 11462 * test.test_asyncio.test_sendfile.ProactorEventLoopTests.t

[issue35642] _asynciomodule.c compiled in both pythoncore.vcxproj and _asyncio.vcxproj

2019-01-07 Thread Steve Dower
Steve Dower added the comment: New changeset fbf50683b3a2301097d5cd48bc68b530c1e1720f by Steve Dower (Gregory Szorc) in branch 'master': bpo-35642: Remove asynciomodule.c from pythoncore.vcxproj (GH-11410) https://github.com/python/cpython/commit/fbf50683b3a2301097d5cd48bc68b530c1e1720f ---

[issue35635] asyncio.create_subprocess_exec() only works in main thread

2019-01-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: The limitation is a consequence of how Linux works. Unix has no cross-platform API for non-blocking waiting for child process finish except handling SIGCHILD signal. On the other hand signal handlers in Python should work in the main thread. Your trick with

[issue32710] test_asyncio: ProactorEventLoopTests sendfile tests leak references on Windows

2019-01-07 Thread STINNER Victor
STINNER Victor added the comment: Interesting commit. No idea if it's related. commit 79790bc35fe722a49977b52647f9b5fe1deda2b7 Author: Victor Stinner Date: Fri Jun 8 00:25:52 2018 +0200 bpo-33694: Fix race condition in asyncio proactor (GH-7498) The cancellation of an overlapp

[issue32622] Implement loop.sendfile

2019-01-07 Thread STINNER Victor
STINNER Victor added the comment: New changeset 80fda712c83f5dd9560d42bf2aa65a72b18b7759 by Victor Stinner in branch 'master': bpo-35682: Fix _ProactorBasePipeTransport._force_close() (GH-11462) https://github.com/python/cpython/commit/80fda712c83f5dd9560d42bf2aa65a72b18b7759 -- __

[issue35682] asyncio: bug in _ProactorBasePipeTransport._force_close()

2019-01-07 Thread STINNER Victor
STINNER Victor added the comment: New changeset 80fda712c83f5dd9560d42bf2aa65a72b18b7759 by Victor Stinner in branch 'master': bpo-35682: Fix _ProactorBasePipeTransport._force_close() (GH-11462) https://github.com/python/cpython/commit/80fda712c83f5dd9560d42bf2aa65a72b18b7759 -- __

[issue35635] asyncio.create_subprocess_exec() only works in main thread

2019-01-07 Thread Stefan Seefeld
Stefan Seefeld added the comment: > The limitation is a consequence of how Linux works. > Unix has no cross-platform API for non-blocking waiting for child process > finish except handling SIGCHILD signal. Why does the `wait()` have to be non-blocking ? We can call it once in response to the

[issue35682] asyncio: bug in _ProactorBasePipeTransport._force_close()

2019-01-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +10945, 10946 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue35682] asyncio: bug in _ProactorBasePipeTransport._force_close()

2019-01-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +10945 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue32622] Implement loop.sendfile

2019-01-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +10949 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue35673] Loader for namespace packages

2019-01-07 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue35682] asyncio: bug in _ProactorBasePipeTransport._force_close()

2019-01-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +10945, 10946, 10947 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue35682] asyncio: bug in _ProactorBasePipeTransport._force_close()

2019-01-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +10945, 10946, 10947, 10948 ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue35673] Loader for namespace packages

2019-01-07 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Jan 7, 2019, at 03:16, Ronald Oussoren wrote: > > Do you know why the namespace package loader lies about the source and code? > Both .get_source() and .get_code() return a value that isn't None. > And likewise: Why is the namespace package loader a priv

[issue32622] Implement loop.sendfile

2019-01-07 Thread miss-islington
miss-islington added the comment: New changeset 88bd26a72eb4ab341cf19bea78a0039fbe4be3a2 by Miss Islington (bot) in branch '3.7': bpo-35682: Fix _ProactorBasePipeTransport._force_close() (GH-11462) https://github.com/python/cpython/commit/88bd26a72eb4ab341cf19bea78a0039fbe4be3a2 --

[issue35682] asyncio: bug in _ProactorBasePipeTransport._force_close()

2019-01-07 Thread miss-islington
miss-islington added the comment: New changeset 88bd26a72eb4ab341cf19bea78a0039fbe4be3a2 by Miss Islington (bot) in branch '3.7': bpo-35682: Fix _ProactorBasePipeTransport._force_close() (GH-11462) https://github.com/python/cpython/commit/88bd26a72eb4ab341cf19bea78a0039fbe4be3a2 --

  1   2   >