An excerpt from bpo-31369: re.RegexFlag and `__all__`

GvR:
----
> One thing I discovered when developing this example: there doesn't seem to be 
a flag to
> represent 0 (zero), i.e. "no flags".  And foo(0) is a type error (even though 
it works
> fine at runtime).

Which raises the question:  Do we want to have a standard name for stdlib Flags 
when no flags are set?

What should we call it?

- NONE

- ZERO

- EMPTY

- ???

--
~Ethan~
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/ACZOZLWJRW7PTVURJWU3LN6UYVTIBENL/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to