A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-February/033236.html below:

[Python-Dev] vox populii illiterati

[Python-Dev] vox populii illiterati [Python-Dev] vox populii illiteratiTim Peters tim.one@comcast.net
Sun, 09 Feb 2003 13:02:32 -0500
[Samuele Pedroni]
> does that mean that all the _ and _ or _ in the std lib have been
> written by bots <wink>?

Pretty much, looks like:  simple uses by simple bots, overwhelmingly with
the thingie following "and" being a string literal or global CONSTANT.  This
oddball from imaplib.py wasn't written by anyone/anything on this planet,
though:

l = map(lambda x:'%s: "%s"' % (x[0], x[1][0] and '" "'.join(x[1]) or ''), l)

I doubt it would read better as

l = map(lambda x:'%s: "%s"' % (x[0], '" "'.join(x[1]) if x[1][0] else ''),
l)




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4