Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some Python 3 C-API fixes. #61

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

methane
Copy link
Collaborator

@methane methane commented Apr 16, 2014

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)

@msabramo
Copy link
Contributor

@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

@methane
Copy link
Collaborator Author

methane commented Apr 16, 2014

@msabramo Fixed.

@msabramo
Copy link
Contributor

@methane: Confirming that you fixed segfaults on 2.6 and 2.7. Great work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants