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 mitya57
Recipients mitya57
Date 2013-03-05.09:56:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
When running `python3 sdist upload --show-response`, one may get this exception:

Traceback (most recent call last):
  File "", line 47, in <module>
  File "/usr/lib/python3.2/distutils/", line 148, in setup
  File "/usr/lib/python3.2/distutils/", line 917, in run_commands
  File "/usr/lib/python3.2/distutils/", line 936, in run_command
  File "/usr/lib/python3.2/distutils/command/", line 66, in run
    self.upload_file(command, pyversion, filename)
  File "/usr/lib/python3.2/distutils/command/", line 201, in upload_file
    msg = '\n'.join(('-' * 75,, '-' * 75))
TypeError: sequence item 1: expected str instance, bytes found

This happens because r is binary stream, so returns bytes. A trivial patch that fixes the problem is attached.
Date User Action Args
2013-03-05 09:56:30mitya57setrecipients: + mitya57
2013-03-05 09:56:30mitya57setmessageid: <>
2013-03-05 09:56:30mitya57linkissue17354 messages
2013-03-05 09:56:29mitya57create