Xobjects

Latest version: v0.4.5

Safety actively analyzes 688619 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 9

0.1.26

**Changes:**
- Fix: pyopencl deprecated syntax

**Full Changelog**: https://github.com/xsuite/xobjects/compare/v0.1.25...v0.1.26

0.1.25

**Changes:**
- Version number accessible as xobjects.__version__
- Fix in Array C API generation
- Buffer/context consistency check on allocate_on_buffer

0.1.24

**Changes:**
- Faster array initialisation
- Introduced xobjects.get_a_buffer function

0.1.23

**Changes:**
- Rename of several methods
- Use offset=0 as default of from_buffer.

0.1.22

**Changes:**

Improve HybridClass robustness:
- Correctly propagate xobjects and python attributes in assignment and initialisation within nested data structures.
- Prevent object move for nested objects and in the presence of references
- Referencing objects across buffers now results in an error.
- Fix in rename mechanism.

0.1.21

**Changes**

Improved and reorganised management of sources and dependencies:
- Replaced extra_sources and _extra_c_source with _extra_c_sources both in xobjects.Struct and in xobjects.HybridClass.
- Kernel declarations can be made through the _kernels dictionary when creating subclasses of xobjects.Struct and in xobjects.HybridClass. The kernels can be compiled by the compile_kernels(...) method.
- Dependencies on additional xobjects types can be provided through the _depends_on list when creating subclasses of xobjects.Struct and in xobjects.HybridClass. These are taken into account when compiling the kernels.
- Context.add_kernels can apply a user-provided list of functions to the source code before code specialization.
- Renamed HybridClass.XoStruct to HybridClass._XoStruct.
- Renamed HybridClass._move_to to HybridClass.move.

Page 5 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.