Commit 9728144
committed
Fix _preprocess_data for Py3.9.
On Py3.9 BoundArguments becomes a plain dict, so move_to_end doesn't
exist anymore and the whole thing crashes with an AttributeError.
(Travis currently fails the Py3.9 run.)
As it turns out there's a simpler implementation of the whole thing
anyways, one can just take whatever args/kwargs were explicitly passed
in and, if "label" needs to be added, always add it to kwargs.1 parent dc1f0d9 commit 9728144
1 file changed
Lines changed: 5 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1399 | 1399 | | |
1400 | 1400 | | |
1401 | 1401 | | |
1402 | | - | |
1403 | | - | |
| 1402 | + | |
| 1403 | + | |
1404 | 1404 | | |
1405 | 1405 | | |
1406 | 1406 | | |
1407 | 1407 | | |
1408 | 1408 | | |
1409 | | - | |
1410 | | - | |
1411 | | - | |
1412 | | - | |
1413 | | - | |
1414 | | - | |
1415 | | - | |
1416 | | - | |
1417 | | - | |
| 1409 | + | |
| 1410 | + | |
1418 | 1411 | | |
1419 | | - | |
| 1412 | + | |
1420 | 1413 | | |
1421 | 1414 | | |
1422 | 1415 | | |
| |||
0 commit comments