Add initial support for Python 3.x.

Review Request #9330 - Created Oct. 26, 2017 and submitted

Christian Hammond
kgb
master
129ee37...
kgb

This updates kgb to work with both Python 2.x and 3.x. There were a
handful of changes needed to support 3.x, but they mostly amounted to
changes in attributes for functions and classes, the addition of one
more parameter for the CodeType constructor, and a switch to Unicode
strings.

This change does not support keyword-only arguments, which will require
additional work.

Ran unit tests on Python 2.7 and 3.5.

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

Status: Closed (submitted)

Change Summary:

Pushed to master (9d97907)
Loading...