-
Notifications
You must be signed in to change notification settings - Fork 318
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
Installable under Python 3.3 #48
base: master
Are you sure you want to change the base?
Conversation
@@ -1,5 +1,9 @@ | |||
import os, sys | |||
from ConfigParser import SafeConfigParser | |||
try: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 This passes for me on py26 and py27 and crashes with a segfault on py33, as you said.
I have some minor suggestions, but otherwise this is good to merge I think. |
Trying to figure out what's wrong by looking at core dump. In case this is useful for someone with more knowledge of CPython and more recent experience with C:
|
|
@methane: #61 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 |
I made the changes suggested by @msabramo regarding the use of SafeConfigParser from |
This are some fixes that should make it possible to at least install this projekt under Python 3.3.
Running the tests under Python 3.3 fails with an segmentation fault.