[Python-bugs-list] [ python-Bugs-473525 ] pyclbr broken

noreply@sourceforge.net noreply@sourceforge.net
Wed, 24 Oct 2001 13:24:55 -0700


Bugs item #473525, was opened at 2001-10-21 16:00
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=473525&group_id=5470

Category: IDLE
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Tim Peters (tim_one)
Summary: pyclbr broken

Initial Comment:
classbrowser on pydoc.py does not show class entries
reordering of classdefinitions shows class entries but 
listing breaks lateron

idle 0.8
Python 2.1.1 (#20, Jul 20 2001, 01:19:29) [MSC 32 bit 
(Intel)] on win32

----------------------------------------------------------------------

>Comment By: Tim Peters (tim_one)
Date: 2001-10-24 13:24

Message:
Logged In: YES 
user_id=31435

Fixed, in

Lib/pyclbr.py; new revision: 1.23

This teaches pyclbr all about single-quoted strings.  If 
you try IDLE's class browser on the 2.2 pydoc.py, though, 
you'll find other flakiness due to pyclbr's and IDLE's 
limited understanding of nested classes and functions.

----------------------------------------------------------------------

Comment By: Tim Peters (tim_one)
Date: 2001-10-24 12:55

Message:
Logged In: YES 
user_id=31435

Reassigned to me -- pyclbr has always taken shortcuts in 
the presence of single-quoted strings, and fixing that is 
overdue.

----------------------------------------------------------------------

Comment By: Guido van Rossum (gvanrossum)
Date: 2001-10-24 12:24

Message:
Logged In: YES 
user_id=6380

Yup, you're right. The three string literals in the
synopsis() function of the form '"""' or 'r"""' apparently
throw off the pyclbr parser.

I've changed the subject to match this.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=473525&group_id=5470