[issue20273] Argument Clinic: unhelpful crashes

2014-01-15 Thread Zachary Ware
Zachary Ware added the comment: Georg already opened an issue with a patch about providing a little more information in unexpected exceptions, see issue20235. -- nosy: +zach.ware superseder: -> Argument Clinic: support for simple expressions? ___ Py

[issue20273] Argument Clinic: unhelpful crashes

2014-01-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Zachary. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue20273] Argument Clinic: unhelpful crashes

2014-01-15 Thread Larry Hastings
Larry Hastings added the comment: I'm marking this as a duplicate of #20226, the "add general-purpose expressions" issue, because that will fix the behavior you're seeing. As for "in general Argument Clinic should have better error reporting", this is too general for an issue right now. In t

[issue20273] Argument Clinic: unhelpful crashes

2014-01-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: 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_F

[issue20273] Argument Clinic: unhelpful crashes

2014-01-15 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Sometimes when Argument Clinic see something wrong, it raises exception and exit with printed traceback, instead of output helpful error message which points on line with illegal syntax. I open this issue to report about such problems. $ ./python Tools/cl