ion-python icon indicating copy to clipboard operation
ion-python copied to clipboard

A Python implementation of Amazon Ion.

Results 83 ion-python issues
Sort by recently updated
recently updated
newest added

*Issue #, if available:* n/a *Description of changes:* Prior to this PR compilation of the C extension resulted in quite a bit of noise from compiler warnings and associated notes:...

Currently the test workflow (GHA) only support python versions 3.9 to 3.11, need to add 3.12. I tried to add 3.12 recently and found a build issue, need more investigation.

enhancement

Performing a `pip install amazon.ion` yields the following deprecation notice > Installing collected packages: amazon.ion DEPRECATION: amazon.ion is being installed using the legacy 'setup.py install' method, because it does not...

bug

This change fixes a bug in the Ion TextBinary conversion where an Ion stream of multiple top-level values would be transcoded as an Ion list. In the process of fixing...

We adds support to benchmark data that includes top-level objects for JSON and CBOR. Need investigation for protobuf too.

benchmark

Currently, benchmark-cli is able to benchmark data that includes multiple top level objects when `io-type=file`. We should enable this for `io-type=buffer` too. Reference PR - https://github.com/amazon-ion/ion-python/pull/315

bug
benchmark

What I expect: ``` >>> from amazon.ion.simpleion import loads >>> loads('$1') IonPySymbol(text='$ion', sid=1, location=ImportLocation(name='$ion', position=1)) >>> >>> >>> ``` What happens: ``` >>> from amazon.ion.simpleion import loads >>> loads('$1') IonPySymbol(text='$ion',...

bug

Many of the calls to the Python C API in ioncmodule are not checked for NULL return values, which would indicate an error, for example in `ionc_add_to_container`. For the most...

Currently, build test on windows doesn't support python 3.8, it throws below exception ``` Run python3 -m venv ./venv Error: [WinError [2](https://github.com/amazon-ion/ion-python/actions/runs/6963159507/job/18948248057#step:5:2)] The system cannot find the file specified Error:...

bug

When running below on the GHA Windows runner. ``` python ./amazon/ionbenchmark/ion_benchmark_cli.py compare ./tests/benchmark_sample_data/compare/cats_baseline.ion ./tests/benchmark_sample_data/compare/cats_baseline.ion --fail ``` It throws ``` UnicodeEncodeError: 'charmap' codec can't encode characters in position 0-64: character maps...

bug
benchmark