15
0
forked from pool/python-ijson
Commit Graph

4 Commits

Author SHA256 Message Date
88499def80 Accepting request 1092286 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092286
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ijson?expand=0&rev=6
2023-06-11 12:56:23 +00:00
d526397295 Accepting request 934410 from home:darix:apps
- update to 3.1.4 
  * Fixed bug in ``yajl2_c`` backend introduced in 3.1.0
    where ``ijson.items`` didn't work correctly
    against member names containing ``.`` (#41).
  * Python backend raises errors on incomplete JSON content
    that previously wasn't recognised as such,
    aligning itself with the rest of the backends (#42).
  
  Contains 3.1.3:
  
  * Python backed correctly raises errors
    when JSON numbers with leading zeros
    are found in the stream (#40).
  * Likewise, JSON numbers with fractions
    where the decimal point is not surrounded
    by at least one digit on both sides
    also produce an error now
    on the python backend.
  * Fixed detection of file objects
    with generator-based ``read`` coroutines
    (i.e., a ``read`` generator decorated with ``@types.coroutine``)
    for the purpose of automatically routing user calls
    done through the main entry points.
    For example, when using ``aiofiles`` objects
    users could invoke ``async for item in ijson.parse_async(f)``
    but not ``async for item in ijson.parse(f)``,
    while the latter has been possible since 3.1
    for native coroutines.
  
  Contains 3.1.2.post0:

OBS-URL: https://build.opensuse.org/request/show/934410
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ijson?expand=0&rev=5
2021-11-28 19:13:31 +00:00
Tomáš Chvátal
886e95d4a4 Accepting request 792735 from home:mcalabkova:branches:devel:languages:python
- update to 3.0
  * Exposing backend's name under ``<backend>.backend``,
  and default backend's name under ``ijson.backend``.
  * Exposing ``ijson.sendable_list`` to users in case it comes in handy.
  * Improved the protocol for user-facing coroutines,
  where instead of having to send a final, empty bytes string
  to finish the parsing process
  users can simply call ``.close()`` on the coroutine.
  * Including C code in coverage measurements,
  and increased overall code coverage up to 99%.
  * Full re-design of ijson.
  * Initial support for ``asyncio`` in python 3.5+.
  * Exposure of underlying infrastructure implementing the push model.
  * C extension broken down into separate source files
  for easier understanding and maintenance.
  * Fixed a deprecation warning in the C backend
  present in python 3.8 when parsing Decimal values.
  * New `kvitems` method in all backends.
  Like `items`, it takes a prefix,
  and iterates over the key/value pairs of matching objects
  (instead of iterating over objects themselves, like in `items`).
  * When using python 2, all backends now return
  `map_key` values as `unicode` objects, not `str`.
  * Including more files in source distributions (#14).
  * Adjusting python backend to avoid reading off the input stream
  too eagerly (#15).

OBS-URL: https://build.opensuse.org/request/show/792735
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ijson?expand=0&rev=3
2020-04-12 07:31:19 +00:00
Tomáš Chvátal
fee791bf8f Accepting request 741332 from home:jayvdb:py-new
60000+ downloads per day
https://pypistats.org/packages/ijson

OBS-URL: https://build.opensuse.org/request/show/741332
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ijson?expand=0&rev=1
2019-10-21 07:31:09 +00:00