Title: smtplib's SMTP.connect() should store the server name in ._host for .starttls() · Issue #70039 · python/cpython · GitHub
Open Graph Title: smtplib's SMTP.connect() should store the server name in ._host for .starttls() · Issue #70039 · python/cpython
X Title: smtplib's SMTP.connect() should store the server name in ._host for .starttls() · Issue #70039 · python/cpython
Description: BPO 25852 Nosy @warsaw, @tiran, @bitdancer, @wking Files 0001-smtplib-Set-SMTP._host-in-.connect.patch: Patch shifting the _host save from SMTP.init to SMTP.connectissue25852.diffissue25852_v2.patch: Alternative patchissue25852_v3_with_t...
Open Graph Description: BPO 25852 Nosy @warsaw, @tiran, @bitdancer, @wking Files 0001-smtplib-Set-SMTP._host-in-.connect.patch: Patch shifting the _host save from SMTP.init to SMTP.connectissue25852.diffissue25852_v2.patc...
X Description: BPO 25852 Nosy @warsaw, @tiran, @bitdancer, @wking Files 0001-smtplib-Set-SMTP._host-in-.connect.patch: Patch shifting the _host save from SMTP.init to SMTP.connectissue25852.diffissue25852_v2.patc...
Opengraph URL: https://github.com/python/cpython/issues/70039
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"smtplib's SMTP.connect() should store the server name in ._host for .starttls()","articleBody":"BPO | [25852](https://bugs.python.org/issue25852)\n--- | :---\nNosy | @warsaw, @tiran, @bitdancer, @wking\nFiles | \u003cli\u003e[0001-smtplib-Set-SMTP._host-in-.connect.patch](https://bugs.python.org/file41291/0001-smtplib-Set-SMTP._host-in-.connect.patch \"Uploaded as text/plain at 2015-12-12.22:59:20 by @wking\"): Patch shifting the _host save from SMTP.__init__ to SMTP.connect\u003c/li\u003e\u003cli\u003e[issue25852.diff](https://bugs.python.org/file41293/issue25852.diff \"Uploaded as text/plain at 2015-12-13.00:18:56 by SilentGhost\")\u003c/li\u003e\u003cli\u003e[issue25852_v2.patch](https://bugs.python.org/file42067/issue25852_v2.patch \"Uploaded as text/plain at 2016-03-03.08:50:53 by gigaplastik\"): Alternative patch\u003c/li\u003e\u003cli\u003e[issue25852_v3_with_tests.patch](https://bugs.python.org/file44495/issue25852_v3_with_tests.patch \"Uploaded as text/plain at 2016-09-09.09:51:43 by gigaplastik\"): Alternative updated patch with unit test\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = 'https://github.com/bitdancer'\nclosed_at = None\ncreated_at = \u003cDate 2015-12-12.22:59:22.447\u003e\nlabels = ['3.7', 'type-bug', 'library', 'expert-email']\ntitle = \"smtplib's SMTP.connect() should store the server name in ._host for .starttls()\"\nupdated_at = \u003cDate 2017-09-07.02:07:21.156\u003e\nuser = 'https://github.com/wking'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2017-09-07.02:07:21.156\u003e\nactor = 'christian.heimes'\nassignee = 'r.david.murray'\nclosed = False\nclosed_date = None\ncloser = None\ncomponents = ['Library (Lib)', 'email']\ncreation = \u003cDate 2015-12-12.22:59:22.447\u003e\ncreator = 'labrat'\ndependencies = []\nfiles = ['41291', '41293', '42067', '44495']\nhgrepos = []\nissue_num = 25852\nkeywords = ['patch']\nmessage_count = 5.0\nmessages = ['256299', '256305', '261151', '275054', '275297']\nnosy_count = 6.0\nnosy_names = ['barry', 'christian.heimes', 'r.david.murray', 'SilentGhost', 'labrat', 'gigaplastik']\npr_nums = []\npriority = 'normal'\nresolution = None\nstage = 'patch review'\nstatus = 'open'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue25852'\nversions = ['Python 2.7', 'Python 3.6', 'Python 3.7']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-115259\n* gh-148272\n* gh-148273\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/wking","@type":"Person","name":"wking"},"datePublished":"2015-12-12T22:59:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/70039/cpython/issues/70039"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ea7a5bfd-5b9f-eb5c-307d-bcc2b7191ec4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8D12:2F08ED:152BEC2:1D14A56:6A55D174 |
| html-safe-nonce | 206edbca0bc07b58c5471215bf9380659b4027a12c0264ff029a7d2e15adecc6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDEyOjJGMDhFRDoxNTJCRUMyOjFEMTRBNTY6NkE1NUQxNzQiLCJ2aXNpdG9yX2lkIjoiNTM0MjI2MjQ5MDE2NzkxNDEyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 506490005cf288a148f913cb8e2635c8b35b290542775a007040d5315f117f6f |
| hovercard-subject-tag | issue:1198945171 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/70039/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ec5e45438e7322217dd33d5a1fb0911e6d36aa7260043aaf9298695cca1293dd/python/cpython/issues/70039 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ec5e45438e7322217dd33d5a1fb0911e6d36aa7260043aaf9298695cca1293dd/python/cpython/issues/70039 |
| og:image:alt | BPO 25852 Nosy @warsaw, @tiran, @bitdancer, @wking Files 0001-smtplib-Set-SMTP._host-in-.connect.patch: Patch shifting the _host save from SMTP.init to SMTP.connectissue25852.diffissue25852_v2.patc... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | wking |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8f8e1726192df8dce16872ceb503336c12e9ae78 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width