Title: optparse doesn’t disallow adding one-dash long options (“-option”) · Issue #48890 · python/cpython · GitHub
Open Graph Title: optparse doesn’t disallow adding one-dash long options (“-option”) · Issue #48890 · python/cpython
X Title: optparse doesn’t disallow adding one-dash long options (“-option”) · Issue #48890 · python/cpython
Description: BPO 4640 Nosy @vstinner, @merwok, @bitdancer Files test_optparse.py.diff: tests covering the described behavior Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state. Show m...
Open Graph Description: BPO 4640 Nosy @vstinner, @merwok, @bitdancer Files test_optparse.py.diff: tests covering the described behavior Note: these values reflect the state of the issue at the time it was migrated and mig...
X Description: BPO 4640 Nosy @vstinner, @merwok, @bitdancer Files test_optparse.py.diff: tests covering the described behavior Note: these values reflect the state of the issue at the time it was migrated and mig...
Opengraph URL: https://github.com/python/cpython/issues/48890
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"optparse doesn’t disallow adding one-dash long options (“-option”)","articleBody":"BPO | [4640](https://bugs.python.org/issue4640)\n--- | :---\nNosy | @vstinner, @merwok, @bitdancer\nFiles | \u003cli\u003e[test_optparse.py.diff](https://bugs.python.org/file26338/test_optparse.py.diff \"Uploaded as text/plain at 2012-07-10.02:21:32 by hac.man\"): tests covering the described behavior\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 = None\nclosed_at = \u003cDate 2012-07-16.00:15:41.703\u003e\ncreated_at = \u003cDate 2008-12-12.14:14:42.180\u003e\nlabels = ['invalid', 'type-bug', 'library']\ntitle = 'optparse doesn\\xe2\\x80\\x99t disallow adding one-dash long options (\\xe2\\x80\\x9c-option\\xe2\\x80\\x9d)'\nupdated_at = \u003cDate 2012-07-16.00:15:41.616\u003e\nuser = 'https://bugs.python.org/kszawala'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2012-07-16.00:15:41.616\u003e\nactor = 'r.david.murray'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2012-07-16.00:15:41.703\u003e\ncloser = 'r.david.murray'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2008-12-12.14:14:42.180\u003e\ncreator = 'kszawala'\ndependencies = []\nfiles = ['26338']\nhgrepos = []\nissue_num = 4640\nkeywords = ['patch']\nmessage_count = 18.0\nmessages = ['77668', '77683', '77856', '77893', '78320', '108637', '108638', '108656', '108699', '108701', '108702', '109213', '109217', '111294', '111302', '165143', '165557', '165558']\nnosy_count = 8.0\nnosy_names = ['ggenellina', 'vstinner', 'LambertDW', 'eric.araujo', 'kszawala', 'r.david.murray', 'python-dev', 'hac.man']\npr_nums = []\npriority = 'normal'\nresolution = 'not a bug'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue4640'\nversions = ['Python 3.1', 'Python 2.7', 'Python 3.2']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/kszawala","@type":"Person","name":"kszawala"},"datePublished":"2008-12-12T14:14:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":18},"url":"https://github.com/48890/cpython/issues/48890"}
| 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:b9855fcc-b102-c8c3-c262-5090b0a00f63 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D244:1C39AB:A59ADE:DFE772:6A515F8B |
| html-safe-nonce | 1ef752c0a3e3c546a0d4925be481fe35500d9b18f237e326934d685d444ac5e9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjQ0OjFDMzlBQjpBNTlBREU6REZFNzcyOjZBNTE1RjhCIiwidmlzaXRvcl9pZCI6Ijc2ODY4MTc5MjA4MTMyMTg2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 857b13297c925a7f70d9f149a1ee9c63ac2f8e691b4515ddb7f48234f62f0009 |
| hovercard-subject-tag | issue:1198838644 |
| 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/48890/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d4ae8afc66d4f54014f20e09c2e71b2e314c814d18c2001128f3e91e18319b08/python/cpython/issues/48890 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d4ae8afc66d4f54014f20e09c2e71b2e314c814d18c2001128f3e91e18319b08/python/cpython/issues/48890 |
| og:image:alt | BPO 4640 Nosy @vstinner, @merwok, @bitdancer Files test_optparse.py.diff: tests covering the described behavior Note: these values reflect the state of the issue at the time it was migrated and mig... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kszawala |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 2eeb434949a926fad21064b4d395a54759f7a0b2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width