[Python-checkins] python/dist/src/Misc NEWS,1.337.2.4.2.28,1.337.2.4.2.29
tim_one@users.sourceforge.net
tim_one@users.sourceforge.net
Mon, 08 Jul 2002 12:35:58 -0700
Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv30495/Misc
Modified Files:
Tag: release22-maint
NEWS
Log Message:
PyNode_AddChild(): Backporting an aggressive over-allocation policy
when a parse node grows a very large number of children. This sidesteps
platform realloc() disasters on several platforms.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.337.2.4.2.28
retrieving revision 1.337.2.4.2.29
diff -C2 -d -r1.337.2.4.2.28 -r1.337.2.4.2.29
*** NEWS 12 Jun 2002 03:48:46 -0000 1.337.2.4.2.28
--- NEWS 8 Jul 2002 19:35:54 -0000 1.337.2.4.2.29
***************
*** 5,8 ****
--- 5,14 ----
Core and builtins
+ - Source that creates parse nodes with an extremely large number of
+ children (e.g., test_longexp.py) triggers problems with the
+ platform realloc() under several platforms (e.g., MacPython, and
+ Win98). This has been fixed via a more-aggressive overallocation
+ strategy.
+
- Fixed a bug with a continue inside a try block and a yield in the
finally clause. [SF bug 567538]
***************
*** 28,32 ****
- String methods lstrip(), rstrip() and strip() now take an optional
argument that specifies the characters to strip. For example,
! "Foo!!!?!?!?".rstrip("?!") -> "Foo". In addition, "200L".strip("L")
will return "200". This is useful for replacing code that assumed
longs will always be printed with a trailing "L".
--- 34,38 ----
- String methods lstrip(), rstrip() and strip() now take an optional
argument that specifies the characters to strip. For example,
! "Foo!!!?!?!?".rstrip("?!") -> "Foo". In addition, "200L".strip("L")
will return "200". This is useful for replacing code that assumed
longs will always be printed with a trailing "L".