Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
What may be new in Python 3.4
Search
Christian Heimes
October 16, 2013
Programming
100
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
What may be new in Python 3.4
Slides from PyCon.DE 2013, Cologne
Christian Heimes
October 16, 2013
More Decks by Christian Heimes
See All by Christian Heimes
DevConf.CZ 2024: AI: Open Source will save us (InstructLab)
tiran
0
170
Language Summit 2022: WebAssembly: Python in the browser and beyond
tiran
2
970
Python 3.11 in the web browser – A journey (PyCon DE 2022 Keynote)
tiran
5
5.8k
PyCon LT 2021 Keynote: Ask a core developer anything
tiran
0
150
Nest with Fedora: An Introduction to the FAS Replacement
tiran
0
260
ConFoo 2020: systemd for developers and devops
tiran
1
670
PyCon BY 2020: Introduction to low-level profiling and tracing
tiran
0
180
Hamburg Python Pizza 2019: ssl module 10
tiran
0
230
DevConf.IN 2019: First steps into security engineering
tiran
0
150
Other Decks in Programming
See All in Programming
見えないものを探る要求要件定義に必要な基本的思考 / invisible-requirement-thinking
minodriven
15
8.5k
ハーネス設計入門 〜 基礎知識の整理から実務へのステップアップ 〜
kinopeee
28
32k
残高管理から台帳サービスへの進化
artoy
1
200
機械に任せるテスト、人が見るテスト ⽣成AIで引き直した、運⽤保守フェーズの線引き
dske104
0
190
個人開発者よ、Honoを使え(おじさんver)
tanahiro2010
2
260
ソニーのクラウド共通基盤の変遷とAI時代の開発スタイルに合わせた進化 / The Journey of Sony’s Common Cloud Platform and Its Evolution for AI-Native Development
kenjiyoneyama
0
270
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
190
AI主導のプログラミング学習アプリを作ってみた
econanringo
0
180
JIS keyboard support in Omarchy
lef237
0
110
Domain-Driven Transformation
hschwentner
2
2.3k
コードレビューのボトルネックを"する側"と"される側"の両面から解消する
yub0n
2
1.6k
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
790
Featured
See All Featured
What the history of the web can teach us about the future of AI
inesmontani
PRO
2
740
RailsConf 2023
tenderlove
30
1.6k
How STYLIGHT went responsive
nonsquared
100
6.3k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
340
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
620
WCS-LA-2024
lcolladotor
0
890
KATA
mclloyd
PRO
35
16k
Mobile First: as difficult as doing things right
swwweet
225
10k
How GitHub (no longer) Works
holman
316
150k
A designer walks into a library…
pauljervisheath
211
25k
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)