On Tue, Oct 20, 2020 at 8:57 AM Antal Gábor <antalgabor1...@gmail.com>
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 -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/SRGPDWIBXPZ4WZLFTW2ADESPAG4B56ZQ/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to