TypeOffset class no longer depends on target Python version by lostmsu · Pull Request #1292 · pythonnet/pythonnet

filmor

filmor

filmor

Instead, for each supported Python version a separate class is generated (e.g. TypeOffset36). Then the Runtime picks the correct class using reflection, and copies only the necessary TypeOffset members over from it.

ManagedDataOffsets.Magic is now also read at runtime from tp_basicsize of PyType

@lostmsu

@lostmsu

@lostmsu

@lostmsu lostmsu deleted the features/VersionIndependent branch

November 30, 2020 18:36