Results of 1 - 10 of about 75 for macros (0.035 sec.)
- C API Extension Support for Free Threading — Python 3.14.8 ドキュメント 12045
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » C API Extension Support for Free Threading テーマ 自動 ライト ダーク | C API Extension Support for Free Threading ¶ Starting with the 3.13 release
...Accessing fields in Python C API objects or structs directly is not thread-safe if the field may be concurrently modified. Macros : Accessor macros like PyList_GET_ITEM , PyList_SET_ITEM , and macros like PySequence_Fast_GET_SIZE that use the object re...turned by PySequence_Fast() do not perform any error checking or locking. These macros are not thread-safe if the container object may be modified concurrently. Borrowed References : C API functions that retur...oc() to allocate buffers instead of PyObject_Malloc() . Thread State and GIL APIs ¶ Python provides a set of functions and macros to manage thread state and the GIL, such as: PyGILState_Ensure() and PyGILState_Release() PyEval_SaveThread() and PyEval_R... - https://man.mtool.work/python/3.14/howto/free-threading-extensions.html
- C API Extension Support for Free Threading — Python 3.14.8 ドキュメント 11517
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » C API Extension Support for Free Threading テーマ 自動 ライト ダーク | C API Extension Support for Free Threading ¶ Starting with the 3.13 release
...Accessing fields in Python C API objects or structs directly is not thread-safe if the field may be concurrently modified. Macros : Accessor macros like PyList_GET_ITEM , PyList_SET_ITEM , and macros like PySequence_Fast_GET_SIZE that use the object re...turned by PySequence_Fast() do not perform any error checking or locking. These macros are not thread-safe if the container object may be modified concurrently. Borrowed References : C API functions that retur...oc() to allocate buffers instead of PyObject_Malloc() . Thread State and GIL APIs ¶ Python provides a set of functions and macros to manage thread state and the GIL, such as: PyGILState_Ensure() and PyGILState_Release() PyEval_SaveThread() and PyEval_R... - https://man.mtool.work/python/3.14/howto/free-threading-extensions.html
- API と ABI のバージョニング — Python 3.14.8 ドキュメント 10336
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » API と ABI のバージョニング テーマ 自動 ライト ダーク | API と ABI のバージョニング ¶ Build-time version constants ¶ CPython expo
...ses its version number in the following macros. Note that these correspond to the version code is built with. See Py_Version for the version used at run time . バージョン..._FULL_VERSION() for the encoding details. Use this for numeric comparisons, for example, #if PY_VERSION_HEX >= ... . These macros are defined in Include/patchlevel.h . Run-time version ¶ const unsigned long Py_Version ¶ 次に属します: Stable ABI (バージ...ed at run time. Use this for numeric comparisons, for example, if (Py_Version >= ...) . Added in version 3.11. Bit-packing macros ¶ uint32_t Py_PACK_FULL_VERSION ( int major , int minor , int micro , int release_level , int release_serial ) ¶ 次に属しま... - https://man.mtool.work/python/3.14/c-api/apiabiversion.html
- API と ABI のバージョニング — Python 3.14.8 ドキュメント 10336
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » API と ABI のバージョニング テーマ 自動 ライト ダーク | API と ABI のバージョニング ¶ Build-time version constants ¶ CPython expo
...ses its version number in the following macros. Note that these correspond to the version code is built with. See Py_Version for the version used at run time . バージョン..._FULL_VERSION() for the encoding details. Use this for numeric comparisons, for example, #if PY_VERSION_HEX >= ... . These macros are defined in Include/patchlevel.h . Run-time version ¶ const unsigned long Py_Version ¶ 次に属します: Stable ABI (バージ...ed at run time. Use this for numeric comparisons, for example, if (Py_Version >= ...) . Added in version 3.11. Bit-packing macros ¶ uint32_t Py_PACK_FULL_VERSION ( int major , int minor , int micro , int release_level , int release_serial ) ¶ 次に属しま... - https://man.mtool.work/python/3.14/c-api/apiabiversion.html
- 共通のオブジェクト構造体 (common object structure) — Python 3.14.8 ドキュメント 10072
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » 共通のオブジェクト構造体 (common object structure) テーマ 自動 ライト
...ト型を定義する上で数多くの構造体が使われます。この節では三つの構造体とその利用方法について説明します。 Base object types and macros ¶ All Python objects ultimately share a small number of fields at the beginning of the object's representation in memory....These are represented by the PyObject and PyVarObject types, which are defined, in turn, by the expansions of some macros also used, whether directly or indirectly, in the definition of all other Python objects. Additional macros can be found u...but every pointer to a Python object can be cast to a PyObject * . The members must not be accessed directly; instead use macros such as Py_REFCNT and Py_TYPE . Py_ssize_t ob_refcnt ¶ 次に属します: Stable ABI . The object's reference count, as returne... - https://man.mtool.work/python/3.14/c-api/structures.html
- 共通のオブジェクト構造体 (common object structure) — Python 3.14.8 ドキュメント 9669
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » 共通のオブジェクト構造体 (common object structure) テーマ 自動 ライト
...ト型を定義する上で数多くの構造体が使われます。この節では三つの構造体とその利用方法について説明します。 Base object types and macros ¶ All Python objects ultimately share a small number of fields at the beginning of the object's representation in memory....These are represented by the PyObject and PyVarObject types, which are defined, in turn, by the expansions of some macros also used, whether directly or indirectly, in the definition of all other Python objects. Additional macros can be found u...but every pointer to a Python object can be cast to a PyObject * . The members must not be accessed directly; instead use macros such as Py_REFCNT and Py_TYPE . Py_ssize_t ob_refcnt ¶ 次に属します: Stable ABI . The object's reference count, as returne... - https://man.mtool.work/python/3.14/c-api/structures.html
- Curses C API — Python 3.14.8 ドキュメント 9544
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Curses C API テーマ 自動 ライト ダーク | Curses C API ¶ curses exposes a small C inte
...r curses.setupterm() , curses.initscr() , and curses.start_color() have been called respectively. See also the convenience macros PyCursesSetupTermCalled , PyCursesInitialised , and PyCursesInitialisedColor . 注釈 The number of entries in this structur...int PyCursesWindow_Check ( PyObject * op ) ¶ Return true if op is a curses.window instance, false otherwise. The following macros are convenience macros expanding into C statements. In particular, they can only be used as macro; or macro , but not macr...ード curses PyCurses called predicate macro import void int return setupterm initscr start color but PyCursesWindow pointers macros number fields Macro 目次 Curses C API Internal data 前のトピックへ 型ヒントのためのオブジェクト 次のトピックへ DateTime オ... - https://man.mtool.work/python/3.14/c-api/curses.html
- Curses C API — Python 3.14.8 ドキュメント 9544
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Curses C API テーマ 自動 ライト ダーク | Curses C API ¶ curses exposes a small C inte
...r curses.setupterm() , curses.initscr() , and curses.start_color() have been called respectively. See also the convenience macros PyCursesSetupTermCalled , PyCursesInitialised , and PyCursesInitialisedColor . 注釈 The number of entries in this structur...int PyCursesWindow_Check ( PyObject * op ) ¶ Return true if op is a curses.window instance, false otherwise. The following macros are convenience macros expanding into C statements. In particular, they can only be used as macro; or macro , but not macr...関連キーワード curses PyCurses called predicate macro import return setupterm initscr start color PyCursesWindow pointers macros number fields Macro checking expansion roughly equivalent typedef module populate Import 目次 Curses C API Internal data 前... - https://man.mtool.work/python/3.14/c-api/curses.html
- 変更履歴 — Python 3.14.8 ドキュメント 9155
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...the curses mouse interface ( getmouse() , the BUTTON* constants, and others) with a configure capability probe or library macros instead of gating it on ncurses-specific macros. It is now also available with other curses implementations that provide i...o handle extension classes with inline values. C API ¶ gh-134989 : Fix Py_RETURN_NONE , Py_RETURN_TRUE and Py_RETURN_FALSE macros in the limited C API 3.11 and older: don't treat Py_None , Py_True and Py_False as immortal. Patch by Victor Stinner. gh-1...34989 : Implement PyObject_DelAttr() and PyObject_DelAttrString() as macros in the limited C API 3.12 and older. Patch by Victor Stinner. gh-133968 : Add PyUnicodeWriter_WriteASCII() function to wri... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- はじめに — Python 3.14.8 ドキュメント 9155
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » はじめに テーマ 自動 ライト ダーク | はじめに ¶ Python のアプリケーションプログラマ用インタフェース (Application Programmer's Int
...e extern "C" . As a result, there is no need to do anything special to use the API from C++. 便利なマクロ ¶ Several useful macros are defined in the Python header files. Many are defined closer to where they are useful (for example, Py_RETURN_NONE , Py...s ) ¶ Like getenv( s ) , but returns NULL if -E was passed on the command line (see PyConfig.use_environment ). Docstring macros ¶ PyDoc_STRVAR ( name , str ) ¶ Creates a variable with name name that can be used in docstrings. If Python is built witho...ing snakes in the Pythonidae family native " "to the tropics and subtropics of the Eastern Hemisphere." ); General utility macros ¶ The following macros are for common tasks not specific to Python. Py_UNUSED ( arg ) ¶ コンパイラ警告を抑えるために関数定... - https://man.mtool.work/python/3.14/c-api/intro.html