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

noreply@sourceforge.net noreply@sourceforge.net
Wed, 20 Jun 2001 18:38:00 -0700


Bugs item #434988, was updated on 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: Open
Resolution: None
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 "&"?

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

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