Commit 6bf423df authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

unix: Bump stack limit and adjust for 64-bitness.

Without that, "import http.client" failed due to max recursion.
parent db80b654
...@@ -303,7 +303,7 @@ STATIC void set_sys_argv(char *argv[], int argc, int start_arg) { ...@@ -303,7 +303,7 @@ STATIC void set_sys_argv(char *argv[], int argc, int start_arg) {
int main(int argc, char **argv) { int main(int argc, char **argv) {
prompt_read_history(); prompt_read_history();
mp_stack_set_limit(32768); mp_stack_set_limit(40000 * (BYTES_PER_WORD / 4));
pre_process_options(argc, argv); pre_process_options(argc, argv);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment