Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
What may be new in Python 3.4
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Christian Heimes
October 16, 2013
Programming
0
75
What may be new in Python 3.4
Slides from PyCon.DE 2013, Cologne
Christian Heimes
October 16, 2013
Tweet
Share
More Decks by Christian Heimes
See All by Christian Heimes
DevConf.CZ 2024: AI: Open Source will save us (InstructLab)
tiran
0
140
Language Summit 2022: WebAssembly: Python in the browser and beyond
tiran
2
900
Python 3.11 in the web browser – A journey (PyCon DE 2022 Keynote)
tiran
5
5.7k
PyCon LT 2021 Keynote: Ask a core developer anything
tiran
0
130
Nest with Fedora: An Introduction to the FAS Replacement
tiran
0
220
ConFoo 2020: systemd for developers and devops
tiran
1
610
PyCon BY 2020: Introduction to low-level profiling and tracing
tiran
0
150
Hamburg Python Pizza 2019: ssl module 10
tiran
0
210
DevConf.IN 2019: First steps into security engineering
tiran
0
120
Other Decks in Programming
See All in Programming
AI時代の脳疲弊と向き合う ~言語学としてのPHP~
sakuraikotone
1
1.6k
Claude Code Skill入門
mayahoney
0
440
The free-lunch guide to idea circularity
hollycummins
0
370
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
710
「効かない!」依存性注入(DI)を活用したAPI Platformのエラーハンドリング奮闘記
mkmk884
0
260
仕様漏れ実装漏れをなくすトレーサビリティAI基盤のご紹介
orgachem
PRO
7
3.2k
20260320登壇資料
pharct
0
130
AWS×クラウドネイティブソフトウェア設計 / AWS x Cloud-Native Software Design
nrslib
16
3.4k
AI時代のシステム設計:ドメインモデルで変更しやすさを守る設計戦略
masuda220
PRO
6
1.1k
Vuetify 3 → 4 何が変わった?差分と移行ポイント10分まとめ
koukimiura
0
200
Agentic AI: Evolution oder Revolution
mobilelarson
PRO
0
200
コードレビューをしない選択 #でぃーぷらすトウキョウ
kajitack
3
1.2k
Featured
See All Featured
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
180
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
700
Utilizing Notion as your number one productivity tool
mfonobong
4
270
Code Reviewing Like a Champion
maltzj
528
40k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.5k
First, design no harm
axbom
PRO
2
1.1k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
240
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
64
53k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
What's in a price? How to price your products and services
michaelherold
247
13k
Transcript
What's new What may be new in Python 3.4 PyCon.DE
2013, Köln Christian Heimes <
[email protected]
> @ChristianHeimes
OS/2 entfernt Windows XP weiter unterstützt
PEP 435 enum >>> from enum import Enum >>> class
Color(Enum): ... red = 1 ... green = 2 ... blue = 3 (Barry Warsaw, Eli Bendersky, Ethan Furman)
PEP 450 statistics module mean() variations() ... (Steven D'Aprano)
PEP 445 customize Python memory allocators malloc() resize() free() (Victor
Stinner)
PEP 454 tracemalloc module Debugging und Analyse von Speicherverbrauch (Victor
Stinner)
PEP 453 explicit bootstrapping of PIP $ python -m ensurepip
(Donald Stufft, Nick Coghlan)
PEP 427 Wheel Binary Package Format Installationsformat (nicht importierbar, kein
egg-Ersatz) Multiversion / Multiplattform Signed Packages (Daniel Holth)
PEP 425 Compatibility Tags for Built Distributions py33-none-any cp33-cp33m-linux_x86_64 cp33-abi3-win_amd64
(Daniel Holth)
PEP 428 pathlib module (?) >>> p = Path('docs') >>>
for child in p: child ... PosixPath('docs/conf.py') PosixPath('docs/_templates') ... >>> p.isfile() True (Antoine Pitrou)
PEP 431 time zone support pytz für stdlib Updates über
tzdata-update verschoben :( (Lennart Regebro)
PEP 436 Argument Clinic DSL Domain Specific Language für PyArg_ParseTupleAndKeywords()
aka Introspection für builtins (Larry Hastings)
PEP 451 ModuleSpec Type for the Import System module finder
↓ module spec ↓ module loader (Eric Snow)
PEP 452 API for Crypto Hash Function v2.0 digest.name digest.block_size
naming scheme bytes (Christian Heimes, AM Kuchling)
PEP 3156 Async IO support aka „Tulip“ Twisted / Tornado
pluggable event loop + protocol abstraction selector schon in 3.4 (Guido van Rossum, et. al.)
PEP 456 Secure and interchangeable hash algorithm Dan Bernsteins SipHash24
als Hash-Algorithmus für str, bytes, memoryview (Christian Heimes)
PEP 424 A method for exposing a length hint __length_hint__()
(Alex Gaynor)
PEP 447 Add __locallookup__ method to metaclass def lookup(mro_list, name):
for cls in mro_list: if name in cls.__dict__: return cls.__dict__ return NotFound def lookup(mro_list, name): for cls in mro_list: try: return cls.__locallookup__(name) except AttributeError: pass return NotFound (Ronald Oussoren)
Crypto SSL-Modul-Verbesserungen SHA-3 (Keccak) PBKDF2 os.urandom() (Christian Heimes, Antoine Pitrou)
Python Startup tip compared to v3.4.0a3: ### normal_startup ### Min:
0.506533 -> 0.313627: 1.62x faster Avg: 0.582504 -> 0.441796: 1.32x faster Significant (t=19.98) Stddev: 0.02397 -> 0.04366: 1.8213x larger (Antoine Pitrou, Victor Stinner, Christian Heimes)