[Python-Dev] Clean up Python/thread_*.h ?

Christian Heimes lists at cheimes.de
Sat Oct 24 21:08:08 CEST 2009

Antoine Pitrou wrote:
> * The unused file: thread_wince.h
> Windows CE has actually been using thread_nt.h since January 2009 (see
> http://bugs.python.org/issue4893 ). thread_wince.h is still there, but it's
> unused and grep brings no instance of it being mentioned anywhere in the source
> tree.

What about older versions of Windows CE? Maybe they still require the
wince thread header?

> * The (unsupported, untested?) files: thread_atheos.h, thread_cthread.h,
> thread_lwp.h, thread_os2.h, thread_pth.h, thread_sgi.h.


According to svn annotate the file was added on one revision and never
touched afterwards. It was added by MvL.

r27146 | loewis | 2002-06-11 08:22:31 +0200 (Tue, 11 Jun 2002) | 2 lines
Patch #488073: AtheOS port.


Most lines were last modified or added in in revision 4018 (!), 12178,
16421 and 24967 by Guido, Thomas Wouters and MvL. The last change was:

r24967 | loewis | 2002-01-01 19:41:33 +0100 (Di, 01. Jan 2002) | 2 Zeilen
Patch #497098: build support for GNU/Hurd.


The history of this file is almost identical to thread_cthread.h. No
changes since r23732 (2001-10-16)


The file seems to be maintained by Andrew Macintyre. The last change was
on r46919 (2006-06-13). We should ask him before we remove the file.


No changes since r15372 (2000-05-08), most of the files was last changed
by Guido and Thomas Wouters.


Same as thread_cthread.h

I'mm +1 on removing the files. Let's ask Martin and Andrew before we
remove the wince and os2 thread files.


More information about the Python-Dev mailing list