Python 3: the Next Generation (is here already)
summary
Python 3 has been shipping since December 2008 and makes concrete, breaking changes: print()->function, unicode by default with a new bytes/bytearray type, true division by default, unified int/long, and iterator-returning built-ins (map/filter/range and dict view methods). Migration tooling exists: the 2to3 tool, a -3 warning switch, and many 3.x features backported to 2.6/2.7. Early 3.0 performance trails 2.6 but improves in 3.1/3.2; package adoption grows (≈350 then +100 in three months).
AI-written summary · about
chapters (16)
- 0:00Start
- 4:37Why Does Python 3 Even Exist
- 5:02Python Is 20 Years Old
- 8:52Backwards Compatibility
- 12:29Main Differences
- 19:01Unicode String Type
- 21:12Classic Classes
- 24:12Multiple Exceptions
- 26:11Raising Referring Exceptions
- 30:02Integer Types
- 32:20The Division Operator Is Changing
- 33:02Division
- 38:18Memory Conservation
- 46:17Dictionary Comprehensions
- 47:21Sets
- 47:50Set Comprehensions
related talks
26mPython 2 to 3: How to Upgrade and What Features to Start Using
31mPython 3 for People Who Haven't Been Paying Attention
43mPython 3: ten years later
45mWriting Python 2/3 compatible code
31mIntroduce Syntax and History of Python from 2.4 to 3.6
41mYou should switch to Python 3 (two years ago)
44mHow to Build a Plan to Migrate to Python 3
30mWhat PHP learned from Python
