[New-bugs-announce] [issue3986] removed string and type usage from distutils.cmd [patch]
report at bugs.python.org
Sun Sep 28 12:54:20 CEST 2008
New submission from Tarek Ziadé <ziade.tarek at gmail.com>:
I am removing in this patch the usage of string and type.
1/ I have remove string import, and used the proper modern syntax
Type was used to check for object types, and sometimes isinstance() was
I have replaced all the calls by isinstance() and removed types import.
title: removed string and type usage from distutils.cmd [patch]
versions: Python 2.6
Added file: http://bugs.python.org/file11641/cmd.no-string-no-type.diff
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce