Message208799
| Author |
serhiy.storchaka |
| Recipients |
berker.peksag, larry, serhiy.storchaka |
| Date |
2014年01月22日.13:05:06 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1390395906.62.0.702778275737.issue20293@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Seems this is related issue:
>>> import zlib, inspect
>>> zlib.compressobj.__text_signature__
'(level=Z_DEFAULT_COMPRESSION, method=DEFLATED, wbits=MAX_WBITS, memLevel=DEF_MEM_LEVEL, strategy=Z_DEFAULT_STRATEGY, zdict=None)'
>>> str(inspect.signature(zlib.compressobj))
'(level=-1, method=8, wbits=15, memLevel=8, strategy=0, zdict=None)'
help(zlib.compress) shows the '(bytes, level=-1)' signature.
inspect.signature() evaluates default values and instead of expected named constant it outputs numeric value which is often implementation detail. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年01月22日 13:05:06 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, larry, berker.peksag |
| 2014年01月22日 13:05:06 | serhiy.storchaka | set | messageid: <1390395906.62.0.702778275737.issue20293@psf.upfronthosting.co.za> |
| 2014年01月22日 13:05:06 | serhiy.storchaka | link | issue20293 messages |
| 2014年01月22日 13:05:06 | serhiy.storchaka | create |
|