Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose more settings... #870

Merged
merged 1 commit into from
Jul 1, 2023
Merged

Expose more settings... #870

merged 1 commit into from
Jul 1, 2023

Conversation

rocky
Copy link
Member

@rocky rocky commented Jun 25, 2023

  • Set sys.set_int_max_str_digits() on systems that need it - this is everything except pyston
  • expose this setting and MATHICS_CHARACTER_ENCODING to front-ends via mathics.system_info

@rocky rocky requested a review from mmatera June 25, 2023 03:08
@rocky
Copy link
Member Author

rocky commented Jun 25, 2023

I was looking at the 35 year celebration of Mathematica and trying the examples given there. (This may be a Django workspace in the future.)

In that I was seeing that 1989 ^ 1989 failed due to a CPython default max. This corrects that, and exposes a couple more settings.

There will be a change in Django afterwards to pick up the settings.

* Set sys.set_int_max_str_digits() on systems that need it -
  this is everything except pyston
* expose this setting and MATHICS_CHARACTER_ENCODING to front-ends via
  mathics.system_info
@rocky
Copy link
Member Author

rocky commented Jul 1, 2023

Feel free to comment on this at any time in the future.

@rocky rocky merged commit 3319ffa into master Jul 1, 2023
@rocky rocky deleted the more-settings branch July 1, 2023 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant