<div dir="ltr"><div><div><div><div>Hey Joshua, thanks for the answer!<br><br></div>I was looking into your points and I would like to ask for your opinion on them:<br><br></div>1) For the Numpy versions, I couldn't understand why that is a problem for the development phase, since I could work on my fork and change the numpy dependency to point directly at numpy's master, rather than to an already released version, would that be acceptable? <br><br>2) I was looking for how that would work and found the _generate_pyx.py responsible for generating some automated stubs related to C code, but haven't gotten very far with the f2py file. My problem with it is that since the fortran functions aren't exposed, I don't understand how I should declare that my stubs are referencing the functions instantiated on the .pyf, is there such a thing as a .pyfi ? <br><br></div><div>I am sorry if my question implies a lack of understanding of both typing and the f2py mechanisms, I am fairly new to these topics. It's a shame I couldn't find your branch to better explore my shortcomings! Is there a chance you know where it is?<br><br></div><div>So... I will try my best to enrich my proposal, but chances are that I won't be able to make it so much better than it already is, given my lack of experience, and that understanding type interactions would be something that I would need to pick upon before the coding period starts.<br><br>I need to be honest about the fact that I don't already have the expertise to do the job, and I would like to know if it's expected to pick things up as the project happens, or if for this job in particular it wouldn't be possible to learn so much stuff on so little time (or something like that)<br><br></div><div>Looking forward to any inputs, I appreciate the advice very much!<br></div><span style="font-family:monospace"><br></span></div><span style="font-family:monospace"><br></span></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em qui., 1 de abr. de 2021 às 00:15, Joshua Wilson <<a href="mailto:josh.craig.wilson@gmail.com">josh.craig.wilson@gmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hey Gabriel,<br>
<br>
One thing to consider is that a large chunk of special is ufuncs, and<br>
better ufunc typing is going to need PRs like<br>
<br>
<a href="https://github.com/numpy/numpy/pull/18417" rel="noreferrer" target="_blank">https://github.com/numpy/numpy/pull/18417</a><br>
<br>
which aren't yet in a released version of NumPy. So you'll want to<br>
make sure the timing works out there.<br>
<br>
You mention .pyf files in the doc, they are an interesting case<br>
because ideally we'd be able to auto-generate stubs for them. I even<br>
have a languishing branch somewhere that has a start on doing that...<br>
there are a few complications because the objects exported by the pyf<br>
extension module are actually instances of one class, so you'd need to<br>
either fudge the typing a bit or use Generic a lot.<br>
<br>
I'd recommend thinking through how to handle the above complications<br>
and discussing that in the doc.<br>
<br>
- Josh (also the person142 mentioned in the doc)<br>
<br>
On Wed, Mar 31, 2021 at 5:42 PM Gabriel Simonetto<br>
<<a href="mailto:gabrielfranksimonetto@gmail.com" target="_blank">gabrielfranksimonetto@gmail.com</a>> wrote:<br>
><br>
> Hi everyone!<br>
><br>
> I finished making a rough draft of what I would like to do for this year's gsoc, could someone give me some tips on how to improve it?<br>
><br>
> In particular I would like to know if this is a good module for the project or if it would be better allocated elsewhere, and how could I make my timeline a bit sharper.<br>
><br>
> Here is the link for adding comments: <a href="https://docs.google.com/document/d/1d3NkbQC9rBcoKkuOmsx95wYDO_OMA5m1PBSu_oiwQVw/edit?usp=sharing" rel="noreferrer" target="_blank">https://docs.google.com/document/d/1d3NkbQC9rBcoKkuOmsx95wYDO_OMA5m1PBSu_oiwQVw/edit?usp=sharing</a><br>
><br>
> Thanks!<br>
> Gabriel Simonetto<br>
> _______________________________________________<br>
> SciPy-Dev mailing list<br>
> <a href="mailto:SciPy-Dev@python.org" target="_blank">SciPy-Dev@python.org</a><br>
> <a href="https://mail.python.org/mailman/listinfo/scipy-dev" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/scipy-dev</a><br>
_______________________________________________<br>
SciPy-Dev mailing list<br>
<a href="mailto:SciPy-Dev@python.org" target="_blank">SciPy-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/scipy-dev" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/scipy-dev</a><br>
</blockquote></div>