Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
systemsmanagement:saltstack:bundle:next:python311:test-dependencies
saltbundlepy-cherrypy
switch_from_getargsspec_to_getfullargsspec.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File switch_from_getargsspec_to_getfullargsspec.patch of Package saltbundlepy-cherrypy
Index: CherryPy-18.3.0/cherrypy/_cpdispatch.py =================================================================== --- CherryPy-18.3.0.orig/cherrypy/_cpdispatch.py +++ CherryPy-18.3.0/cherrypy/_cpdispatch.py @@ -206,12 +206,8 @@ except ImportError: def test_callable_spec(callable, args, kwargs): # noqa: F811 return None else: - getargspec = inspect.getargspec - # Python 3 requires using getfullargspec if - # keyword-only arguments are present - if hasattr(inspect, 'getfullargspec'): - def getargspec(callable): - return inspect.getfullargspec(callable)[:4] + def getargspec(callable): + return inspect.getfullargspec(callable)[:4] class LateParamPageHandler(PageHandler):
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor