Hacker News new | ask | show | jobs
by camccann 6101 days ago
More significantly, continuations are a strict superset of coroutines, so standard Python is actually less powerful in this regard than languages with full continuation support, which if memory serves me includes Ruby, Smalltalk, and Scheme among others.
2 comments

Python has coroutines as of 2.5: http://www.python.org/dev/peps/pep-0342/
Unfortunately, continuations are not supported in Ruby as of 1.9. They might come back in 2.0 though.