[Numpy-discussion] How does Numpy build system detect the change of .c source file?

2022-11-02 Thread 腾刘
Hi everyone! I 'm here again. Recently I 'm trying to understand the C code with output-debug method, inserting many print statements. I was doing well with it until one day: I changed a file called loops_utils.h.src located in numpy/core/src/umath by inserting some "printf", but after I re-built

[Numpy-discussion] Re: How does Numpy build system detect the change of .c source file?

2022-11-02 Thread Ralf Gommers
On Wed, Nov 2, 2022 at 9:30 AM 腾刘 <27rabbi...@gmail.com> wrote: > Hi everyone! I 'm here again. > > Recently I 'm trying to understand the C code with output-debug method, > inserting many print statements. I was doing well with it until one day: I > changed a file called loops_utils.h.src located

[Numpy-discussion] Re: How does Numpy build system detect the change of .c source file?

2022-11-02 Thread 腾刘
So much thanks! I will have a look at how distutils work and try to figure out whether I can fix this dependency problem. Ralf Gommers 于2022年11月2日周三 17:13写道: > > > On Wed, Nov 2, 2022 at 9:30 AM 腾刘 <27rabbi...@gmail.com> wrote: > >> Hi everyone! I 'm here again. >> >> Recently I 'm trying to und

[Numpy-discussion] Re: NEP 51: Changing the Representation of NumPy Scalars

2022-11-02 Thread Sebastian Berg
On Mon, 2022-10-31 at 13:49 -0600, Aaron Meurer wrote: > I like this. NumPy scalar printing is confusing to new users, who > might think they are Python scalars. And even if you understand them, > it's always been annoying that you have to do further introspection > to > see the dtype. I also like