dis.get_instructions not showing CACHE instructions
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? Thanks Martin -- https://mail.python.org/mailman/listinfo/python-list
Re: dis.get_instructions not showing CACHE instructions
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 napísal(a): > > > > On 10 Oct 2024, at 14:18, stopa via Python-list > 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 > > > > -- https://mail.python.org/mailman/listinfo/python-list
Announcement: distlib 0.3.9 released on PyPI
Version 0.3.9 of distlib has recently been released on PyPI [1]. For newcomers, distlib is a library of packaging functionality which is intended to be usable as the basis for third-party packaging tools. The main changes in this release are as follows: * Merge #215: Preload script wrappers on Windows to assist with a pip issue. * Fix #220: Remove duplicated newline in shebang of windows launcher. * Fix #222: Support mounting wheels that use extensions without an EXTENSIONS file. * Fix #224: Do not use the absolute path to cache wheel extensions. * Fix #225: Add support for wheel compatibility with the limited API. * Fix #230: Add handling for cross-compilation environments. A more detailed change log is available at [2]. Please try it out, and if you find any problems or have any suggestions for improvements, please give some feedback using the issue tracker at [3]. Regards, Vinay Sajip [1] https://pypi.org/project/distlib/0.3.9/ [2] https://distlib.readthedocs.io/en/latest/overview.html#change-log-for-distlib [3] https://github.com/pypa/distlib/issues/new/choose -- https://mail.python.org/mailman/listinfo/python-list
Re: dis.get_instructions not showing CACHE instructions
> On 10 Oct 2024, at 14:18, stopa via Python-list > 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 > -- https://mail.python.org/mailman/listinfo/python-list