On 03Oct2024 22:12, Dan Ciprus (dciprus) wrote:
I'd be interested too :-).
Untested sketch:
def make_thread(target, *a, E=None, **kw):
'''
Make a new Event E and Thread T, pass `[E,*a]` as the target
positional arguments.
A shared preexisting Event may be
I'd be interested too :-).
On Thu, Sep 26, 2024 at 03:34:05AM GMT, marc nicole via Python-list wrote:
Could you show a python code example of this?
On Thu, 26 Sept 2024, 03:08 Cameron Simpson, wrote:
On 25Sep2024 22:56, marc nicole wrote:
>How to create a per-thread event in Python 2.7?
E
> whereas I am quite sure that program flows do not overlap.
You can never be sure of this in Python. Virtually all objects in
Python are allocated on heap, so instantiating integers, doing simple
arithmetic etc. -- all of this requires synchronization because it
will allocate memory for a shared
On 3/10/24 11:48 am, Left Right wrote:
So, streaming parsers (eg. SAX) are written for a regular language
that approximates XML.
SAX doesn't parse a whole XML document, it parses small pieces of it
independently and passes them on. It's more like a lexical analyser than
a parser in that respect