看板 Python 關於我們 聯絡資訊
汝題,本魯今天遇到了一個 HEN 不方便的問題,就是我一直想知道 python 執行時期 怎麼找到 cpython 實作 evaluation stack 的 top of stack? Python 一直沒有提供相關的介面,而且很奇怪,一個 function frame 其他成員變數 都有提供存取機制,就偏偏 stack 的位址不提供,是跟安全因素有關嗎? 所以說我想和 python 官方建議把位址的存取機制加進去,應該不會很難,但我不知道 要從哪裡申請建議?有人知道在哪嗎?穴穴各位! -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 123.194.139.84 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/Python/M.1591707238.A.541.html
alvinlin: 有看到一篇評論https://tinyurl.com/yddydj7u。另PEP42 06/09 23:43
alvinlin: 的附註有提到All new feature requests should either g 06/09 23:43
alvinlin: o to the Python bug tracker [1] for very simple requ 06/09 23:43
alvinlin: ests or the python-ideas [2] mailing list for everyt 06/09 23:43
alvinlin: hing else 06/09 23:43
alan23273850: 謝謝大大!可能文章讓人誤會,我本來就有找到取 TOS 06/09 23:59
alan23273850: 的解法,雖然找很久,謝謝大大的回應,我有時間會看 06/10 00:00