Movatterモバイル変換


[0]ホーム

URL:


[Python-Dev] ACCEPTED: PEP 285

Gerald S. Williamsgsw@agere.com
Thu, 4 Apr 2002 08:40:32 -0500


Interesting how the posts seem to be actually picking up. :-)One concern about testing for "== True" is that it might pushnewbies into using "is True" instead. Generally, "is True" iseven more dangerous than "== True" unless you're testing tosee if it's a boolean at all (in which case there should be atest for "is False"), or doing something rather esoteric.-Jerry-O Gerald S. Williams, 55A-134A-E   : mailto:gsw@agere.com O--O AGERE SYSTEMS, 6755 SNOWDRIFT RD : office:610-712-8661  O--O ALLENTOWN, PA, USA 18106-9353    : mobile:908-672-7592  O-


[8]ページ先頭

©2009-2025 Movatter.jp