Add initial support for Python 3.x.

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

Information

kgb
master
129ee37...

Reviewers

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
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to master (9d97907)