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 larry
Recipients georg.brandl, larry, ncoghlan, python-dev, serhiy.storchaka, yselivanov, zach.ware
Date 2014-02-09.06:23:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1391926983.22.0.758235217276.issue20530@psf.upfronthosting.co.za>
In-reply-to
Content
I made a couple final tweaks to what was essentially Nick's patch:

* Argument Clinic wraps parameters in the signature at 72 columns
  instead of 79 columns.  There are a couple extra characters that
  get emitted, so this ensures that the generated lines are never > 80.

* Added an assert to typeobject.c that end - start > 2, so that 
  the subsequent assert on end[-1] is always a legal memory access.

* inspect._strip_non_python_syntax() now emits a space after commas in
  the signature, enhancing readability on the off chance that someone
  needs to read them.

* Added a couple extra tests for _strip_non_python_syntax().

Thanks for all the reviews and the fixes, everybody!
History
Date User Action Args
2014-02-09 06:23:03larrysetrecipients: + larry, georg.brandl, ncoghlan, python-dev, zach.ware, serhiy.storchaka, yselivanov
2014-02-09 06:23:03larrysetmessageid: <1391926983.22.0.758235217276.issue20530@psf.upfronthosting.co.za>
2014-02-09 06:23:03larrylinkissue20530 messages
2014-02-09 06:23:02larrycreate