You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
multiprocessing: switch to autoconf detection of platform values #49795
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2009-04-02.01:42:28.395>created_at=<Date2009-03-23.17:15:02.984>labels= ['type-feature']
title='multiprocessing: switch to autoconf detection of platform values'updated_at=<Date2009-04-02.01:42:28.393>user='https://bugs.python.org/jnoller'
Dear Roumen, please do my a favor and stop throwing in random ideas and
accusations. I appreciate any help but your replies don't help at all.
They are just causing frustration on either side.
I know about AC_CHECK_DECL and AC_CHECK_FUNC. As I already said I can't
use AC_CHECK_FUNC because I can't easily include the necessary header file.
AC_CHECK_DECL emits almost the same code as my check for sem_open and
sem_timedwait. However I'm planing to add more sanity checks for exotic
platforms in the future.
My check for sem_open does exactly what it suppose to do (and exactly
what AC_CHECK_DECL does, by the way). Why do you think it's not right?
Jesse, have fun with
svn+ssh://pythondev@svn.python.org/python/branches/multiprocessing-autoconf
during the sprint.
rpetrov commented on Mar 29, 2009
rpetrovmannequin
Mannequin
More actions
Cchristian it is not about random idea. It is how to write simple
readable and correct autoconf script. Compare my check for functions
(see attached bootstrap.sh) with you. Also some of macros in you patch
are marked as obsolete.
Activity
jnoller commentedon Mar 23, 2009
See mail thread:
http://mail.python.org/pipermail/python-dev/2009-March/087418.html
And Christian's checkin to the back port:
http://code.google.com/p/python-multiprocessing/source/detail?r=64#
Need to take into the account information here (for my own notes):
http://bugs.python.org/issue5400
http://bugs.python.org/issue3876
http://bugs.python.org/msg83495
http://bugs.python.org/issue3110
tiran commentedon Mar 23, 2009
I've correct some smaller issues and integrated the autoconf code into
multiprocessing and setup.py A working patch is appended.
rpetrov commentedon Mar 23, 2009
What about AC_CHECK_FUNC* macros ?
tiran commentedon Mar 24, 2009
AC_CHECK_FUNC works only for trivial checks that do not require
additional headers.
rpetrov commentedon Mar 26, 2009
AC_CHECK_FUNC* check for function .
AC_CHECK_DECL check for declaration .
The check for functions sem_xxx() is incorrect in proposed patch. It has
to check for function.
I didn't review next part of the patch.
tiran commentedon Mar 27, 2009
Dear Roumen, please do my a favor and stop throwing in random ideas and
accusations. I appreciate any help but your replies don't help at all.
They are just causing frustration on either side.
I know about AC_CHECK_DECL and AC_CHECK_FUNC. As I already said I can't
use AC_CHECK_FUNC because I can't easily include the necessary header file.
AC_CHECK_DECL emits almost the same code as my check for sem_open and
sem_timedwait. However I'm planing to add more sanity checks for exotic
platforms in the future.
My check for sem_open does exactly what it suppose to do (and exactly
what AC_CHECK_DECL does, by the way). Why do you think it's not right?
tiran commentedon Mar 27, 2009
Jesse, have fun with
svn+ssh://pythondev@svn.python.org/python/branches/multiprocessing-autoconf
during the sprint.
rpetrov commentedon Mar 29, 2009
Cchristian it is not about random idea. It is how to write simple
readable and correct autoconf script. Compare my check for functions
(see attached bootstrap.sh) with you. Also some of macros in you patch
are marked as obsolete.
So you propose check that fail in some cases.
jnoller commentedon Apr 2, 2009
This is committed as of CL 71007 on trunk.
jnoller commentedon Apr 2, 2009
Closing as fixed until the buildbots prove otherwise