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 mark.dickinson, serhiy.storchaka, xiang.zhang
Date 2016-06-17.13:04:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1466168664.42.0.537173858587.issue27333@psf.upfronthosting.co.za>
In-reply-to
Content
Current code is valid, since neither PY_SSIZE_MAX nor PY_SSIZE_MIN equal to 0.

But testing on 0 can be simpler. Following patch simplifies the code.
History
Date User Action Args
2016-06-17 13:04:24serhiy.storchakasetrecipients: + serhiy.storchaka, mark.dickinson, xiang.zhang
2016-06-17 13:04:24serhiy.storchakasetmessageid: <1466168664.42.0.537173858587.issue27333@psf.upfronthosting.co.za>
2016-06-17 13:04:24serhiy.storchakalinkissue27333 messages
2016-06-17 13:04:24serhiy.storchakacreate