[issue37918] What about an enum for open() modes?

Marco Sulla report at bugs.python.org
Fri Aug 30 10:39:42 EDT 2019


Marco Sulla <launchpad.net at marco.sulla.e4ward.com> added the comment:

Well, I'll discuss it in python-ideas. Let me do the testament before... :D

@serhiy.storchaka thank you for the StrEnum tip, but no PyPi package please. It has no sense to add an addional package only for having an enum that should be built-in as in all other languages.

And at most I'll do it myself, thank you ;)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37918>
_______________________________________


More information about the Python-bugs-list mailing list