Commit 2cb16fe
committed
when converting to object, wrap values of unknown type into PyObject instead of failing
This enables overload resolution with object parameters to behave the same way PyObject parameters behave - e.g. allow any Python object to be passed as PyObject as fallback.
Resolves #8111 parent 63ccb6b commit 2cb16fe
2 files changed
+4
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
391 | 388 | | |
392 | 389 | | |
393 | 390 | | |
| |||
0 commit comments