[issue22623] Missing guards for some POSIX functions

2015-03-24 Thread Link Mauve
Link Mauve added the comment: On Mon, Mar 23, 2015 at 09:05:20PM +, STINNER Victor wrote: > > STINNER Victor added the comment: > > > Many POSIX functions aren’t available on every system, especially embedded > > ones. > > What do you call "embedded systems"? I worked on set top boxes (th

[issue22623] Missing guards for some POSIX functions

2015-03-23 Thread STINNER Victor
STINNER Victor added the comment: > Many POSIX functions aren’t available on every system, especially embedded > ones. What do you call "embedded systems"? I worked on set top boxes (the box to watch television) between 2011 and 2013 and we had a regular Linux kernel with all POSIX functions.

[issue22623] Missing guards for some POSIX functions

2015-03-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Personally, I'd rather answer that it's not our problem if some systems are not POSIX-compliant. Maintainers of such systems can always maintain a patch to disable the missing functionality. Adding conditionals everywhere has a non-trivial maintenance cost. -

[issue22623] Missing guards for some POSIX functions

2015-02-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: HAVE_SYS_RESOURCE_H still is used for #include in several files. If guards are added to pwd functions, shouldn't it be added to grp and spwd functions? Is there a platform that have pwd.h, but not getpwuid, getpwnam or getpwent. May be instead testing the ex

[issue22623] Missing guards for some POSIX functions

2015-02-18 Thread Link Mauve
Changes by Link Mauve : Added file: http://bugs.python.org/file38173/getedig.patch ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue22623] Missing guards for some POSIX functions

2015-02-18 Thread Link Mauve
Changes by Link Mauve : Added file: http://bugs.python.org/file38172/getedig.patch ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue22623] Missing guards for some POSIX functions

2015-02-17 Thread Link Mauve
Changes by Link Mauve : Added file: http://bugs.python.org/file38161/getedig.patch ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue22623] Missing guards for some POSIX functions

2015-02-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: 3.2 and 3.3 are only for security fixes now. -- nosy: +serhiy.storchaka versions: -Python 3.2, Python 3.3 ___ Python tracker ___

[issue22623] Missing guards for some POSIX functions

2015-02-17 Thread Link Mauve
Link Mauve added the comment: Removed the unwanted introduced function, and added a comment signaling the end of the HAVE_TTYNAME #ifdef. The full patch is attached, the diff with the previous version can be found at http://linkmauve.fr/files/getedig.patch -- Added file: http://bugs.p

[issue22623] Missing guards for some POSIX functions

2015-02-01 Thread Link Mauve
Link Mauve added the comment: This issue is still present in latest 3.5, all the way down to 2.7. -- components: +Extension Modules -Build versions: +Python 2.7, Python 3.2, Python 3.3, Python 3.4 Added file: http://bugs.python.org/file37971/guards.diff _

[issue22623] Missing guards for some POSIX functions

2015-02-01 Thread Link Mauve
Changes by Link Mauve : Removed file: http://bugs.python.org/file36898/f3cf19e38efe.diff ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue22623] Missing guards for some POSIX functions

2014-10-13 Thread Link Mauve
Changes by Link Mauve : -- keywords: +patch Added file: http://bugs.python.org/file36898/f3cf19e38efe.diff ___ Python tracker ___ ___

[issue22623] Missing guards for some POSIX functions

2014-10-13 Thread Link Mauve
New submission from Link Mauve: Many POSIX functions aren’t available on every system, especially embedded ones. The first patch introduces guards around some of these functions and add them to AC_CHECK_FUNCS in the configure.ac; the second one recompile every changed generated file, using aut