On Tue, Oct 20, 2020 at 8:57 AM Antal Gábor <[email protected]>
wrote:

> My idea is to return a list with an empty string in all cases mentioned
> above.
>

This will never be fixed in 3.x, but if it's fixed in The Version That Must
Not Be Named, my preference would be that they all return [] because then
it's easy to write "or ['']" if want the other behavior, while it's much
more of a pain to fix the other way around.
_______________________________________________
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/SRGPDWIBXPZ4WZLFTW2ADESPAG4B56ZQ/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to