pbrady / fastcache

C implementation of Python 3 lru_cache
MIT License
154 stars 19 forks source link

Change _PyObject_GC_TRACK to PyObject_GC_Track #33

Closed pbrady closed 9 years ago

pbrady commented 9 years ago

Fixes #32 According to https://docs.python.org/3/c-api/gcsupport.html The macro version should not be used in extensions

asmeurer commented 9 years ago

This compiles for me in Windows in both Python 2.7 and 3.4. I recommend merging and making a release.

pbrady commented 9 years ago

@asmeurer thanks for help tracking this down and testing the fix