Files
codeql/python/ql/lib/change-notes/2022-11-15-dictionary-read-store-steps.md
Rasmus Wriedt Larsen b56869551d Python: Support more dictionary read/store steps
The `setdefault` behavior is kinda strange, but no reason not to support
it.
2023-04-21 14:18:50 +02:00

267 B

category
category
minorAnalysis
  • Added more content-flow/field-flow for dictionaries, by adding support for reads through mydict.get("key") and mydict.setdefault("key", value), and store steps through dict["key"] = value and mydict.setdefault("key", value).