Antoine Pitrou

Results 66 issues of Antoine Pitrou

AFAIU, `faulthandler` is enabled by default by pytest. In our (PyArrow) CI tests, we also enable CPython dev mode through the environment variable `PYTHONDEVMODE`: https://github.com/pitrou/arrow/actions/runs/3080710517/jobs/4978383781#step:6:5654 However, it seems that in...

Some gcc versions (such as 6.3.0) may emit an aligned-only load instruction, but the Parquet writer can be called with unaligned buffers.

parquet
lang-c++

BPO | [39734](https://bugs.python.org/issue39734) --- | :--- Nosy | @pitrou, @ZackerySpytz, @pierreglaser PRs | python/cpython#19237 *Note: these values reflect the state of the issue at the time it was migrated and...

type-feature
stdlib
3.12

Not a bug, but for the record, this (branchy) implementation is faster on our benchmarks for random masks: https://github.com/apache/arrow/blob/493d2c6c998779a15371916e9d673b9f5968062e/cpp/src/parquet/level_conversion_inc.h#L39-L259

Need vetting by @seibert before merging.

I recently had this failure on a CI platform: ``` C:/projects/arrow/cpp/src/arrow/util/decimal_test.cc(557): error: Expected equality of these values: dec.ToReal(scale) Which is: 1e-163 expected Which is: 1e-163 ``` Needless to say, this...

I have the following class declaration: ```cython cdef class MinMaxOptions(FunctionOptions): def __init__(self, null_handling='skip'): # ... ``` Unfortunately, when compiled, the signature information for the constructor is lost: ```python >>> pc.MinMaxOptions.__text_signature__...

feature
Python Semantics

### Describe the bug When building the Apache Arrow docs, we get the following warning: ``` /home/antoine/arrow/dev/docs/source/cpp/api/dataset.rst:62: WARNING: Parsing of expression failed. Using fallback parser. Error was: Error in postfix...

type:enhancement
domains:cpp

The page https://dmlc.github.io/dlpack/latest/python_spec.html currently lacks a detailed description of the DLPack Python protocol (for example the `__dlpack__` signature). It claims that "More details about the spec can be found under...