Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 221183 - dev-lang/python-2.5.2-r1: remove functionality as an enhancement
Summary: dev-lang/python-2.5.2-r1: remove functionality as an enhancement
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-10 07:48 UTC by Rafał Mużyło
Modified: 2009-09-22 09:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.