[issue31230] Add __code__ attributes to generator and coroutine objects

2017-08-18 Thread Nick Coghlan
Nick Coghlan added the comment: Actually, __async_return__ would be applicable for the synchronous generator case as well, since it would link to the generator containing the `yield from` expression. -- ___ Python tracker

[issue31230] Define a general "asynchronous operation introspection" protocol

2017-08-18 Thread Nick Coghlan
Nick Coghlan added the comment: Slight amendment: `__delegated_to__` and `__returns_to__` might be better names for the doubly-linked list of the async call chain. "__async_call__" and "__async_return__" both have the problem that they look like imperative commands (since "call" and "return" a

[issue14976] queue.Queue() is not reentrant, so signals and GC can cause deadlocks

2017-08-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a pure Python PoC patch that allows unbounded Queue and LifoQueue to have reentrant put(). -- keywords: +patch nosy: +serhiy.storchaka Added file: http://bugs.python.org/file47092/q_reentrancy.patch ___ Pytho

[issue30871] Add a "python info" command somewhere to dump versions of all dependencies

2017-08-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset a3a01a2fceab2188b282ab9911f79c99a4c32273 by Victor Stinner in branch 'master': bpo-30871: Add "make pythoninfo" (#3120) https://github.com/python/cpython/commit/a3a01a2fceab2188b282ab9911f79c99a4c32273 -- ___

[issue30871] Add a "python info" command somewhere to dump versions of all dependencies

2017-08-18 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +3164 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30871] Add a "python info" command somewhere to dump versions of all dependencies

2017-08-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset ad7eaed54382b346784e51a6f0122ce81e8842b5 by Victor Stinner in branch 'master': bpo-30871: pythoninfo: more sys, os, time data (#3130) https://github.com/python/cpython/commit/ad7eaed54382b346784e51a6f0122ce81e8842b5 -- _

[issue30871] Add a "python info" command somewhere to dump versions of all dependencies

2017-08-18 Thread Nick Coghlan
Nick Coghlan added the comment: If we end up deciding some of this information might be useful to end users as well, it would be reasonable to extend "python -m sysconfig" to report it, perhaps with the extra imports gated behind a command line option. -- nosy: +ncoghlan _

[issue30871] Add a "python info" command somewhere to dump versions of all dependencies

2017-08-18 Thread STINNER Victor
STINNER Victor added the comment: Nick Coghlan: "If we end up deciding some of this information might be useful to end users as well, it would be reasonable to extend "python -m sysconfig" to report it, perhaps with the extra imports gated behind a command line option." Designing such tool is

[issue30923] Add -Wimplicit-fallthrough=0 to Makefile ?

2017-08-18 Thread STINNER Victor
STINNER Victor added the comment: The following commit broke _decimal compilation on the "x86 Tiger 3.x" buildbot: commit 72b543308ee3087e3fa247981f5cb4be1138c515 Author: Stefan Krah Date: Thu Jul 13 20:54:20 2017 +0200 bpo-30923: Suppress fall-through warnings in libmpdec. (#2698) http

[issue30721] Show expected input for right shift operator usage in custom "print" error message

2017-08-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 5e2eb35bbed3e84079165e576cdb50ef36e13493 by Serhiy Storchaka (Sanyam Khurana) in branch 'master': bpo-30721: Show correct syntax hint in Py3 when using Py2 redirection syntax (#2345) https://github.com/python/cpython/commit/5e2eb35bbed3e8407916

[issue30721] Show expected input for right shift operator usage in custom "print" error message

2017-08-18 Thread Nick Coghlan
Nick Coghlan added the comment: Checking the merged implementation locally, I belatedly noticed that we forgot the trailing question mark on the question: ``` >>> import sys >>> print >> sys.stderr Traceback (most recent call last): File "", line 1, in TypeError: unsupported operand type(s)

[issue31232] Backport the new custom "print >> sys.stderr" error message?

2017-08-18 Thread Nick Coghlan
New submission from Nick Coghlan: https://bugs.python.org/issue30721 introduces a new custom error message, such that in 3.7+ "print >> sys.stderr" will report: ``` >>> import sys >>> print >> sys.stderr Traceback (most recent call last): File "", line 1, in TypeError: unsupported operand ty

[issue30721] Show expected input for right shift operator usage in custom "print" error message

2017-08-18 Thread Nick Coghlan
Nick Coghlan added the comment: Note that I filed a separate issue to ask Ned about potentially backporting this to 3.6: https://bugs.python.org/issue31232 -- ___ Python tracker ___

[issue30721] Show expected input for right shift operator usage in custom "print" error message

2017-08-18 Thread Sanyam Khurana
Sanyam Khurana added the comment: Ah, sorry for that. I'll just fix that right away in a few mins :) -- ___ Python tracker ___ ___ Pyt

[issue14976] queue.Queue() is not reentrant, so signals and GC can cause deadlocks

2017-08-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Are all changes are necessary for this issue or some of them are just an optimization? The patch changes the semantic of public attribute unfinished_tasks. Seems that old unfinished_tasks is new unfinished_tasks + _qsize(). -- _

[issue30923] Add -Wimplicit-fallthrough=0 to Makefile ?

2017-08-18 Thread Stefan Krah
Stefan Krah added the comment: Thanks. I tried to revert it, but got: remote: Resolving deltas: 100% (2/2), completed with 2 local objects. remote: error: GH006: Protected branch update failed for refs/heads/master. remote: error: 2 of 2 required status checks are expected. To https://github.com

[issue14976] queue.Queue() is not reentrant, so signals and GC can cause deadlocks

2017-08-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: `unfinished_tasks` is not a public attribute AFAIK (it's not documented). The change is necessary: you cannot increment unfinished_tasks in reentrant put(), since incrementing in pure Python is not atomic. So the incrementation is moved to get(), which probab

[issue30721] Show expected input for right shift operator usage in custom "print" error message

2017-08-18 Thread Sanyam Khurana
Changes by Sanyam Khurana : -- pull_requests: +3165 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30923] Add -Wimplicit-fallthrough=0 to Makefile ?

2017-08-18 Thread Stefan Krah
Changes by Stefan Krah : -- pull_requests: +3166 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue30721] Show expected input for right shift operator usage in custom "print" error message

2017-08-18 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset a7c449b8c08933deabcf329fb74ed1336f6db34f by Nick Coghlan (Sanyam Khurana) in branch 'master': bpo-30721: Add missing '?' to new error message (GH-3131) https://github.com/python/cpython/commit/a7c449b8c08933deabcf329fb74ed1336f6db34f -- _

[issue30721] Show expected input for right shift operator usage in custom "print" error message

2017-08-18 Thread Nick Coghlan
Nick Coghlan added the comment: And done - thanks folks! -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ ___

[issue31232] Backport the new custom "print >> sys.stderr" error message?

2017-08-18 Thread Eric V. Smith
Eric V. Smith added the comment: I'm in favor of backporting to 3.6. It's not an intrusive change and is helpful in porting 2.x scripts. -- nosy: +eric.smith ___ Python tracker

[issue30121] Windows: subprocess debug assertion on failure to execute the process

2017-08-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset 4d3851727fb82195e4995c6064b0b2d6cbc031c4 by Victor Stinner (Segev Finer) in branch 'master': bpo-30121: Fix debug assert in subprocess on Windows (#1224) https://github.com/python/cpython/commit/4d3851727fb82195e4995c6064b0b2d6cbc031c4 -

[issue30121] Windows: subprocess debug assertion on failure to execute the process

2017-08-18 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +3167 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue28777] Add asyncio.Queue __aiter__, __anext__ methods

2017-08-18 Thread Matt Rasband
Matt Rasband added the comment: I attempted this myself, it seemed to have too many costs associated for the stdlib and is something easy enough to wrap myself when I need this functionality with explicit semantics on how to "stop" the queue (using an `object()` sentinel). My implementation is

[issue30871] Add test.pythoninfo

2017-08-18 Thread STINNER Victor
Changes by STINNER Victor : -- title: Add a "python info" command somewhere to dump versions of all dependencies -> Add test.pythoninfo ___ Python tracker ___ __

[issue30871] Add test.pythoninfo

2017-08-18 Thread STINNER Victor
STINNER Victor added the comment: I applied Segev Finer's fix for bpo-30121 (commit 4d3851727fb82195e4995c6064b0b2d6cbc031c4 ), so test.pythoninfo now works properly on Windows. I added a new pythoninfo step to Unix and Windows buildbots. It seems like everything is fine. I will wait a few day

[issue31232] Backport the new custom "print >> sys.stderr" error message?

2017-08-18 Thread Ned Deily
Ned Deily added the comment: I am OK with adding it to 3.6.x. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14976] queue.Queue() is not reentrant, so signals and GC can cause deadlocks

2017-08-18 Thread mike bayer
mike bayer added the comment: > Here is a pure Python PoC patch that allows unbounded Queue and LifoQueue to > have reentrant put(). per http://bugs.python.org/msg275377 guido does not want an RLock here. -- ___ Python tracker

[issue31231] Travis CI mac test broken: ./python: is a directory

2017-08-18 Thread R. David Murray
R. David Murray added the comment: The docs you point to are correct (they mention python.exe). The Travis log also shows it using python.exe. So the error message about the directory must be about some other operation than just running the python command. -- components: +macOS nosy:

[issue31231] Travis CI mac test broken: ./python: is a directory

2017-08-18 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +3168 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30871] Add test.pythoninfo

2017-08-18 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +3169 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue31231] Travis CI mac test broken: ./python: is a directory

2017-08-18 Thread STINNER Victor
STINNER Victor added the comment: The error comes from "./python -m test.pythoninfo": see bpo-30871. Attached PR should fix this bug. -- nosy: +haypo ___ Python tracker ___

[issue31231] Travis CI mac test broken: ./python: is a directory

2017-08-18 Thread R. David Murray
R. David Murray added the comment: Heh. I saw the PR but didn't realize it was attached to this issue :) -- ___ Python tracker ___ __

[issue31231] Travis CI mac test broken: ./python: is a directory

2017-08-18 Thread R. David Murray
R. David Murray added the comment: Ah, this is probably the issue: https://github.com/python/cpython/pull/3134 -- ___ Python tracker ___ _

[issue30830] test_logging leaks dangling threads on FreeBSD

2017-08-18 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +3170 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue14976] queue.Queue() is not reentrant, so signals and GC can cause deadlocks

2017-08-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'll believe it when Guido chimes in and actually says so himself. Otherwise, I am skeptical Guido cares a lot about whether the internal implementation of Queue uses a Lock, a RLock or whatever else. -- ___ Python

[issue14976] queue.Queue() is not reentrant, so signals and GC can cause deadlocks

2017-08-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: Guido, apparently you are opposed to the Queue implementation using a RLock instead of a Lock, according to Raymond in https://bugs.python.org/issue14976#msg275377. I find this a bit surprising, so could you confirm it yourself? -- nosy: +gvanrossum

[issue30871] Add test.pythoninfo

2017-08-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset 92b1f90143286385c0ff5be98d3721b90580a912 by Victor Stinner in branch 'master': bpo-31231: Fix pythoninfo in Travis config (#3134) https://github.com/python/cpython/commit/92b1f90143286385c0ff5be98d3721b90580a912 -- _

[issue31231] Travis CI mac test broken: ./python: is a directory

2017-08-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset 92b1f90143286385c0ff5be98d3721b90580a912 by Victor Stinner in branch 'master': bpo-31231: Fix pythoninfo in Travis config (#3134) https://github.com/python/cpython/commit/92b1f90143286385c0ff5be98d3721b90580a912 -- _

[issue31231] Travis CI mac test broken: ./python: is a directory

2017-08-18 Thread STINNER Victor
STINNER Victor added the comment: Thanks Han Lee for the bug report, the issue should now be fixed. -- ___ Python tracker ___ ___ Pyth

[issue31231] Travis CI mac test broken: ./python: is a directory

2017-08-18 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.7 ___ Python tracker ___ _

[issue14976] queue.Queue() is not reentrant, so signals and GC can cause deadlocks

2017-08-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: Also, to elaborate a bit, I don't think we should aim to make Queue fully reentrant, as that would be extremely involved. I think we can settle on the simpler goal of making put() reentrant for unbounded LIFO and FIFO queues, which is what most people care ab

[issue14976] queue.Queue() is not reentrant, so signals and GC can cause deadlocks

2017-08-18 Thread Yury Selivanov
Yury Selivanov added the comment: > Here is a pure Python PoC patch that allows unbounded Queue and LifoQueue to > have reentrant put(). Is it guaranteed that the GC will happen in the same thread that is holding the lock? IOW will RLock help with all GC/__del__ deadlocking scenarios? --

[issue14976] queue.Queue() is not reentrant, so signals and GC can cause deadlocks

2017-08-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le 18/08/2017 à 17:37, Yury Selivanov a écrit : > > Is it guaranteed that the GC will happen in the same thread that is holding > the lock? By design, if it's called from a different thread, Queue will cope fine: __del__ implicitly calls RLock.acquire which, i

[issue5001] Remove assertion-based checking in multiprocessing

2017-08-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: Please allow us a bit of time :-) We are all volunteers here. -- ___ Python tracker ___ ___ Python-b

[issue18156] Add an 'attr' attribute to AttributeError

2017-08-18 Thread Brett Cannon
Changes by Brett Cannon : -- keywords: -easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue30830] test_logging leaks dangling threads on FreeBSD

2017-08-18 Thread STINNER Victor
STINNER Victor added the comment: The problem is that socketserver.ThreadingMixIn spawns threads without waiting for their completion in server_close(). For example, the following two tests use socketserver.ThreadingMixIn and so can leak a running thread: * test.test_logging.SocketHandlerTest.

[issue31233] socketserver.ThreadingMixIn leaks running threads after server_close()

2017-08-18 Thread STINNER Victor
New submission from STINNER Victor: test_logging has a race condition: sometimes, it leaks dangling threads on FreeBSD: bpo-30830. I identified the root issue: socketserver.ThreadingMixIn spawns threads without waiting for their completion in server_close(). This issue is very similar to sock

[issue31211] distutils/util.py get_platform() does not identify linux-i686 platforms

2017-08-18 Thread Éric Araujo
Éric Araujo added the comment: > both wheel/pip makes calls to distutils.util.get_platform(). Fixing it in one > location > would fix it across the board. True, but it may have unintended effects in other places that disrupt or break parts of the CPython build process, or downstream packaging

[issue30830] test_logging leaks dangling threads on FreeBSD

2017-08-18 Thread STINNER Victor
STINNER Victor added the comment: > Example: > > 10-STABLE-amd64% ./python -m test -v test_logging --fail-env-changed -F -m > test.test_logging.DatagramHandlerTest.test_output -m > test.test_logging.ConfigDictTest.test_listen_config_10_ok > --match=test.test_logging.SocketHandlerTest.test_out

[issue30830] test_logging leaks dangling threads on FreeBSD

2017-08-18 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +3171 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue31230] Define a general "asynchronous operation introspection" protocol

2017-08-18 Thread syncosmic
syncosmic added the comment: I like where this is heading! Aside from the cleaner patterns for handling these objects, I think it'll make it a little easier for people who are just starting to use asynchronous objects in Python (e.g. me) to grasp what's similar about them. +1 that `__async_ca

[issue31233] socketserver.ThreadingMixIn leaks running threads after server_close()

2017-08-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: The difference is that letting a thread run doesn't create a zombie thread, so I don't think the issue is really similar. -- nosy: +pitrou ___ Python tracker _

[issue31234] Make support.threading_cleanup() stricter

2017-08-18 Thread STINNER Victor
New submission from STINNER Victor: Currently, support.threading_cleanup() waits 1 second before emitting a warning about threads running in the background. I propose to emit immediately the warning to be able to catch bugs quicker, bugs like bpo-31233 or bpo-30830. The problem is that current

[issue31234] Make support.threading_cleanup() stricter

2017-08-18 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +3172 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue31234] Make support.threading_cleanup() stricter

2017-08-18 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +3173 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue31234] Make support.threading_cleanup() stricter

2017-08-18 Thread STINNER Victor
STINNER Victor added the comment: test_fork1, test_wait3: https://github.com/python/cpython/pull/3139 -- ___ Python tracker ___ ___ Py

[issue30747] _Py_atomic_* not actually atomic on Windows with MSVC

2017-08-18 Thread Segev Finer
Changes by Segev Finer : -- pull_requests: +3175 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue9566] Compilation warnings under x64 Windows

2017-08-18 Thread Segev Finer
Changes by Segev Finer : -- pull_requests: +3174 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue30830] test_logging leaks dangling threads on FreeBSD

2017-08-18 Thread STINNER Victor
STINNER Victor added the comment: I opened bpo-31233: socketserver.ThreadingMixIn leaks running threads after server_close(). -- dependencies: +socketserver.ThreadingMixIn leaks running threads after server_close() ___ Python tracker

[issue31232] Backport the new custom "print >> sys.stderr" error message?

2017-08-18 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: It's probably fine, since it should be a rare occurrence, but it of course has the potential to break things like tests (doc and otherwise). Unlikely, but it should be pointed out. Still, I'm also fine with backporting it. -- nosy: +barry _

[issue31206] IDLE, configdialog: Factor out HighPage class from ConfigDialog

2017-08-18 Thread Cheryl Sabella
Changes by Cheryl Sabella : -- pull_requests: +3176 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue31232] Backport the new custom "print >> sys.stderr" error message?

2017-08-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: But this backport would break my code: >>> print = 10 >>> print >> 1 5 Just kidding ;-) +1 for the backport. It will likely save some headaches. -- nosy: +rhettinger ___ Python tracker

[issue31109] zipimport argument clinic conversion

2017-08-18 Thread Brett Cannon
Brett Cannon added the comment: New changeset 02f3b7d5ab2206d256879e5a8a34f560218ed397 by Brett Cannon (Yaron de Leeuw) in branch 'master': bpo-31109: Convert zipimport to use Argument Clinic (GH-2990) https://github.com/python/cpython/commit/02f3b7d5ab2206d256879e5a8a34f560218ed397 -

[issue31232] Backport the new custom "print >> sys.stderr" error message?

2017-08-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It will not break this code. The only visible effect is changing error messages of some TypeError exceptions. -- nosy: +serhiy.storchaka ___ Python tracker _

[issue30923] Add -Wimplicit-fallthrough=0 to Makefile ?

2017-08-18 Thread Stefan Krah
Stefan Krah added the comment: So I installed gcc-7.2.0 from source. Hilariously compiling gcc *itself* emits fallthrough warnings! Then I tried to be a good open source drone and add 20 /* fall through */ comments to libmpdec. gcc is too stupid to recognize the /* fall through */ at the #endif

[issue30923] Add -Wimplicit-fallthrough=0 to Makefile ?

2017-08-18 Thread Stefan Krah
Changes by Stefan Krah : -- pull_requests: +3177 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue30923] Add -Wimplicit-fallthrough=0 to Makefile ?

2017-08-18 Thread Stefan Krah
Stefan Krah added the comment: New changeset d73a960c575207539c3f9765cff26d4fff400b45 by Stefan Krah in branch 'master': bpo-30923: Disable warning that has been part of -Wextra since gcc-7.0. (#3142) https://github.com/python/cpython/commit/d73a960c575207539c3f9765cff26d4fff400b45 --

[issue30983] eval frame rename in pep 0523 broke gdb's python extension

2017-08-18 Thread Łukasz Langa
Łukasz Langa added the comment: OK, I got the repro. You have to rebuild python for /Tools/gdb/libpython.py to land in /python-gdb.py. The latter is used during test_gdb.py. -- ___ Python tracker _

[issue30983] eval frame rename in pep 0523 broke gdb's python extension

2017-08-18 Thread STINNER Victor
STINNER Victor added the comment: > You have to rebuild python for /Tools/gdb/libpython.py to land in /python-gdb.py. The latter is used during test_gdb.py. Ah yes, sorry, that's not obvious. "make" does the copy for you. -- ___ Python tracker

[issue28777] Add asyncio.Queue __aiter__, __anext__ methods

2017-08-18 Thread Guido van Rossum
Guido van Rossum added the comment: Let's not do this. -- resolution: -> rejected stage: test needed -> resolved status: open -> closed ___ Python tracker ___ __

[issue31234] Make support.threading_cleanup() stricter

2017-08-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset c99d41f9c0304fcf06550515c3db55f93a629e9e by Victor Stinner in branch 'master': bpo-31234: fork_wait tests now join threads (#3139) https://github.com/python/cpython/commit/c99d41f9c0304fcf06550515c3db55f93a629e9e --

[issue14976] queue.Queue() is not reentrant, so signals and GC can cause deadlocks

2017-08-18 Thread Guido van Rossum
Guido van Rossum added the comment: Given the date from that comment I assume that I told Raymond this during the 2016 core sprint. I can't recall that conversation but I am still pretty worried about using an RLock. (What if someone slightly more insane decides to call get() from inside a GC

[issue31233] socketserver.ThreadingMixIn leaks running threads after server_close()

2017-08-18 Thread STINNER Victor
STINNER Victor added the comment: Oh, test_socketserver just failed with ENV_CHANGED on AMD64 Windows7 SP1 3.x: http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/865/steps/test/logs/stdio test_TCPServer (test.test_socketserver.SocketServerTest) ... creating server (...

[issue31235] test_logging: ResourceWarning: unclosed

2017-08-18 Thread STINNER Victor
New submission from STINNER Victor: Sometimes, running test_logging emits such warning: ResourceWarning: unclosed I'm not sure where it does come from. See also bpo-30830 (test_logging leaks dangling threads on FreeBSD). -- messages: 300534 nosy: haypo priority: normal severity: norm

[issue30947] Update embeded copy of libexpat from 2.2.1 to 2.2.3

2017-08-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset 93d0cb58b4da2a88c56f472c6c19491cc7a390df by Victor Stinner in branch 'master': bpo-30947: Update libexpat from 2.2.1 to 2.2.3 (#3106) https://github.com/python/cpython/commit/93d0cb58b4da2a88c56f472c6c19491cc7a390df -- _

[issue30830] test_logging leaks dangling threads on FreeBSD

2017-08-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset 6966960468327c958b03391f71f24986bd697307 by Victor Stinner in branch 'master': bpo-30830: test_logging uses threading_setup/cleanup (#3137) https://github.com/python/cpython/commit/6966960468327c958b03391f71f24986bd697307 -- ___

[issue31233] socketserver.ThreadingMixIn leaks running threads after server_close()

2017-08-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset 6966960468327c958b03391f71f24986bd697307 by Victor Stinner in branch 'master': bpo-30830: test_logging uses threading_setup/cleanup (#3137) https://github.com/python/cpython/commit/6966960468327c958b03391f71f24986bd697307 -- ___

[issue30830] test_logging leaks dangling threads on FreeBSD

2017-08-18 Thread STINNER Victor
STINNER Victor added the comment: > New changeset 6966960468327c958b03391f71f24986bd697307 by Victor Stinner in > branch 'master': > bpo-30830: test_logging uses threading_setup/cleanup (#3137) With this commit, test_logging should detect better bugs in the code. The commit also skips all test

[issue30947] Update embeded copy of libexpat from 2.2.1 to 2.2.3

2017-08-18 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +3178 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue31236] improve some error messages of min() and max()

2017-08-18 Thread Oren Milman
New submission from Oren Milman: currently, we have the following: >>> min(0, a=1) TypeError: 'a' is an invalid keyword argument for this function >>> max(0, a=1) TypeError: 'a' is an invalid keyword argument for this function >>> max(0, a=1, b=2, c=3) TypeError: function

[issue30947] Update embeded copy of libexpat from 2.2.1 to 2.2.3

2017-08-18 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +3179 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30947] Update embeded copy of libexpat from 2.2.1 to 2.2.3

2017-08-18 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +3180 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue31236] improve some error messages of min() and max()

2017-08-18 Thread Oren Milman
Changes by Oren Milman : -- pull_requests: +3181 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue31235] test_logging: ResourceWarning: unclosed

2017-08-18 Thread STINNER Victor
STINNER Victor added the comment: Traceback from tracemalloc: 10-STABLE-amd64% ./python -X tracemalloc=10 -m test -v test_logging --fail-env-changed (...) /usr/home/haypo/cpython/Lib/test/support/__init__.py:1515: ResourceWarning: unclosed gc.collect() Object allocated at (most recent ca

[issue31235] test_logging: ResourceWarning: unclosed

2017-08-18 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +3182 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue5001] Remove assertion-based checking in multiprocessing

2017-08-18 Thread drallensmith
drallensmith added the comment: Sorry! I was starting to wonder if the PR had been overlooked somehow... -- ___ Python tracker ___ ___

[issue31235] test_logging: ResourceWarning: unclosed

2017-08-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset a7719e27b3cad0f2b86cb932a76cbe55c541b02e by Victor Stinner in branch 'master': bpo-31235: Fix ResourceWarning in test_logging (#3147) https://github.com/python/cpython/commit/a7719e27b3cad0f2b86cb932a76cbe55c541b02e -- _

[issue31205] IDLE, configdialog: Factor out KeysPage class from ConfigDialog

2017-08-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset a32e40561a24de373d1c5a437a8aa329758ba8e4 by Terry Jan Reedy (Cheryl Sabella) in branch 'master': bpo-31206: IDLE: Factor HighPage class from ConfigDialog (#3141) https://github.com/python/cpython/commit/a32e40561a24de373d1c5a437a8aa329758ba8e4 -

[issue31206] IDLE, configdialog: Factor out HighPage class from ConfigDialog

2017-08-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset a32e40561a24de373d1c5a437a8aa329758ba8e4 by Terry Jan Reedy (Cheryl Sabella) in branch 'master': bpo-31206: IDLE: Factor HighPage class from ConfigDialog (#3141) https://github.com/python/cpython/commit/a32e40561a24de373d1c5a437a8aa329758ba8e4 -

[issue31206] IDLE, configdialog: Factor out HighPage class from ConfigDialog

2017-08-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: I cannot do the backport at the moment, so at your convenience, please run cherry picker for PR3141 for 3.6. You can submit the 2nd PR for 3.7 without waiting for me to merge the backport. -- ___ Python tracker

[issue31235] test_logging: ResourceWarning: unclosed

2017-08-18 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +3183 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue31235] test_logging: ResourceWarning: unclosed

2017-08-18 Thread STINNER Victor
STINNER Victor added the comment: Python 2.7 is not affected: it doesn't have SMTPHandlerTest. -- versions: +Python 3.6 ___ Python tracker ___ ___

[issue30947] Update embeded copy of libexpat from 2.2.1 to 2.2.3

2017-08-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset 83e37e16f3065086d721d4e62a3788e01db3431c by Victor Stinner in branch '3.6': bpo-30947: Update libexpat from 2.2.1 to 2.2.3 (#3106) (#3143) https://github.com/python/cpython/commit/83e37e16f3065086d721d4e62a3788e01db3431c --

[issue30947] Update embeded copy of libexpat from 2.2.1 to 2.2.3

2017-08-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset ec4ab09b7c0b5070bdb27351f979cbecc4636245 by Victor Stinner in branch '2.7': bpo-30947: Update libexpat from 2.2.1 to 2.2.3 (#3106) (#3145) https://github.com/python/cpython/commit/ec4ab09b7c0b5070bdb27351f979cbecc4636245 --

[issue31235] test_logging: ResourceWarning: unclosed

2017-08-18 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs

[issue31235] test_logging: ResourceWarning: unclosed

2017-08-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3e866dfaecaa4eb8f98c12782d2488f681225c37 by Victor Stinner in branch '3.6': bpo-31235: Fix ResourceWarning in test_logging (#3147) (#3149) https://github.com/python/cpython/commit/3e866dfaecaa4eb8f98c12782d2488f681225c37 --

[issue30849] test_stress_delivery_dependent() of test_signal randomly fails on AMD64 Debian root 3.6/3.x

2017-08-18 Thread STINNER Victor
Changes by STINNER Victor : -- title: test_stress_delivery_dependent() of test_signal randomly fails on AMD64 Debian root 3.6 -> test_stress_delivery_dependent() of test_signal randomly fails on AMD64 Debian root 3.6/3.x ___ Python tracker

[issue30849] test_stress_delivery_dependent() of test_signal randomly fails on AMD64 Debian root 3.6/3.x

2017-08-18 Thread STINNER Victor
STINNER Victor added the comment: test_stress_delivery_dependent() failed on AMD64 Debian root 3.x too, it's not specific to 3.6: http://buildbot.python.org/all/builders/AMD64%20Debian%20root%203.x/builds/1192/steps/test/logs/stdio http://buildbot.python.org/all/builders/AMD64%20Debian%20root%

  1   2   >