[issue27415] regression: BaseEventLoop.create_server does not accept port=None

2016-09-16 Thread Marcus Cobden
Marcus Cobden added the comment: Still doesn't work in Python 3.4.5; I can confirm it's fixed in Python 3.5.2. -- resolution: works for me -> status: closed -> open versions: -Python 3.5 ___ Python tracker

[issue25270] codecs.escape_encode systemerror on empty byte string

2016-09-16 Thread Berker Peksag
Berker Peksag added the comment: Here is an updated patch. -- versions: +Python 3.7 Added file: http://bugs.python.org/file44689/issue25270_v2.diff ___ Python tracker

[issue28179] Segfault in test_recursionlimit_fatalerror

2016-09-16 Thread Berker Peksag
Changes by Berker Peksag : Added file: http://bugs.python.org/file44688/full_output.txt ___ Python tracker ___

[issue26050] Add new StreamReader.readuntil() method

2016-09-16 Thread Марк Коренберг
Марк Коренберг added the comment: It needs to compare python functoin(s) docstrings with separate documentation. All information from docstrings should also be written in separate docs. Will compare later. -- ___ Python tracker

[issue28139] Misleading Indentation in C source code

2016-09-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In general LGTM. This is not cosmetic change, this fixes readability of the sources. But I left few comments on Rietveld. -- assignee: -> martin.panter nosy: +serhiy.storchaka ___ Python tracker

[issue28179] Segfault in test_recursionlimit_fatalerror

2016-09-16 Thread Berker Peksag
New submission from Berker Peksag: This is a follow-up from msg275748 in issue 27213 (Rework CALL_FUNCTION* opcodes). I believe the test_runpy failure I mentioned there is also the same error, but this one can be reproduced easily. test_recursionlimit_fatalerror in SysModuleTest

[issue28178] allow to cache_clear(some_key) in lru_cache

2016-09-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Method with name clear() usually removes all content. It would be better to use different name: remove() or invalidate() (is there a precedence in other caches?). -- nosy: +ncoghlan, rhettinger, serhiy.storchaka versions: +Python 3.7

[issue28134] socket.socket(fileno=fd) does not work as documented

2016-09-16 Thread Christian Heimes
Christian Heimes added the comment: How about we fix the code and only document the limitations instead? :) After all it works fine on Windows and it is documented to work on all operating systems. Since it's a bug we can fix it in 3.5, too. My patch implements a best-effort to get type,

[issue27348] traceback (and threading) drops exception message

2016-09-16 Thread Martin Panter
Martin Panter added the comment: Yes, a bug fix for 3.5+. -- ___ Python tracker ___ ___ Python-bugs-list

[issue27391] server_hostname should only be required when checking host names

2016-09-16 Thread Christian Heimes
Christian Heimes added the comment: You are still ignoring my remarks about TLS SNI. :) Python uses server_hostname for two different but related parts of the TLS/SSL. 1) When server_hostname is set, the client sends the hostname to the server during the TLS handshake in the ClientHello

[issue28123] _PyDict_GetItem_KnownHash ignores DKIX_ERROR return

2016-09-16 Thread Xiang Zhang
Xiang Zhang added the comment: Yes, ignoring exceptions is due to historical reasons. Although it's used rarely but I am still afraid changing it may break knowledge of devs that are already familiar with dict APIs. And what's more is there already exists two versions of getitem, one version

[issue28178] allow to cache_clear(some_key) in lru_cache

2016-09-16 Thread Sébastien de Menten
New submission from Sébastien de Menten: It would be useful to be able to clear a single item in the cache of a lru_cache decorated function. Currently with: @lru_cache def foo(i): return i*2 foo(1)# -> add 1 as key in the cache foo(2)# -> add 2 as key in the cache foo.clear_cache()

[issue27348] traceback (and threading) drops exception message

2016-09-16 Thread STINNER Victor
STINNER Victor added the comment: "Issue #27348: In the traceback module, restore the formatting of exception messages like "Exception: None". This fixes a regression introduced in 3.5a2." Humn, if it is described as a regression, it means that it's a bug no? You plan to push the change into

<    1   2