Antoine Pitrou

Results 823 comments of Antoine Pitrou

Ok, so `binding` would work with a regular method of an extension class, but not with `__init__`? I'm afraid that doesn't help me much in this case :-)

Given the compilation time [problems](https://groups.google.com/g/cython-users/c/hr3cFevY46k) we're having on PyArrow, I looked at our main workhorse Cython-compiled extension module and get the following symbol size numbers: (**edit**: for the record, this...

Looking at one of the initialization functions, I see a lot of repeated snippets for creating function objects, for example: ```c++ /* "pyarrow/memory.pxi":227 * * * def log_memory_allocations(enable=True): #

I'm looking at the disassembly of `__pyx_pymod_exec_lib` and something else stands out: *more than half of the disassembly output* is made of such code snippets: ```asm aa2a4: 31 c0 xor...

> Repeating what I said on the mailing list: it isn't quite as simple as that because the function objects need to be created at the right time in the...

By the way, something much simpler might be to move each type initialization to its own function, so as to avoid having a single extremely large init function.

@johnyf I'm not sure that's the reason. I'm having the same issue here. The error says coverage _does_ find the pyx file, it simply fails parsing it. The error when...

Actually, looking at `Cython.Coverage`, it does seem the generated C file (not the pyx file!) is used to find out about the original source code lines. I'm not sure why,...

This relates to the broader discussion I opened here: https://discuss.python.org/t/2fa-usability-on-pypi-and-with-packaging-tools/38167/7 Here are some `hatch`-specific pain points IMHO: * the docs do not mention 2FA or token-based authentication, leaving me in...