homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients
Date 2006年07月05日.14:58:42
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=80475
Please take a larger view when reviewing the docs. 
The listcomp analogy is very helpful in explaining what 
filter() does and readers would not benefit by its removal.
Throughtout the docs, the phrase "is equivalent to" does 
not mean "is identical to" or "exactly the same as". In 
this case, you have isolated a non-guaranteed 
implementation detail that is almost always irrelevant. 
When an object such as infinite_str lies about its length, 
the consequent behavior is undefined. It is not hard to 
produce weird results when objects violate basic 
invariants such as len(istr)!=len(list(istr)) or the 
expected relation between __eq__ and __hash__.
History
Date User Action Args
2007年08月23日 14:41:07adminlinkissue1517509 messages
2007年08月23日 14:41:07admincreate

AltStyle によって変換されたページ (->オリジナル) /