Message166585
Very minor style nit. In general, it's not considered good style to use mutable objects in default argument values. importlib's _bootstrap.__import__() does just this for its globals, locals, and fromlist arguments.
The implementation currently doesn't abuse this, or allow any of the extensions to abuse, it may be possible in the future to naively cause negative side-effects due to mutate the keyword arguments. It would be better to use non-mutable default values in the argument list. |
|
Date |
User |
Action |
Args |
2012-07-27 17:09:37 | barry | set | recipients:
+ barry, brett.cannon |
2012-07-27 17:09:37 | barry | set | messageid: <1343408977.86.0.620892563203.issue15471@psf.upfronthosting.co.za> |
2012-07-27 17:09:37 | barry | link | issue15471 messages |
2012-07-27 17:09:36 | barry | create | |
|