Message273592
| Author | pitrou |
|---|---|
| Recipients | pitrou, rhettinger, serhiy.storchaka, vstinner |
| Date | 2016-08-24.20:36:25 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1472070985.41.0.943107817045.issue27840@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Modifying the keyword arguments dict is quite common so this change would be a heavy compatibility breaker.
A well-known idiom:
def some_function(..., **kwargs):
some_option = kwargs.pop('some_option', None)
# further process kwargs |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2016-08-24 20:36:25 | pitrou | set | recipients: + pitrou, rhettinger, vstinner, serhiy.storchaka |
| 2016-08-24 20:36:25 | pitrou | set | messageid: <1472070985.41.0.943107817045.issue27840@psf.upfronthosting.co.za> |
| 2016-08-24 20:36:25 | pitrou | link | issue27840 messages |
| 2016-08-24 20:36:25 | pitrou | create | |