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

On Python 2.6.6 it breaks smtplib.SMTP (socket has different method signatures) #7

Open
alexandru opened this issue Feb 7, 2012 · 0 comments

Comments

@alexandru
Copy link

One problem has to do with socket.makefile ... the signature in Python 2.6.6 has both mode and bufsize as optional parameters.

After I fixed that, setting bufsize to a default of -1 (which should be the system's default), then I started to receive "connection quit unexpectedly".

Haven't experimented with a different setting or not or looked at your code really carefully, but breaking the default socket functionality for other protocols is not OK.

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

No branches or pull requests

1 participant