Change by zcpara :
--
nosy: +Mark.Shannon
___
Python tracker
<https://bugs.python.org/issue45260>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by zcpara :
--
keywords: +patch
pull_requests: +26910
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/28519
___
Python tracker
<https://bugs.python.org/issu
New submission from zcpara :
PEP 659 quickening provides a mechanism for replacing instructions.
We add another super-instruction UNPACK_SEQUENCE_ST to replace the original
UNPACK_SEQUENCE and the following n STROE_FAST instructions.
See https://github.com/faster-cpython/ideas/issues/16
New submission from zcpara :
It is a common scenario to call functions in loop, such as
def foo():
for i in range(10):
len("abc")
Currently, we generate bytecode like this;
2 0 SETUP_LOOP 24 (to 26)
2 LOAD_GLOBAL 0 (range)
New submission from zcpara :
In cpython/Lib/test/test_sys_settrace.py, there is a function:
1 def no_pop_blocks():
2y = 1
3while not y:
4bla
5x = 1
what does bla mean? bla is not defined anywhere. But the function can pass the
compilation. bla is treated as a global name