[Python-ideas] META: Is a PEP a good place to record Python's core design decisions and coding principles?
Ethan Furman
ethan at stoneleaf.us
Mon Mar 25 16:56:08 EDT 2019
Chris replied
> Jonathan Fine opined:
>> Chris Angelico stated:
Chris
-----
>>> It's way WAY simpler than all this. "Iterable" isn't a type, it's a
>>> protocol; in fact, "iterable" just means "has an __iter__ method".
Jonathan
--------
>> I think that for Chris this is a FACT about Python. This is the way Python is.
Jonathan, you just lost some serious credibility. You really should do more research before posting.
Chris
-----
> "For me"? No. It is, pure and simply, a fact about Python. That is how
> the language is defined. It's not "for me" a fact, as if facts might
> not be facts for other people. That isn't how facts work, and it isn't
> how Python works.
And if you want some examples, try here:
https://stackoverflow.com/a/7542261/208880
--
~Ethan~
More information about the Python-ideas
mailing list