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 serhiy.storchaka
Recipients benjamin.peterson, pkt, serhiy.storchaka, vstinner
Date 2015-02-20.17:39:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <2088807.jOZ8g1NGfQ@raxxla>
In-reply-to <1424453719.88.0.538909089988.issue23490@psf.upfronthosting.co.za>
Content
> I think it looks fine except why do you cast PyUnicode_LENGTH to size_t in
> the comparison?

To silence compiler warning. PyUnicode_LENGTH is signed, right hand is 
unsigned.

> I also wonder if we should have PyObject_NEW now.

We have PyObject_NEW.
History
Date User Action Args
2015-02-20 17:39:57serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, benjamin.peterson, pkt
2015-02-20 17:39:56serhiy.storchakalinkissue23490 messages
2015-02-20 17:39:56serhiy.storchakacreate