[Patches] [ python-Patches-1159931 ] inspect.py fix for bug #1143895

SourceForge.net noreply at sourceforge.net
Wed Mar 9 21:47:38 CET 2005


Patches item #1159931, was opened at 2005-03-09 16:33
Message generated for change (Settings changed) made by percivall
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1159931&group_id=5470

Category: Library (Lib)
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Simon Percivall (percivall)
>Assigned to: Johannes Gijsbers (jlgijsbers)
Summary: inspect.py fix for bug #1143895

Initial Comment:
inspect.getsource in CVS and coming python2.4.1 failed when 
functions, etc., had a comments after the colon, and some other 
cases. Look at bug #1143895 for more.

This patch fixes this problem.

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

Comment By: Simon Percivall (percivall)
Date: 2005-03-09 20:09

Message:
Logged In: YES 
user_id=329382

The patch together with Armin's new tests seems ready to be checked 
in (of course, that's really not my call). If possible, of course do it before 
the 2.4.1 freeze in 5 hours.

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

Comment By: Johannes Gijsbers (jlgijsbers)
Date: 2005-03-09 19:27

Message:
Logged In: YES 
user_id=469548

Python 2.4 maint is most important right now. I suspect it
would apply to the trunk cleanly as well.

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

Comment By: Simon Percivall (percivall)
Date: 2005-03-09 17:26

Message:
Logged In: YES 
user_id=329382

Which inspect.py rev should the patch be made against? Python 2.4.0, 
Python 2.4 maint or Python CVS?

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

Comment By: Simon Percivall (percivall)
Date: 2005-03-09 16:39

Message:
Logged In: YES 
user_id=329382

... It fixes the comment thing, all tests pass, but it's easy to construct 
failing cases.

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

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


More information about the Patches mailing list