This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients
Date 2004-06-01.06:36:57
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=80475

Applied a small, slightly cheaper (no second multiply)
variation on Tim's original.  It is not as scientfic
looking, but is does assure changing, odd multipliers for
each position.  When Tim moved the XOR before the multiply,
that fixed the OP's original problem.

The new variation survives Tim's torture test which I
augmented a bit and put in the test suite for the benefit of
future generations.


See:
   Objects\tupleobject.c 2.91
   Lib\test\test_tuple.py 1.3

History
Date User Action Args
2007-08-23 14:21:14adminlinkissue942952 messages
2007-08-23 14:21:14admincreate