[Python-checkins] python/dist/src/Misc NEWS,1.337.2.4.2.37,1.337.2.4.2.38

mwh@users.sourceforge.net mwh@users.sourceforge.net
Mon, 07 Oct 2002 05:32:58 -0700


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

Modified Files:
      Tag: release22-maint
	NEWS 
Log Message:
Backport:

2002/08/11 12:23:04 lemburg Python/bltinmodule.c 2.262
2002/08/11 12:23:04 lemburg Objects/unicodeobject.c 2.162
2002/08/11 12:23:03 lemburg Misc/NEWS 1.461
2002/08/11 12:23:03 lemburg Lib/test/test_unicode.py 1.65
2002/08/11 12:23:03 lemburg Include/unicodeobject.h 2.39
Add C API PyUnicode_FromOrdinal() which exposes unichr() at C level.

u'%c' will now raise a ValueError in case the argument is an
integer outside the valid range of Unicode code point ordinals.

Closes SF bug #593581.



Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.337.2.4.2.37
retrieving revision 1.337.2.4.2.38
diff -C2 -d -r1.337.2.4.2.37 -r1.337.2.4.2.38
*** NEWS	4 Oct 2002 17:57:27 -0000	1.337.2.4.2.37
--- NEWS	7 Oct 2002 12:32:55 -0000	1.337.2.4.2.38
***************
*** 5,8 ****
--- 5,11 ----
  Core and builtins
  
+ - u'%c' will now raise a ValueError in case the argument is an
+   integer outside the valid range of Unicode code point ordinals.
+ 
  - When x is an object whose class implements __mul__ and __rmul__,
    1.0*x would correctly invoke __rmul__, but 1*x would erroneously
***************
*** 87,90 ****
--- 90,96 ----
  
  C API
+ 
+ - New C API PyUnicode_FromOrdinal() which exposes unichr() at C
+   level.
  
  Windows