[New-bugs-announce] [issue3986] removed string and type usage from distutils.cmd [patch]

Tarek Ziadé 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

2/
Type was used to check for object types, and sometimes isinstance() was
called. 

I have replaced all the calls by isinstance() and removed types import.

----------
components: Distutils
files: cmd.no-string-no-type.diff
keywords: patch
messages: 73967
nosy: tarek
severity: normal
status: open
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>
<http://bugs.python.org/issue3986>
_______________________________________


More information about the New-bugs-announce mailing list