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/2005-September/056532.html below:

[Python-Dev] "and" and "or" operators in Py3.0

[Python-Dev] "and" and "or" operators in Py3.0 [Python-Dev] "and" and "or" operators in Py3.0Gisle Aas gisle at ActiveState.com
Tue Sep 20 08:44:39 CEST 2005
"Raymond Hettinger" <raymond.hettinger at verizon.net> writes:

> 2) When going back and forth between languages, it is easy to forget
> that only Python returns something other than a boolean.

Perl certainly works the same way and I've never heared anybody have
problems with that, but that might be because Perl do have the
expr?v1:v2 triary operator as well.  Most Perl programs use constructs
like "a = v1 or v2 or v3" (or even "a ||= v") to its advantage.

Regards,
Gisle
More information about the Python-Dev mailing list

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