Title: ValueError: invalid conversion flag · Issue #6533 · RustPython/RustPython · GitHub
Open Graph Title: ValueError: invalid conversion flag · Issue #6533 · RustPython/RustPython
X Title: ValueError: invalid conversion flag · Issue #6533 · RustPython/RustPython
Description: Hi! After latest fixes xonsh is working more and more stable so I've mentioned RustPython in xonsh README, thanks! rc.xsh: @aliases.register def _als(): a = 1 b = f"{a!r}" # `!r` produces the exception run: rustpython -V # Python 3.13.0a...
Open Graph Description: Hi! After latest fixes xonsh is working more and more stable so I've mentioned RustPython in xonsh README, thanks! rc.xsh: @aliases.register def _als(): a = 1 b = f"{a!r}" # `!r` produces the excep...
X Description: Hi! After latest fixes xonsh is working more and more stable so I've mentioned RustPython in xonsh README, thanks! rc.xsh: @aliases.register def _als(): a = 1 b = f"{a!r}" # `!r` prod...
Opengraph URL: https://github.com/RustPython/RustPython/issues/6533
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ValueError: invalid conversion flag","articleBody":"Hi! After latest fixes xonsh is working more and more stable so I've mentioned RustPython in xonsh README, thanks!\n\nrc.xsh:\n```xsh\n@aliases.register\ndef _als():\n a = 1\n b = f\"{a!r}\" # `!r` produces the exception\n```\nrun:\n```xsh\nrustpython -V\n# Python 3.13.0alpha (heads/master:40acd5529\n\n/.local/bin/rust-xonsh --rc rc.xsh\n```\nresult:\n```xsh\nTraceback (most recent call last):\n File \"/Users/pc/.local/lib/rustpython3.13/site-packages/xonsh/main.py\", line 511, in main\n args = premain(argv)\n File \"/Users/pc/.local/lib/rustpython3.13/site-packages/xonsh/main.py\", line 452, in premain\n start_services(shell_kwargs, args, pre_env=pre_env)\n File \"/Users/pc/.local/lib/rustpython3.13/site-packages/xonsh/main.py\", line 375, in start_services\n _load_rc_files(shell_kwargs, args, env, execer, ctx)\n File \"/Users/pc/.local/lib/rustpython3.13/site-packages/xonsh/main.py\", line 330, in _load_rc_files\n rcfiles=rc, rcdirs=rcd, execer=execer, ctx=ctx, env=env, login=login\n File \"/Users/pc/.local/lib/rustpython3.13/site-packages/xonsh/environ.py\", line 2656, in xonshrc_context\n rcfile, ctx, env, execer=execer, login=login\n File \"/Users/pc/.local/lib/rustpython3.13/site-packages/xonsh/environ.py\", line 2714, in xonsh_script_run_control\n with swap_values(ctx, updates):\n File \"/Users/pc/.local/lib/rustpython3.13/site-packages/xonsh/environ.py\", line 2718, in xonsh_script_run_control\n exc_info = sys.exc_info()\n File \"/Users/pc/.local/lib/rustpython3.13/site-packages/xonsh/environ.py\", line 2716, in xonsh_script_run_control\n exc_info = run_script_with_cache(filename, execer, ctx)\n File \"/Users/pc/.local/lib/rustpython3.13/site-packages/xonsh/codecache.py\", line 176, in run_script_with_cache\n ccode = compile_code(filename, code, execer, glb, loc, mode)\n File \"/Users/pc/.local/lib/rustpython3.13/site-packages/xonsh/codecache.py\", line 138, in compile_code\n execer.filename = old_filename\n File \"/Users/pc/.local/lib/rustpython3.13/site-packages/xonsh/codecache.py\", line 136, in compile_code\n raise\n File \"/Users/pc/.local/lib/rustpython3.13/site-packages/xonsh/codecache.py\", line 134, in compile_code\n ccode = execer.compile(code, glbs=glb, locs=loc, mode=mode, filename=filename)\n File \"/Users/pc/.local/lib/rustpython3.13/site-packages/xonsh/execer.py\", line 148, in compile\n raise e\n File \"/Users/pc/.local/lib/rustpython3.13/site-packages/xonsh/execer.py\", line 137, in compile\n code = compile(tree, filename, mode)\nValueError: invalid conversion flag\n```","author":{"url":"https://github.com/anki-code","@type":"Person","name":"anki-code"},"datePublished":"2025-12-25T16:58:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/6533/RustPython/issues/6533"}
| 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:193eb8ae-faf5-b930-77bd-045ed0bce8f4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C61A:39E51F:1B90120:23D2FBA:696B38A3 |
| html-safe-nonce | 49c2c25c399906573e78f9a31bf51d21f2c822358b7ea558eba49b9a57946db9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjFBOjM5RTUxRjoxQjkwMTIwOjIzRDJGQkE6Njk2QjM4QTMiLCJ2aXNpdG9yX2lkIjoiMjAyNzE0NTExMjg4MDYyNTgyNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fda262ba720d9653747ded6a319343008506b25bfcf0219cf7233825a94e1ab6 |
| hovercard-subject-tag | issue:3762199741 |
| 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/RustPython/RustPython/6533/issue_layout |
| twitter:image | https://opengraph.githubassets.com/89f2392678256f3d0b724c069286b7708e06b70f0d6c9f74ed5f155abc1ebde3/RustPython/RustPython/issues/6533 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/89f2392678256f3d0b724c069286b7708e06b70f0d6c9f74ed5f155abc1ebde3/RustPython/RustPython/issues/6533 |
| og:image:alt | Hi! After latest fixes xonsh is working more and more stable so I've mentioned RustPython in xonsh README, thanks! rc.xsh: @aliases.register def _als(): a = 1 b = f"{a!r}" # `!r` produces the excep... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | anki-code |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width