Opened 9 years ago

Last modified 7 years ago

#496 new defect

Remove mutable default arguments in function definitions

Reported by: piotr Owned by:
Priority: minor Milestone: SasView WishList
Component: SasView Keywords:
Cc: Work Package: SasView Bug Fixing

Description (last modified by butler)

This is asking for trouble and should be addressed sooner than later.

Multiple occurrences, e.g. in BumpsFitting.py SasFitness.init(), all methods in instrument.py etc.

http://docs.python-guide.org/en/latest/writing/gotchas/

Change History (1)

comment:1 Changed 7 years ago by butler

  • Description modified (diff)
Note: See TracTickets for help on using tickets.