[issue35379] IDLE's close fails io is set to None on Mac

2019-09-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: By reading idlelib code, I determined that the error must arise from EditorWindow.close being called twice. I confirmed this with a debug print. EW.close is called from close_event, PyShell.close, and filelist.close_all_callback. For the AttributeError I

[issue38175] Memory leak in comparison of sqlite.Row objects

2019-09-17 Thread miss-islington
miss-islington added the comment: New changeset 4ac1be28281d8961e71b13623c3671245c125760 by Miss Islington (bot) in branch '3.7': bpo-38175: Fix a memory leak in comparison of sqlite3.Row objects. (GH-16155) https://github.com/python/cpython/commit/4ac1be28281d8961e71b13623c3671245c125760

[issue38175] Memory leak in comparison of sqlite.Row objects

2019-09-17 Thread miss-islington
miss-islington added the comment: New changeset f04299d978793be33828dc4d5f46e9b54c81a0a2 by Miss Islington (bot) in branch '3.8': bpo-38175: Fix a memory leak in comparison of sqlite3.Row objects. (GH-16155) https://github.com/python/cpython/commit/f04299d978793be33828dc4d5f46e9b54c81a0a2

[issue38175] Memory leak in comparison of sqlite.Row objects

2019-09-17 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +15816 pull_request: https://github.com/python/cpython/pull/16215 ___ Python tracker ___

[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

2019-09-17 Thread Kubilay Kocak
Kubilay Kocak added the comment: Thanks Terry, I've restarted the worker under sudo The following builds are underway: https://buildbot.python.org/all/#/builders/168/builds/1467 (default) https://buildbot.python.org/all/#/builders/212/builds/218 (3.8)

[issue38185] Weird way of case-insensitive indexing of sqlite3.Row

2019-09-17 Thread miss-islington
miss-islington added the comment: New changeset d8d653c2d0d267eb1e44f6cdb916945029fec3b1 by Miss Islington (bot) in branch '3.8': bpo-38185: Fixed case-insensitive string comparison in sqlite3.Row indexing. (GH-16190)

[issue38195] A bug in the multiprocessing module

2019-09-17 Thread eshkrig
New submission from eshkrig : Hi! I found a bug in the multiprocessing module. The documentation (https://docs.python.org/3.6/library/multiprocessing.html) for the Queue.get method says: "If timeout is a positive number, it blocks at most timeout seconds ..." But the Queue.get method

[issue38192] Fix invocation of EchoClientProtocol

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

[issue35379] IDLE's close fails io is set to None on Mac

2019-09-17 Thread miss-islington
miss-islington added the comment: New changeset 3d916a7b1ee29896bece4a6a37d8084fa3c1abf6 by Miss Islington (bot) in branch '3.7': bpo-35379: When exiting IDLE, catch any AttributeError. (GH-16212) https://github.com/python/cpython/commit/3d916a7b1ee29896bece4a6a37d8084fa3c1abf6 --

[issue35379] IDLE's close fails io is set to None on Mac

2019-09-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Before closing this, I want to review #17822 and if the specific fix is superceded by this one, remove it. -- stage: patch review -> commit review ___ Python tracker

[issue37531] Fix regrtest timeout for subprocesses: regrtest -jN --timeout=SECONDS

2019-09-17 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +15821 pull_request: https://github.com/python/cpython/pull/16220 ___ Python tracker ___

[issue38013] AsyncGenerator breaks when not iterated fully with RuntimeError("can't send non-None value to a just-started coroutine")

2019-09-17 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks, Ned. I love to include this in 3.7.5. I've pinged Yuri offline with ask for review -- ___ Python tracker ___

[issue35379] IDLE's close fails io is set to None on Mac

2019-09-17 Thread miss-islington
miss-islington added the comment: New changeset 73ccc3322f7ad0d016478ef20237bccd0a314f0a by Miss Islington (bot) in branch '3.8': bpo-35379: When exiting IDLE, catch any AttributeError. (GH-16212) https://github.com/python/cpython/commit/73ccc3322f7ad0d016478ef20237bccd0a314f0a --

[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

2019-09-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Except for an unrelated gui test on AMD Alpine, the revised tests pass all buildbots. So try with the reproducing condition whenever you want. -- stage: patch review -> commit review ___ Python tracker

[issue38188] Incorrect Argument Order for Calls to _winapi.DuplicateHandle() in multiprocessing.reduction.DupHandle

2019-09-17 Thread Eryk Sun
Eryk Sun added the comment: As far as I can tell, reduction.send_handle isn't used internally in the Windows implementation, and it's also not a documented API function. However, it is tested on Windows in test_fd_transfer in Lib/test/_test_multiprocessing.py. As it turns out, the bug that

[issue38192] Fix invocation of EchoClientProtocol

2019-09-17 Thread miss-islington
miss-islington added the comment: New changeset facbd316b409f3775da2a74d0845938b4c7b88f0 by Miss Islington (bot) in branch '3.7': bpo-38192: Fix remaining passing of "loop" in the protocol examples (GH-16202) https://github.com/python/cpython/commit/facbd316b409f3775da2a74d0845938b4c7b88f0

[issue35379] IDLE's close fails io is set to None on Mac

2019-09-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset dfd34a9cd58e8150c324190f746de919e140abe8 by Terry Jan Reedy in branch 'master': bpo-35379: When exiting IDLE, catch any AttributeError. (GH-16212) https://github.com/python/cpython/commit/dfd34a9cd58e8150c324190f746de919e140abe8 --

[issue35379] IDLE's close fails io is set to None on Mac

2019-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +15815 pull_request: https://github.com/python/cpython/pull/16214 ___ Python tracker ___

[issue35379] IDLE's close fails io is set to None on Mac

2019-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +15814 stage: commit review -> patch review pull_request: https://github.com/python/cpython/pull/16213 ___ Python tracker ___

[issue38185] Weird way of case-insensitive indexing of sqlite3.Row

2019-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +15817 pull_request: https://github.com/python/cpython/pull/16216 ___ Python tracker ___

[issue38185] Weird way of case-insensitive indexing of sqlite3.Row

2019-09-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset f669581a9527afb0d2325f9845a86715c0ba365d by Serhiy Storchaka in branch 'master': bpo-38185: Fixed case-insensitive string comparison in sqlite3.Row indexing. (GH-16190)

[issue38185] Weird way of case-insensitive indexing of sqlite3.Row

2019-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +15818 pull_request: https://github.com/python/cpython/pull/16217 ___ Python tracker ___

[issue38175] Memory leak in comparison of sqlite.Row objects

2019-09-17 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue38175] Memory leak in comparison of sqlite.Row objects

2019-09-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset be257bcad12b1d72a2c2a8199d2291ae22bccf78 by Serhiy Storchaka in branch '2.7': [2.7] bpo-38175: Fix a memory leak in comparison of sqlite3.Row objects. (GH-16155). (GH-16215)

[issue38192] Fix invocation of EchoClientProtocol

2019-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +15820 pull_request: https://github.com/python/cpython/pull/16219 ___ Python tracker ___

[issue38192] Fix invocation of EchoClientProtocol

2019-09-17 Thread miss-islington
miss-islington added the comment: New changeset 5d359cc62e0244e1fd8d17146a4135079d6843bf by Miss Islington (bot) (Hrvoje Nikšić) in branch 'master': bpo-38192: Fix remaining passing of "loop" in the protocol examples (GH-16202)

[issue38192] Fix invocation of EchoClientProtocol

2019-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +15819 pull_request: https://github.com/python/cpython/pull/16218 ___ Python tracker ___

[issue38192] Fix invocation of EchoClientProtocol

2019-09-17 Thread miss-islington
miss-islington added the comment: New changeset 1ba74719e3a213a2c473b92f3a79f8399e65f80a by Miss Islington (bot) in branch '3.8': bpo-38192: Fix remaining passing of "loop" in the protocol examples (GH-16202) https://github.com/python/cpython/commit/1ba74719e3a213a2c473b92f3a79f8399e65f80a

[issue37531] Fix regrtest timeout for subprocesses: regrtest -jN --timeout=SECONDS

2019-09-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 46b0b81220a23bc4aee5ba3ba67e8cf1b5df7960 by Victor Stinner in branch 'master': bpo-37531: regrtest main process uses shorter timeout (GH-16220) https://github.com/python/cpython/commit/46b0b81220a23bc4aee5ba3ba67e8cf1b5df7960 --

[issue38185] Weird way of case-insensitive indexing of sqlite3.Row

2019-09-17 Thread miss-islington
miss-islington added the comment: New changeset 80cb055aa45f37951b8e3097fe4367d443d455ae by Miss Islington (bot) in branch '3.7': bpo-38185: Fixed case-insensitive string comparison in sqlite3.Row indexing. (GH-16190)

[issue38188] Incorrect Argument Order for Calls to _winapi.DuplicateHandle() in multiprocessing.reduction.DupHandle

2019-09-17 Thread Eryk Sun
Eryk Sun added the comment: Let's make test_fd_transfer_windows a bit less hangy by polling for up to 60 seconds instead of simply trying to recv() and by terminating before trying to join(). @unittest.skipUnless(HAS_REDUCTION, "test needs multiprocessing.reduction")

[issue38191] typing.NamedTuple() should prefix parameters with '_'

2019-09-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Looks as a good case for positional-only parameters. But first passing these arguments by keyword should be deprecated. -- assignee: -> serhiy.storchaka nosy: +gvanrossum, levkivskyi, serhiy.storchaka ___

[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

2019-09-17 Thread STINNER Victor
STINNER Victor added the comment: > I can restart the worker to create the environment that reproduces the issue > at any time to confirm the test passes, just let me know Running test_idle as an user different than root and with HOME=/root env var (or HOME=/) should be enough to reproduce

[issue38196] Bug fix in folderstats module

2019-09-17 Thread Arshdeep
New submission from Arshdeep : Issue : While using folderstats module in python3, the records are cascaded from all previous runs of folderstats for that specific session i.e. once the folderstats is run, it will provide the dataframe with all the files/directories in that directory, but if

[issue38196] Bug fix in folderstats module

2019-09-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This tracker is for bugs in the C implementation of Python. "foldersize" is not a module from the standard Python library. Use the corresponding bug tracker for reporting a bug in third-party modules. -- nosy: +serhiy.storchaka resolution: ->

[issue37828] Fix default mock_name in unittest.mock.assert_called error message

2019-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +15827 pull_request: https://github.com/python/cpython/pull/16229 ___ Python tracker ___

[issue37828] Fix default mock_name in unittest.mock.assert_called error message

2019-09-17 Thread miss-islington
miss-islington added the comment: New changeset f668d2b775da4bcd07e142c4bc5ebd88165fadf4 by Miss Islington (bot) in branch '3.8': bpo-37828: Fix default mock_name in unittest.mock.assert_called error (GH-16166) https://github.com/python/cpython/commit/f668d2b775da4bcd07e142c4bc5ebd88165fadf4

[issue38191] typing.NamedTuple() should prefix parameters with '_'

2019-09-17 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +15822 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16222 ___ Python tracker

[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

2019-09-17 Thread Kubilay Kocak
Kubilay Kocak added the comment: @Victor Yes. I restarted the worker to re-create reproduction conditions. It looks like default, 3.8 and 3.7 are OK now after Terry;s commits, with 2.7 failing (expected): https://buildbot.python.org/all/#/builders/169/builds/170 It would be nice to fix

[issue38197] Meaning of tracebacklimit differs between sys.tracebacklimit and traceback module

2019-09-17 Thread Carl Friedrich Bolz-Tereick
New submission from Carl Friedrich Bolz-Tereick : The meaning of sys.tracebacklimit seems to be different than the meaning of the various limit parameters in the traceback module. One shows the top n stack frames, the other the bottom n. Is this intentional, and if yes, is that difference

[issue37828] Fix default mock_name in unittest.mock.assert_called error message

2019-09-17 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 5f5f11faf9de0d8dcbe1a8a4eb35d2a4232d6eaa by Pablo Galindo (Abraham Toriz Cruz) in branch 'master': bpo-37828: Fix default mock_name in unittest.mock.assert_called error (GH-16166)

[issue38191] typing.NamedTuple() should prefix parameters with '_'

2019-09-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: PR 16222 adds support for arbitrary keyword argument names in NamedTuple and TypedDict. Passing arguments like "typename", "_typename", "fields" and "_fields" by keyword is still supported, but deprecated. I'm going to backport this to 3.8 and 3.7 (to 3.7

[issue38183] test_idle fails on AMD64 FreeBSD CURRENT Shared 3.x: GetUserCfgDir() fails with PermissionError

2019-09-17 Thread STINNER Victor
STINNER Victor added the comment: > It would be nice to fix the bug in all supported branches until they are EoL Or just fix the buildbot which means less work to do :-) -- ___ Python tracker

[issue37531] Fix regrtest timeout for subprocesses: regrtest -jN --timeout=SECONDS

2019-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +15824 pull_request: https://github.com/python/cpython/pull/16224 ___ Python tracker ___

[issue37531] Fix regrtest timeout for subprocesses: regrtest -jN --timeout=SECONDS

2019-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +15823 pull_request: https://github.com/python/cpython/pull/16223 ___ Python tracker ___

[issue38005] Coercing strings and non-integer numbers to interpreter ID and channel ID

2019-09-17 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +15825 pull_request: https://github.com/python/cpython/pull/16227 ___ Python tracker ___

[issue38190] regrtest: test suite completes but Tests Result is not displayed and the process hangs

2019-09-17 Thread STINNER Victor
STINNER Victor added the comment: > https://buildbot.python.org/all/#/builders/225/builds/239 I forgot to mention the buildbot name: AMD64 FreeBSD 10-STABLE Non-Debug 3.8. > It may be a regression caused by bpo-37531. > (...) > So main_process could be max(PROGRESS_UPDATE, PROGRESS_MIN_TIME)

[issue38185] Weird way of case-insensitive indexing of sqlite3.Row

2019-09-17 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue27071] unittest.TestCase.assertCountEqual is a very misleading name

2019-09-17 Thread Thomas Grainger
Change by Thomas Grainger : -- pull_requests: +15826 pull_request: https://github.com/python/cpython/pull/16228 ___ Python tracker ___

[issue38198] Attributes of pathlib classes are not indexed in Windows help file

2019-09-17 Thread Francesco Ricciardi
New submission from Francesco Ricciardi : Attributes of pathlib classes (e.g. 'stem' or 'root') cannot be searched for in Python Windows help file index. -- assignee: docs@python components: Documentation messages: 352630 nosy: docs@python, francescor priority: normal severity: normal

[issue37828] Fix default mock_name in unittest.mock.assert_called error message

2019-09-17 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37828] Fix default mock_name in unittest.mock.assert_called error message

2019-09-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I don't think 3.7 needs a backport of the fix. I am closing this as fixed since all PRs are merged. Please reopen if a backport is needed. Thanks @categulario. -- ___ Python tracker

[issue38013] AsyncGenerator breaks when not iterated fully with RuntimeError("can't send non-None value to a just-started coroutine")

2019-09-17 Thread miss-islington
miss-islington added the comment: New changeset 3c1786f18b1542e71454f37e3f3ca1ef3eec0e5f by Miss Islington (bot) in branch '3.8': bpo-38013: make async_generator_athrow object tolerant to throwing exceptions (GH-16070)

[issue38013] AsyncGenerator breaks when not iterated fully with RuntimeError("can't send non-None value to a just-started coroutine")

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

[issue38013] AsyncGenerator breaks when not iterated fully with RuntimeError("can't send non-None value to a just-started coroutine")

2019-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +15828 pull_request: https://github.com/python/cpython/pull/16231 ___ Python tracker ___

[issue38013] AsyncGenerator breaks when not iterated fully with RuntimeError("can't send non-None value to a just-started coroutine")

2019-09-17 Thread miss-islington
miss-islington added the comment: New changeset c275312a6284bd319ea33c9abd7e15c230eca43f by Miss Islington (bot) (Andrew Svetlov) in branch 'master': bpo-38013: make async_generator_athrow object tolerant to throwing exceptions (GH-16070)

[issue37531] Fix regrtest timeout for subprocesses: regrtest -jN --timeout=SECONDS

2019-09-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 6591b4bbb1c0b9c26b99e4b2dba1e5cc8546732d by Victor Stinner (Miss Islington (bot)) in branch '3.7': bpo-37531: regrtest main process uses shorter timeout (GH-16220) (GH-16223)

[issue37531] Fix regrtest timeout for subprocesses: regrtest -jN --timeout=SECONDS

2019-09-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5f1590d5e679f4dd0b611ef54ae512f137e78f1b by Victor Stinner (Miss Islington (bot)) in branch '3.8': bpo-37531: regrtest main process uses shorter timeout (GH-16220) (GH-16224)

[issue38013] AsyncGenerator breaks when not iterated fully with RuntimeError("can't send non-None value to a just-started coroutine")

2019-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +15829 pull_request: https://github.com/python/cpython/pull/16232 ___ Python tracker ___

[issue38013] AsyncGenerator breaks when not iterated fully with RuntimeError("can't send non-None value to a just-started coroutine")

2019-09-17 Thread miss-islington
miss-islington added the comment: New changeset fc022f04b41a79cacdff380435c30c8042c82b99 by Miss Islington (bot) in branch '3.7': bpo-38013: make async_generator_athrow object tolerant to throwing exceptions (GH-16070)

[issue38081] Different behavior of os.path.realpath('nul') in 3.7 and 3.8

2019-09-17 Thread Eryk Sun
Eryk Sun added the comment: Sorry, I mistakenly left out ERROR_BAD_NETPATH (53). It's at least used with mapped drives. For example, I have drive "M:" mapped to WebDAV "//live.sysinternals.com/tools", and I see this error if I disconnect the network: >>> try:

[issue38187] test.test_tools.test_c_analyzer fails in refleak mode

2019-09-17 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 6fbc924696b4b5097c273c06ca2d82662940e184 by Pablo Galindo in branch 'master': bpo-38187: Fix reference leak in test_tools (GH-16233) https://github.com/python/cpython/commit/6fbc924696b4b5097c273c06ca2d82662940e184 --

[issue38201] Anotation problem at flask_httpauth package

2019-09-17 Thread Batuhan
Batuhan added the comment: I dont think this is a bug for cpython project. Extension modules category has a different meaning. -- nosy: +BTaskaya ___ Python tracker ___

[issue38200] Adding itertools.pairwise to the standard library?

2019-09-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: Can you show some examples of what you used it for? -- assignee: -> rhettinger ___ Python tracker ___

[issue27071] unittest.TestCase.assertCountEqual is a very misleading name

2019-09-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: In msg266115, Robert Collins suggested "add a different name and deprecate assertCountEqual". In msg266184, Gregory Smith said "not against adding a new name if it makes glorious sense, but we should not remove the old names from unittest as that causes

[issue37904] Suggested edit to Python Tutorial - Section 4

2019-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +15833 pull_request: https://github.com/python/cpython/pull/16236 ___ Python tracker ___

[issue38191] typing.NamedTuple() should prefix parameters with '_'

2019-09-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Oh, when backported to 3.7 I have found that TypedDict is new in 3.8. So I think it is better to get rid of deprecations in TypedDict(). -- ___ Python tracker

[issue38200] Adding itertools.pairwise to the standard library?

2019-09-17 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +rhettinger type: -> enhancement versions: +Python 3.9 ___ Python tracker ___ ___

[issue38187] test.test_tools.test_c_analyzer fails in refleak mode

2019-09-17 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: The original error is still present and ./python -m test test_tools -v -R 3:3 is still failing some times, but when it suceeds there are no leaks being reported. -- ___ Python tracker

[issue38187] test.test_tools.test_c_analyzer fails in refleak mode

2019-09-17 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- Removed message: https://bugs.python.org/msg352645 ___ Python tracker ___ ___ Python-bugs-list

[issue38202] A fatal error in test_dictviews

2019-09-17 Thread Zackery Spytz
New submission from Zackery Spytz : When running test_dictviews, I sometimes encounter a fatal error. ./python -m test test_dictviews Run tests sequentially 0:00:00 load avg: 0.36 [1/1] test_dictviews python: Objects/typeobject.c:3125: _PyType_Lookup: Assertion `!PyErr_Occurred()' failed.

[issue38180] Test pyexpat fails on Fedora 30

2019-09-17 Thread Diego Barriga
Diego Barriga added the comment: $ rpm -qa expat expat-2.2.7-1.fc30.x86_64 expat-2.2.7-1.fc30.i686 -- ___ Python tracker ___ ___

[issue38200] Adding itertools.pairwise to the standard library?

2019-09-17 Thread Matteo Dell'Amico
New submission from Matteo Dell'Amico : I use itertools.pairwise all the time and I wonder if the same happens to others. I'm thinking that others may be in the same situation, and having this simple recipe already included in the library would be definitely more convenient than copy/pasting

[issue38179] Test subprocess fails on Fedora 30: test_group and test_extra_groups

2019-09-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the confirmation. I am closing this as per issue36046. -- resolution: -> fixed stage: -> resolved status: open -> closed superseder: -> support dropping privileges when running subprocesses

[issue38191] typing.NamedTuple() should prefix parameters with '_'

2019-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +15834 pull_request: https://github.com/python/cpython/pull/16237 ___ Python tracker ___

[issue38191] typing.NamedTuple() should prefix parameters with '_'

2019-09-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 2bf31ccab3d17f3f35b42dca97f99576dfe2fc7d by Serhiy Storchaka in branch 'master': bpo-38191: Accept arbitrary keyword names in NamedTuple() and TypedDict(). (GH-16222)

[issue38187] test.test_tools.test_c_analyzer fails in refleak mode

2019-09-17 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: PR 16233 fixes the reference leaks but the original error is still present and ./python -m test test_tools -v -R 3:3 is still failing (as in the test fails, instead of failing because there are leaks). --

[issue38191] typing.NamedTuple() should prefix parameters with '_'

2019-09-17 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +15837 pull_request: https://github.com/python/cpython/pull/16240 ___ Python tracker ___

[issue38202] A fatal error in test_dictviews

2019-09-17 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +15838 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16241 ___ Python tracker ___

[issue38191] typing.NamedTuple() should prefix parameters with '_'

2019-09-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 8fc5839a9def34c13b6025c291434ba5fb5d6442 by Serhiy Storchaka in branch 'master': bpo-38191: Turn warnings into errors in NamedTuple() and TypedDict(). (GH-16238)

[issue38201] Anotation problem at flask_httpauth package

2019-09-17 Thread Serkan
New submission from Serkan : if I use @auth.login_required anotation before @app.route, it is not working. It must be used after @app.route anotation. (flask_httpauth ) Sample:# from flask_httpauth import HTTPBasicAuth auth = HTTPBasicAuth() @auth.login_required

[issue38201] Anotation problem at flask_httpauth package

2019-09-17 Thread Ezio Melotti
Ezio Melotti added the comment: Please read the documentation for login_required at https://flask-login.readthedocs.io/en/latest/#flask_login.login_required and if you still think you have found a bug report it to the Flask bug tracker. -- nosy: +ezio.melotti resolution: -> not a

[issue36876] Global C variables are a problem.

2019-09-17 Thread Vinay Sajip
Change by Vinay Sajip : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37904] Suggested edit to Python Tutorial - Section 4

2019-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +15831 pull_request: https://github.com/python/cpython/pull/16234 ___ Python tracker ___

[issue37904] Suggested edit to Python Tutorial - Section 4

2019-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +15832 pull_request: https://github.com/python/cpython/pull/16235 ___ Python tracker ___

[issue37904] Suggested edit to Python Tutorial - Section 4

2019-09-17 Thread miss-islington
miss-islington added the comment: New changeset b57481318e3e3cbacd398b898f9849ec8f2d7eec by Miss Islington (bot) (Diego Alberto Barriga Martínez) in branch 'master': bpo-37904: Edition on python tutorial - section 4 (GH-16169)

[issue38191] typing.NamedTuple() should prefix parameters with '_'

2019-09-17 Thread miss-islington
miss-islington added the comment: New changeset 54ba5f19d4a654768c785468d736ed0bd05947f5 by Miss Islington (bot) in branch '3.8': bpo-38191: Accept arbitrary keyword names in NamedTuple() and TypedDict(). (GH-16222)

[issue38179] Test subprocess fails on Fedora 30: test_group and test_extra_groups

2019-09-17 Thread Diego Barriga
Diego Barriga added the comment: That's right. The test result was success on latest master. Should i close this issue? -- ___ Python tracker ___

[issue38191] typing.NamedTuple() should prefix parameters with '_'

2019-09-17 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +15836 pull_request: https://github.com/python/cpython/pull/16239 ___ Python tracker ___

[issue37449] Move ensurepip off of pkgutil and to importlib.resources

2019-09-17 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue38191] typing.NamedTuple() should prefix parameters with '_'

2019-09-17 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +15835 pull_request: https://github.com/python/cpython/pull/16238 ___ Python tracker ___

[issue38191] typing.NamedTuple() should prefix parameters with '_'

2019-09-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 69b3718b183a698202bd67488639bffd64a488bc by Serhiy Storchaka in branch '3.7': [3.7] bpo-38191: Accept arbitrary keyword names in NamedTuple(). (GH-16222) (GH-16239)

[issue13153] IDLE 3.x on Windows exits when pasting non-BMP unicode

2019-09-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Another report today on idle-dev that pasting emoji exits IDLE. Serhiy, I applied the _tkinter part of your...args_2.patch to a branch of current master -- see serhiy_tkinter.patch. (Could push branch if helpful.). After recompiling _tkinter.c, pasting 

[issue38204] Cannot compile on RPi with optimizations

2019-09-17 Thread Ammar Askar
Ammar Askar added the comment: Could you provide the output of gcc --version and ld --version -- nosy: +ammar2 ___ Python tracker ___

[issue38207] subprocess: On Windows, Popen.kill() + Popen.communicate() is blocking until all processes using the pipe close the pipe

2019-09-17 Thread STINNER Victor
New submission from STINNER Victor : On Windows, the communicate() method of subprocess.Popen is implemented with threads calling: def _readerthread(self, fh, buffer): buffer.append(fh.read()) fh.close() where fh is one the Popen pipes: popen.stdout or popen.stderr. For stdout=PIPE

[issue37531] Fix regrtest timeout for subprocesses: regrtest -jN --timeout=SECONDS

2019-09-17 Thread STINNER Victor
STINNER Victor added the comment: I created bpo-38207 "subprocess: On Windows, Popen.kill() + Popen.communicate() is blocking until all processes using the pipe close the pipe". -- ___ Python tracker

[issue38205] Python no longer compiles without small integer singletons

2019-09-17 Thread STINNER Victor
STINNER Victor added the comment: See https://bugs.python.org/issue37812#msg352670 and https://bugs.python.org/issue38015 -- ___ Python tracker ___

[issue38203] regrtest fails to stop test_multiprocessing_spawn worker process

2019-09-17 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +15845 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16249 ___ Python tracker ___

[issue38203] regrtest fails to stop test_multiprocessing_spawn worker process

2019-09-17 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +15846 pull_request: https://github.com/python/cpython/pull/16250 ___ Python tracker ___

[issue27970] ssl: can't verify a trusted site with imcomplete certificate chain

2019-09-17 Thread Greg Lindahl
Change by Greg Lindahl : -- nosy: +wumpus ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

  1   2   >