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
dv
June 06, 2015
Technology
130
0
Share
CPython's bug in feature that nobody uses
dv
June 06, 2015
More Decks by dv
See All by dv
Python module in Rust
wdv4758h
0
200
First try for CAS, SymPy with codegen
wdv4758h
0
720
Android Memory Leak Profiling - VMFive
wdv4758h
0
320
Vim 手指健康操
wdv4758h
3
940
FreeBSD ports system
wdv4758h
0
150
Other Decks in Technology
See All in Technology
探して_入れて_作って_使う_Agent_Skills___LT.pdf
peintangos
2
160
Javaコミュニティをもっと楽しむための9箇条
takasyou
0
1.3k
Databricks における 生成AIガバナンスの実践
taka_aki
1
310
Oracle Cloud Infrastructure IaaS 新機能アップデート 2026/3 - 2026/5
oracle4engineer
PRO
1
190
noUncheckedIndexedAccess、3時間、1万円。 / noUncheckedIndexedAccess, 3 Hours, 10,000 JPY.
kaonavi
1
290
EventBridge Connection
_kensh
2
280
AI Engineering Summit Tokyo 2026 AIの前に、やることがある 〜医療データ企業の4フェーズ〜
dtaniwaki
0
1.8k
Oracle AI Database@Google Cloud:サービス概要のご紹介
oracle4engineer
PRO
6
1.5k
GoとSIMDとWasmの今。
askua
3
500
実装は速くなった、レビューはどうする? ― 自身のレビューをAIで再現させるサーヴァントエンジニアリングのすゝめ / Implementation got faster. So what about reviews? — An invitation to Servant Engineering: Recreating your own code reviews with AI
nrslib
6
3.7k
正解のないAIプロダクトをどう導くか?dodaが挑む、ユーザーの『本音』を構造化する評価設計と検証のリアル
techtekt
PRO
0
180
Djangoユーザが知っ得なPostgreSQL機能 - 設計の選択肢を増やす / Djang-use-PostgreSQL
soudai
PRO
0
170
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
830
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
440
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
160
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.3k
Everyday Curiosity
cassininazir
0
220
Building an army of robots
kneath
306
46k
Typedesign – Prime Four
hannesfritz
42
3.1k
First, design no harm
axbom
PRO
2
1.2k
The Cult of Friendly URLs
andyhume
79
6.9k
Documentation Writing (for coders)
carmenintech
77
5.4k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
720
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 ?