General Building C Python module for AC Python 3.3.5 version

Hey,

I've been trying to compile a custom C-API Python module for AC's 3.3.5 Python and using it in-game. The module compiles successfully and I get the finished *.pyd that I can import. Using the module in a local terminal works fine, however, using it in AC leads to a crash (importing is fine though).

Did anybody else try this before, or has somebody a tip I haven't tried yet?

Some more information:

Cheers, and thanks for any input.
 
For anyone interested:

I solved the problem myself, however, I am not sure what was the cause.
Removing the garbage collection flag 'Py_TPFLAGS_HAVE_GC' and the function pointer to the destructor from the 'PyTypeObject' description did the trick.
Be careful, this might lead to a memory leak! :)
 

Latest News

What would make you race in our Club events

  • Special events

    Votes: 5 18.5%
  • More leagues

    Votes: 3 11.1%
  • Prizes

    Votes: 4 14.8%
  • Trophies

    Votes: 4 14.8%
  • Forum trophies

    Votes: 1 3.7%
  • Livestreams

    Votes: 5 18.5%
  • Easier access

    Votes: 20 74.1%
  • Other? post your reason

    Votes: 2 7.4%
Back
Top