[New-bugs-announce] [issue4852] Cleanup old stuff from pythread.h

Amaury Forgeot d'Arc report at bugs.python.org
Tue Jan 6 00:28:51 CET 2009

New submission from Amaury Forgeot d'Arc <amauryfa at gmail.com>:

This patch removes four functions from pythread.h, which have been 
unusable for ages:
- PyThread_exit_prog is excluded by a #ifndef, and the NO_EXIT_PROG 
symbol is defined in the same file.
- PyThread__PyThread_exit_thread appears in the .h but is not defined 
anywhere. OTOH the different thread implementations define 
PyThread__exit_thread but it is not exposed anywhere (since r12178...)

Better remove unused code...

files: thread_cleanup.patch
keywords: needs review, patch, patch
messages: 79212
nosy: amaury.forgeotdarc
severity: normal
status: open
title: Cleanup old stuff from pythread.h
versions: Python 2.7
Added file: http://bugs.python.org/file12609/thread_cleanup.patch

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list