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 hakril, mark.dickinson, r.david.murray, rhettinger, ronaldoussoren, serhiy.storchaka, vstinner
Date 2015-01-18.09:56:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1421574984.76.0.272602188208.issue22939@psf.upfronthosting.co.za>
In-reply-to
Content
> That way a virtual sequence with PY_SSIZE_T_MAX-1 items would still work (instead of failing unexpectedly).

Actually with PY_SSIZE_T_MAX+1 items (indices from 0 to PY_SSIZE_T_MAX inclusive).

If Raymond insists I can write more complicated patch, but I don't think that we should complicate the code for this pretty hypotetical case. I'm for committing issue22939v2.patch.
History
Date User Action Args
2015-01-18 09:56:24serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, ronaldoussoren, mark.dickinson, vstinner, r.david.murray, hakril
2015-01-18 09:56:24serhiy.storchakasetmessageid: <1421574984.76.0.272602188208.issue22939@psf.upfronthosting.co.za>
2015-01-18 09:56:24serhiy.storchakalinkissue22939 messages
2015-01-18 09:56:24serhiy.storchakacreate