Skip to content

Commit 38cca08

Browse files
yoffRasmusWL
andauthored
Apply suggestions from code review
Co-authored-by: Rasmus Wriedt Larsen <[email protected]>
1 parent f1de753 commit 38cca08

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
category: minorAnalysis
33
---
4-
* More precise modelling of several container functions and methods.
4+
* More precise modelling of several container functions (such as `sorted`, `reversed`) and methods (such as `set.add`, `list.append`).

python/ql/lib/semmle/python/frameworks/Stdlib.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4349,7 +4349,7 @@ private module StdlibPrivate {
43494349
output = "Argument[self].ListElement" and
43504350
preservesValue = true
43514351
or
4352-
// transfer taint from new element to this
4352+
// transfer taint from new element to this (TODO: remove in future when taint-handling is more in line with other languages)
43534353
input = "Argument[0]" and
43544354
output = "Argument[self]" and
43554355
preservesValue = false
@@ -4391,7 +4391,7 @@ private module StdlibPrivate {
43914391
output = "Argument[self].SetElement" and
43924392
preservesValue = true
43934393
or
4394-
// transfer taint from new element to this
4394+
// transfer taint from new element to this (TODO: remove in future when taint-handling is more in line with other languages)
43954395
input = "Argument[0]" and
43964396
output = "Argument[self]" and
43974397
preservesValue = false

0 commit comments

Comments
 (0)