Roundup Robot added the comment:
New changeset 59921d2f023c by Berker Peksag in branch '3.4':
Issue #21707: Add missing kwonlyargcount argument to
ModuleFinder.replace_paths_in_code().
http://hg.python.org/cpython/rev/59921d2f023c
New changeset 4b6798e74dcf by Berker Peksag in branch
Changes by Berker Peksag berker.pek...@gmail.com:
--
assignee: - berker.peksag
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21707
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21707
___
___
Roundup Robot added the comment:
New changeset f8deaac44ed4 by Berker Peksag in branch '3.4':
Issue #21707: Fix tests on Windows.
http://hg.python.org/cpython/rev/f8deaac44ed4
New changeset e66c387da81b by Berker Peksag in branch 'default':
Issue #21707: Merge with 3.4.
Berker Peksag added the comment:
Here's a patch with a test.
--
keywords: +patch
nosy: +berker.peksag
stage: - patch review
type: - behavior
Added file: http://bugs.python.org/file35587/issue21707.diff
___
Python tracker rep...@bugs.python.org
New submission from Marc-Andre Lemburg:
Here's the code:
def replace_paths_in_code(self, co):
...
return types.CodeType(co.co_argcount, co.co_nlocals, co.co_stacksize,
co.co_flags, co.co_code, tuple(consts), co.co_names,
Marc-Andre Lemburg added the comment:
The fix is easy. Simply change the call to:
return types.CodeType(co.co_argcount, co.co_kwonlyargcount,
co.co_nlocals, co.co_stacksize,
co.co_flags, co.co_code, tuple(consts),