Opened 9 years ago
Closed 9 years ago
#27235 closed Cleanup/optimization (fixed)
Avoid using mutable default arguments where possible
| Reported by: | Chris Lamb | Owned by: | nobody |
|---|---|---|---|
| Component: | Uncategorized | Version: | 1.10 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
eg. def foo(x=[])
Note:
See TracTickets
for help on using tickets.
https://github.com/django/django/pull/7253