Favorite non-python language trick?

Torsten Bronger bronger at physik.rwth-aachen.de
Sun Jun 26 06:39:39 EDT 2005


Hallöchen!

Terry Hancock <hancock at anansispaceworks.com> writes:

> [...]
>
> BASIC did it that way, IIRC.

Right.

> [...]
>
> I don't think Python's use of "==" has *ever* helped me find a
> bug, it just creates them.  I really think "=" ought to be
> accepted as well, and "==" deprecated.

However, then you must forbid a=b=1 for assigning to two variables
at the same time.

Tschö,
Torsten.

-- 
Torsten Bronger, aquisgrana, europa vetus



More information about the Python-list mailing list