71
Copycat
IT
- Twitter微型一日記錄的千年意義 Quote: 所以其實「用寫的」還是最好的方法,只是,它必須再短一點,短到任
| 反白色恐怖遊行 抗議公安惡法 反對政治打壓 警方濫用權力 白色恐怖可恥 自特首選舉前後,而至近期高度打壓爭取民生議題的捍衛基層住屋權益聯盟,警方除了淪為政治打壓工具外,更使用一些可恥的濫權的方法,限制市民表達意 |

Following up on the first installment :
Slot wrapper objects do not directly call the C functions that theywrap up. Instead they check that they are being called with a self argument that is an instance of the type that they are wrapping,create a 'method-wrapper' object with the self memorized, andcall that .
We're not done yet, because there is another level of indirection:instead of directly calling the C function, the method-wrapper objectcalls a generic handler function for the particular sort
Someone from Coverity recently gave a talkto the local Unix hacks group abouttheir static analysis tools, and in the process got me to thinking aboutthe different types of bugs that I see.
As a first approximation, I think that I can split relatively commonbugs into three different classes: