Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is a fix for Python 3.9.6 causes warning about buffering for binary mode graphite-project#922, setting this to 0 is the default behaviour and results in the default buffer size being used. The warning was released in Python 3.8.0 and is still present in 3.10.13 (tested, works and logging works fine) and is still present in 3.12.2 (https://github.com/python/cpython/blob/v3.12.2/Lib/_pyio.py#L231) The version check may be excessive because who would be running < 3.8.0, but you never know.
- Loading branch information