Skip to content

Python 3.9.6 causes warning about buffering for binary mode #922

@wvolz

Description

@wvolz

Running Carbon 1.1.8 is causing a warning when starting up under Python 3.9.6:

lib/python3.9/os.py:1023: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used

I believe the issue is caused by the "1" on this line:

self.path, os.O_CREAT | os.O_RDWR, openMode), 'rb+', 1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions