- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
➜
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 | vstinner |
|---|---|
| Recipients | vstinner |
| Date | 2018-11-28.13:17:08 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1543411028.15.0.788709270274.issue35337@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
|---|
I propose to add assertions to PyTuple_GET_ITEM/PyTuple_SET_ITEM in debug mode to check the index when Python is compiled in debug mode (./configure --with-pydebug). This change is backward incompatible when PyTuple_GET_ITEM/PyTuple_SET_ITEM is used on a structseq with unnamed fields. Well, that's a bug in the user code, PyStructSequence_GET_ITEM/PyStructSequence_SET_ITEM should be used instead. |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2018-11-28 13:17:08 | vstinner | set | recipients: + vstinner |
| 2018-11-28 13:17:08 | vstinner | set | messageid: <1543411028.15.0.788709270274.issue35337@psf.upfronthosting.co.za> |
| 2018-11-28 13:17:08 | vstinner | link | issue35337 messages |
| 2018-11-28 13:17:08 | vstinner | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
