diff options
author | Giampaolo Rodola' <g.rodola@gmail.com> | 2012-01-09 17:10:10 +0100 |
---|---|---|
committer | Giampaolo Rodola' <g.rodola@gmail.com> | 2012-01-09 17:10:10 +0100 |
commit | bf870dfd8be7210a203ff8eae709f13225e59a14 (patch) | |
tree | 1d63a5736217bf7e9d2de67ab96427da3a6e45aa /Python/errors.c | |
parent | 955d01f5f02b3b7ad02fbb163587a7fddf63d99d (diff) | |
download | cpython-bf870dfd8be7210a203ff8eae709f13225e59a14.tar.gz |
provide a common method to check for RETR_DATA validity, first checking the expected len and then the actual data content; this way we get a failure on len mismatch rather than content mismatch (which is very long and unreadable)
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions