Open WloHu opened 5 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
LoL whut. Add some additional conditions to your bot for closing issues.
Describe the bug Title.
According to good programming practices function shouldn't mutate passed arguments unless it says so (its name or documentation states that). This is especially wrong if function returns something else than
None
, 100% of the time (read: "has expicitreturn
"). E.g.:random.suffle
mutates passed arguments,dict.update
mutates underlying object,and both return
None
.To Reproduce Steps to reproduce the behavior:
Expected behavior
payload
is not mutated aftercreate_issue
is run.Stack Trace N/A
Version Information Python Interpreter: 3.6.6 jira-python: 2.0.0 OS: Arch Linux IPython (Optional): N/A Other Dependencies: Doesn't matter.
Additional context Not necessary?