Add support for Python 3's keyword-only arguments.

Review Request #9341 — Created Oct. 31, 2017 and submitted

Information

kgb
master
94eb9ac...

Reviewers

kgb

This allows kgb to support the new keyword-only arguments in Python 3.
This requires some changes in the calls needed for introspecting spied
functions, creating forwarding functions, and calling original
functions. Otherwise, things work the same as any other keyword argument
tracking.

This is the first change to introduce unit tests specific to Python 3.
The test runner will automatically run these when running on Python 3,
but will ignore them on Python 2.

Unit tests pass on Python 2 and 3.

Description From Last Updated

E999 SyntaxError: invalid syntax

reviewbotreviewbot
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (4c712bd)
Loading...