Hacker News new | past | comments | ask | show | jobs | submit login

On non-iterable strings: The recursive type problem can be solved, with something like what is proposed in [0]. (I have an implementation of a fix on github linked from that thread, there's edge case fixes and PEP's scare me, but technically it's feasible).

[0]: https://mail.python.org/archives/list/typing-sig@python.org/...




While that may solve the recursive type problem, it doesn't really solve the "iterating over strings is rarely what you actually want to do" problem.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: