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

2018-08-06 Thread Berker Peksag
Change by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.7, Python 3.8 -Python 3.4, Python 3.5 ___ Python tracker _

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

2018-08-06 Thread Berker Peksag
Berker Peksag added the comment: New changeset 671a13a7b6ff1022a6fd868e5842687123ab9fd1 by Berker Peksag (Miss Islington (bot)) in branch '3.6': bpo-18540: Fix EAI_NONAME in imaplib.IMAP4*() (GH-8634) https://github.com/python/cpython/commit/671a13a7b6ff1022a6fd868e5842687123ab9fd1

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

2018-08-06 Thread Berker Peksag
Berker Peksag added the comment: New changeset 5799e5a84c78eac672e5f5f4f3fd2d903ba51a9d by Berker Peksag (Miss Islington (bot)) in branch '3.7': bpo-18540: Fix EAI_NONAME in imaplib.IMAP4*() (GH-8634) https://github.com/python/cpython/commit/5799e5a84c78eac672e5f5f4f3fd2d903ba51a9d

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

2018-08-06 Thread miss-islington
Change by miss-islington : -- pull_requests: +8190 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

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

2018-08-06 Thread miss-islington
Change by miss-islington : -- pull_requests: +8191 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

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

2018-08-06 Thread Berker Peksag
Berker Peksag added the comment: New changeset e4dcbbd7f4ac18d01c0ec85f64ae98b8281ed403 by Berker Peksag in branch 'master': bpo-18540: Fix EAI_NONAME in imaplib.IMAP4*() (GH-8634) https://github.com/python/cpython/commit/e4dcbbd7f4ac18d01c0ec85f64ae98b8281ed403 --

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

2018-08-02 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +8139 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

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

2018-04-21 Thread Matej Cepl
Matej Cepl added the comment: ping? -- nosy: +mcepl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

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

2015-09-04 Thread Berker Peksag
Berker Peksag added the comment: Hi Milan, thanks for the updated patch. Did you see my review comments? http://bugs.python.org/review/18540/ -- nosy: +berker.peksag stage: -> patch review versions: +Python 3.6 ___ Python tracker

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

2015-09-03 Thread Milan Oberkirch
Milan Oberkirch added the comment: I shouldn't criticize my own patches if I want to have them committed: Here comes the final and perfect patch for this issue ;) (I only rephrased the comment for the test to make the intuition clear.) -- Added file: http://bugs.python.org/file40347/ima

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

2014-07-08 Thread Milan Oberkirch
Milan Oberkirch added the comment: I'm still wondering if the test could be done better. At least it fixes the bug. -- Added file: http://bugs.python.org/file35904/imaplib_interpret_empty_string_as_NoneV2.patch ___ Python tracker

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

2014-07-08 Thread Milan Oberkirch
Milan Oberkirch added the comment: Ignore what I just did (the test is obviously dump; it fails if you run it on an IMAP server). I'll make a new attempt after a coffee break ;) -- ___ Python tracker _

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

2014-07-08 Thread Milan Oberkirch
Milan Oberkirch added the comment: I patched it as you suggested (9 lines added/changed in total). -- Added file: http://bugs.python.org/file35903/imaplib_interpret_empty_string_as_None.patch ___ Python tracker __

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

2014-05-17 Thread R. David Murray
R. David Murray added the comment: Milan: using 'localhost' is incorrect, since the string 'localhost' will not always resolve to the local host IP, while passing None to getaddrinfo will. It is significant that the example fails. We need a test for this case (the imap tests have been histori

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

2014-03-02 Thread Milan Oberkirch
Milan Oberkirch added the comment: According to the documentation[1] the values for host should be set to 'localhost' by default. I attached a patch that does just that. Also note, that the minimal example at the end of [1] is broken by this bug. [1]: http://docs.python.org/2/library/imaplib.h

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

2013-08-22 Thread Daniël van Eeden
Changes by Daniël van Eeden : -- nosy: +dveeden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

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

2013-07-24 Thread R. David Murray
R. David Murray added the comment: OK, yeah, this seems to be long standing, untested behavior. I will take a look at what should be done here. -- ___ Python tracker ___ __

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

2013-07-24 Thread Matěj Stuchlík
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), anot

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

2013-07-24 Thread R. David Murray
R. David Murray added the comment: So this represents a change in behavior of the socket library on Fedora 18 vs earlier versions? Do any of the impalib tests fail? -- components: +email nosy: +barry, r.david.murray versions: +Python 3.4 ___ Python

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

2013-07-24 Thread Matěj Stuchlík
New submission from Matěj Stuchlík: Traceback (most recent call last): File "", line 1, in File "/usr/lib64/python2.7/imaplib.py", line 163, in __init__ self.open(host, port) File "/usr/lib64/python2.7/imaplib.py", line 229, in open self.sock = socket.create_connection((host, port)