[New-bugs-announce] [issue5616] Distutils 2to3 support doesn't have the doctest_only flag.

Lennart Regebro report at bugs.python.org
Tue Mar 31 00:34:58 CEST 2009


New submission from Lennart Regebro <regebro at gmail.com>:

The run_2to3 method, and therefore also the Mixin2to3 class doesn't take
a parameter for doctest_only parameter that refactor has. That means you
have to do a lot of code duplication if you want to write distutil
commands that handle doctest files.

The fix is simple, just add the parameter to the relevant methods.

----------
assignee: tarek
components: 2to3 (2.x to 3.0 conversion tool), Distutils
messages: 84689
nosy: lregebro, tarek
severity: normal
status: open
title: Distutils 2to3 support doesn't have the doctest_only flag.
type: feature request
versions: Python 3.0, Python 3.1

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


More information about the New-bugs-announce mailing list