[issue13943] Lib/distutils/command/build_py fails when package string is unicode

Patrick Andrew report at bugs.python.org
Sat Feb 4 21:41:08 CET 2012


New submission from Patrick Andrew <pandrew at isilon.com>:

When a package list is built using Unicode strings, distutils fails to build the package with a TypeError.

This patch alternatively checks for 'unicode' as the instance type and also prints the type in the type error for easier debugging.

----------
assignee: tarek
components: Distutils
files: patch-Lib-distutils-command-build_py.py
messages: 152643
nosy: eric.araujo, patrick.andrew, tarek
priority: normal
severity: normal
status: open
title: Lib/distutils/command/build_py fails when package string is unicode
versions: Python 2.7
Added file: http://bugs.python.org/file24422/patch-Lib-distutils-command-build_py.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13943>
_______________________________________


More information about the Python-bugs-list mailing list