[issue36920] inspect.getcallargs sees optional arg to builtin as required

2019-05-15 Thread Brett Cannon
Brett Cannon added the comment: Also note that inspect.getcallargs() has been deprecated since Python 3.5: https://docs.python.org/3/library/inspect.html#inspect.getcallargs. Since the function is deprecated I'm closing as "won't fix". -- nosy: +brett.cannon resolution: -> wont fix

[issue36920] inspect.getcallargs sees optional arg to builtin as required

2019-05-15 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This not reproducible on master and seems to fixed as part of PEP 570 related changes. Bisecting gives me d5d2b4546939b98244708e5bb0cfccd55b99d244 . Before d5d2b4546939b98244708e5bb0cfccd55b99d244 it produces an internal index error. I can

[issue36920] inspect.getcallargs sees optional arg to builtin as required

2019-05-15 Thread SilentGhost
Change by SilentGhost : -- nosy: +yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36920] inspect.getcallargs sees optional arg to builtin as required

2019-05-14 Thread Udi Meiri
New submission from Udi Meiri : $ python3.7 Python 3.7.3rc1 (default, Mar 13 2019, 11:01:15) [GCC 7.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import inspect >>> inspect.getfullargspec(str.strip) FullArgSpec(args=['self', 'chars'], varargs=None,