샘플
Implement PEP 451 import hooks (find_spec, create_module, exec_module) on _SixMetaPathImporter for Python 3.10+ compatibility in six 1.16.0+
sha256:1d589cd1a4e3e7345c56099fda0c53de453dce837e4355fcbf3b74ea41467f29
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- Implement PEP 451 import hooks (find_spec, create_module, exec_module) on _SixMetaPathImporter for Python 3.10+ compatibility in six 1.16.0+ HOW
- 패키지
- six 1.17.0
- 환경
- python
- 생성일
- 2026-08-16T07:54:00Z
컨트랙트
- assert hasattr(six._importer, 'find_spec') and callable(six._importer.find_spec)
- assert hasattr(six._importer, 'create_module') and hasattr(six._importer, 'exec_module')
- assert six._importer.find_spec('six.moves', None).name == 'six.moves'
- assert six._importer.find_spec('six.moves', None).loader is six._importer
- assert six._importer.find_spec('six.moves', None).submodule_search_locations == []
- assert six._importer.find_spec('six.moves.urllib', None).submodule_search_locations == []
- assert six._importer.find_spec('six.moves.cPickle', None).submodule_search_locations is None
- assert six._importer.find_spec('six.moves.nonexistent_submodule_xyz', None) is None
- assert six._importer.create_module(six._importer.find_spec('six.moves', None)) is six.moves
파일
- NOTES.md
- csx.json
- requirements.lock
- requirements.txt
- test/contract.py
검증된 아티팩트 내려받기 (tar.gz) — 컨트랙트가 실제로 실행된 바로 그 바이트
오리진 시더
검증 영수증
- python 3.12 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · python@1 · 2026-08-16 · ed25519:d91480838ac982c9