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 belopolsky
Recipients BreamoreBoy, belopolsky, georg.brandl, jimjjewett, ked-tao, loewis, pitrou, tim.peters
Date 2010-07-14.17:27:07
SpamBayes Score 0.050723054
Marked as misclassified No
Message-id <1279128429.48.0.559721384304.issue1646068@psf.upfronthosting.co.za>
In-reply-to
Content
Responding to Antoine question, I don't understand how you would use a union here.  Certainly you cannot define Py_dicthashcache_t as a union of long and Py_ssize_t because it will not be able to easily assign long or Py_ssize_t values to it. I don't think ANSI C allows a cast from integer type to a union.

I am OK with the patch, but if this goes into 2.7/3.x, I think the same change should be applied to the set type.
History
Date User Action Args
2010-07-14 17:27:09belopolskysetrecipients: + belopolsky, tim.peters, loewis, georg.brandl, jimjjewett, pitrou, ked-tao, BreamoreBoy
2010-07-14 17:27:09belopolskysetmessageid: <1279128429.48.0.559721384304.issue1646068@psf.upfronthosting.co.za>
2010-07-14 17:27:07belopolskylinkissue1646068 messages
2010-07-14 17:27:07belopolskycreate