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 georg.brandl
Recipients FreedomKnight, georg.brandl
Date 2013-10-12.12:19:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1381580351.21.0.650168462725.issue19231@psf.upfronthosting.co.za>
In-reply-to
Content
In Python 3, "hello\n" is a Unicode string. printf() expects a byte string, so you should use b"hello\n" (or s.encode() for string object named "s").
History
Date User Action Args
2013-10-12 12:19:11georg.brandlsetrecipients: + georg.brandl, FreedomKnight
2013-10-12 12:19:11georg.brandlsetmessageid: <1381580351.21.0.650168462725.issue19231@psf.upfronthosting.co.za>
2013-10-12 12:19:11georg.brandllinkissue19231 messages
2013-10-12 12:19:11georg.brandlcreate