Message232887
Here is sample patch which adds two restrictions. Default reduce method for protocol >= 2 will forbid pickling objects:
1) When tp_new == NULL.
2) Builtins without any of pickle-related methods: __getnewargs_ex__, __getnewargs__ or __getstate__.
Are there any other ideas? |
|
| Date |
User |
Action |
Args |
| 2014-12-18 15:58:06 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, barry, pitrou, alexandre.vassalotti, josh.r |
| 2014-12-18 15:58:06 | serhiy.storchaka | set | messageid: <[email protected]> |
| 2014-12-18 15:58:05 | serhiy.storchaka | link | issue22995 messages |
| 2014-12-18 15:58:05 | serhiy.storchaka | create | |
|