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 arjennienhuis
Recipients arjennienhuis, benjamin.peterson, eric.smith, loewis, terry.reedy, uau, vstinner
Date 2011-03-07.12:34:54
SpamBayes Score 0.002433667
Marked as misclassified No
Message-id <>
In-reply-to <>
struct.pack does not work with variable length data. Something like:

b'{0:x}\r\n{1}\r\n'.format(len(block), block)


b'%x\r\n%s\r\n' % (len(block), block)

is not possible with struct.pack
Date User Action Args
2011-03-07 12:34:56arjennienhuissetrecipients: + arjennienhuis, loewis, terry.reedy, vstinner, eric.smith, benjamin.peterson, uau
2011-03-07 12:34:54arjennienhuislinkissue3982 messages
2011-03-07 12:34:54arjennienhuiscreate