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.76975e-06
Marked as misclassified No
Message-id <1238673546.16.0.641325606914.issue5391@psf.upfronthosting.co.za>
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: <1238673546.16.0.641325606914.issue5391@psf.upfronthosting.co.za>
2009-04-02 11:59:05ocean-citylinkissue5391 messages
2009-04-02 11:59:05ocean-citycreate