)]}'
{"bandit/core/constants.py":[{"author":{"_account_id":11861,"name":"Travis McPeak","email":"tmcpeak@us.ibm.com","username":"travis-mcpeak"},"change_message_id":"7e2d4f0796e1936eeda98c3e31e69a3e3d6d3931","unresolved":false,"context_lines":[{"line_number":36,"context_line":"# These are only useful when we have a constant in code. If we"},{"line_number":37,"context_line":"# have a variable we cannot determine if False."},{"line_number":38,"context_line":"# See https://docs.python.org/2/library/stdtypes.html#truth-value-testing"},{"line_number":39,"context_line":"TRUE_VALUES \u003d [True, \u0027True\u0027, 1, 1.0, 1j]"},{"line_number":40,"context_line":"FALSE_VALUES \u003d [None, False, \u0027False\u0027, 0, 0.0, 0j, \u0027\u0027, (), [], {}]"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"# override with \"log_format\" option in config file"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a6eadb0_ccb5257f","line":39,"updated":"2016-12-19 17:07:38.000000000","message":"Don\u0027t know what 1j is, lol","commit_id":"89cc3d2deedc120f432c9f50cb8a38710c38d3a7"},{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"2ab2be93b08c801f3859bff2092519a0953aa987","unresolved":false,"context_lines":[{"line_number":36,"context_line":"# These are only useful when we have a constant in code. If we"},{"line_number":37,"context_line":"# have a variable we cannot determine if False."},{"line_number":38,"context_line":"# See https://docs.python.org/2/library/stdtypes.html#truth-value-testing"},{"line_number":39,"context_line":"TRUE_VALUES \u003d [True, \u0027True\u0027, 1, 1.0, 1j]"},{"line_number":40,"context_line":"FALSE_VALUES \u003d [None, False, \u0027False\u0027, 0, 0.0, 0j, \u0027\u0027, (), [], {}]"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"# override with \"log_format\" option in config file"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a6eadb0_9474de9c","line":39,"updated":"2016-12-20 15:23:40.000000000","message":"Python is very math-y in its roots. Americans tend to learn Complex numbers as using i for the imaginary part of complex number. The rest of the world (and in reality, the entirety of the higher level math world) uses j.\n\nAlso, didn\u0027t this bug say that any \"truth-y\" value will causes shell to be consider True in the subprocess module?\n\nSome truth-y values include:\n\n- True\n- 1\n- 1.0\n- 1j\n- \u0027True\u0027\n- \u0027False\u0027\n- \u0027Some random non-0-legth string\u0027\n- object()\n- object\n- {\u0027a\u0027: 1} (i.e., non-empty dictionary)\n- [1, 2, 3] (i.e., non-empty list)\n- (\u0027a\u0027, \u0027b\u0027, \u0027c\u0027) (i.e., non-empty tuple)\n- {\u0027a\u0027, \u0027b\u0027, \u0027c\u0027} (i.e., non-empty set)\n- import collections; collections (i.e., a non-None binding such as an imported module)\n\nChecking for this will be far harder than checking for the absence of the shell kwarg or the *false-y*-ness of the shell kwarg value.","commit_id":"89cc3d2deedc120f432c9f50cb8a38710c38d3a7"},{"author":{"_account_id":8119,"name":"Eric Brown","email":"eric_wade_brown@yahoo.com","username":"ericwb"},"change_message_id":"72957e38611fa0e5fd055eac045f21c15444a1d8","unresolved":false,"context_lines":[{"line_number":36,"context_line":"# These are only useful when we have a constant in code. If we"},{"line_number":37,"context_line":"# have a variable we cannot determine if False."},{"line_number":38,"context_line":"# See https://docs.python.org/2/library/stdtypes.html#truth-value-testing"},{"line_number":39,"context_line":"TRUE_VALUES \u003d [True, \u0027True\u0027, 1, 1.0, 1j]"},{"line_number":40,"context_line":"FALSE_VALUES \u003d [None, False, \u0027False\u0027, 0, 0.0, 0j, \u0027\u0027, (), [], {}]"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"# override with \"log_format\" option in config file"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a6eadb0_6c033110","line":39,"in_reply_to":"1a6eadb0_ccb5257f","updated":"2016-12-19 17:10:34.000000000","message":"Appending \u0027j\u0027 or \u0027J\u0027 to a numeric literal yields an imaginary number (a complex number with a zero real part) which you can add to an integer or float to get a complex number with real and imaginary parts.\n\nhttps://docs.python.org/3/library/stdtypes.html#typesnumeric","commit_id":"89cc3d2deedc120f432c9f50cb8a38710c38d3a7"}]}
