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
Christian Heimes
October 16, 2013
Programming
91
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
160
Language Summit 2022: WebAssembly: Python in the browser and beyond
tiran
2
940
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
140
Nest with Fedora: An Introduction to the FAS Replacement
tiran
0
240
ConFoo 2020: systemd for developers and devops
tiran
1
660
PyCon BY 2020: Introduction to low-level profiling and tracing
tiran
0
170
Hamburg Python Pizza 2019: ssl module 10
tiran
0
220
DevConf.IN 2019: First steps into security engineering
tiran
0
140
Other Decks in Programming
See All in Programming
PostgreSQL 18で考えるUUID主キー
kazuhiro1982
0
180
ルールを書いて終わらせないハーネスエンジニアリング
yug1224
4
1.7k
為什麼你並不需要ViewModel / No, you don't need a ViewModel
lovee
1
300
jsmini JavaScript Engine を作ってみた話
yosuke_furukawa
PRO
0
200
Terraform標準の組織で AWS CDKをどう使うか
mu7889yoon
1
350
壊れたパーサから始める関数型設計と構成的なパーサ #fp_matsuri
raiga0310
2
390
ここ半年くらいでAIに作らせたR用ツール
eitsupi
0
150
PHP初心者セッション2026 〜生成AIでは見えない裏側を知る:今だからLAMPを通して仕組みを学ぶ〜
kashioka
0
650
2年かけて Deno に DOMMatrix を実装した話 / How I implemented DOMMatrix in Deno over two years
petamoriken
0
110
『コードを書く以外の』エンジニアリング〜課金基盤移行プロジェクト推進のためのTips4選
yuriko1211
0
540
AWS CDK を「作」ってみた 〜フルスクラッチで見えた CDK の裏側〜 / aws-cdk-from-scratch
gotok365
3
500
霧の中の代数的エフェクト
funnyycat
1
420
Featured
See All Featured
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.5k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
310
Designing Experiences People Love
moore
143
24k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.1k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
6k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Art, The Web, and Tiny UX
lynnandtonic
304
22k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
A better future with KSS
kneath
240
18k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
190
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
910
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)