Skip to content

Initialization of Helpers._get_default_encoding_func is corrected [py3.9] #221

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

Merged

Conversation

dmitry-lipetsk
Copy link
Collaborator

@dmitry-lipetsk dmitry-lipetsk commented Mar 16, 2025

Python 3.9 does not undestand the following code:

_get_default_encoding_func = _make_get_default_encoding_func()

ERROR - TypeError: 'staticmethod' object is not callable

https://app.travis-ci.com/github/postgrespro/testgres/jobs/631402370

The code:

_get_default_encoding_func = _make_get_default_encoding_func.__func__()

is processed without problems.

…3.9]

Python 3.9 does not undestand the following code:

_get_default_encoding_func = _make_get_default_encoding_func()

ERROR - TypeError: 'staticmethod' object is not callable

https://app.travis-ci.com/github/postgrespro/testgres/jobs/631402370

The code:
_get_default_encoding_func = _make_get_default_encoding_func.__func__()

is processed without problems.
@dmitry-lipetsk dmitry-lipetsk merged commit c07f112 into postgrespro:master Mar 16, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant