Improve messages in case of system exit. This prints a better set of error messages in case someone calls `os._exit()` or in C code `exit()` is used.

Resolves #3486.

- [x] Add a [CHANGELOG](https://github.com/pyodide/pyodide/blob/main/docs/project/changelog.md) entry

package:
  name: optlang
  version: 1.6.1
  top-level:
    - optlang
source:
  sha256: 6dbc3b130df78a72333f62e35ac6933b4398424b61cdb07d95f43c0f644ef22e
  url: https://files.pythonhosted.org/packages/41/2b/d23e724fbb0fc069df0f225ee65a08f4e81aa087d8ad8b597b69bb182fca/optlang-1.6.1-py2.py3-none-any.whl
requirements:
  run:
    - sympy
    - six
    - swiglpk
test:
  imports:
    - optlang
    - optlang.glpk_interface
    - optlang.symbolics
about:
  home: https://github.com/opencobra/optlang
  PyPI: https://pypi.org/project/optlang
  summary:
    Formulate optimization problems using sympy expressions and solve them
    using interfaces to third-party optimization software (e.g. GLPK).
  license: Apache-2.0

package:
  name: optlang
  version: 1.6.1
  top-level:
    - optlang
source:
  sha256: 6dbc3b130df78a72333f62e35ac6933b4398424b61cdb07d95f43c0f644ef22e
  url: https://files.pythonhosted.org/packages/41/2b/d23e724fbb0fc069df0f225ee65a08f4e81aa087d8ad8b597b69bb182fca/optlang-1.6.1-py2.py3-none-any.whl
requirements:
  run:
    - sympy
    - six
    - swiglpk
test:
  imports:
    - optlang
    - optlang.glpk_interface
    - optlang.symbolics
about:
  home: https://github.com/opencobra/optlang
  PyPI: https://pypi.org/project/optlang
  summary:
    Formulate optimization problems using sympy expressions and solve them
    using interfaces to third-party optimization software (e.g. GLPK).
  license: Apache-2.0
