[issue33991] lib2to3 should parse f-strings

2018-06-28 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- components: +2to3 (2.x to 3.x conversion tool) nosy: +benjamin.peterson, eric.smith ___ Python tracker ___ _

[issue33993] zipfile module weird behavior when used with zipinfo

2018-06-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Use: rel_name = "tmp/test.md" -- nosy: +serhiy.storchaka resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker _

[issue14117] Turtledemo: exception and minor glitches.

2018-06-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue33995] test_min_max_version in test_ssl.py fails when Python is built against LibreSSL; {min,max}imum_version behavior differs from OpenSSL

2018-06-28 Thread Alan Huang
New submission from Alan Huang : LibreSSL's implementation of the function used to get the minimum and maximum SSL versions supported differs from OpenSSL's. In short, the issue is in the implementations of `SSL_CTX_new` - OpenSSL initializes variables `ret->{min,max}_proto_version` to 0, whi

[issue14117] Turtledemo: exception and minor glitches.

2018-06-28 Thread miss-islington
miss-islington added the comment: New changeset 00e05242ae650bc29e8052a5fb79cbb83224a657 by Miss Islington (bot) in branch '3.6': bpo-14117: Make minor tweaks to turtledemo (GH-8002) https://github.com/python/cpython/commit/00e05242ae650bc29e8052a5fb79cbb83224a657 -- __

[issue14117] Turtledemo: exception and minor glitches.

2018-06-28 Thread miss-islington
miss-islington added the comment: New changeset e2c5a753fa3eabe176c34048e3b68674f99386b0 by Miss Islington (bot) in branch '3.7': bpo-14117: Make minor tweaks to turtledemo (GH-8002) https://github.com/python/cpython/commit/e2c5a753fa3eabe176c34048e3b68674f99386b0 -- nosy: +miss-isl

[issue33994] python build egg fails with error while compiling test cases

2018-06-28 Thread Saba Kauser
New submission from Saba Kauser : Hello, Everything was working perfectly until recently, may be a week back, when I first started to see the error while generating egg for python ibm_db package. Every time I execute the command : python setup.py bdsit_egg, my flow stops with below error: byt

[issue14117] Turtledemo: exception and minor glitches.

2018-06-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +7611 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue14117] Turtledemo: exception and minor glitches.

2018-06-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +7610 stage: commit review -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue14117] Turtledemo: exception and minor glitches.

2018-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 891a1f86d415779cf67ca23e626a868e586feb05 by Terry Jan Reedy in branch 'master': bpo-14117: Make minor tweaks to turtledemo (GH-8002) https://github.com/python/cpython/commit/891a1f86d415779cf67ca23e626a868e586feb05 --

[issue32545] Unable to install Python 3.7.0a4 on Windows 10 - Error 0x80070643: Failed to install MSI package.

2018-06-28 Thread Steve Dower
Steve Dower added the comment: We'll need you to attach the logs and try rebooting, as described earlier in this thread. -- ___ Python tracker ___ ___

[issue14117] Turtledemo: exception and minor glitches.

2018-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: PR 8002 fixes the remaining minor problems. -- stage: patch review -> commit review versions: +Python 3.6, Python 3.7, Python 3.8 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue14117] Turtledemo: exception and minor glitches.

2018-06-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +7609 stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list ma

[issue14117] Turtledemo: exception and minor glitches.

2018-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: #21884 was closed as a duplicate of #21882 and hence not a separate dependency. -- ___ Python tracker ___ ___

[issue22051] Turtledemo: stop reloading demos

2018-06-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue27500] ProactorEventLoop cannot open connection to ::1

2018-06-28 Thread miss-islington
miss-islington added the comment: New changeset c00144cd7741a5060662e85717f6559ad46d02aa by Miss Islington (bot) in branch '3.6': bpo-27500: Fix static version of getaddrinfo to resolve IPv6 (GH-7993) https://github.com/python/cpython/commit/c00144cd7741a5060662e85717f6559ad46d02aa

[issue27500] ProactorEventLoop cannot open connection to ::1

2018-06-28 Thread miss-islington
miss-islington added the comment: New changeset 3ed44141216aa1d2d8dd7d170c2dc216a6e718b6 by Miss Islington (bot) in branch '3.7': bpo-27500: Fix static version of getaddrinfo to resolve IPv6 (GH-7993) https://github.com/python/cpython/commit/3ed44141216aa1d2d8dd7d170c2dc216a6e718b6

[issue27500] ProactorEventLoop cannot open connection to ::1

2018-06-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +7608 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue27500] ProactorEventLoop cannot open connection to ::1

2018-06-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +7607 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue27500] ProactorEventLoop cannot open connection to ::1

2018-06-28 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset d904c238ca3551750cb97d15d827c3e525970867 by Yury Selivanov in branch 'master': bpo-27500: Fix static version of getaddrinfo to resolve IPv6 (GH-7993) https://github.com/python/cpython/commit/d904c238ca3551750cb97d15d827c3e525970867 --

[issue33993] zipfile module weird behavior when used with zipinfo

2018-06-28 Thread Micheal Gardner
New submission from Micheal Gardner : when i want to zip a empty folder, i use following code ``` import zipfile zfile = zipfile.ZipFile("tmp.zip",'w') zif = zipfile.ZipInfo("tmp/") zfile.writestr(zif,"") zfile.close() ``` but in this case, things become weird. ``` # 先造一个测试文件夹 mkdir /tmp/tes

[issue33993] zipfile module weird behavior when used with zipinfo

2018-06-28 Thread Micheal Gardner
Change by Micheal Gardner : -- components: Library (Lib) nosy: Micheal Gardner priority: normal severity: normal status: open title: zipfile module weird behavior when used with zipinfo type: behavior versions: Python 2.7, Python 3.6 ___ Python track

[issue33991] lib2to3 should parse f-strings

2018-06-28 Thread Steven D'Aprano
Steven D'Aprano added the comment: I'm curious how you are getting f-strings (introduced in Python 3.6) in Python 2 code that you are passing to 2to3. -- nosy: +steven.daprano ___ Python tracker ___

[issue33992] Compilation fails on AMD64 Windows8.1 Non-Debug 3.6: The Windows SDK version 10.0.15063.0 was not found

2018-06-28 Thread Zachary Ware
Zachary Ware added the comment: Sorry, this seems to have been due to updates on the machine. It's now fixed. -- keywords: +buildbot resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue33992] Compilation fails on AMD64 Windows8.1 Non-Debug 3.6: The Windows SDK version 10.0.15063.0 was not found

2018-06-28 Thread STINNER Victor
New submission from STINNER Victor : Build FAILED. "D:\buildarea\3.6.ware-win81-release\build\PCbuild\pcbuild.proj" (Build target) (1) -> "D:\buildarea\3.6.ware-win81-release\build\PCbuild\pythoncore.vcxproj" (Build target) (2) -> (Desktop_PlatformPrepareForBuild target) -

[issue29097] [Windows] datetime.fromtimestamp(t) when 0 <= t <= 86399 fails on Python 3.6

2018-06-28 Thread STINNER Victor
Change by STINNER Victor : -- title: datetime.fromtimestamp(t) when 0 <= t <= 86399 fails on Python 3.6 -> [Windows] datetime.fromtimestamp(t) when 0 <= t <= 86399 fails on Python 3.6 ___ Python tracker

[issue33945] concurrent.futures ProcessPoolExecutor submit() blocks on results being written

2018-06-28 Thread Daniel Barcay
Daniel Barcay added the comment: Just got the drop of the python3.7 release. I can confirm that this is fixed in python3.7 in my workload. Nice job! Thanks for changing the mechanism of thread-sync. I'm grateful. -- resolution: -> fixed stage: -> resolved status: open -> closed __

[issue33963] IDLE macosx: add tests.

2018-06-28 Thread Mark Roseman
Change by Mark Roseman : -- assignee: -> terry.reedy components: +IDLE nosy: +markroseman ___ Python tracker ___ ___ Python-bugs-li

[issue33991] lib2to3 should parse f-strings

2018-06-28 Thread skreft
New submission from skreft : Currently f-strings are parsed just as regular strings by lib2to3. However, this has the problem that the invariant of a string node being a literal is now broken. This poses two problems. On one hand, if I want to compare that two string nodes are equivalent I w

[issue23544] IDLE hangs when selecting Stack View with debug active

2018-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: This crashes or hangs the user execution process, but not the IDLE process. So Shell => 'Restart Shell cntl-F6' still works. -- versions: +Python 3.6, Python 3.7, Python 3.8 -Python 3.4, Python 3.5 ___ Python tr

[issue33990] CPPFLAGS during ./configure are not passed-through in sysconfig.customize_compiler

2018-06-28 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue33983] unify types for lib2to3.pytree.Base.children

2018-06-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Concatenating list and tuple (or tuple and list) you can write as: grandchildren = [*node.children[0].children, *node.children[1].children] The only list methods not available for tuples are mutating methods (using them with a shared empty list would be a

[issue33990] CPPFLAGS during ./configure are not passed-through in sysconfig.customize_compiler

2018-06-28 Thread Eric N. Vander Weele
Change by Eric N. Vander Weele : -- keywords: +patch pull_requests: +7606 stage: -> patch review ___ Python tracker ___ ___ Python-

[issue24575] timemodule build fail - missing definitions for _Py_BEGIN_SUPPRESS_IPH and _Py_END_SUPPRESS_IPH

2018-06-28 Thread Neil Schemenauer
Neil Schemenauer added the comment: I ran into an error like this and perhaps I have a clue was why some people run into it. Dynamic modules built from Modules/Setup will need to have -DPy_BUILD_CORE defined within the Setup file in the case they need to use the _Py_BEGIN_SUPPRESS_IPH macr

[issue33990] CPPFLAGS during ./configure are not passed-through in sysconfig.customize_compiler

2018-06-28 Thread Eric N. Vander Weele
New submission from Eric N. Vander Weele : When specifying CPPFLAGS during `./configure`, `sysconfig.get_config_var('CPPFLAGS')` does capture the originally specified flags. However, when building a C/C++ extension, any flags specified via CPPFLAGS are not present during compilation of exten

[issue33983] unify types for lib2to3.pytree.Base.children

2018-06-28 Thread John Reese
John Reese added the comment: The problem I'm trying to solve is around functions that operate on a Union[Leaf, Node], and want to be able to do things like `grandchildren = node.children[0].children + node.children[1].children` (contrived example, but point being tuple+list=TypeError while

[issue33985] ContextVar does not have a "name" attribute

2018-06-28 Thread Yury Selivanov
Change by Yury Selivanov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue31546] PyOS_InputHook is not called when waiting for input() in Windows

2018-06-28 Thread Steve Dower
Steve Dower added the comment: New changeset 9d92524c11def666a78ff57a9603a9ad6142418a by Steve Dower (Miss Islington (bot)) in branch '3.7': bpo-31546: Fix input hook integration (GH-7978) https://github.com/python/cpython/commit/9d92524c11def666a78ff57a9603a9ad6142418a --

[issue31546] PyOS_InputHook is not called when waiting for input() in Windows

2018-06-28 Thread miss-islington
miss-islington added the comment: New changeset 0ebd1bc94a941a5044e26de946c1100d652dfe46 by Miss Islington (bot) in branch '3.6': bpo-31546: Fix input hook integration (GH-7978) https://github.com/python/cpython/commit/0ebd1bc94a941a5044e26de946c1100d652dfe46 -- nosy: +miss-islingto

[issue33989] ms.key_compare is not initialized in all pathes of list_sort_impl

2018-06-28 Thread Pochang Chen
New submission from Pochang Chen : Relevant code (Objects/listobject.c lines 2268 -- 2286 as of commit e76ac9d): /* Choose the best compare, given what we now know about the keys. */ if (keys_are_all_same_type) { if (key_type == &PyUnicode_Type && strings_are_latin)

[issue33985] ContextVar does not have a "name" attribute

2018-06-28 Thread miss-islington
miss-islington added the comment: New changeset 4c20d2bf5d174260558c71052b73d73b6c34 by Miss Islington (bot) in branch '3.7': bpo-33985: Implement ContextVar.name attribute. (GH-7980) https://github.com/python/cpython/commit/4c20d2bf5d174260558c71052b73d73b6c34 -- nosy: +mis

[issue29097] datetime.fromtimestamp(t) when 0 <= t <= 86399 fails on Python 3.6

2018-06-28 Thread Eryk Sun
Change by Eryk Sun : -- stage: needs patch -> patch review versions: +Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-

[issue33985] ContextVar does not have a "name" attribute

2018-06-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +7605 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33985] ContextVar does not have a "name" attribute

2018-06-28 Thread Yury Selivanov
Change by Yury Selivanov : -- priority: release blocker -> high ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue33985] ContextVar does not have a "name" attribute

2018-06-28 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 41cb0baea96a80360971908a0bd79d9d40dd5e44 by Yury Selivanov in branch 'master': bpo-33985: Implement ContextVar.name attribute. (GH-7980) https://github.com/python/cpython/commit/41cb0baea96a80360971908a0bd79d9d40dd5e44 --

[issue27500] ProactorEventLoop cannot open connection to ::1

2018-06-28 Thread Yury Selivanov
Yury Selivanov added the comment: > Somebody please submit a PR so this can be fixed in 3.7.1 and the fix can > be backported to 3.6.7. Somehow I overlooked this one when I was sifting the issues we needed to fix in 3.7. I've opened a PR. -- priority: normal -> high ___

[issue27500] ProactorEventLoop cannot open connection to ::1

2018-06-28 Thread Yury Selivanov
Change by Yury Selivanov : -- keywords: +patch pull_requests: +7604 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue28411] Eliminate PyInterpreterState.modules.

2018-06-28 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +7603 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue27500] ProactorEventLoop cannot open connection to ::1

2018-06-28 Thread Guido van Rossum
Guido van Rossum added the comment: Somebody please submit a PR so this can be fixed in 3.7.1 and the fix can be backported to 3.6.7. -- ___ Python tracker ___ ___

[issue31546] PyOS_InputHook is not called when waiting for input() in Windows

2018-06-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +7602 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue31546] PyOS_InputHook is not called when waiting for input() in Windows

2018-06-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +7601 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue31546] PyOS_InputHook is not called when waiting for input() in Windows

2018-06-28 Thread Steve Dower
Steve Dower added the comment: New changeset 9b9d58f0d88b338eb8d2ae0da5cd91d60d1b0e39 by Steve Dower (Thomas A Caswell) in branch 'master': bpo-31546: Fix input hook integration (GH-7978) https://github.com/python/cpython/commit/9b9d58f0d88b338eb8d2ae0da5cd91d60d1b0e39 -- _

[issue32996] Improve What's New in 3.7

2018-06-28 Thread miss-islington
miss-islington added the comment: New changeset 48dc7527e32512a27a58107477926719ea4c589b by Miss Islington (bot) in branch '3.7': bpo-32996: Enhancements to What's New based on feedback (GH-7988) https://github.com/python/cpython/commit/48dc7527e32512a27a58107477926719ea4c589b -- _

[issue32996] Improve What's New in 3.7

2018-06-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +7600 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue32996] Improve What's New in 3.7

2018-06-28 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 4d26c8a177d8ada440b3cfdfb1d0423ab5ca81a7 by Yury Selivanov (Elvis Pranskevichus) in branch 'master': bpo-32996: Enhancements to What's New based on feedback (GH-7988) https://github.com/python/cpython/commit/4d26c8a177d8ada440b3cfdfb1d0423ab5ca8

[issue32996] Improve What's New in 3.7

2018-06-28 Thread Elvis Pranskevichus
Change by Elvis Pranskevichus : -- pull_requests: +7599 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue33963] IDLE macosx: add tests.

2018-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Mark Roseman emailed me that moving the 3 imports within overrideRootMenu to the top of the module does not appear to cause a problem. -- ___ Python tracker ___

[issue6761] Class calling

2018-06-28 Thread Andrés Delfino
Andrés Delfino added the comment: The PR uses a slight rewording of David's phrasing. -- nosy: +adelfino versions: +Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___ ___

[issue6761] Class calling

2018-06-28 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +7598 stage: needs patch -> patch review ___ Python tracker ___ ___ Pyth

[issue33954] float.__format__('n') fails with _PyUnicode_CheckConsistency assertion error

2018-06-28 Thread STINNER Victor
STINNER Victor added the comment: > The bug is in _PyUnicode_InsertThousandsGrouping() This function should take a _PyUnicodeWriter as input, not a PyUnicodeObject. -- ___ Python tracker ___

[issue33954] float.__format__('n') fails with _PyUnicode_CheckConsistency assertion error

2018-06-28 Thread Mark Dickinson
Change by Mark Dickinson : -- nosy: +eric.smith, mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue32545] Unable to install Python 3.7.0a4 on Windows 10 - Error 0x80070643: Failed to install MSI package.

2018-06-28 Thread Amin Radjabov
Amin Radjabov added the comment: I have same issue on Win 7 x64 -- nosy: +Amin Radjabov ___ Python tracker ___ ___ Python-bugs-list

[issue33932] Calling Py_Initialize() twice now triggers a fatal error (Python 3.7)

2018-06-28 Thread Miro Hrončok
Change by Miro Hrončok : -- nosy: +hroncok ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue33932] Calling Py_Initialize() twice now triggers a fatal error (Python 3.7)

2018-06-28 Thread STINNER Victor
STINNER Victor added the comment: Ok, now with my regression hat. In Python 3.6, Py_Main() calls Py_Initialize(). If Py_Initialize() is called twice, the second call does nothing. So it's fine to call Py_Main() after Py_Initialize() in Python 3.6. -- ___

[issue33932] Calling Py_Initialize() twice now triggers a fatal error (Python 3.7)

2018-06-28 Thread STINNER Victor
STINNER Victor added the comment: I looked quickly at _Py_InitializeCore() and I'm not sure that it's designed to replace an existing configuration. Example: int Py_HashRandomizationFlag = 0; /* for -R and PYTHONHASHSEED */ (...) if (!core_config->use_hash_seed || core_config->hash_see

[issue33932] Calling Py_Initialize() twice now triggers a fatal error (Python 3.7)

2018-06-28 Thread STINNER Victor
STINNER Victor added the comment: I reopen the issue because fontforge still fails on Python 3.7.0 final. fontforge calls Py_Initialize() and then calls Py_Main() which fails with an assertion: https://bugzilla.redhat.com/show_bug.cgi?id=1595421 The same code works well on Python 3.6, so sho

[issue33983] unify types for lib2to3.pytree.Base.children

2018-06-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Empty list takes more memory and more time for creating than an empty tuple (the latter is just a singleton). Since all Node and Leaf instances share the same children by default, making it a list is errorprone. What is the problem of having an empty tuple

[issue33974] _stringify handles quoted strings incorrectly

2018-06-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This issue needs more complex fix. PR 7986 adds necessary changes and tests. Thank you for your report Gauchj. -- versions: +Python 2.7 ___ Python tracker ___

[issue33974] _stringify handles quoted strings incorrectly

2018-06-28 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +7597 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue33988] [EASY] [3.7] test_platform fails when run with -Werror

2018-06-28 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +7596 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mai

[issue29672] `catch_warnings` context manager causes all warnings to be printed every time, even after exiting

2018-06-28 Thread Erik Bray
Erik Bray added the comment: I just encountered this as well. The way catch_warnings is implemented is a bit "dumb" in how it treats _filter_version (it calls _filters_mutated even if the active filters are not actually changed when entering catch_warnings). More significantly, _filter_vers

[issue33988] [EASY] [3.7] test_platform fails when run with -Werror

2018-06-28 Thread STINNER Victor
STINNER Victor added the comment: Would you mind to create a PR instead of a patch file? -- ___ Python tracker ___ ___ Python-bugs-

[issue27500] ProactorEventLoop cannot open connection to ::1

2018-06-28 Thread bay
bay added the comment: The bug is reproducible on Python 3.7. The connect call always fails when I try to use connect to any IPv6 address with ProactorEventLoop. The bug can be bypassed by adding "%0" to the IPv6 address. This will cause to trigger this if construction: https://github.com/pyth

[issue33988] [EASY] [3.7] test_platform fails when run with -Werror

2018-06-28 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I was looking into this and it seems that using replacing PendingDeprecationWarning with DeprecationWarning fixes the issue. Should I be using check_warnings? Attaching a patch of this so that I can raise a PR for the same. I grepped for PendingDep

[issue33988] [EASY] [3.7] test_platform fails when run with -Werror

2018-06-28 Thread STINNER Victor
STINNER Victor added the comment: Python 3.8 (master branch), platform.linux_distribution() and its the tests have been removed: see bpo-28167. -- ___ Python tracker ___

[issue33988] [EASY] [3.7] test_platform fails when run with -Werror

2018-06-28 Thread STINNER Victor
New submission from STINNER Victor : vstinner@apu$ ./python -Werror -m test -v test_platform == ERROR: test_dist (test.test_platform.PlatformTest) -- Traceback

[issue33984] test_multiprocessing_forkserver leaked [1, 2, 1] memory blocks on x86 Gentoo Refleaks 3.x

2018-06-28 Thread STINNER Victor
STINNER Victor added the comment: > http://buildbot.python.org/all/#/builders/1/builds/267 Oh, this is: x86 Gentoo Refleaks 3.x. -- x86 Gentoo Refleaks 3.7 also leaked: http://buildbot.python.org/all/#/builders/114/builds/150 test_multiprocessing_forkserver leaked [1, 2, 1] memory blocks, s

[issue33842] Remove tarfile.filemode

2018-06-28 Thread INADA Naoki
Change by INADA Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue33842] Remove tarfile.filemode

2018-06-28 Thread INADA Naoki
INADA Naoki added the comment: New changeset 461a1c4b497e5e118ebb6b77eb59348cc4ec83f9 by INADA Naoki in branch 'master': bpo-33842: Remove tarfile.filemode (GH-7661) https://github.com/python/cpython/commit/461a1c4b497e5e118ebb6b77eb59348cc4ec83f9 -- ___

[issue31647] asyncio: StreamWriter write_eof() after close raises mysterious AttributeError

2018-06-28 Thread Ned Deily
Ned Deily added the comment: New changeset 0c5918f6f4f113e0c245feac31d00ded29985cce by Ned Deily in branch '3.7': Fix NEWS entry for bpo-31647 https://github.com/python/cpython/commit/0c5918f6f4f113e0c245feac31d00ded29985cce -- ___ Python tracker

[issue33978] logging.config.dictConfig with file handler leaks resources

2018-06-28 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to be a related issue https://bugs.python.org/issue23010 and fix attached but I think it's more towards file handler to be not opened until it's required. Thanks -- ___ Python tracker

[issue33978] logging.config.dictConfig with file handler leaks resources

2018-06-28 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I think while initializing it on the second call we just delete the handlers list variable which contains references to the file handlers instead of properly closing them like it's done in shutdown. handlers is a list of weakreferences and I don't