Skip to content

smtplib.SMTP() raises socket.error rather than SMTPConnectError #46371

@stranger4good

Description

@stranger4good
BPO 2118
Nosy @pitrou, @giampaolo, @tiran, @bitdancer, @asvetlov, @serhiy-storchaka
Files
  • issue_2118_fixed.patch: Fixes the issue and changes the test file
  • issue_2118_fix_for_py3.patch
  • issue2118.diff
  • issue2118-doc-patch-3.3.diff
  • issue2118-OSError.diff
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2013-04-13.18:54:07.038>
    created_at = <Date 2008-02-14.22:23:12.234>
    labels = ['easy', 'type-bug', 'library']
    title = 'smtplib.SMTP() raises socket.error rather than SMTPConnectError'
    updated_at = <Date 2013-04-14.10:46:52.717>
    user = 'https://bugs.python.org/stranger4good'

    bugs.python.org fields:

    activity = <Date 2013-04-14.10:46:52.717>
    actor = 'python-dev'
    assignee = 'none'
    closed = True
    closed_date = <Date 2013-04-13.18:54:07.038>
    closer = 'r.david.murray'
    components = ['Library (Lib)']
    creation = <Date 2008-02-14.22:23:12.234>
    creator = 'stranger4good'
    dependencies = []
    files = ['9509', '18301', '29799', '29805', '29830']
    hgrepos = []
    issue_num = 2118
    keywords = ['patch', 'easy']
    message_count = 22.0
    messages = ['62416', '62423', '62447', '62451', '62747', '62785', '68515', '110631', '112261', '112264', '116266', '186744', '186748', '186758', '186792', '186795', '186797', '186810', '186812', '186841', '186850', '186908']
    nosy_count = 15.0
    nosy_names = ['gjb1002', 'pitrou', 'giampaolo.rodola', 'christian.heimes', 'stranger4good', 'zanella', 'werneck', 'rodolpho', 'r.david.murray', 'asvetlov', 'BreamoreBoy', 'gregmalcolm', 'python-dev', 'serhiy.storchaka', 'n']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue2118'
    versions = ['Python 2.7', 'Python 3.3', 'Python 3.4']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      easystdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions