Re: in-memory editing with EDT or EVE

Liste des GroupesRevenir à co vms 
Sujet : Re: in-memory editing with EDT or EVE
De : arne (at) *nospam* vajhoej.dk (Arne Vajhøj)
Groupes : comp.os.vms
Date : 25. Nov 2024, 01:51:22
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vi0hma$2erkf$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13
User-Agent : Mozilla Thunderbird
On 11/24/2024 7:33 PM, Lawrence D'Oliveiro wrote:
On Sun, 24 Nov 2024 19:27:35 -0500, Arne Vajhøj wrote:
And using a normal shareable image and ctypes, then it also works in
Python:
 Soon as you mentioned “ctypes”, I had to have a look. ;)
 I’m not a fan of wildcard imports. I know you tend to need a lot of stuff
from ctypes, but I prefer to do
      import ctypes as ct
 so you can then write
      memedit.memedt.argtypes = [ct.c_char_p, ct.c_char_p, ct.c_int]
     memedit.memedt.restype = ct.c_int
 etc.
I have an algorithm to decide whether to wildcard import
or not:
wildcardimport = isOnlyOptionInLanguage() ? true : (isScriptLanguage() ? rng.nextDouble() > 0.1 : rng.nextDouble() > 0.9)
:-)
Arne

Date Sujet#  Auteur
23 Nov 24 * in-memory editing with EDT or EVE21Arne Vajhøj
23 Nov 24 `* Re: in-memory editing with EDT or EVE20Lawrence D'Oliveiro
23 Nov 24  `* Re: in-memory editing with EDT or EVE19Craig A. Berry
23 Nov 24   +* Re: in-memory editing with EDT or EVE17Dan Cross
23 Nov 24   i`* Re: in-memory editing with EDT or EVE16Craig A. Berry
23 Nov 24   i +* Re: in-memory editing with EDT or EVE14Arne Vajhøj
23 Nov 24   i i+* Re: in-memory editing with EDT or EVE10Craig A. Berry
24 Nov 24   i ii`* Re: in-memory editing with EDT or EVE9Arne Vajhøj
24 Nov 24   i ii +* Re: in-memory editing with EDT or EVE7Craig A. Berry
24 Nov 24   i ii i`* Re: in-memory editing with EDT or EVE6Arne Vajhøj
24 Nov 24   i ii i +* Re: in-memory editing with EDT or EVE4Arne Vajhøj
25 Nov 24   i ii i i`* Re: in-memory editing with EDT or EVE3Arne Vajhøj
25 Nov 24   i ii i i `* Re: in-memory editing with EDT or EVE2Lawrence D'Oliveiro
25 Nov 24   i ii i i  `- Re: in-memory editing with EDT or EVE1Arne Vajhøj
24 Nov 24   i ii i `- Re: in-memory editing with EDT or EVE1Lawrence D'Oliveiro
24 Nov 24   i ii `- Re: in-memory editing with EDT or EVE1Dan Cross
23 Nov 24   i i+- Re: in-memory editing with EDT or EVE1Dan Cross
23 Nov 24   i i`* Re: in-memory editing with EDT or EVE2Lawrence D'Oliveiro
23 Nov 24   i i `- Re: in-memory editing with EDT or EVE1Craig A. Berry
23 Nov 24   i `- Re: in-memory editing with EDT or EVE1Dan Cross
23 Nov 24   `- Re: in-memory editing with EDT or EVE1Lawrence D'Oliveiro

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal