Jeff Martin on Nostr: npub189nna…77mgz I still don't see how loading a python source file at runtime, ...
npub189nnanf0qr4dmg8f23lft53hmem0fm0up00txyrewh0570jkwt8s377mgz (npub189n…7mgz) I still don't see how loading a python source file at runtime, compiling it into bytecode, and then running it in the VM doesn't count as JIT, but that's a rabbit hole for another day.
For my circular dependency case, I'm talking about a module that imports a class from another module. Then that imported module imports a class from the first module.
That loop gives errors like "cannot import name 'Blarb' from partially initialized module ...".
I was just surprised python programmers have to deal with this issue, that's all.
Published at
2023-12-14 17:07:48Event JSON
{
"id": "d08ab3af269551490c784e5eb46287ffaeeeef3fd3e692db657a7da4a0ca03e8",
"pubkey": "4b06a99655066ca3e1a19ecc4bd5c5fd5d0f106a319a8cfb3c414bdff9e17c27",
"created_at": 1702573668,
"kind": 1,
"tags": [
[
"p",
"39673ecd2f00eadda0e9547e95d237de76f4edfc0bdeb3107975df4f3e5672cf",
"wss://relay.mostr.pub"
],
[
"p",
"7a53ba6507358ebc5266031d353667159ffff9b2eae120b9cad37a35198cad20",
"wss://relay.mostr.pub"
],
[
"e",
"a818bf671450855b957181e48bac8626e6c5cf46ab3f115270da29bead25a0f2",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://gladtech.social/users/cuchaz/statuses/111579867945300448",
"activitypub"
]
],
"content": "nostr:npub189nnanf0qr4dmg8f23lft53hmem0fm0up00txyrewh0570jkwt8s377mgz I still don't see how loading a python source file at runtime, compiling it into bytecode, and then running it in the VM doesn't count as JIT, but that's a rabbit hole for another day.\n\nFor my circular dependency case, I'm talking about a module that imports a class from another module. Then that imported module imports a class from the first module.\n\nThat loop gives errors like \"cannot import name 'Blarb' from partially initialized module ...\".\n\nI was just surprised python programmers have to deal with this issue, that's all.",
"sig": "0cd880bd834c59390aa3e00cd2a1564fbe3a44f0665564f2f9cfb71bc118fbbc919820dd6a4e5a4e26e1ed12ac98aad4eba31bf9b1a989a957a33601e198db3b"
}