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.
Created on 2011年04月18日 00:08 by pitrou, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| remove_threads.patch | vstinner, 2011年04月19日 14:20 | review | ||
| Messages (9) | |||
|---|---|---|---|
| msg133944 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2011年04月18日 00:08 | |
PEP 11 calls for removing support for the following systems in 3.3: Name: Systems using Mach C Threads Unsupported in: Python 3.2 Code removed in: Python 3.3 Name: SunOS lightweight processes (LWP) Unsupported in: Python 3.2 Code removed in: Python 3.3 Name: Systems using --with-pth (GNU pth threads) Unsupported in: Python 3.2 Code removed in: Python 3.3 Name: Systems using Irix threads Unsupported in: Python 3.2 Code removed in: Python 3.3 Name: OSF* systems (issue 8606) Unsupported in: Python 3.2 Code removed in: Python 3.3 |
|||
| msg133947 - (view) | Author: Jesús Cea Avión (jcea) * (Python committer) | Date: 2011年04月18日 01:03 | |
I think I toke care of OSF cleanup already. |
|||
| msg134051 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2011年04月19日 13:13 | |
Issue #11876 has been marked as a duplicate of this issue. |
|||
| msg134058 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2011年04月19日 14:20 | |
Patch removing cpthread, pth, lwp and solaris thread implementations. The patch on configure.in, around the following diff, is invalid: ---- AC_DEFINE(_REENTRANT) - AC_CHECK_HEADER(cthreads.h, [AC_DEFINE(WITH_THREAD) - AC_DEFINE(C_THREADS) - AC_DEFINE(HURD_C_THREADS, 1, - [Define if you are using Mach cthreads directly under /include]) - LIBS="$LIBS -lthreads" - THREADOBJ="Python/thread.o"],[ - AC_CHECK_HEADER(mach/cthreads.h, [AC_DEFINE(WITH_THREAD) - AC_DEFINE(C_THREADS) - AC_DEFINE(MACH_C_THREADS, 1, - [Define if you are using Mach cthreads under mach /]) - THREADOBJ="Python/thread.o"],[ # Just looking for pthread_create in libpthread is not enough: # on HP/UX, pthread.h renames pthread_create to a different symbol name. # So we really have to include pthread.h, and then link. ---- autoconf will have to be run to update configure. I am not sure that the patch removes all code related to these threads. |
|||
| msg134060 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2011年04月19日 14:24 | |
FYI Hurd only supports cthread, without cthread support, Python will not support threads on Hurd anymore. There are two Hurd issues to move from cthread to pthread http://savannah.gnu.org/task/?5487 (opened 5 years ago) http://savannah.gnu.org/task/?7895 (opened 3 years ago) |
|||
| msg134101 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2011年04月19日 21:04 | |
Python/thread.c contains a reference to a missing file: #ifdef PLAN9_THREADS #include "thread_plan9.h" #endif But I don't see where PLAN9_THREADS is defined. remove_threads.patch removes these 3 lines. -- There is also an unused file: Python/thread_wince.c. Can it be removed? |
|||
| msg134103 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2011年04月19日 21:13 | |
> Python/thread.c contains a reference to a missing file: > > #ifdef PLAN9_THREADS > #include "thread_plan9.h" > #endif > > But I don't see where PLAN9_THREADS is defined. > > remove_threads.patch removes these 3 lines. > > -- > > There is also an unused file: Python/thread_wince.c. Can it be removed? +1 to both. |
|||
| msg140040 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2011年07月08日 21:38 | |
New changeset 638039a4fef3 by Antoine Pitrou in branch 'default': Issue #11863: remove unused file Python/thread_wince.h http://hg.python.org/cpython/rev/638039a4fef3 |
|||
| msg140042 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2011年07月08日 21:52 | |
New changeset 0aa3f90f0830 by Antoine Pitrou in branch 'default': Issue #11863: Remove support for legacy systems deprecated in Python 3.2 http://hg.python.org/cpython/rev/0aa3f90f0830 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:16 | admin | set | github: 56072 |
| 2011年07月08日 21:55:35 | pitrou | set | status: open -> closed resolution: fixed stage: needs patch -> resolved |
| 2011年07月08日 21:52:46 | python-dev | set | messages: + msg140042 |
| 2011年07月08日 21:38:36 | python-dev | set | nosy:
+ python-dev messages: + msg140040 |
| 2011年04月19日 21:13:55 | pitrou | set | messages: + msg134103 |
| 2011年04月19日 21:04:13 | vstinner | set | messages: + msg134101 |
| 2011年04月19日 15:33:53 | eric.araujo | set | nosy:
+ eric.araujo |
| 2011年04月19日 14:24:18 | vstinner | set | messages: + msg134060 |
| 2011年04月19日 14:20:19 | vstinner | set | files:
+ remove_threads.patch keywords: + patch messages: + msg134058 |
| 2011年04月19日 13:13:34 | vstinner | set | nosy:
+ vstinner messages: + msg134051 |
| 2011年04月18日 21:25:00 | brett.cannon | set | nosy:
+ brett.cannon |
| 2011年04月18日 01:03:46 | jcea | set | nosy:
+ jcea messages: + msg133947 |
| 2011年04月18日 00:08:57 | pitrou | create | |