Skip to content

smtplib SMTP_SSL._get_socket doesn't return a value #48316

Description

@marcinbachry
BPO 4066
Nosy @devdanzin, @bitdancer
Files
  • smtplib.diff: simple fix
  • smtplib_72551.diff: updated _get_socket to return value, expected behavior.
  • test_smtpnet.py: simplified test from python/issues-test-cpython#4470
  • return_socket.diff: Farhan's patch and Marcin's test adapted to py3k.
  • 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 2009-05-23.02:53:34.676>
    created_at = <Date 2008-10-07.14:26:15.273>
    labels = ['type-bug', 'library']
    title = "smtplib SMTP_SSL._get_socket doesn't return a value"
    updated_at = <Date 2009-05-23.02:53:34.559>
    user = 'https://bugs.python.org/marcinbachry'

    bugs.python.org fields:

    activity = <Date 2009-05-23.02:53:34.559>
    actor = 'r.david.murray'
    assignee = 'none'
    closed = True
    closed_date = <Date 2009-05-23.02:53:34.676>
    closer = 'r.david.murray'
    components = ['Library (Lib)']
    creation = <Date 2008-10-07.14:26:15.273>
    creator = 'marcin.bachry'
    dependencies = []
    files = ['11729', '13949', '13952', '13964']
    hgrepos = []
    issue_num = 4066
    keywords = ['patch']
    message_count = 7.0
    messages = ['74452', '87537', '87541', '87549', '87552', '87598', '88221']
    nosy_count = 5.0
    nosy_names = ['ajaksu2', 'farhan.ahmad', 'marcin.bachry', 'r.david.murray', 'fanda.vacek']
    pr_nums = []
    priority = 'critical'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue4066'
    versions = ['Python 2.6', 'Python 3.0', 'Python 3.1', 'Python 2.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

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

      Fields

      No fields configured for issues without a type.

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions