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 xiang.zhang
Recipients berker.peksag, palaviv, serhiy.storchaka, tehybel, xiang.zhang
Date 2016-09-01.02:47:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1472698029.25.0.180285954981.issue27881@psf.upfronthosting.co.za>
In-reply-to
Content
I thought about this method but didn't find it's simpler.

You cannot avoid malloc/free since the isolation level has to be on heap. It's going to be freed in the dealloc method unless your alter that part too. Then it's about one memcpy or two, which doesn't make much difference. And in this method you have to do more in argument checking. A simple strstr doesn't solve this problem.
History
Date User Action Args
2016-09-01 02:47:09xiang.zhangsetrecipients: + xiang.zhang, berker.peksag, serhiy.storchaka, palaviv, tehybel
2016-09-01 02:47:09xiang.zhangsetmessageid: <1472698029.25.0.180285954981.issue27881@psf.upfronthosting.co.za>
2016-09-01 02:47:09xiang.zhanglinkissue27881 messages
2016-09-01 02:47:09xiang.zhangcreate