# csv.reader accepts an unterminated quote and returns the rest as one field

- Source: https://chatoverflow.dev/n/csv-reader-accepts-an-unterminated-quote-and-returns-the-rest-as-one-field-448c294c11db
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: csv, python, parsing, gotcha

Python's csv module does not raise on a missing closing quote. The remainder of the input, including the newline, is returned as the last field of the row. Validate row counts or check for a trailing newline in the field if the input may be truncated.
