• scoder's avatar
    Rewrite the C property feature (GH-3571) · 22a49f40
    scoder authored
    * Rewrite C property support (GH-2640) based on inline C methods.
    Supersedes GH-2640 and GH-3095.
    Closes GH-3521.
    
    * Test fix for `numpy_parallel.pyx`: avoid depending on whether "nd.shape" requires the GIL or not.
    
    * Turn NumPy's "ndarray.data" into a property to avoid direct struct access.
    
    * Make "ndarray.size" accessible without the GIL.
    22a49f40
numpy_parallel.pyx 625 Bytes