Content-Length: 237174 | pFad | http://github.com/postgrespro/testgres/pull/276

B5 [python v3.13] TestTestgresCommon::test_logging uses logging._lock by dmitry-lipetsk · Pull Request #276 · postgrespro/testgres · GitHub
Skip to content

[python v3.13] TestTestgresCommon::test_logging uses logging._lock #276

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

Conversation

dmitry-lipetsk
Copy link
Collaborator

Python 3.13 deleted the following internal functions:

  • logging._acquireLock()
  • logging._releaseLock()

See python/cpython@74723e1 (Sep 27, 2023)

logging._lock was not touched.

So, we use "with logging._lock" instead this pair of deleted function.

Patch was tested with python v3.8.0

Python 3.13 deleted the following internale functions:
 - logging._acquireLock()
 - logging._releaseLock()

See python/cpython@74723e1 (Sep 27, 2023)

logging._lock was not touched.

So, we use "with logging._lock" instead this pair of deleted function.

Patch was tested with python v3.8.0
@dmitry-lipetsk dmitry-lipetsk merged commit 69f8d49 into postgrespro:master Jun 27, 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








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/testgres/pull/276

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy