[issue34686] Add `-r`, as opposed to `-R` to Python core interpreter

Benjamin Peterson report at bugs.python.org
Sat Sep 15 13:24:30 EDT 2018


Benjamin Peterson <benjamin at python.org> added the comment:

On Fri, Sep 14, 2018, at 23:59, Erwan Le Pape wrote:
> 
> Erwan Le Pape <lepaperwan3 at gmail.com> added the comment:
> 
> Great! My only concern with that is marshalling of untrusted data at 
> runtime (I know, you shouldn't do that) can become a much more expensive 
> operation.
> 
> Is there any internal use of marshal beyond .pycs used at runtime by the 
> core interpreter that might be affected by such a change?

Writing pycs is the only supported use of marhsal.

> 
> If not, it seems (to me) an acceptable modification of marshal and I'll 
> submit a PR for it.

What exactly are you proposing?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34686>
_______________________________________


More information about the Python-bugs-list mailing list