Skip to main content

All Questions

0 votes
0 answers
23 views

I have a DDD-ish application where a long-running business process is split into workflow steps. Each step is idempotent and starts from a message handler. Very simplified flow of a single step: ...
Nimchuk_R's user avatar
1 vote
1 answer
53 views

How to make exceptions thrown from a socket server running in a task group task be propagated up to its parent TaskGroup? With given example, I'd expect to see the error raised from ...
laur's user avatar
  • 608
Advice
0 votes
0 replies
37 views

I'm building a hobby chess engine that communicates through the UCI protocol. This is communication done through standard out/in of the program, with each line representing a single command. One of ...
Kyle Pollard's user avatar
  • 2,362
2 votes
1 answer
48 views

The signature of sys.excepthook is sys.excepthook(type, value, traceback) so a natural way to call it is sys.excepthook(sys.exc_type, sys.exc_value, sys.exc_traceback) But as of Python 3.12, ...
Kodiologist's user avatar
  • 3,547
-1 votes
1 answer
69 views

I'm experimenting with Python’s asyncio to run multiple coroutines concurrently. However, in some cases asyncio.gather() seems to hang forever when one of the tasks raises an exception — even though I ...
OLEJK's user avatar
  • 1
3 votes
1 answer
145 views

I'm experimenting with measuring CPU's instructions latency and throughput on P and E cores using RDPMC on Win 11, something like that: MOV ECX, 0x40000000 ; Instructions Counter RDPMC ; Read ...
Andrey Dmitriev's user avatar
0 votes
1 answer
59 views

The first exception does not block the execution: public static async Task Main() { await Task.WhenAny( Task.WhenAll( Task.Run(() => throw new Exception(&...
user26757851's user avatar
3 votes
1 answer
371 views

I've created an Empty Views Activity project in Android Studio, but as soon as I add the dependency in build.gradle.kts and try to launch the app, it throws an exception (see output). No code is ...
Beavis's user avatar
  • 33

15 30 50 per page
1
2 3 4 5
3618