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 mark.dickinson
Recipients christian.heimes, gregsmith, loewis, mark.dickinson, pitrou, rhettinger, sopoforic, tim.peters
Date 2009-10-25.14:00:38
SpamBayes Score 0.00010564517
Marked as misclassified No
Message-id <1256479241.64.0.37011150726.issue1087418@psf.upfronthosting.co.za>
In-reply-to
Content
I think Greg's patch looks fine, modulo updating it to apply cleanly to 
py3k.

I couldn't resist tinkering a bit, though:  factoring out the complement 
operations (for a, b and z) into a separate function gives (IMO) cleaner 
and more direct code that's free of mask operations.

Here's the patch.
History
Date User Action Args
2009-10-25 14:00:41mark.dickinsonsetrecipients: + mark.dickinson, tim.peters, loewis, gregsmith, rhettinger, pitrou, christian.heimes, sopoforic
2009-10-25 14:00:41mark.dickinsonsetmessageid: <1256479241.64.0.37011150726.issue1087418@psf.upfronthosting.co.za>
2009-10-25 14:00:40mark.dickinsonlinkissue1087418 messages
2009-10-25 14:00:40mark.dickinsoncreate