New submission from Daniel Hrisca :
First I have to apologize if this was discussed before; I've searched the
issues and googled the problem but I got nothing obvious.
I'm trying to pass a memoryview slice as argument to struct packing functions
to avoid creating intermediate byt
Daniel Hrisca added the comment:
Under the hood perf_counter_ns already uses the two winapi calls (see
https://github.com/python/cpython/blob/41761933c1c30bb6003b65eef1ba23a83db4eae4/Python/pytime.c#L970)
just that it also sets up a static variable as a time origin which makes it
process
Daniel Hrisca added the comment:
That would be perfect and would help a lot with timings/synchronization across
multiple processes.
Which Pyhton version will get this fix?
--
___
Python tracker
<https://bugs.python.org/issue37
Daniel Hrisca added the comment:
I'm actually surprised that this problem gets so little interest. It's probably
so obscure that most people don't even realize it.
Why isn't it implemented using winapi calls for the windows platform?
I took inspiration from t
New submission from Daniel Hrisca :
Consider this code snippet:
from re import match, fullmatch
pattern = '".+?"'
string = '"hello" "again"'
print(match(pattern, string))
print(fullmatch(pattern, string))
Which prints:
<_sre.SRE_Match