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
CPython's bug in feature that nobody uses
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
dv
June 06, 2015
Technology
0
120
CPython's bug in feature that nobody uses
dv
June 06, 2015
Tweet
Share
More Decks by dv
See All by dv
Python module in Rust
wdv4758h
0
180
First try for CAS, SymPy with codegen
wdv4758h
0
690
Android Memory Leak Profiling - VMFive
wdv4758h
0
300
Vim 手指健康操
wdv4758h
3
910
FreeBSD ports system
wdv4758h
0
150
Other Decks in Technology
See All in Technology
今こそ学びたいKubernetesネットワーク ~CNIが繋ぐNWとプラットフォームの「フラッと」な対話
logica0419
2
130
Codex 5.3 と Opus 4.6 にコーポレートサイトを作らせてみた / Codex 5.3 vs Opus 4.6
ama_ch
0
190
セキュリティについて学ぶ会 / 2026 01 25 Takamatsu WordPress Meetup
rocketmartue
1
310
AIと新時代を切り拓く。これからのSREとメルカリIBISの挑戦
0gm
2
3k
OWASP Top 10:2025 リリースと 少しの日本語化にまつわる裏話
okdt
PRO
3
830
StrandsとNeptuneを使ってナレッジグラフを構築する
yakumo
1
120
Ruby版 JSXのRuxが気になる
sansantech
PRO
0
160
Tebiki Engineering Team Deck
tebiki
0
24k
顧客の言葉を、そのまま信じない勇気
yamatai1212
1
360
Claude_CodeでSEOを最適化する_AI_Ops_Community_Vol.2__マーケティングx_AIはここまで進化した.pdf
riku_423
2
610
[CV勉強会@関東 World Model 読み会] Orbis: Overcoming Challenges of Long-Horizon Prediction in Driving World Models (Mousakhan+, NeurIPS 2025)
abemii
0
150
SRE Enabling戦記 - 急成長する組織にSREを浸透させる戦いの歴史
markie1009
0
150
Featured
See All Featured
GitHub's CSS Performance
jonrohan
1032
470k
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.4k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
270
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
0
260
Art, The Web, and Tiny UX
lynnandtonic
304
21k
What does AI have to do with Human Rights?
axbom
PRO
0
2k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.8k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
180
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
66
37k
KATA
mclloyd
PRO
34
15k
Side Projects
sachag
455
43k
Become a Pro
speakerdeck
PRO
31
5.8k
Transcript
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 ?