[Python-checkins] python/dist/src/Misc NEWS,1.647,1.648

nnorwitz@users.sourceforge.net nnorwitz@users.sourceforge.net
Sun, 09 Feb 2003 18:12:46 -0800


Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1:/tmp/cvs-serv13524/Misc

Modified Files:
	NEWS 
Log Message:
Fix SF bug #683467, 'int' ability to generate longs not inherited

When subclassing from an int but not overriding __new__,
long values were not converted properly.  Try to convert
longs into an int.


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.647
retrieving revision 1.648
diff -C2 -d -r1.647 -r1.648
*** NEWS	10 Feb 2003 01:54:05 -0000	1.647
--- NEWS	10 Feb 2003 02:12:43 -0000	1.648
***************
*** 13,16 ****
--- 13,19 ----
  -----------------
  
+ - int subclasses can be initialized with longs if the value fits in an int.
+   See SF bug #683467.
+ 
  - long(string, base) takes time linear in len(string) when base is a power
    of 2 now.  It used to take time quadratic in len(string).