Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kansface
on Nov 10, 2013
|
parent
|
context
|
favorite
| on:
Python 2 vs. Python 3: A retrospective
my_dict is a dictionary while items() and friends return an iterable. Your proposed change would lead to ambiguity and confusion- what determines how we should iterate (what does it return, when is it done)? How would we define custom iterables?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: