[Python-modules-team] Bug#835647: python-brainstorm: build path is captured

Chris Lamb lamby at debian.org
Sat Aug 27 22:48:16 UTC 2016


Hi,

> python-brainstorm: build path is captured

Following this through for a few stages, I first see this generated
C code:

--- ./a/python-brainstorm-0.5/brainstorm/handlers/_cpuop.c	2016-08-27 23:32:02.362189730 +0100
+++ ./b/python-brainstorm-0.5/brainstorm/handlers/_cpuop.c	2016-08-27 23:32:57.834818195 +0100
@@ -2029,7 +2029,7 @@
 static const char __pyx_k_Expected_at_least_d_arguments[] = "Expected at least %d arguments";
 static const char __pyx_k_unable_to_allocate_array_data[] = "unable to allocate array data.";
 static const char __pyx_k_strided_and_direct_or_indirect[] = "<strided and direct or indirect>";
-static const char __pyx_k_home_lamby_temp_cdt_20160827233[] = "/home/lamby/temp/cdt.20160827233114.crIlYLxW7D.repro.python-brainstorm/build-a/python-brainstorm-0.5/brainstorm/handlers/_cpuop.pyx";
+static const char __pyx_k_home_lamby_temp_cdt_20160827233[] = "/home/lamby/temp/cdt.20160827233114.crIlYLxW7D.repro.python-brainstorm/build-b/python-brainstorm-0.5/brainstorm/handlers/_cpuop.pyx";
 static const char __pyx_k_unknown_dtype_code_in_numpy_pxd[] = "unknown dtype code in numpy.pxd (%d)";
 static const char __pyx_k_Buffer_view_does_not_expose_stri[] = "Buffer view does not expose strides";
 static const char __pyx_k_Can_only_create_a_buffer_that_is[] = "Can only create a buffer that is contiguous in memory.";

(NB. the variable *name*, not only its value)

.. which is generated from the corresponding .pyc. I believe it
is caused by cython pulling in memoryview via:

   from cython.view cimport array as cvarray

Hope that helps jumpstart you...


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-



More information about the Python-modules-team mailing list