[issue46766] Add a class for file operations so a syntax such as open("file.img", File.Write | File.Binary | File.Disk) is possible.
Isaac Johnson
report at bugs.python.org
Tue Feb 15 23:56:32 EST 2022
New submission from Isaac Johnson <isaacsjohnson22 at gmail.com>:
I think it would be great for something like this to be with the IO module. It will improve code readability.
----------
components: Library (Lib)
messages: 413315
nosy: isaacsjohnson22
priority: normal
severity: normal
status: open
title: Add a class for file operations so a syntax such as open("file.img", File.Write | File.Binary | File.Disk) is possible.
versions: Python 3.11
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46766>
_______________________________________
More information about the Python-bugs-list
mailing list