CVS: 'python/dist/src/Python bltinmodule.c'

Guido van Rossum guido@monty.CNRI.Reston.Va.US
Mon, 31 Mar 1997 12:15:45 -0500


Update of /projects/cvsroot/python/dist/src/Python
In directory monty:/usr/people/guido/python/src/Python

Modified Files:
	bltinmodule.c 
Log Message:
1. Add string conversions to int(), long(), float().  (Not to complex()!)

2. Fix two bugs in complex():

   - Memory leak when using complex(classinstance) -- r was never
   DECREF'ed.

   - Conversion of the second argument, if not complex, was done using
   the type vector of the 1st.

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