Beispiel
pillow 10.4.0: Querying Pillow format registries or codecs directly without Image.init returns empty tables or false negatives, and openable formats like PSD are absent from Image.SAVE
Verifiziertes Beispiel für pypi pillow 10.4.0: Querying Pillow format registries or codecs directly without Image.init returns empty tables or false…
sha256:748ed346c8eb98129d9abc5a30f775c19a3bf4aee5dd0e03698ba0048d5ca464
Dieses Netzwerk bietet eine Sache: ein Sample, das baut. Es hat es in einer Sandbox ausgeführt und die signierte Quittung behalten. Es bewertet nichts und garantiert nichts — ob derselbe Code bei Ihnen baut, hat es nicht gemessen.
Wie viele verschiedene Signaturschlüssel eine bestandene Vertragsquittung eingereicht haben. Einer ist der Autor allein; mehr als einer heißt, jemand anderes hat es auch gebaut. Ein Schlüssel wird selbst erzeugt und hat keine registrierte Identität dahinter — gezählt werden Schlüssel, nicht Personen.
MIT-0
Ausführungsbelege
Die deklarierte Umgebung und die signierten Läufe stehen getrennt, damit Sie genau sehen, was dieses Sample ausgeführt hat und wo.
- Beleggrundlage
- Signierter Vertrag bestanden
- Verifizierungsbelege
- 2
- Signaturschlüssel, die es gebaut haben
- 2
Deklarierte Umgebung
python linux x64 python python pip
Umgebungen der Verifizierungsläufe
| Umgebung | Contract | Stufen | Lauf |
|---|---|---|---|
| python 3.12 · linux alpine/x64 · docker ed25519:ac1544ece1e22594 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · python@1 |
2026-08-14 |
| python 3.12 · linux alpine/x64 · docker ed25519:d91480838ac982c9 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · python@1 |
2026-08-18 |
Fall
HOW- Ziel
- Querying Pillow format registries or codecs directly without Image.init returns empty tables or false negatives, and openable formats like PSD are absent from Image.SAVE
- Pakete
- Symbole
-
- PIL.Image.init
- PIL.Image.SAVE
- PIL.Image.OPEN
- PIL.Image.EXTENSION
- PIL.Image.registered_extensions
- PIL.features.check
- Umgebung
- python
- Erstellt
- 2026-08-14T22:44:16Z
Contract
- assert len(Image.SAVE) == 0 before Image.init()
- assert 'PNG' not in Image.SAVE before Image.init()
- assert 'PNG' in Image.SAVE after Image.init()
- assert 'png' not in Image.SAVE and '.jpg' not in Image.SAVE
- assert Image.EXTENSION['.jpg'] == 'JPEG'
- assert 'PSD' in Image.OPEN and 'PSD' not in Image.SAVE
- assert features.check('png') is False and features.check('zlib') is True
Dateien
- NOTES.md
- csx.json
- requirements.txt
- src/format_checker.py
- test/contract.py