17
0
Ana Guerrero 7c7cb9895b Accepting request 1349286 from devel:languages:python
- update to 4.1.1:
  * The C extension now accelerates encoding when ``indent=`` is
    set.
  * Previously the encoder fell back to the pure-Python
    implementation whenever a non-None ``indent`` was passed;
  * The C extension now emits PEP 678 ``exc.add_note()``
    annotations on serialization failures, matching the pure-Python
    encoder. A chained error on ``{'a': [1, object(), 3]}``
    produces the same three notes
  * Skip uploading Pyodide/wasm wheels to PyPI, which rejects
    them with "unsupported platform tag 'pyodide_2024_0_wasm32'". The
    wheels are still built in CI and preserved as workflow artifacts.
  * simplejson 4 requires Python 2.7 or Python 3.8+. Older Python
  * versions (2.5, 2.6, 3.0-3.7) are no longer supported. pip
    will not install simplejson 4 on unsupported versions.
  * Full support for Python 3.13+ free-threading (PEP 703). The C
  * extension is now safe to use with the GIL disabled
    (python3.14t):
  * - Converted all static types to heap types with per-module
    state
  * Numerous C extension memory safety fixes:
  * Fix use-after-free and leak in encoder ident handling
  * Fix NULL dereferences on OOM in module init and static
    string init
  * Fix reference leaks in dict encoder (skipkeys item,
    variable shadowing)
  * Fix member table copy-paste, exception clobbering, missing
    Py_VISIT
  * Fix error-as-truthy bugs in maybe_quote_bigint and
    is_raw_json

OBS-URL: https://build.opensuse.org/request/show/1349286
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-simplejson?expand=0&rev=55
2026-04-28 09:53:26 +00:00
2026-04-25 20:49:09 +00:00
2026-04-25 20:49:09 +00:00
2026-04-25 20:49:09 +00:00
2026-04-25 20:49:09 +00:00
2026-04-25 20:49:09 +00:00
Description
No description provided
369 KiB
Languages
RPM Spec 100%