[Patches] [ python-Patches-1054197 ] fix inplace string concat hash
error
SourceForge.net
noreply at sourceforge.net
Tue Oct 26 02:10:07 CEST 2004
Patches item #1054197, was opened at 2004-10-25 18:22
Message generated for change (Settings changed) made by rhettinger
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1054197&group_id=5470
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Bob Halley (rthalley)
>Assigned to: Raymond Hettinger (rhettinger)
Summary: fix inplace string concat hash error
Initial Comment:
This is a fix for #1054139.
The problem was that the fast path in the new
higher-performance string concatenation code in ceval.c
didn't invalide the cached hash value.
My patch makes it set ob_shash to -1, and ob_sstate =
SSTATE_NOT_INTERNED, just like what would happen if the
slow path through PyString_Concat(&v, w) was used.
/Bob
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1054197&group_id=5470
More information about the Patches
mailing list