Please sign in to comment.
Fix issue streaming file upload into CSV parser.
Specifically, Flask (via werkzeug), uses a SpooledTemporaryFile to store the upload data. This file is opened in mode "wb+", which isn't compatible with the csv reader. TextIOWrapper can be used to translated the data, but the fucking SpooledTemporaryFile doesn't implement the fucking IOBase APIs. The issue is being bikeshedded by some assclown whose avatar is literally an ass: python/cpython#3249
- Loading branch information...