Title: bpo-36094: Fix a bug in smtplib module by Tyrone-Zhao · Pull Request #11998 · python/cpython · GitHub
Open Graph Title: bpo-36094: Fix a bug in smtplib module by Tyrone-Zhao · Pull Request #11998 · python/cpython
X Title: bpo-36094: Fix a bug in smtplib module by Tyrone-Zhao · Pull Request #11998 · python/cpython
Description: The following bug occurs when you connect after creating an instance of SMTP_SSL: import smtplib smtp_server = "smtp.163.com" con2 = smtplib.SMTP_SSL() con2.connect(smtp_server, 465) ValueError: server_hostname cannot be an empty string or start with a leading dot. File "E:\code\noUse.py", line 8, in con2.connect(smtp_server, 465) https://bugs.python.org/issue36094
Open Graph Description: The following bug occurs when you connect after creating an instance of SMTP_SSL: import smtplib smtp_server = "smtp.163.com" con2 = smtplib.SMTP_SSL() con2.connect(smtp_server, 465) V...
X Description: The following bug occurs when you connect after creating an instance of SMTP_SSL: import smtplib smtp_server = "smtp.163.com" con2 = smtplib.SMTP_SSL() con2.connect(smtp_server,...
Opengraph URL: https://github.com/python/cpython/pull/11998
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:cce38823-0e46-8a65-79f3-2f7f1f4beca9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9ABC:3D0DAC:1DBF91E:2B5C43C:6A563D84 |
| html-safe-nonce | f65cbe75b55beda66f6c89f06033ed5637fe4d5577ab60ec9f7a8461dd22ad7d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QUJDOjNEMERBQzoxREJGOTFFOjJCNUM0M0M6NkE1NjNEODQiLCJ2aXNpdG9yX2lkIjoiMjQyODYyNTk2NDA5Nzc0ODM1NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5aa64dc746b4feb99de98164d3e75f0adf69b9ec90181ff905e41fa179bc2281 |
| hovercard-subject-tag | pull_request:255629088 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/python/cpython/pull/11998/files |
| twitter:image | https://avatars.githubusercontent.com/u/37615298?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/37615298?s=400&v=4 |
| og:image:alt | The following bug occurs when you connect after creating an instance of SMTP_SSL: import smtplib smtp_server = "smtp.163.com" con2 = smtplib.SMTP_SSL() con2.connect(smtp_server, 465) V... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 96d96c6ad1e3234907759a5e634942d2ca0aded8a6ec1693a59d0f2c59c0dac9 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ec50befe6b611eee09bfe878347d87b8d5d2443f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width