This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kraai
Recipients Konjkov, georg.brandl, gvanrossum, kraai, loewis
Date 2008-01-23.20:59:12
SpamBayes Score 0.015589074
Marked as misclassified No
Message-id <1201121954.46.0.587465232116.issue1722225@psf.upfronthosting.co.za>
In-reply-to
Content
This patch contains two improvements over the previous version:

 * it uses configure to check whether sys/termio.h is available and uses
the result to determine whether to include it and
 * it makes malloc_closure.c use _SC_PAGESIZE instead of getpagesize if
it's available.

I believe there are two unresolved issues at this point, the wchar_t
definition and the stack size.

[n]curses.h defines wchar_t if _XOPEN_SOURCE_EXTENDED is defined and if
_WCHAR_T is not defined:

 #ifdef _XOPEN_SOURCE_EXTENDED
 #ifndef _WCHAR_T
 typedef unsigned long wchar_t;
 #endif /* _WCHAR_T */
 #ifndef _WINT_T
 typedef long int wint_t;
 #endif /* _WINT_T */

stdlib.h defines wchar_t if __WCHAR_T is defined:

 #if defined(__WCHAR_T)
 typedef __WCHAR_T       wchar_t;
 #undef __WCHAR_T
 #endif

I'm afraid I don't quite understand what configure should test for in
this case either.  Please help!

Regarding the stack size, how can I test whether 2MiB is sufficient for
the default recursion limit?
History
Date User Action Args
2008-01-23 20:59:14kraaisetspambayes_score: 0.0155891 -> 0.015589074
recipients: + kraai, gvanrossum, loewis, georg.brandl, Konjkov
2008-01-23 20:59:14kraaisetspambayes_score: 0.0155891 -> 0.0155891
messageid: <1201121954.46.0.587465232116.issue1722225@psf.upfronthosting.co.za>
2008-01-23 20:59:13kraailinkissue1722225 messages
2008-01-23 20:59:12kraaicreate