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 ocean-city
Recipients loewis, ocean-city, vstinner
Date 2009-04-02.11:59:02
SpamBayes Score 5.769755e-06
Marked as misclassified No
Message-id <[email protected]>
In-reply-to
Content
Yes, you can do
  m.write_byte(b"a")
but on the other hand you cannot do
  a = b"abc"
  m.write_byte(a[1])
instead you should do
  a = b"abc"
  m.write_byte(a[1:2])
This is trade off, though.

I'll update "with getarg('b') version" to compare.
History
Date User Action Args
2009-04-02 11:59:06ocean-citysetrecipients: + ocean-city, loewis, vstinner
2009-04-02 11:59:06ocean-citysetmessageid: <[email protected]>
2009-04-02 11:59:05ocean-citylinkissue5391 messages
2009-04-02 11:59:05ocean-citycreate