[issue44510] file.read() UnicodeDecodeError with large files on Windows
Rohan Amin
report at bugs.python.org
Fri Jun 25 19:06:12 EDT 2021
New submission from Rohan Amin <aminrohan64 at gmail.com>:
When using file.read() with a large text file,
there is a UnicodeDecodeError. I expected file.read(1) to read one character from the file. It works with a smaller text file. I experienced this bug on Windows 10 version 20H2. My teacher couldn't reproduce this bug on Linux.
----------
components: IO, Unicode, Windows
files: Bug Reproduction Code.zip
messages: 396532
nosy: RohanA, ezio.melotti, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
priority: normal
severity: normal
status: open
title: file.read() UnicodeDecodeError with large files on Windows
type: behavior
versions: Python 3.6, Python 3.9
Added file: https://bugs.python.org/file50126/Bug Reproduction Code.zip
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44510>
_______________________________________
More information about the Python-bugs-list
mailing list