[Python-bugs-list] [ python-Bugs-493561 ] incorrect format string descrobject.c

noreply@sourceforge.net noreply@sourceforge.net
Fri, 14 Dec 2001 21:18:50 -0800


Bugs item #493561, was opened at 2001-12-14 19:51
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=493561&group_id=5470

Category: Python Interpreter Core
Group: Python 2.2
Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Neal Norwitz (nnorwitz)
Assigned to: Guido van Rossum (gvanrossum)
Summary: incorrect format string descrobject.c

Initial Comment:
The following lines appear to have an incorrect format
string:

descrobject.c:111:  "attribute '%300s' of '%.100s'
objects is not readable",
descrobject.c:166:  "attribute '%300s' of '%.100s'
objects is not writable",


it seems there should be a . as in '%.300s'

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

>Comment By: Neal Norwitz (nnorwitz)
Date: 2001-12-14 21:18

Message:
Logged In: YES 
user_id=33168

Sure, it's your system, you set the rules.
Right now, I'm looking at test coverage.
That's why I posted some test patches
a while ago and why I'm finding these
little problems.

I have more tests I'm updating to improve
coverage.  But I'm not always sure the
best place to put stuff.

You can respond to me by mail
if that's easier than using SF.

If I get commit permission, should
I also be added to python-dev?

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

Comment By: Guido van Rossum (gvanrossum)
Date: 2001-12-14 21:01

Message:
Logged In: YES 
user_id=6380

Thanks! Fixed. (We need to get you CVS commit permission. Do
you think you'd use it wisely?)

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

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