/
valemobil
/
python-future
Обзор
Документация
Войти
/
valemobil
/
python-future
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v0.10.0
docs/why_python3.rst
34 строки
794 B
Ed Schofield
Update docs: use sphinx-bootstrap and include basic auto-generated API docs
14 ноя 2013, 16:25
14 ноя 2013, 16:25
e0c4734
Код
Авторство
О чём код?
.. _why-python3: Why Python 3? ============= - Python 2.7 is the final Python 2.x release. Python 3.x is the future. The Python ecosystem needs to consolidate. A split or schism between different incompatible versions is not healthy for growing the community. - Function annotations - Decimal module 100x faster. As fast as floats. - Easier to learn. (Less cruft in language and stdlib, more consistency, better docstrings, etc.) - Much safer handling of unicode text and encodings: fewer bugs. - More memory efficiency (shared dict keys (PEP 412) and space-efficient Unicode representation (PEP 393)) - Exception chaining New features ------------ Standard library: ~~~~~~~~~~~~~~~~~ - SSL contexts in http.client - Non-arguments for Python 3 ========================== -