[issue18540] imaplib.IMAP4() ends with "Name or service not known" on Fedora 18

Matěj Stuchlík report at bugs.python.org
Wed Jul 24 18:35:15 CEST 2013


Matěj Stuchlík added the comment:

>So this represents a change in behavior of the socket library on Fedora 18 vs earlier versions?

I don't believe so. This happens on my Fedora 18 system, my Debian box with Python 2.6.6, on Fedora 19 (https://bugzilla.redhat.com/show_bug.cgi?id=987340), another Debian system (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=591471) and python compiled from the default branch does the same thing.

The documentation for imaplib.IMAP4 says:
"If host is not specified, '' (the local host) is used."

My point is that imaplib.IMAP4 without any arguments should try to connect to localhost, however this is not what is currently happening, at least on the systems mentioned above. Why I think this is happening I've tried to explain in my previous comment.

>Do any of the impalib tests fail?
Nope.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18540>
_______________________________________


More information about the Python-bugs-list mailing list