[issue45320] Remove deprecated inspect functions

2021-11-27 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- pull_requests: +28046 pull_request: https://github.com/python/cpython/pull/29813 ___ Python tracker ___ ___

[issue45320] Remove deprecated inspect functions

2021-10-20 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Hugo! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue45320] Remove deprecated inspect functions

2021-10-20 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset d89fb9a5a610a257014d112bdceef73d7df14082 by Hugo van Kemenade in branch 'main': bpo-45320: Remove long-deprecated inspect methods (GH-28618) https://github.com/python/cpython/commit/d89fb9a5a610a257014d112bdceef73d7df14082 -- ___

[issue45320] Remove deprecated inspect functions

2021-09-29 Thread Hugo van Kemenade
Hugo van Kemenade added the comment: Of the 188 repos I managed to clone of 200 top PyPI packages, looks like these 9 are still calling them: botocore client_python cython google-api-python-client grpc ipython pycodestyle pyrsistent wrapt Details at https://github.com/python/cpython/pull/286

[issue45320] Remove deprecated inspect functions

2021-09-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Slightly related, inspect.getfullargspec was also deprecated and later undeprecated. Please find the discussion post this message https://bugs.python.org/issue36751#msg341128 https://bugs.python.org/issue37010 -- nosy: +xtreak ___

[issue45320] Remove deprecated inspect functions

2021-09-29 Thread Łukasz Langa
Łukasz Langa added the comment: Have you done any checks how much external code is using the deprecated callables in the wild? I remember when the 3.5 deprecations started, a lot of libraries started emitting them because they stuck to `getargspec` which was Python 2 compatible. -- n

[issue45320] Remove deprecated inspect functions

2021-09-29 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- keywords: +patch pull_requests: +26989 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28618 ___ Python tracker __

[issue45320] Remove deprecated inspect functions

2021-09-29 Thread Hugo van Kemenade
New submission from Hugo van Kemenade : inspect.getargspec was deprecated in docs since 3.0 (https://docs.python.org/3.0/library/inspect.html?highlight=getargspec#inspect.getargspec), raising a DeprecationWarning since 3.5 (bpo-20438, https://github.com/python/cpython/commit/3cfec2e2fcab9f391