Title: Brace-based template arguments crash literal parsing with TypeError · Issue #703 · google/python-fire · GitHub
Open Graph Title: Brace-based template arguments crash literal parsing with TypeError · Issue #703 · google/python-fire
X Title: Brace-based template arguments crash literal parsing with TypeError · Issue #703 · google/python-fire
Description: parser.DefaultParseValue('{{name}}') raises TypeError: unhashable type: 'set' on current master. The same happens for {[1]: 2} and {[1]}. These inputs should fall back to the original string, as other values that cannot be parsed as lite...
Open Graph Description: parser.DefaultParseValue('{{name}}') raises TypeError: unhashable type: 'set' on current master. The same happens for {[1]: 2} and {[1]}. These inputs should fall back to the original string, as ot...
X Description: parser.DefaultParseValue('{{name}}') raises TypeError: unhashable type: 'set' on current master. The same happens for {[1]: 2} and {[1]}. These inputs should fall back to the origin...
Opengraph URL: https://github.com/google/python-fire/issues/703
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Brace-based template arguments crash literal parsing with TypeError","articleBody":"`parser.DefaultParseValue('{{name}}')` raises `TypeError: unhashable type: 'set'` on current `master`. The same happens for `{[1]: 2}` and `{[1]}`. These inputs should fall back to the original string, as other values that cannot be parsed as literals do. This currently breaks CLI arguments containing brace-based templates.\n\nI plan to handle `TypeError` alongside the existing literal-parsing exceptions and add regression coverage, while preserving valid dict/set parsing.","author":{"url":"https://github.com/codewithfourtix","@type":"Person","name":"codewithfourtix"},"datePublished":"2026-10-02T04:20:03Z","url":"https://github.com/google/python-fire/issues/703"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:58700378-0af4-cf2b-3608-b42f5f5f455d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A104:245513:39982B:4F70A8:6AFE2F1C |
| html-safe-nonce | 7ba66068f9d89b3fac355e537a77ccfa31b62392b438bbe3d913462aada5f16d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTA0OjI0NTUxMzozOTk4MkI6NEY3MEE4OjZBRkUyRjFDIiwidmlzaXRvcl9pZCI6Ijg5NjU1ODQ5NDgwMTM0MjIzNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 76b1ba6e4d691c9f278bd929a451dfe61a6b8531a21b650ff761ab9d40c48761 |
| hovercard-subject-tag | issue:5672817813 |
| 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/google/python-fire/703/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d3c999fa86fc4380036029e2ac767d2fe5413804da9a86bc1112a3b39807ba75/google/python-fire/issues/703 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d3c999fa86fc4380036029e2ac767d2fe5413804da9a86bc1112a3b39807ba75/google/python-fire/issues/703 |
| og:image:alt | parser.DefaultParseValue('{{name}}') raises TypeError: unhashable type: 'set' on current master. The same happens for {[1]: 2} and {[1]}. These inputs should fall back to the original string, as ot... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | codewithfourtix |
| hostname | github.com |
| expected-hostname | github.com |
| None | d70e31220a67f6376c108d2416fa8e7df854c1065b1672ab7a88ab6dc3a809e2 |
| turbo-cache-control | no-preview |
| go-import | github.com/google/python-fire git https://github.com/google/python-fire.git |
| octolytics-dimension-user_id | 1342004 |
| octolytics-dimension-user_login | |
| octolytics-dimension-repository_id | 82729529 |
| octolytics-dimension-repository_nwo | google/python-fire |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 82729529 |
| octolytics-dimension-repository_network_root_nwo | google/python-fire |
| 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 | ccb88d9c92abe69245b429398c8a57ae87070c7c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width