[issue7946] Convoy effect with I/O bound threads and New GIL

2010-05-30 Thread Nir Aides
Changes by Nir Aides : Removed file: http://bugs.python.org/file17356/bfs.patch ___ Python tracker <http://bugs.python.org/issue7946> ___ ___ Python-bugs-list mailin

[issue7946] Convoy effect with I/O bound threads and New GIL

2010-05-30 Thread Nir Aides
Nir Aides added the comment: Updated bfs.patch with BSD license and copyright notice. ! Current version patches cleanly and builds with Python revision svn r81201. Issue 7946 and proposed patches were put on hold indefinitely following this python-dev discussion: http://mail.python.org

[issue22697] Deadlock with writing to stderr from forked process

2014-11-01 Thread Nir Soffer
Nir Soffer added the comment: This is a duplicate of http://bugs.python.org/issue6721 -- nosy: +nirs ___ Python tracker <http://bugs.python.org/issue22

[issue6721] Locks in the standard library should be sanitized on fork

2014-11-03 Thread Nir Soffer
Changes by Nir Soffer : -- nosy: +nirs ___ Python tracker <http://bugs.python.org/issue6721> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue25249] Unneeded and unsafe mkstemp replacement in test_subprocess.py

2015-09-27 Thread Nir Soffer
New submission from Nir Soffer: The module define unsafe replacement if tempfile.mkstemp is not available. This function is available in both master and 2.7 branches. -- components: Tests files: 0001-Remove-unneeded-and-unsafe-mkstemp-replacement.patch keywords: patch messages: 251720

[issue25249] Unneeded and unsafe mkstemp replacement in test_subprocess.py

2015-09-27 Thread Nir Soffer
Changes by Nir Soffer : Added file: http://bugs.python.org/file40601/0001-Remove-unneeded-and-unsafe-mkstemp-replacement-2.7.patch ___ Python tracker <http://bugs.python.org/issue25

[issue25298] Add lock and rlock weakref tests

2015-10-02 Thread Nir Soffer
Changes by Nir Soffer : -- components: Tests files: 0001-Add-lock-rlock-weakref-tests.patch keywords: patch nosy: nirs priority: normal severity: normal status: open title: Add lock and rlock weakref tests versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6 Added file: http

[issue25298] Add lock and rlock weakref tests

2015-10-02 Thread Nir Soffer
New submission from Nir Soffer: Same patch works also for 2.7 -- ___ Python tracker <http://bugs.python.org/issue25298> ___ ___ Python-bugs-list mailing list Unsub

[issue25319] Keep lock type when reseting internal locks

2015-10-05 Thread Nir Soffer
New submission from Nir Soffer: When Event._reset_internal_locks was called after fork, it use to reinitialize its condition without arguments, using RLock instead of Lock. -- components: Library (Lib) files: 0001-Keep-lock-type-when-reseting-internal-locks.patch keywords: patch

[issue25319] Keep lock type when reseting internal locks

2015-10-05 Thread Nir Soffer
Changes by Nir Soffer : Added file: http://bugs.python.org/file40687/0001-Keep-lock-type-when-reseting-internal-locks-2.7.patch ___ Python tracker <http://bugs.python.org/issue25

[issue25319] Keep lock type when reseting internal locks

2015-10-05 Thread Nir Soffer
Changes by Nir Soffer : Added file: http://bugs.python.org/file40688/0001-Keep-lock-type-when-reseting-internal-locks.patch ___ Python tracker <http://bugs.python.org/issue25

[issue25319] Keep lock type when reseting internal locks

2015-10-05 Thread Nir Soffer
Changes by Nir Soffer : -- nosy: +gregory.p.smith ___ Python tracker <http://bugs.python.org/issue25319> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25298] Add lock and rlock weakref tests

2015-10-05 Thread Nir Soffer
Changes by Nir Soffer : -- nosy: +pitrou ___ Python tracker <http://bugs.python.org/issue25298> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25362] Use with instead of try finally

2015-10-10 Thread Nir Soffer
New submission from Nir Soffer: Using "with" is more clear and less error prone. -- components: Library (Lib) files: 0001-Use-with-instead-of-try-finally.patch keywords: patch messages: 252716 nosy: nirs priority: normal severity: normal status: open title: Use with inst

[issue25362] In threading module, use with instead of try finally

2015-10-10 Thread Nir Soffer
Changes by Nir Soffer : Added file: http://bugs.python.org/file40741/0001-In-threading-module-use-with-instead-of-try-finally.patch ___ Python tracker <http://bugs.python.org/issue25

[issue25516] threading.Condition._is_owned() is wrong when using threading.Lock

2015-10-29 Thread Nir Soffer
New submission from Nir Soffer: When using threading.Lock, threading.Condition._is_owned is assuming that the calling thread is owning the condition lock if the lock cannot be acquired. This check is completely wrong if another thread owns the lock. >>> cond = threading.

[issue25516] threading.Condition._is_owned() is wrong when using threading.Lock

2015-10-29 Thread Nir Soffer
Nir Soffer added the comment: The issue was introduced in this commit: commit 8cb1ccbb8b9ed01c26d2c5be7cc86682e525dce7 Author: Guido van Rossum Date: Thu Apr 9 22:01:42 1998 + New Java-style threading module. The doc strings are in a separate module

[issue25516] threading.Condition._is_owned() is wrong when using threading.Lock

2015-10-29 Thread Nir Soffer
Changes by Nir Soffer : -- keywords: +patch Added file: http://bugs.python.org/file40900/0001-Issue-25516-threading.Condition._is_owned-fails-when.patch ___ Python tracker <http://bugs.python.org/issue25

[issue25516] threading.Condition._is_owned() is wrong when using threading.Lock

2015-10-30 Thread Nir Soffer
Nir Soffer added the comment: The commit hash in the previous message is a git commit from the github mirror: https://github.com/python/cpython/commit/8cb1ccbb8b9ed01c26d2c5be7cc86682e525dce7 -- ___ Python tracker <http://bugs.python.org/issue25

[issue25516] threading.Condition._is_owned() is wrong when using threading.Lock

2015-10-30 Thread Nir Soffer
Changes by Nir Soffer : -- type: -> behavior ___ Python tracker <http://bugs.python.org/issue25516> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue25516] threading.Condition._is_owned() is wrong when using threading.Lock

2015-11-02 Thread Nir Soffer
Changes by Nir Soffer : -- nosy: +haypo, pitrou ___ Python tracker <http://bugs.python.org/issue25516> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25551] Event's test_reset_internal_locks too fragile

2015-11-04 Thread Nir Soffer
New submission from Nir Soffer: test_reset_internal_locks is looking at Event's _cond._lock - this make it harder to change internal details of the Condition object and make the test fragile. We should test the condition behavior instead. -- components: Tests messages: 254074

[issue25551] Event's test_reset_internal_locks too fragile

2015-11-04 Thread Nir Soffer
Changes by Nir Soffer : -- keywords: +patch Added file: http://bugs.python.org/file40941/0001-Issue-254074-Test-condition-behavior-instead-of-inte.patch ___ Python tracker <http://bugs.python.org/issue25

[issue1322] Deprecate platform.dist() and platform.linux_distribution() functions

2015-12-06 Thread Nir Cohen
Nir Cohen added the comment: I have a premliminary implementation of it: https://github.com/nir0s/ld Would love some help. It tries to use adhere to the standards (os-release first, lsb-release later, then, distro-specific release files). It also returns more types of values then there were

[issue1322] Deprecate platform.dist() and platform.linux_distribution() functions

2015-12-06 Thread Nir Cohen
Nir Cohen added the comment: I didn't mean to say that it was. Still, it's important to have some implementation of identifying linux distributions and their properties.. -- ___ Python tracker <http://bugs.python.

[issue1322] Deprecate platform.dist() and platform.linux_distribution() functions

2015-12-06 Thread Nir Cohen
Nir Cohen added the comment: Apologies. This can be simply installed by running `pip install ld` (from https://pypi.python.org/pypi/ld). Some notes: * I've just now started writing tests * Haven't tested on versions other than 2.7.x and 2.6.x * There's some stray code there. T

[issue1322] Deprecate platform.dist() and platform.linux_distribution() functions

2015-12-13 Thread Nir Cohen
Nir Cohen added the comment: I would love some comments (and PRs, of course) on ld. Wanna make it as robust as possible. -- ___ Python tracker <http://bugs.python.org/issue1

[issue26180] multiprocessing.util._afterfork_registry leak in threaded environment

2016-01-29 Thread Nir Soffer
Changes by Nir Soffer : -- nosy: +nirs ___ Python tracker <http://bugs.python.org/issue26180> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

<    1   2   3