Message259269
| Author |
martin.panter |
| Recipients |
docs@python, martin.panter, nadeem.vawda, palaviv, twouters |
| Date |
2016年01月30日.21:00:40 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1454187640.38.0.836688032273.issue26244@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I’m not sure that is perfectly correct. It really does default to -1, and that is passed to the underlying zlib library (-1 = Z_DEFAULT_COMPRESSION). It is the zlib library that decides that this means 6, but in theory I guess it could be configured or modified in the future with a different default. Perhaps we should clarify the text in the documentation (including the doc string) to say this instead?
At the very least, the documentation should continue to say that -1 is acceptable, and what it means. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2016年01月30日 21:00:40 | martin.panter | set | recipients:
+ martin.panter, twouters, nadeem.vawda, docs@python, palaviv |
| 2016年01月30日 21:00:40 | martin.panter | set | messageid: <1454187640.38.0.836688032273.issue26244@psf.upfronthosting.co.za> |
| 2016年01月30日 21:00:40 | martin.panter | link | issue26244 messages |
| 2016年01月30日 21:00:40 | martin.panter | create |
|