On Thursday, July 29, 2021 at 7:42:58 AM UTC-7, joseph pareti wrote:
> indeed. There are better options than the one I attempted. Thanks for the
> advice
>
> Am Mi., 28. Juli 2021 um 18:19 Uhr schrieb Chris Angelico >:
> > On Thu, Jul 29, 2021 at 2:10 AM joseph pareti
> > wrote:
> > >
> > >
On Sat, Jul 31, 2021 at 5:11 AM Charles Smith wrote:
>
> First off, thanks for the answer. I don't see the cached module as a problem
> here. If you provide arguments to a module, the goal is "most likely" to
> alter/parameterize the behavior of the first import. Now, I agree that
> behavior be
First off, thanks for the answer. I don't see the cached module as a problem
here. If you provide arguments to a module, the goal is "most likely" to
alter/parameterize the behavior of the first import. Now, I agree that behavior
becomes unpredictable because passing different parameters on subs
On Sat, Jul 31, 2021 at 3:48 AM Charles Smith wrote:
>
> I have found myself wanting to import module and provide arguments to them.
> There's two main reason I could think of for this. First is to prevent a
> circular import, though most of circular imports can be prevented by changing
> the d
I have found myself wanting to import module and provide arguments to them.
There's two main reason I could think of for this. First is to prevent a
circular import, though most of circular imports can be prevented by changing
the design. The second reason is to invert dependencies between two m
On Fri, 30 Jul 2021 13:17:50 +0200, Peter Otten <__pete...@web.de>
declaimed the following:
>
>https://mail.python.org/pipermail/python-list/2021-July/902975.html
>
>You are now officially archived ;)
Pity the choice was the boolean "X-No-Archive"... Consensus
implementation of an "X-Expi
Instead of struggling to define an enum in C that can be read in Python - I'm
assuming you can pass strings back and forth - why not just print whatever you
need to give to Python into a string (or maybe 2 strings) and send it to Python
as string? Python is a dynamic language, it can quickly
23.07.21 11:20, Bartosz Golaszewski пише:
> I'm working on a Python C extension and I would like to expose a
> custom enum (as in: a class inheriting from enum.Enum) that would be
> entirely defined in C.
I think that it would be much easier to define it in Python, and then
either import a Python
On 29/07/2021 17:43, Dennis Lee Bieber wrote:
On Thu, 29 Jul 2021 15:45:26 +0200, Peter Otten <__pete...@web.de>
declaimed the following:
On 28/07/2021 18:40, Dennis Lee Bieber wrote:
On Wed, 28 Jul 2021 09:04:40 +0200, Peter Otten <__pete...@web.de>
declaimed the following:
Perhaps it has