Mailing List Archive

python/dist/src/Misc NEWS,1.393,1.394
Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv25040/Misc

Modified Files:
NEWS
Log Message:
If Py_OptimizeFlag is false then always evaluate assert conditions, don't
test __debug__ at runtime. Closes SF patch #548833.


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.393
retrieving revision 1.394
diff -C2 -d -r1.393 -r1.394
*** NEWS 23 Apr 2002 13:29:43 -0000 1.393
--- NEWS 26 Apr 2002 01:58:53 -0000 1.394
***************
*** 7,10 ****
--- 7,14 ----
Core and builtins

+ - The assert statement no longer tests __debug__ at runtime. This means
+ that assert statements cannot be disabled by assigning a false value
+ to __debug__.
+
- A method zfill() was added to str and unicode, that fills a numeric
string to the left with zeros. For example,