Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 221183

Summary: dev-lang/python-2.5.2-r1: remove functionality as an enhancement
Product: Gentoo Linux Reporter: Rafał Mużyło <galtgendo>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED UPSTREAM    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Rafał Mużyło 2008-05-10 07:48:42 UTC
This is a rather strange request, but please bear me.
While building Posix module, python checks (among others) for
tmpfile, tmpnam and tmpnam_r
however man pages state explicitly, that in case tmpfile is available, other two should not be used
if libpython2.5.a is built with either of them, linker complains each time it's added

While this doesn't break anything, it's still a bit annoying.
so I propose to remove functionality as an enhancement:
to change in Modules/posixmodule.c
#ifdef HAVE_TMPNAM
to
#ifdef HAVE_TMPNAM && !defined(HAVE_TMPFILE)

Your thoughts ?
Comment 1 Ali Polatel (RETIRED) gentoo-dev 2008-06-24 11:43:59 UTC
Have you reported this upstream?
Comment 2 Dirkjan Ochtman (RETIRED) gentoo-dev 2009-09-22 09:22:57 UTC
I've opened http://bugs.python.org/issue6965. Resolving UPSTREAM.