> I want to fix an error in some code I have installed, ... Apart from all the reasons why it's bad (see the Python Zen #10). One way to do it is: return [i or '' for i in a] -- http://mail.python.org/mailman/listinfo/python-list
- What's the tidy/elegant way to protect this against ... tinnews
- Re: What's the tidy/elegant way to protect this... Paul Rubin
- Re: What's the tidy/elegant way to protect this... Chris Rebert
- Re: What's the tidy/elegant way to protect this... Roy Smith
- Re: What's the tidy/elegant way to protect this... Miki Tebeka
- Re: What's the tidy/elegant way to protect this... Terry Reedy
- Re: What's the tidy/elegant way to protect this... Jean-Michel Pichavant
- Re: What's the tidy/elegant way to protect this... Marco Nawijn