[ python-Bugs-1072853 ] thisid not intialized in pindent.py script
SourceForge.net
noreply at sourceforge.net
Thu Nov 25 00:13:56 CET 2004
Bugs item #1072853, was opened at 2004-11-24 18:13
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=1072853&group_id=5470
Category: Demos and Tools
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Niraj Bajpai (nbajpai)
Assigned to: Nobody/Anonymous (nobody)
Summary: thisid not intialized in pindent.py script
Initial Comment:
Hi there,
I am using python version 2.3.4.
For some cases when using pindent.py with -c and -e
option as follows, the variable "thisid" does not gets
initialized before it hits line #310 ( current, firstkw,
lastkw, topid = indent, thiskw, thiskw, thisid), this is
traced all the way back to line #268 (for my case it fell
in this else clause ... didn't try to look the exact
scenario causing this) ... adding
thisid = '' help fix the code for my scenario.
If this fix is good for all scenario, please roll this over to
main line code.
Regards,
Niraj
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1072853&group_id=5470
More information about the Python-bugs-list
mailing list