New submission from Rohan Amin <aminroha...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue44510> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com