|
From: | Cleber Rosa |
Subject: | Re: [Qemu-block] [PATCH v2 7/9] iotests: 'new' module replacement in 169 |
Date: | Fri, 19 Oct 2018 20:54:38 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 |
On 10/19/18 3:15 PM, Max Reitz wrote: > iotest 169 uses the 'new' module to add methods to a class. This module > no longer exists in Python 3. Instead, we can use a lambda. Best of > all, this works in 2.7 just as well. > > Signed-off-by: Max Reitz <address@hidden> > Reviewed-by: Eduardo Habkost <address@hidden> Reviewed-by: Cleber Rosa <address@hidden>
[Prev in Thread] | Current Thread | [Next in Thread] |