Fix protocols in unions (runtime problem) (#504)

Fixes #488

The fix is as proposed in #488, i.e. by tweaking the existing
sys._getframe hack to accommodate it for this special case
(protocols in unions) on older versions of typing.

4 files changed
tree: d9f8b995be65766ceb9c51b57f664b2cbdbe7bd3
  1. src_py2/
  2. src_py3/
  3. MANIFEST.in
  4. README.rst
  5. setup.py