Closed juliusrain closed 10 years ago
Catch-22 of using None
as the default parameter value, as recommended.
Maybe for this setting it should be "set to 0.0
or 0
?" Or do you think this is something we should solve "once and for all" for every possible setting? I'm not sure how, because even a string that says u'None'
could eventually cause problems.
I'd say set to 0
. Seems like the right thing to do.
The third parameter of 'settings' is defaulted to None, which means print the setting. For a setting like 'offset', once you set it, you can't set it back to None. Since None actually means 'no offset', this might be a problem.