[ python-Bugs-1315961 ] inspect.getsourcelines() broken

SourceForge.net noreply at sourceforge.net
Fri Oct 7 18:33:00 CEST 2005


Bugs item #1315961, was opened at 2005-10-07 18:33
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1315961&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Walter Dörwald (doerwalter)
Assigned to: Nobody/Anonymous (nobody)
Summary: inspect.getsourcelines() broken

Initial Comment:
inspect.getsourcelines() in Python 2.4.2 breaks when
parsing the attached buggy.py although the indentation
level are OK:

>>> import inspect, buggy
>>> inspect.getsourcelines(buggy.title)

This gives a "IndentationError: unindent does not match
any outer indentation level"


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

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


More information about the Python-bugs-list mailing list