> On 28 Aug 2021, at 07:14, Christopher Barker <[email protected]> wrote:
> 
> 
> SciPy should probably also be a data-point, it uses:
> 
>     nan_policy : {'propagate', 'raise', 'omit'}, optional
> 
> +1
> 
> Also +1 on a string flag, rather than an Enum.

Why do you prefer strings for the options rather than an Enum?  The enum 
clearly documents what the valid options are for the option.

Ronald
—

Twitter / micro.blog: @ronaldoussoren
Blog: https://blog.ronaldoussoren.net/

_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/YXLCQ3IWWSSNOINURSCZOZUCVDNJ7WVU/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to