[Python-bugs-list] [ python-Bugs-434988 ] Possible bug in _cursesmodule.c

noreply@sourceforge.net noreply@sourceforge.net
Sat, 23 Jun 2001 12:59:02 -0700


Bugs item #434988, was opened at 2001-06-20 18:37
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=434988&group_id=5470

Category: Extension Modules
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Robert Minsk (rminsk)
Assigned to: Nobody/Anonymous (nobody)
Summary: Possible bug in _cursesmodule.c

Initial Comment:
When trying to clean up SGI compiler warning messages I
ran across the following in Modules/_cursesmodule.c
from Python-2.1.

Around line 192:
  } else if(PyString_Check(obj) &
	    (PyString_Size(obj) == 1)) {

Should this be "&&" and not "&"?

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

>Comment By: Martin v. Löwis (loewis)
Date: 2001-06-23 12:59

Message:
Logged In: YES 
user_id=21627

Fixed in _cursesmodule.c 2.52.

Thanks for contributing.


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

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