Message232887
| Author |
serhiy.storchaka |
| Recipients |
alexandre.vassalotti, barry, josh.r, pitrou, serhiy.storchaka |
| Date |
2014年12月18日.15:58:05 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1418918286.0.0.469452005046.issue22995@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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? |
|
History
|
|---|
| 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: <1418918286.0.0.469452005046.issue22995@psf.upfronthosting.co.za> |
| 2014年12月18日 15:58:05 | serhiy.storchaka | link | issue22995 messages |
| 2014年12月18日 15:58:05 | serhiy.storchaka | create |
|