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
CPython's bug in feature that nobody uses
Search
dv
June 06, 2015
Technology
140
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
CPython's bug in feature that nobody uses
dv
June 06, 2015
Transcript
18 slides
CPython's bug in feature that nobody uses Chiu-Hsiang Hsu
[email protected]
nickname : dv (currently) undergraduate student
CPython the de-facto reference Python implementation
tarfile module to r/w tar archives include those using gzip,
bz2, lzma compression
tarfile module add CLI since Python 3.4
It’s similar to “tar” command in Unix-like system
Comparison tarfile module python -m tarfile -c files.tar files/ python
-m tarfile -c files.tar.gz files/ python -m tarfile -c files.tar.bz2 files/ python -m tarfile -c files.tar.xz files/ tar command tar cf files.tar files/ tar zcf files.tar.gz files/ tar jcf files.tar.bz2 files/ tar Jcf files.tar.xz files/
tarfile module can choose compression algorithm automatically, but tar command
can’t
seems a little bit smarter ?
But
It’s broken :(
It won’t use any compression algorithm !!! ? ? ?
None
tarfile.py with bug without bug
tarfile.py with bug without bug
I hate (love) those dot
fix in CPython 3.4.4 and 3.5
fix in CPython 3.4.4 and 3.5 but who cares this
feature XD ?
More Decks by dv
See All by dv
Python module in Rust
wdv4758h
0
220
First try for CAS, SymPy with codegen
wdv4758h
0
750
Android Memory Leak Profiling - VMFive
wdv4758h
0
340
Vim 手指健康操
wdv4758h
3
960
FreeBSD ports system
wdv4758h
0
190
Other Decks in Technology
See All in Technology
OSSとミニPCと私
anatofuz
1
130
専門家に使ってもらうAIプロダクトをつくる - 病院の医事課向けDPCコーディング支援システムの設計と評価
hagino3000
4
1.1k
AIが学べる子供の夏休みの自由研究教材を作ったが空振りだった話
yoshimura_datam
0
120
Platform Engineering をベースとした Agentic Software Factory の実践
110y
3
1.1k
IVRy における AI 時代のデータプロダクトと事業開発
ivry_presentationmaterials
0
140
その修正で本当に速くなったのか? k6とOpenTelemetryで確かめる性能改善 / Performance review with k6 and OpenTelemetry
ymotongpoo
3
490
一口馬主の募集馬をAIで診断してみた
yoshimura_datam
0
120
メディアアートを〈拡張〉する——器官学と個体化論を手がかりに
_kotobuki_
1
410
品質を積み上げられるようにする
goyoki
6
2.5k
New Relicのアラート対応をClaude Codeで自動修正するワークフローを作った話
manabuseki
3
750
Ignite 2026 Security
babaneko
0
120
【Oracle AI SPOTLIGHT ウェビナー】AI時代、狙われるデータと止められない業務をどう守るか?
oracle4engineer
PRO
1
170
Featured
See All Featured
YesSQL, Process and Tooling at Scale
rocio
174
15k
Paper Plane
katiecoart
PRO
6
55k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
700
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k
How STYLIGHT went responsive
nonsquared
100
6.4k
How to make the Groovebox
asonas
2
2.6k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
560
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Producing Creativity
orderedlist
PRO
348
41k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
2
4.1k
Deep Space Network (abreviated)
tonyrice
0
430