PyPI / platformdirs / 4.13.5
platformdirs 4.13.5
- Source
- https://github.com/tox-dev/platformdirs
- Artifact scanned
platformdirs-4.13.5-py3-none-any.whl- Compared with
platformdirs-4.13.4-py3-none-any.whl(0 signals introduced since)- Files
- 13 scanned, 5 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 1 info
- Scan time
- 2.1 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 1 of 1 warn and critical signal; 1 demoted to info.
- Disclude version
- 4.3.0
- Scanned (UTC)
- 2026-10-23 00:54
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
= =likely benign Test helper that temporarily patches PlatformDirs class attributes via setattr and saves originals via vars().Reasoning
The snippet saves class attributes via vars(cls) and then monkeypatches them with setattr, a common test-fixture pattern for overriding platform directory properties and restoring them later. It reads and writes attributes on a known local class with no execution, network, or encoding involved. The dynamic attribute access is a benign testing idiom in a library's own testing module.
Reproduce This Scan
Run disclude locally to verify. These commands scan the published file; the "new in this release" marks come from comparing it with the previous release's file, which they don't repeat. Add --format sarif for SARIF output. Add --llm (with an API key in the environment) to include the LLM review.
|