SIGN IN SIGN UP

str_subtype_new, unicode_subtype_new:

+ These were leaving the hash fields at 0, which all string and unicode
  routines believe is a legitimate hash code.  As a result, hash() applied
  to str and unicode subclass instances always returned 0, which in turn
  confused dict operations, etc.
+ Changed local names "new"; no point to antagonizing C++ compilers.
T
Tim Peters committed
af90b3e610212a4994962246875e5bfc5574dff6
Parent: 7a29bd5