[3.7] bpo-27639: Correct return type for UserList slicing operation (GH-13169)#13181
[3.7] bpo-27639: Correct return type for UserList slicing operation (GH-13169)#13181miss-islington wants to merge 1 commit intopython:3.7from
Conversation
|
@mblahay and @markshannon: Status check is done, and it's a failure ❌ . |
|
The error during AppVeyor build does not seem to have anything to do with the change. Can the test be rerun. |
|
My local test execution on a version prior to this change is still showing the error, this time in Linux 0:01:38 load avg: 1.79 [ 25/416] test_asyncio passed (58 sec 429 ms) |
There are warnings, but errors: test_asyncio passed (success). You may open an issue at https://bugs.python.org/ about these warnings. |
Added logic to getitem magic method for UserList to ensure that the return
type matches that of self.
(cherry picked from commit b1c3167)
Co-authored-by: Michael Blahay mblahay@users.noreply.github.com
https://bugs.python.org/issue27639