[Patches] [ python-Patches-1054197 ] fix inplace string concat hash
error
SourceForge.net
noreply at sourceforge.net
Tue Oct 26 01:22:28 CEST 2004
Patches item #1054197, was opened at 2004-10-25 16:22
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: Nobody/Anonymous (nobody)
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