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 SilentGhost
Recipients SilentGhost, berker.peksag, mvignali
Date 2014-01-19.10:52:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1390128725.99.0.797783874814.issue20295@psf.upfronthosting.co.za>
In-reply-to
Content
Martin, it would be better if you do the check the way it's done in test_rast: h.startswith(b'\x76\x2f\x31\x01')

Otherwise, you need to check that that h has at least 4 elements (if it doesn't you'll get an IndexError).
History
Date User Action Args
2014-01-19 10:52:06SilentGhostsetrecipients: + SilentGhost, berker.peksag, mvignali
2014-01-19 10:52:05SilentGhostsetmessageid: <1390128725.99.0.797783874814.issue20295@psf.upfronthosting.co.za>
2014-01-19 10:52:05SilentGhostlinkissue20295 messages
2014-01-19 10:52:05SilentGhostcreate