[Python-Dev] New work-in-progress bisection tool for the Python test suite (in regrtest)

Lele Gaifax lele at metapensiero.it
Tue Jul 4 07:20:36 EDT 2017


Nick Coghlan <ncoghlan at gmail.com> writes:

> On 4 July 2017 at 19:55, Victor Stinner <victor.stinner at gmail.com> wrote:
>> On Python 2, the addition of Lib/test/bisect.py caused conflict with
>> Lib/bisect.py when running the Python test suite :-( I chose to rename
>> Lib/test/bisect.py to Lib/test/bisectcmd.py to reduce changes caused
>> by this new debug tool. So only in Python 2.7, you have to run:
>>
>> ./python -m test.bisectcmd ...
>
> I know it's longer, but perhaps it would make sense to put the
> bisection helper under "python -m test.support.bisect" in both Python
> 2 & 3?

Or test.tool.bisect, similar to json.tool.

ciao, lele.
-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
lele at metapensiero.it  |                 -- Fortunato Depero, 1929.



More information about the Python-Dev mailing list