Skip to content

Commit

Permalink
Updated internals section of devguide by deleting the "Known Compiler…
Browse files Browse the repository at this point in the history
…-related Experiments" (#1161)

* Updated compiler page by deleting the Introducing New Bytecode

* Updated internals section of devguide by deleting Known Compiler-related Experiments

* Removed Introducing New Byte Code section from compiler page

* Removed Known compiler-related experiments section from compiler page

* Removed unrecognized Bytecode references from compiler page

* Update internals/compiler.rst

* Update internals/compiler.rst

---------

Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
  • Loading branch information
Lincoln-developer and willingc committed Oct 13, 2023
1 parent 74e0165 commit 58e646e
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions internals/compiler.rst
Original file line number Diff line number Diff line change
Expand Up @@ -619,26 +619,6 @@ Important files
(named ``MAGIC_NUMBER``) for bytecode versioning.


Known compiler-related experiments
==================================

This section lists known experiments involving the compiler (including
bytecode).

Skip Montanaro presented a paper at a Python workshop on a peephole optimizer
[#skip-peephole]_.

Michael Hudson has a non-active SourceForge project named Bytecodehacks
[#Bytecodehacks]_ that provides functionality for playing with bytecode
directly.

An opcode to combine the functionality of ``LOAD_ATTR``/``CALL_FUNCTION`` was
created named ``CALL_ATTR`` [#CALL_ATTR]_. Currently only works for classic
classes and for new-style classes rough benchmarking showed an actual slowdown
thanks to having to support both classic and new-style classes.



References
==========

Expand All @@ -649,12 +629,3 @@ References
.. _The Zephyr Abstract Syntax Description Language.:
https://www.cs.princeton.edu/research/techreps/TR-554-97

.. [#skip-peephole] Skip Montanaro's Peephole Optimizer Paper
(https://legacy.python.org/workshops/1998-11/proceedings/papers/montanaro/montanaro.html)
.. [#Bytecodehacks] Bytecodehacks Project
(https://bytecodehacks.sourceforge.net/bch-docs/bch/index.html)
.. [#CALL_ATTR] CALL_ATTR opcode
(https://bugs.python.org/issue709744)

0 comments on commit 58e646e

Please sign in to comment.