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 vajrasky
Recipients brett.cannon, larry, ncoghlan, python-dev, serhiy.storchaka, taleinat, vajrasky, zach.ware
Date 2014-02-01.15:35:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1391268916.25.0.814304806554.issue20456@psf.upfronthosting.co.za>
In-reply-to
Content
The converters argument in command line is still broken.

[sky@localhost cpython3.4]$ hg pull -u
pulling from http://hg.python.org/cpython
searching for changes
no changes found
[sky@localhost cpython3.4]$ ./python Tools/clinic/clinic.py --converters

Legacy converters:
Traceback (most recent call last):
  File "Tools/clinic/clinic.py", line 4131, in <module>
    sys.exit(main(sys.argv[1:]))
  File "Tools/clinic/clinic.py", line 4063, in main
    print('    ' + ' '.join(c for c in legacy if c[0].isupper()))
  File "Tools/clinic/clinic.py", line 4063, in <genexpr>
    print('    ' + ' '.join(c for c in legacy if c[0].isupper()))
IndexError: string index out of range

Unit test for exercising Tools/clinic/clinic.py using assert_python_ok would be good, but that deserves a dedicated ticket.

Here is the patch to fix the bug.
History
Date User Action Args
2014-02-01 15:35:16vajraskysetrecipients: + vajrasky, brett.cannon, ncoghlan, taleinat, larry, python-dev, zach.ware, serhiy.storchaka
2014-02-01 15:35:16vajraskysetmessageid: <1391268916.25.0.814304806554.issue20456@psf.upfronthosting.co.za>
2014-02-01 15:35:16vajraskylinkissue20456 messages
2014-02-01 15:35:15vajraskycreate