This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients martin.panter
Date 2015-05-31.07:55:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
This patch allows many context managers to accept keyword arguments called “func” and “self”. Current behaviour:

>>> with TestCase().subTest(func="blaua"): pass
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.4/", line 126, in helper
    return _GeneratorContextManager(func, *args, **kwds)
TypeError: __init__() got multiple values for argument 'func'
Date User Action Args
2015-05-31 07:55:38martin.pantersetrecipients: + martin.panter
2015-05-31 07:55:38martin.pantersetmessageid: <>
2015-05-31 07:55:38martin.panterlinkissue24336 messages
2015-05-31 07:55:37martin.pantercreate