Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compatibility with Python 3.11 #366

Merged
merged 1 commit into from
Dec 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 1 addition & 3 deletions pysph/sph/acceleration_eval_gpu_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,7 @@

logger = logging.getLogger(__name__)

getfullargspec = getattr(
inspect, 'getfullargspec', inspect.getargspec
)
getfullargspec = inspect.getfullargspec


def get_converter(backend):
Expand Down
4 changes: 1 addition & 3 deletions pysph/sph/equation.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@
from compyle.config import get_config


getfullargspec = getattr(
inspect, 'getfullargspec', inspect.getargspec
)
getfullargspec = inspect.getfullargspec


def camel_to_underscore(name):
Expand Down
4 changes: 1 addition & 3 deletions pysph/sph/integrator_cython_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
from compyle.cython_generator import get_parallel_range


getfullargspec = getattr(
inspect, 'getfullargspec', inspect.getargspec
)
getfullargspec = inspect.getfullargspec


class IntegratorCythonHelper(object):
Expand Down