Message2968
Thanks. As you said, I ran your test with the old patch.
The second call is overwriting the existing local. You
have solved that. Good!
I used the same test cases from _threading_local.py as
I mentioned in the comments.
I saw that threading.py of CPython2.4.4 uses deque. But
I didn't copy the threading.py from any version of CPython.
It was already in CPython/Lib folder. I just inlcuded the
necessary code to run the thread local. I thinks it is
from http://svn.python.org/projects/python/branches/release23-maint/Lib.
I thought that there is not much change in the following files.
CPythonLib/threading.py
CPythonLib/_threading_local.py
CPythonLib/test/test_threading_local.py
That's why I copied to CPython/Lib. I will follow your comments
from now on.
I don't know why you changed the code. You could have suggested/
commented that and I would have done those. Maybe, you thought to
avoid unnecessary thread mailing. That's fine.
|
|
Date |
User |
Action |
Args |
2008-02-20 17:18:54 | admin | link | issue1846247 messages |
2008-02-20 17:18:54 | admin | create | |
|