STINNER Victor added the comment:

> Or can we simply keep the function and skip the test?

Usually, we prefer to not provide the function in Python if it is known to be 
broken. Other examples:

- HAVE_BROKEN_POLL: don't declare select.poll()
- HAVE_BROKEN_PTHREAD_SIGMASK: don't declare signal.pthread_sigmask()

There are also HAVE_BROKEN_NICE and HAVE_BROKEN_UNSETENV.

Sorry, I'm too lazy to hack configure.ac, so I used a simple #ifdef in 
Modules/posixmodule.c to define "POSIX_FADVISE_AIX_BUG". If you feel more 
confortable with autotools, don't hesitate to propose a better patch :-)

I consider that the issue is now fixed.

@David: You should check with IBM why they don't fix the issue.

----------
resolution:  -> fixed
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22396>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to