Profile cover photo
Profile photo
Logan Chien
161 followers
161 followers
About
Posts

Post has attachment
你所不知道的 Python (37)

如果我們要讓一個物件持有一些資源,然後希望這個物件被回收的時候釋放它持有的資源,我們該怎麼撰寫這個類別呢?這集要介紹的是 Python 3.4 新增的 weakref.finalize 類別。

https://ydkp.logan.tw/posts/37-finalize/
Item 37: Finalize
Item 37: Finalize
ydkp.logan.tw
Add a comment...

Post has attachment

Post has attachment

Post has attachment

Post has attachment

Post has attachment

Post has attachment

Post has attachment

Post has attachment
WebAssembly -- A new attempt to build a programming infrastructure on top of the Web.
Add a comment...

Post has attachment
Wait while more posts are being loaded