Beispiel
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
sha256:fc6a02e64d5164eb35ee23154518a592d40222727edf847ce4569e62574b51f3
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Fall
- 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 HOW
- Pakete
- python-dotenv 1.2.2
- Umgebung
- python
- Erstellt
- 2026-08-16T07:54:34Z
Contract
- set_key on a symlinked .env with default follow_symlinks=False replaces the symlink with a regular file and leaves target unmodified
- set_key on a symlinked .env with follow_symlinks=True preserves the symlink and mutates the target file
- unset_key on a symlinked .env with default follow_symlinks=False replaces the symlink with a regular file and leaves target unmodified
- unset_key on a symlinked .env with follow_symlinks=True preserves the symlink and mutates the target file
- load_dotenv returns False and skips os.environ population when PYTHON_DOTENV_DISABLED is set to truthy values
- 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
Verifiziertes Artefakt herunterladen (tar.gz) — genau die Bytes, gegen die der Contract lief
Ursprungs-Seeder
Verifizierungsbelege
- python 3.12 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · python@1 · 2026-08-16 · ed25519:d91480838ac982c9