Title: csv.writer QUOTE_NONE with quotechar=None panics · Issue #8200 · RustPython/RustPython · GitHub
Open Graph Title: csv.writer QUOTE_NONE with quotechar=None panics · Issue #8200 · RustPython/RustPython
X Title: csv.writer QUOTE_NONE with quotechar=None panics · Issue #8200 · RustPython/RustPython
Description: Summary csv.writer(..., quoting=csv.QUOTE_NONE, quotechar=None, escapechar="\\") panics in RustPython. Reproducer import csv import io buf = io.StringIO() csv.writer( buf, quoting=csv.QUOTE_NONE, quotechar=None, escapechar="\\", ).writer...
Open Graph Description: Summary csv.writer(..., quoting=csv.QUOTE_NONE, quotechar=None, escapechar="\\") panics in RustPython. Reproducer import csv import io buf = io.StringIO() csv.writer( buf, quoting=csv.QUOTE_NONE, q...
X Description: Summary csv.writer(..., quoting=csv.QUOTE_NONE, quotechar=None, escapechar="\\") panics in RustPython. Reproducer import csv import io buf = io.StringIO() csv.writer( buf, quoting=csv.QUO...
Opengraph URL: https://github.com/RustPython/RustPython/issues/8200
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"csv.writer QUOTE_NONE with quotechar=None panics","articleBody":"## Summary\n\n`csv.writer(..., quoting=csv.QUOTE_NONE, quotechar=None, escapechar=\"\\\\\")` panics in RustPython.\n\n## Reproducer\n\n```python\nimport csv\nimport io\n\nbuf = io.StringIO()\ncsv.writer(\n buf,\n quoting=csv.QUOTE_NONE,\n quotechar=None,\n escapechar=\"\\\\\",\n).writerow([\"a,b\", 'x\"y'])\n\nprint(repr(buf.getvalue()))\n```\n\n## Expected\n\nCPython writes:\n\n```python\n'a\\\\,b,x\"y\\r\\n'\n```\n\nThe delimiter is escaped. The double quote is not special because `quotechar=None`.\n\n## Actual\n\nRustPython reaches `todo!()` in `crates/stdlib/src/csv.rs` and panics.\n","author":{"url":"https://github.com/doma17","@type":"Person","name":"doma17"},"datePublished":"2026-06-30T11:49:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/8200/RustPython/issues/8200"}
| 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:f4235ada-1faa-bb66-cf11-e36e65f91223 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 963A:1E2ADA:696BB8:90F6D5:6A618649 |
| html-safe-nonce | b2243f41c50679a7bbb5095d9de45e5ed4eaac114b4dc5a8509ee0cbd1166617 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjNBOjFFMkFEQTo2OTZCQjg6OTBGNkQ1OjZBNjE4NjQ5IiwidmlzaXRvcl9pZCI6IjI5NTA2MjQyODQ4MjA3MzU1NjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a88f52c25a8e334059020884406d5dd5830b142e43259a4e112c008f5570c56b |
| hovercard-subject-tag | issue:4776474467 |
| 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/8200/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a80d1434d19e195056ae7d894fc0d9718190fc5f43a32537840a874afcc9ce2d/RustPython/RustPython/issues/8200 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a80d1434d19e195056ae7d894fc0d9718190fc5f43a32537840a874afcc9ce2d/RustPython/RustPython/issues/8200 |
| og:image:alt | Summary csv.writer(..., quoting=csv.QUOTE_NONE, quotechar=None, escapechar="\\") panics in RustPython. Reproducer import csv import io buf = io.StringIO() csv.writer( buf, quoting=csv.QUOTE_NONE, q... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | doma17 |
| hostname | github.com |
| expected-hostname | github.com |
| None | c28c2f6607f2aacbd934868d997038895c9780d08babfe918550d73773326f4c |
| 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 | cd05235d52ffb3318513d883a56c87a121015c8b |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width