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

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

Christian Hammond
kgb
master
94eb9ac...
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.

  • 0
  • 0
  • 0
  • 1
  • 1
Description From Last Updated
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

David Trowbridge
  1. Ship It!
  2. 
      
Christian Hammond
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (4c712bd)
Loading...