cpython/Misc/NEWS.d/next/Library/2024-07-22-08-57-28.gh-issu...

2 lines
165 B
ReStructuredText

``Pathlib.read_bytes`` no longer opens the file in Python's buffered I/O mode. This reduces overheads as the code reads a file in whole leading to a modest speedup.