Eric V. Smith <e...@trueblade.com> added the comment:

I'm not asking to be difficult, I'm asking because a full specification would 
be required in order to implement this.

For example, you're excluding the "compresslevel" parameter, so presumably 
you'd want the default of 9, which is the slowest option. I'm not sure this is 
a good idea. Shouldn't the caller be able to specify this? If not, why not?

In any event, I think the best thing to do is to let the caller use any 
compression they want, and allow them full control over the compression 
parameters.

Unless, of course, there's any documented standard for json compression (even a 
de facto standard would be interesting to know about).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34393>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to