IBM / pyflowgraph

Flow graphs for Python
Apache License 2.0
25 stars 8 forks source link

AttributeTracer is a hack #11

Closed epatters closed 5 years ago

epatters commented 5 years ago

The AttributeTracer class is a terrible hack to ensure that attribute accesses are picked up by sys.settrace.

https://github.com/IBM/pyflowgraph/blob/master/flowgraph/trace/attribute_tracer.py

Besides being a hack, it fails on builtin types. Find a better solution.