[utils] Fix broken Py 3.11+ compat in `traverse_obj()`
authordirkf <fieldhouse@gmx.net>
Wed, 19 Jul 2023 12:01:02 +0000 (13:01 +0100)
committerdirkf <fieldhouse@gmx.net>
Wed, 19 Jul 2023 21:14:50 +0000 (22:14 +0100)
commita190b559640ce1b5fe67e5a4843dc58328503f3c
treee9da95cb0bbffcc8ac9c83b2eb27c120e28e8e46
parentb2741f2654e6ddfebc1771b5d5fadb5fd6fe3863
[utils] Fix broken Py 3.11+ compat in `traverse_obj()`

* inspect.getargspec is missing despite doc claiming backward compat
* replace with emulation of `Signature.bind()`
youtube_dl/utils.py