Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

You will stop at nothing to reach your objective, but only because your brakes are defective.


comp / comp.lang.python / Re: dis.get_instructions not showing CACHE instructions

SubjectAuthor
o Re: dis.get_instructions not showing CACHE instructionsstopa

1
Subject: Re: dis.get_instructions not showing CACHE instructions
From: stopa
Newsgroups: comp.lang.python
Date: Thu, 10 Oct 2024 17:31 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: martin.stopka@gmail.com (stopa)
Newsgroups: comp.lang.python
Subject: Re: dis.get_instructions not showing CACHE instructions
Date: Thu, 10 Oct 2024 19:31:57 +0200
Lines: 41
Message-ID: <mailman.17.1728581532.4695.python-list@python.org>
References: <CAL_aXSS9JR6mGPNWSYC+5jfxJ74JuEf+v=idT8UEOD3K=1Je1A@mail.gmail.com>
<0FF12307-A10D-489B-8BF7-B397A93D698D@barrys-emacs.org>
<CAL_aXSQx=UMOtXue+0iU3W1=H7A1ZSgMAg3HFE0o9r9UeEaHLQ@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de s1W2Cl/FNP6tT+QizChclQF+QGS19tJCuTEIIox+EcyA==
Cancel-Lock: sha1:36TZ1rKKzQ1wBSjcXGAx0ILfE3A= sha256:bAjcOit19kRSgaxd3cI38QRzxpOAa79dOSoVyM+Q86U=
Return-Path: <martin.stopka@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=WU9LCKGE;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.002
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'field.': 0.07;
'preventing': 0.07; 'cc:addr:python-list': 0.09; 'subject:not':
0.09; '&gt;': 0.14; 'cc:no real name:2**0': 0.14; 'url:mailman':
0.15; '2024': 0.16; 'barry': 0.16; 'change?': 0.16; 'comment.':
0.16; 'demonstrates': 0.16; 'expected.': 0.16; 'missed': 0.16;
'please.': 0.16; 'subject:showing': 0.16; 'subject:skip:d 20':
0.16; 'them?': 0.16; '\xef\xbb\xbfhello,': 0.16; 'wrote:': 0.16;
'python': 0.16; 'bug': 0.19; 'cc:addr:python.org': 0.20; 'issue':
0.21; 'instructions': 0.22; 'version': 0.23; 'url-
ip:188.166.95.178/32': 0.25; 'url-ip:188.166.95/24': 0.25;
'help.': 0.25; 'url:listinfo': 0.25; 'cc:2**0': 0.25; 'url-
ip:188.166/16': 0.25; 'function': 0.27; 'email
addr:python.org&gt;': 0.28; 'url-ip:188/8': 0.31; 'python-list':
0.32; 'requiring': 0.32; 'message-id:@mail.gmail.com': 0.32;
'there': 0.33; 'able': 0.34; 'header:In-Reply-To:1': 0.34;
'received:google.com': 0.34; 'from:addr:gmail.com': 0.35;
'display': 0.36; 'change': 0.36; 'those': 0.36; 'thanks': 0.38;
'martin': 0.40; 'sorry': 0.60; 'true': 0.63; 'your': 0.64;
'chance': 0.71; 'longer': 0.71; 'dis': 0.84; 'email name:&lt
;python-list': 0.84; 'god': 0.97
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1728581529; x=1729186329; darn=python.org;
h=cc:to:subject:message-id:date:from:in-reply-to:references
:mime-version:from:to:cc:subject:date:message-id:reply-to;
bh=GV8gjxCQgDGrpjCYLJ5lzMVMMK8tuTFw+tS1NzMeEes=;
b=WU9LCKGEO6Do867DoArcKdfDU7fNHKi0vvk6U3UNfAyO+T9sXwvF3wec9SRxQnwLBo
eM71uKWT63KwCVPBqY+MpkYV1xwksyuRpkT4nnRW5pJkUi70Hh1hy3goXGtBkMWhNMBT
hNiME76vxTKuce70KkQYCSkgRzDn3wnhrWl9x0ksm2t4Je7ga4uVT7MGN9vmI6HK4ukk
S74A2PhPN9PR3zwT6QkabBtl9Ro+0WmHCQE/Nfb3c7KCD8VLWiPq/5ZzgUxHxDvbfU7+
TuLcVgyQwAnv+g++8DQ1uBxfsHNBnNw4s+hXo6UIi24NuQWVGWTLdKc3rRnTQ1huD3aX
wYyQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1728581529; x=1729186329;
h=cc:to:subject:message-id:date:from:in-reply-to:references
:mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
:reply-to;
bh=GV8gjxCQgDGrpjCYLJ5lzMVMMK8tuTFw+tS1NzMeEes=;
b=ah4NQ//JDyYrvJuDdyOV5tRt4cMae0AsTs8EhHDBn3TSX8mg0pm+wwpx3J0+TRccwm
I2lpekr6vyjNHIzwr07kf+jXTAzcPg1el0y+hVaUcP8a/1KEy45FDePQ1qd7oMpNRiiP
b05QQYmBhEYS0IhJkyyhsrBajFDtd7WcGijVYOlTTX4tCz7YsdxlWTWFLFl1W2LW6k4t
vrmznMqq5P2Bd1nyNXv1xIBdJHNZgpkSxiQB7H+JlDXff6M3e5kQyJmy5SVtoH3+JaFP
7ZQ7uf5N4IPmykXuheMaPa7Bb/LicE+hNNBaWXWTJbe2kKFazSr6gfTqqeAGro0Rg7OC
AObQ==
X-Gm-Message-State: AOJu0YzJ8Ko0xG9zZpbgiAeTXPuPHjxDTYywIbcVkUWw9aTTt0L6dwW+
S/ZdoyyAtpciYAFKBED/Ji+IyIXrSvwr/mG2ocenN38JADq7uv3slWr7VP0yoQXCJw7Se/cRKkI
C2d0olJ8KeUyg2EE+DGXVU0x37CPSgg==
X-Google-Smtp-Source: AGHT+IF4MEn7VPEfrJ35oFtMikWK/Z6Se9/r+38OeOu6aSCDlnPScfbEGWo5D9Mi4yMEZ4sJZhIHwODPxsr5fzeeDio=
X-Received: by 2002:a05:6512:2216:b0:536:5625:511f with SMTP id
2adb3069b0e04-539c495264fmr6573504e87.45.1728581528581; Thu, 10 Oct 2024
10:32:08 -0700 (PDT)
In-Reply-To: <0FF12307-A10D-489B-8BF7-B397A93D698D@barrys-emacs.org>
X-Content-Filtered-By: Mailman/MimeDel 2.1.39
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CAL_aXSQx=UMOtXue+0iU3W1=H7A1ZSgMAg3HFE0o9r9UeEaHLQ@mail.gmail.com>
X-Mailman-Original-References: <CAL_aXSS9JR6mGPNWSYC+5jfxJ74JuEf+v=idT8UEOD3K=1Je1A@mail.gmail.com>
<0FF12307-A10D-489B-8BF7-B397A93D698D@barrys-emacs.org>
View all headers

Oh god I am sorry :/ I somehow missed information about cache_info field.
I was expecting to see those cache instructions as normal opcodes. So its
working as expected.
Thanks for your help.
M.

št 10. 10. 2024 o 18:53 Barry <barry@barrys-emacs.org> napísal(a):

>
>
> > On 10 Oct 2024, at 14:18, stopa via Python-list <python-list@python.org>
> wrote:
> >
> > Hello,
> > I noticed the change in dis module, no longer requiring show_caches to be
> > set to True to show cache instructions. However I am not able to display
> > them with get_instructions.
> > Is there by any chance some bug preventing me to see them?
>
> We need more information to be able to comment.
>
> What version of python do you see this working for?
> What version of python are you see it change?
>
> Can you show an example function that demonstrates the issue please.
>
> Barry
>
> >
> > Thanks
> >
> > Martin
> > --
> > https://mail.python.org/mailman/listinfo/python-list
> >
>
>

1

rocksolid light 0.9.8
clearnet tor