Issue 25319: Keep lock type when reseting internal locks (original) (raw)

Issue25319

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/69506

classification

Title: Keep lock type when reseting internal locks
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.6, Python 3.4, Python 3.5, Python 2.7

process

Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: gregory.p.smith, nirs, python-dev
Priority: normal Keywords: patch

Created on 2015-10-05 13:23 by nirs, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
0001-Keep-lock-type-when-reseting-internal-locks.patch nirs,2015-10-05 13:23 Fix for master review
0001-Keep-lock-type-when-reseting-internal-locks-2.7.patch nirs,2015-10-05 14:01 Patch for 2.7
0001-Keep-lock-type-when-reseting-internal-locks.patch nirs,2015-10-05 14:06 Cleaner version of master patch review
Messages (2)
msg252326 - (view) Author: Nir Soffer (nirs) * Date: 2015-10-05 13:23
When Event._reset_internal_locks was called after fork, it use to reinitialize its condition without arguments, using RLock instead of Lock.
msg252376 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2015-10-06 05:01
New changeset 69a26f0800b3 by Benjamin Peterson in branch '2.7': reinitialize an Event's Condition with a regular lock (closes #25319) https://hg.python.org/cpython/rev/69a26f0800b3 New changeset 6108d30dde21 by Benjamin Peterson in branch '3.4': reinitialize an Event's Condition with a regular lock (closes #25319) https://hg.python.org/cpython/rev/6108d30dde21 New changeset 3719e842a7b1 by Benjamin Peterson in branch '3.5': merge 3.4 (#25319) https://hg.python.org/cpython/rev/3719e842a7b1 New changeset 41f29bbf520d by Benjamin Peterson in branch 'default': merge 3.5 (#25319) https://hg.python.org/cpython/rev/41f29bbf520d
History
Date User Action Args
2022-04-11 14:58:22 admin set github: 69506
2015-10-06 05:01:40 python-dev set status: open -> closednosy: + python-devmessages: + resolution: fixedstage: resolved
2015-10-05 18:44:22 nirs set nosy: + gregory.p.smith
2015-10-05 14:06:56 nirs set files: + 0001-Keep-lock-type-when-reseting-internal-locks.patch
2015-10-05 14:01:35 nirs set files: + 0001-Keep-lock-type-when-reseting-internal-locks-2.7.patch
2015-10-05 13:23:23 nirs create

Supported by The Python Software Foundation,
Powered by Roundup

Copyright © 1990-2022, Python Software Foundation
Legal Statements