homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients larry, serhiy.storchaka
Date 2014年01月15日.20:25:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1389817543.06.0.138209349927.issue20273@psf.upfronthosting.co.za>
In-reply-to
Content
I suppose this crash is caused by this code:
/*[clinic input]
zlib.Compress.flush
 self: self(type="compobject *")
 mode: int(c_default="Z_FINISH") = zlib.Z_FINISH
 One of the constants Z_SYNC_FLUSH, Z_FULL_FLUSH, Z_FINISH.
 If mode == Z_FINISH, the compressor object can no longer be used after
 calling the flush() method. Otherwise, more data can still be compressed.
 /
Return a bytes object containing any remaining compressed data.
[clinic start generated code]*/
It was valid several days ago.
Therefore here are two bugs:
1. Argument Clinic should output a line number where it has encountered illegal expression.
2. It should accept zlib.Z_FINISH (Z_FINISH is exported constant in the zlib module).
History
Date User Action Args
2014年01月15日 20:25:43serhiy.storchakasetrecipients: + serhiy.storchaka, larry
2014年01月15日 20:25:43serhiy.storchakasetmessageid: <1389817543.06.0.138209349927.issue20273@psf.upfronthosting.co.za>
2014年01月15日 20:25:43serhiy.storchakalinkissue20273 messages
2014年01月15日 20:25:43serhiy.storchakacreate

AltStyle によって変換されたページ (->オリジナル) /