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 jcon
Recipients benjamin.peterson, ezio.melotti, jcon, pitrou, vstinner
Date 2011-09-10.01:05:38
SpamBayes Score 1.0651767e-09
Marked as misclassified No
Message-id <1315616742.52.0.33768250384.issue12807@psf.upfronthosting.co.za>
In-reply-to
Content
Moved {l,r,}strip to stringlib as well as the bloom filters from unicodeobject. I think it cleans things up nicely. Now there is one implementation for all 3 types. This patch also improves performance for bytearray and slightly for bytes. I see no delta for unicodeobject.

Added a test case for the mistake I made before (returning inc ref for mutable type).

grep -R couldn't find any other references to _PyUnicode_XStrip so I removed it. Though, someone with better knowledge of this should confirm.
History
Date User Action Args
2011-09-10 01:05:43jconsetrecipients: + jcon, pitrou, vstinner, benjamin.peterson, ezio.melotti
2011-09-10 01:05:42jconsetmessageid: <1315616742.52.0.33768250384.issue12807@psf.upfronthosting.co.za>
2011-09-10 01:05:41jconlinkissue12807 messages
2011-09-10 01:05:41jconcreate