Python en:Appendix Changes for Python 3000
Revision as of 21:32, 3 September 2008
- Vim and Emacs editors
- String - unicode only
- Non-ASCII identifiers allowed
- print() function
- raw_input() becomes input()
- Integer Literal Support and Syntax
- nonlocal statement
- Functions can take * argument (varargs) for lists and keyword-only arguments
- Functions can have annotations (make a passing note?)
- Better explanation of modules, packages and their organization (including __init__.py, etc.)
- String .format() instead of % operator
- Dict method changes
- Built-in set class, in data structures chapter
- Problem Solving
- Classes
- Metaclasses
- Abstract Base Classes
- Not sure if any changes required for New I/O
- Exception handling
- Standard Library - interesting additions
- More
- Unpacking can take * argument
- with statement
- What Next?
- Implement 'replace'
- Mention use of PyPI
- Q&A
- Books & Resources
- Examples
- Tips & Tricks