On Tue, May 10, 2022 at 8:07 PM Ben Rudiak-Gould
wrote:
> Cython seems to me rather different from what the original post was
> talking about. If I put
>
> class Foo:
> def bar(self):
> pass
>
> in a .pyx file and run it through Cython, the result is a 5600-line,
>
Cython seems to me rather different from what the original post was talking
about. If I put
class Foo:
def bar(self):
pass
in a .pyx file and run it through Cython, the result is a 5600-line,
200-kilobyte lump of C that clearly isn't meant to be understood or
modified by
On 10/05/22 8:05 pm, anthony.flury via Python-ideas wrote:
My Idea is a simple tool that uses introspection tools to take a Python
module and to generate the relevant boiler plate for the module -
including blank functions for the module classes and for methods.
There's a much better tool in
On Tue, May 10, 2022 at 1:20 AM Chris Angelico wrote:
> On Tue, 10 May 2022 at 18:06, anthony.flury via Python-ideas
> Yep, that's an awesome idea! Are you aware of Cython? You might be
> able to make use of that.
>
Indeed -- Cython pretty much does all of this, while also letting you write
the
On Tue, 10 May 2022 at 18:06, anthony.flury via Python-ideas
wrote:
>
> A proposal for a new tool to be implemented -
>
> It is often the case that developer write Code in Python and then convert to
> a C extension module for performance regions.
>
> A C extension module has a lot of boiler
A proposal for a new tool to be implemented -
It is often the case that developer write Code in Python and then
convert to a C extension module for performance regions.
A C extension module has a lot of boiler plate code - for instance the
Structures required for each class, the functions