4 ms·
This is excellent. The first one is totally unknown to me. I wish there is a comprehensive changes between 2.7 and 3.X with code, release notes is okay but fall
by yeukhon 11y ago
This is excellent. The first one is totally unknown to me. I wish there is a comprehensive changes between 2.7 and 3.X with code, release notes is okay but falls under different version and hard to grasp at once.
It's really hard to keep up with language changes and implementation changes.
EDIT: I am so surprise at the number of downvotes in this HN thread. I bet there is some haters out there today :-)
- maxerickson 11y agoThe first one was a headline change in the Python 3000 release notes: https://docs.python.org/3.0/whatsnew/3.0.html https://docs.python.org/3.0/whatsnew/3.0.html The other items in the article are also mentioned there, but not as headline items. The great majority of behavioral changes from 2.7 to 3.x should be listed in that one document, there was a freeze on language changes for several of the 3.x releases.
- yeukhon 11y agoThat level of code demonstration from the author is more comprehensive than the documentation in what's news. A lot of the PEPs are way too verbose for a quick bite. PEP are great for a weekend read, but for a quick summary, OP does a better job.
- maxerickson 11y agoI wasn't saying that you should be satisfied with just the release notes, I was pointing out that you were overstating the difficulty in finding an overview of the changes that went into Python 3. There are lots of other changes since then, but most of them are additions (that don't directly impact old code) or to libraries or whatever.
- redsymbol 11y agoDoes this serve well enough as a comprehensive diff? http://migrateup.com/whats-really-new-in-python-3/ http://migrateup.com/whats-really-new-in-python-3/ (Actually, maybe not, because it doesn't have code examples.)