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.

Title: register --list-classifiers is broken
Type: behavior Stage: resolved
Components: Distutils Versions: Python 3.3, Python 3.4
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: eric.araujo, giampaolo.rodola, pitrou, python-dev, tarek
Priority: high Keywords:

Created on 2013-12-21 16:42 by giampaolo.rodola, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (5)
msg206764 - (view) Author: Giampaolo Rodola' (giampaolo.rodola) * (Python committer) Date: 2013-12-21 16:42
$ ./python -V
Python 3.4.0b1
$ ./python register --list-classifiers
running register
running check
Traceback (most recent call last):
  File "", line 2219, in <module>
  File "", line 2214, in main
    "Tools/scripts/2to3", "Tools/scripts/pyvenv"]
  File "/home/giampaolo/svn/python/3.4/Lib/distutils/", line 149, in setup
  File "/home/giampaolo/svn/python/3.4/Lib/distutils/", line 955, in run_commands
  File "/home/giampaolo/svn/python/3.4/Lib/distutils/", line 974, in run_command
  File "/home/giampaolo/svn/python/3.4/Lib/distutils/command/", line 54, in run
  File "/home/giampaolo/svn/python/3.4/Lib/distutils/command/", line 90, in classifiers
  File "/home/giampaolo/svn/python/3.4/Lib/distutils/", line 44, in info
    self._log(INFO, msg, args)
  File "/home/giampaolo/svn/python/3.4/Lib/distutils/", line 33, in _log
    msg = msg.encode(encoding, "backslashreplace").decode(encoding)
AttributeError: 'bytes' object has no attribute 'encode'
msg206790 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-12-21 21:59
New changeset cffed58b1bbd by Antoine Pitrou in branch '3.3':
Issue #20045: Fix " register --list-classifiers".

New changeset 597b69d3a74f by Antoine Pitrou in branch 'default':
Issue #20045: Fix " register --list-classifiers".
msg206791 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2013-12-21 21:59
Fixed, thanks for reporting.
msg206813 - (view) Author: Giampaolo Rodola' (giampaolo.rodola) * (Python committer) Date: 2013-12-22 10:44
Thanks for fixing. =)
msg206815 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2013-12-22 14:38
> Thanks for fixing. =)

You're welcome. Unfixed distutils regressions are painful...
Date User Action Args
2022-04-11 14:57:55adminsetgithub: 64244
2013-12-22 14:38:29pitrousetmessages: + msg206815
2013-12-22 10:44:59giampaolo.rodolasetmessages: + msg206813
2013-12-21 21:59:51pitrousetstatus: open -> closed

nosy: + pitrou
messages: + msg206791

resolution: fixed
stage: needs patch -> resolved
2013-12-21 21:59:14python-devsetnosy: + python-dev
messages: + msg206790
2013-12-21 21:22:25pitrousetpriority: normal -> high
stage: needs patch
type: behavior
versions: - Python 3.2
2013-12-21 16:42:30giampaolo.rodolacreate