MySQLdb1
MySQLdb1 copied to clipboard
Some Python 3 C-API fixes.
tp_getattr and tp_setattr are deprecated. Use tp_getattro and tp_setattro instead.
Fix wrong deallocation macro.
Remove some macros for very old Python (<2.2)
@methane: This seemed to stop the segfault on Python 3.3 but it segfaults on Python 2.6 and 2.7 -- both locally and on Travis CI: https://travis-ci.org/farcepest/MySQLdb1/builds/23126432
@msabramo Fixed.
@methane: Confirming that you fixed segfaults on 2.6 and 2.7. Great work!