On 12/27/2022 8:25 AM, Antoon Pardon wrote:
Op 27/12/2022 om 13:46 schreef Chris Angelico:
On Tue, 27 Dec 2022 at 23:28, Antoon PardonĀ wrote:
At the moment I am happy with a solution that once the programmer has
imported from QYZlib.threaders that module will used as the threading
module.
Antoon Pardon wrote at 2022-12-27 14:25 +0100:
> ...
>> But a simple "sys.modules['threading'] = QYZlib.threaders" will work.
>> Of course, how *well* this works depends also on how well that module
>> manages to masquerade as the threading module, but I'm sure you've
>> figured that part out :)
>
Antoon Pardon wrote:
Op 27/12/2022 om 11:37 schreef Chris Angelico:
On Tue, 27 Dec 2022 at 21:29, Antoon Pardon wrote:
OK, I am writing an alternative for the threading module. What I would
like to know is how I can get some library modules call my alternative
instead of the threading module
Op 27/12/2022 om 13:46 schreef Chris Angelico:
On Tue, 27 Dec 2022 at 23:28, Antoon Pardon wrote:
At the moment I am happy with a solution that once the programmer has
imported from QYZlib.threaders that module will used as the threading
module.
Oh! If that's all you need, then yes, a simp
On Tue, 27 Dec 2022 at 23:28, Antoon Pardon wrote:
>
>
>
> Op 27/12/2022 om 13:09 schreef Chris Angelico:
> > On Tue, 27 Dec 2022 at 23:06, Antoon Pardon wrote:
> >>> How do you intend to distinguish one from the other? How should the
> >>> logging module know which threading module to use?
> >>
Op 27/12/2022 om 13:09 schreef Chris Angelico:
On Tue, 27 Dec 2022 at 23:06, Antoon Pardon wrote:
How do you intend to distinguish one from the other? How should the
logging module know which threading module to use?
That is my question! How can I get the logging module to use my module.I w
On Tue, 27 Dec 2022 at 23:06, Antoon Pardon wrote:
> > How do you intend to distinguish one from the other? How should the
> > logging module know which threading module to use?
>
> That is my question! How can I get the logging module to use my module.I was
> hoping the logging module would allo
Op 27/12/2022 om 12:28 schreef Chris Angelico:
On Tue, 27 Dec 2022 at 22:13, Antoon Pardon wrote:
Op 27/12/2022 om 11:37 schreef Chris Angelico:
On Tue, 27 Dec 2022 at 21:29, Antoon Pardon wrote:
OK, I am writing an alternative for the threading module. What I would
like to know is how
On Tue, 27 Dec 2022 at 22:13, Antoon Pardon wrote:
>
>
>
> Op 27/12/2022 om 11:37 schreef Chris Angelico:
> > On Tue, 27 Dec 2022 at 21:29, Antoon Pardon wrote:
> >> OK, I am writing an alternative for the threading module. What I would
> >> like to know is how I can get some library modules call
Op 27/12/2022 om 11:37 schreef Chris Angelico:
On Tue, 27 Dec 2022 at 21:29, Antoon Pardon wrote:
OK, I am writing an alternative for the threading module. What I would
like to know is how I can get some library modules call my alternative
instead of the threading module.
For instance there
On Tue, 27 Dec 2022 at 21:29, Antoon Pardon wrote:
>
> OK, I am writing an alternative for the threading module. What I would
> like to know is how I can get some library modules call my alternative
> instead of the threading module.
>
> For instance there is the logging module, it can log the thr
OK, I am writing an alternative for the threading module. What I would
like to know is how I can get some library modules call my alternative
instead of the threading module.
For instance there is the logging module, it can log the thread name. So
I would like to know how I can get the logging
12 matches
Mail list logo