[image: image.png]
--
https://mail.python.org/mailman/listinfo/python-list
> On 15 Sep 2022, at 12:31, נתי שטרן <nsh...@gmail.com> wrote:
>
> [image: image.png]
Images are stripped; please copy the text of the error you are seeing and post
that.
Barry
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
https://mail.python.org/mailman/listinfo/p
> On 14 Sep 2022, at 14:03, אורי <u...@speedy.net> wrote:
>
> Hi,
>
> Python 3.9.14 has been released on Sept. 6, 2022. As I can see written on
> https://www.python.org/downloads/release/python-3914/:
>
> According to the release calendar specified in PEP 596, Python 3.9 is now
> in the "s
I've done unit testing of C functions using ctypes, and that works
nicely until you need to provide a stub/mock function to be called by
the C code under test.
Can that be done using ctypes?
For example, I open a library that contains functon foo() where foo()
calls external function bar() which
On 9/15/22, Grant Edwards wrote:
>
> Can that be done using ctypes?
>
> For example, I open a library that contains functon foo() where foo()
> calls external function bar() which is not contained in the library.
> Then, I provide a Python bar() function that gets called by foo() when
> foo() is c
Hi,
I'm using Flask + Celery + RabbitMQ. Can anyone recommend a good book or
other resource about Celery?
Thanks!
Albert-Jan
--
https://mail.python.org/mailman/listinfo/python-list
On 2022-09-15, Eryk Sun wrote:
> On 9/15/22, Grant Edwards wrote:
>>
>> Can that be done using ctypes?
>>
>> For example, I open a library that contains functon foo() where foo()
>> calls external function bar() which is not contained in the library.
>> Then, I provide a Python bar() function tha
On 9/15/22, Grant Edwards wrote:
>
> Does the pointer have to be passed? Or can it be "poked" into a global
> variable?
If the library exports the function pointer as a global variable, it
can be set in ctypes using the in_dll() method. Unfortunately, as far
as I know, a ctypes function prototype