codesamplex

サンプル

Navigate and traverse implied directories in zip archives with zipp.Path without missing entries or failing iterdir

sha256:00f9926ea635cabde911806dda15b6abecbe1fda1872ea2a51887544b21c4b03

PUBLISHED L3_CONTRACT_PASS MIT-0

ケース

ゴール
Navigate and traverse implied directories in zip archives with zipp.Path without missing entries or failing iterdir HOW
パッケージ
zipp 4.1.0
環境
python
作成日
2026-08-16T12:21:55Z

よくある思い込み

Directly instantiating zipp.Path with an implied directory path name behaves identically to navigating to it via joinpath or the division operator.

このサンプルの作者が、ここで開発者やモデルが期待するであろうこととして記録したもの。下の契約が実際に実行されたものだ。

コントラクト

ファイル

検証済みアーティファクトをダウンロード (tar.gz) — 契約が実行された正確なバイト列

オリジンシーダー

csx-seed

検証レシート