Results of 1 - 10 of about 29 for releasing (0.007 sec.)
- 参照カウント — Python 3.14.8 ドキュメント 14276
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 参照カウント テーマ 自動 ライト ダーク | 参照カウント ¶ このセクションにある関数とマクロは、 Python オブジェクトの参照カウントの管
...th respect to the object passed because the macro carefully uses a temporary variable and sets the argument to NULL before releasing the reference. It is a good idea to use this macro whenever releasing a reference to an object that might be traversed dur...n version of Py_XDECREF() . It can be used for runtime dynamic embedding of Python. Py_SETREF ( dst , src ) ¶ Macro safely releasing a strong reference to object dst and setting dst to src . As in case of Py_CLEAR() , "the obvious" code can be deadly: Py_...DECREF ( dst ); dst = src ; The safe way is: Py_SETREF ( dst , src ); That arranges to set dst to src before releasing the reference to the old value of dst , so that any code triggered as a side-effect of dst getting torn down no longer bel... - https://man.mtool.work/python/3.14/c-api/refcounting.html
- 参照カウント — Python 3.14.8 ドキュメント 12856
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 参照カウント テーマ 自動 ライト ダーク | 参照カウント ¶ このセクションにある関数とマクロは、 Python オブジェクトの参照カウントの管
...th respect to the object passed because the macro carefully uses a temporary variable and sets the argument to NULL before releasing the reference. It is a good idea to use this macro whenever releasing a reference to an object that might be traversed dur...n version of Py_XDECREF() . It can be used for runtime dynamic embedding of Python. Py_SETREF ( dst , src ) ¶ Macro safely releasing a strong reference to object dst and setting dst to src . As in case of Py_CLEAR() , "the obvious" code can be deadly: Py_...DECREF ( dst ); dst = src ; The safe way is: Py_SETREF ( dst , src ); That arranges to set dst to src before releasing the reference to the old value of dst , so that any code triggered as a side-effect of dst getting torn down no longer bel... - https://man.mtool.work/python/3.14/c-api/refcounting.html
- sys.monitoring --- 実行イベントモニタリング — Python 3.14.8 ドキュメント 9414
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » sys.monitoring --- 実行イベントモニタリング テーマ 自動 ライト ダーク | sys.monitoring --- 実行イベント
...( tool_id : int , / ) → None ¶ Should be called once a tool no longer requires tool_id . Will call clear_tool_id() before releasing tool_id . バージョン 3.14 で変更: Now calls clear_tool_id() before releasing tool_id . Previously, it would not disable gl... - https://man.mtool.work/python/3.14/library/sys.monitoring.html
- sys.monitoring --- 実行イベントモニタリング — Python 3.14.8 ドキュメント 9414
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » sys.monitoring --- 実行イベントモニタリング テーマ 自動 ライト ダーク | sys.monitoring --- 実行イベント
...( tool_id : int , / ) → None ¶ Should be called once a tool no longer requires tool_id . Will call clear_tool_id() before releasing tool_id . バージョン 3.14 で変更: Now calls clear_tool_id() before releasing tool_id . Previously, it would not disable gl... - https://man.mtool.work/python/3.14/library/sys.monitoring.html
- はじめに — Python 3.14.8 ドキュメント 8565
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » はじめに テーマ 自動 ライト ダーク | はじめに ¶ Python のアプリケーションプログラマ用インタフェース (Application Programmer's Int
...he deallocator is a function pointer contained in the object's type structure. The type-specific deallocator takes care of releasing references for other objects contained in the object if this is a compound object type, such as a list, as well as perform...to it for a while without taking a new reference. Some other operation might conceivably remove the object from the list, releasing that reference, and possibly deallocating it. The real danger is that innocent-looking operations may invoke arbitrary Pyt...lso be transferred, meaning that the code that receives ownership of the reference then becomes responsible for eventually releasing it by calling Py_DECREF() or Py_XDECREF() when it's no longer needed---or passing on this responsibility (usually to its c... - https://man.mtool.work/python/3.14/c-api/intro.html
- はじめに — Python 3.14.8 ドキュメント 8565
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » はじめに テーマ 自動 ライト ダーク | はじめに ¶ Python のアプリケーションプログラマ用インタフェース (Application Programmer's Int
...he deallocator is a function pointer contained in the object's type structure. The type-specific deallocator takes care of releasing references for other objects contained in the object if this is a compound object type, such as a list, as well as perform...to it for a while without taking a new reference. Some other operation might conceivably remove the object from the list, releasing that reference, and possibly deallocating it. The real danger is that innocent-looking operations may invoke arbitrary Pyt...lso be transferred, meaning that the code that receives ownership of the reference then becomes responsible for eventually releasing it by calling Py_DECREF() or Py_XDECREF() when it's no longer needed---or passing on this responsibility (usually to its c... - https://man.mtool.work/python/3.14/c-api/intro.html
- 同期プリミティブ — Python 3.14.8 ドキュメント 8272
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 同期プリミティブ テーマ 自動 ライト ダーク | 同期プリミティブ ¶ The C-API provides a basic mutual exclusion lock. type PyMutex ¶
...d. If the code executed inside the critical section calls C-API functions then it can suspend the critical section thereby releasing the per-object lock, so other threads can acquire the per-object lock for the same object. Variants that accept PyMutex po... - https://man.mtool.work/python/3.14/c-api/synchronization.html
- What's New In Python 3.5 — Python 3.14.8 ドキュメント 8272
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.5 テーマ 自動 ライト ダーク | What's New In Python 3.5 ¶ エディタ : Elvis Pranskevichus < elvis @ magic . io >, Yur
...) async with lock : print ( 'coro {} : holding the lock' . format ( name )) await asyncio . sleep ( 1 ) print ( 'coro {} : releasing the lock' . format ( name )) loop = asyncio . get_event_loop () lock = asyncio . Lock () coros = asyncio . gather ( coro (...finally : loop . close () の出力は: coro 2 : waiting for lock coro 2 : holding the lock coro 1 : waiting for lock coro 2 : releasing the lock coro 1 : holding the lock coro 1 : releasing the lock async for と async with は両方とも、 async def で宣言された... - https://man.mtool.work/python/3.14/whatsnew/3.5.html
- 同期プリミティブ — Python 3.14.8 ドキュメント 8272
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 同期プリミティブ テーマ 自動 ライト ダーク | 同期プリミティブ ¶ The C-API provides a basic mutual exclusion lock. type PyMutex ¶
...d. If the code executed inside the critical section calls C-API functions then it can suspend the critical section thereby releasing the per-object lock, so other threads can acquire the per-object lock for the same object. Variants that accept PyMutex po... - https://man.mtool.work/python/3.14/c-api/synchronization.html
- What's New In Python 3.5 — Python 3.14.8 ドキュメント 8272
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.5 テーマ 自動 ライト ダーク | What's New In Python 3.5 ¶ エディタ : Elvis Pranskevichus < elvis @ magic . io >, Yur
...) async with lock : print ( 'coro {} : holding the lock' . format ( name )) await asyncio . sleep ( 1 ) print ( 'coro {} : releasing the lock' . format ( name )) loop = asyncio . get_event_loop () lock = asyncio . Lock () coros = asyncio . gather ( coro (...finally : loop . close () の出力は: coro 2 : waiting for lock coro 2 : holding the lock coro 1 : waiting for lock coro 2 : releasing the lock coro 1 : holding the lock coro 1 : releasing the lock async for と async with は両方とも、 async def で宣言された... - https://man.mtool.work/python/3.14/whatsnew/3.5.html