New submission from Lee Clemens:

Not mentioned (at least not specifically) in the release notes, 
multiprocessing.JoinableQueue now requires 'ctx' keyword argument:
  def __init__(self, maxsize=0, *, ctx):

This causes an application calling JoinableQueue() to work with 3.3.2 (my 
single test) to work, but not with 3.4.0

TypeError: __init__() missing 1 required keyword-only argument: 'ctx'

The documentation is also incorrect: 
https://docs.python.org/3.4/library/multiprocessing.html#multiprocessing.JoinableQueue

----------
components: Interpreter Core
messages: 217289
nosy: s...@leeclemens.net
priority: normal
severity: normal
status: open
title: multiprocessing.JoinableQueue requires new kwarg
type: compile error
versions: Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21367>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to