Message237084
| Author | benjamin.peterson |
|---|
| Recipients | Arfrever, benjamin.peterson, ezio.melotti, pkt, python-dev, serhiy.storchaka, vstinner |
|---|
| Date | 2015-03-02.20:54:26 |
|---|
| SpamBayes Score | -1.0 |
|---|
| Marked as misclassified | Yes |
|---|
| Message-id | <1425329662.939405.234536397.48733850@webmail.messagingengine.com> |
|---|
| In-reply-to | <1425324258.32.0.480984805114.issue23367@psf.upfronthosting.co.za> |
|---|
| Content |
|---|
True, but that could change and is not true in Python 2. I suppose wecould revert the change and add a static assertion.On Mon, Mar 2, 2015, at 14:24, Serhiy Storchaka wrote:> > Serhiy Storchaka added the comment:> > Because isize is the size of real PyUnicode object. It's maximal value is> PY_SSIZE_T_MAX - sizeof(PyASCIIObject) - 1.> > ----------> > _______________________________________> Python tracker <report@bugs.python.org>> <http://bugs.python.org/issue23367>> _______________________________________ |
|