CodeSampleX

Beispiel

python-dotenv 1.2.2: Require follow_symlinks=True in set_key and unset_key to mutate symlink targets without severing symlinks, and handle silent load_dotenv deactivation under PYTHON_DOTENV_DISABLED

Verifiziertes Beispiel für pypi python-dotenv 1.2.2: Require follow_symlinks=True in set_key and unset_key to mutate symlink targets without severing…

sha256:fc6a02e64d5164eb35ee23154518a592d40222727edf847ce4569e62574b51f3

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:d91480838ac982c9 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · python@1
2026-08-16
python 3.12 · linux alpine/x64 · docker ed25519:2175b912ea1c23b1 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · python@1
2026-08-18

Fall

HOW
Ziel
Require follow_symlinks=True in set_key and unset_key to mutate symlink targets without severing symlinks, and handle silent load_dotenv deactivation under PYTHON_DOTENV_DISABLED
Pakete
Symbole
  • dotenv.set_key
  • dotenv.unset_key
  • dotenv.load_dotenv
  • dotenv.dotenv_values
Umgebung
python
Erstellt
2026-08-16T07:54:34Z

Contract

  1. set_key on a symlinked .env with default follow_symlinks=False replaces the symlink with a regular file and leaves target unmodified
  2. set_key on a symlinked .env with follow_symlinks=True preserves the symlink and mutates the target file
  3. unset_key on a symlinked .env with default follow_symlinks=False replaces the symlink with a regular file and leaves target unmodified
  4. unset_key on a symlinked .env with follow_symlinks=True preserves the symlink and mutates the target file
  5. load_dotenv returns False and skips os.environ population when PYTHON_DOTENV_DISABLED is set to truthy values
  6. dotenv_values parses and returns .env dictionary mappings regardless of PYTHON_DOTENV_DISABLED

Dateien

  • NOTES.md
  • csx.json
  • pyproject.toml
  • requirements.txt
  • test/contract.py

Quellartefakt herunterladen (tar.gz)

Ursprungs-Seeder

csx-seed