Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

possible bug in CVS ceval.c of 30 March (PR#253)

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


m.favas at per

Mar 29, 2000, 10:16 PM

Post #1 of 2 (51 views)
Permalink
possible bug in CVS ceval.c of 30 March (PR#253)

Full_Name: Mark Favas
Version: 1.5.2+
OS: Tru64 Unix
Submission from: groucho.per.dem.csiro.au (130.116.27.1)


Building CVS Python 1.5.2+ of 30 March 200 on Tru64 Unix (V4.0 1229 alpha) with
Compaq C (Compaq C V6.1-110 (dtk) on Digital UNIX V4.0F) results in the
following
warning:

cc -O -Olimit 1500 -I./../Include -I.. -DHAVE_CONFIG_H -c ceval.c -o ceval.o
cc: Warning: ceval.c, line 1670: The scalar variable "args" is fetched but not
initialized. And there may be other such fetches of this variable that have
not
been reported in this compilation. (uninit1)
Py_DECREF(args);
--------------------------------^

Looking at the code, args is defined at the start of the function as:
PyObject **args; (line 343)
and subsequently redefined as:
PyObject *args; (line 1618)


guido at python

Mar 31, 2000, 10:46 AM

Post #2 of 2 (52 views)
Permalink
Re: possible bug in CVS ceval.c of 30 March (PR#253) [In reply to]

> Building CVS Python 1.5.2+ of 30 March 200 on Tru64 Unix (V4.0 1229 alpha) with
> Compaq C (Compaq C V6.1-110 (dtk) on Digital UNIX V4.0F) results in the
> following
> warning:
>
> cc -O -Olimit 1500 -I./../Include -I.. -DHAVE_CONFIG_H -c ceval.c -o ceval.o
> cc: Warning: ceval.c, line 1670: The scalar variable "args" is fetched but not
> initialized. And there may be other such fetches of this variable that have
> not
> been reported in this compilation. (uninit1)
> Py_DECREF(args);
> --------------------------------^
>
> Looking at the code, args is defined at the start of the function as:
> PyObject **args; (line 343)
> and subsequently redefined as:
> PyObject *args; (line 1618)

Jeremy has checked in a patch that takes care of this (and a few other
things).

--Guido van Rossum (home page: http://www.python.org/~guido/)

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.