<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                ### 導航 - [索引](../genindex.xhtml "總目錄") - [模塊](../py-modindex.xhtml "Python 模塊索引") | - [下一頁](veryhigh.xhtml "The Very High Level Layer") | - [上一頁](intro.xhtml "概述") | - ![](https://box.kancloud.cn/a721fc7ec672275e257bbbfde49a4d4e_16x16.png) - [Python](https://www.python.org/) ? - zh\_CN 3.7.3 [文檔](../index.xhtml) ? - [Python/C API 參考手冊](index.xhtml) ? - $('.inline-search').show(0); | # 穩定的應用程序二進制接口 傳統上,Python的C API將隨每個版本而變化。大多數更改都與源代碼兼容,通常只添加API,而不是更改現有API或刪除API(盡管某些接口會首先棄用然后再刪除)。 不幸的是,API兼容性沒有擴展到二進制兼容性(ABI)。原因主要是結構定義的演變,在這里添加新字段或更改字段類型可能不會破壞API,但可能會破壞ABI。因此,每個Python版本都需要重新編譯擴展模塊(即使在未使用任何受影響的接口的情況下,Unix上也可能會出現異常)。此外,在Windows上,擴展模塊與特定的pythonXY.dll鏈接,需要重新編譯才能與新的pythonXY.dll鏈接。 從Python3.2起,已經聲明了一個API的子集,以確保穩定的ABI。如果使用此API(也被稱為“受限API”)的擴展模塊需要定義``Py\_LIMITED\_API``。許多解釋器細節將從擴展模塊中隱藏; 反過來,在任何3.x版本(x>=2)上構建的模塊都不需要重新編譯 在某些情況下,需要添加新函數來擴展穩定版 ABI。希望使用這些新 API 的擴展模塊需要將 `Py_LIMITED_API` 設置為他們想要支持的最低 Python 版本的 `PY_VERSION_HEX` 值(例如: Python 3.3 為 `0x03030000`)(參見 [API 和 ABI 版本管理](apiabiversion.xhtml#apiabiversion))。此類模塊將適用于所有后續 Python版本,但無法在舊版本上加載(因為缺少符號)。 從Python 3.2開始,受限API可用的函數集記錄在:pep:384。在C API文檔中,不屬于受限API的API元素標記為“不屬于受限API”。 ### 導航 - [索引](../genindex.xhtml "總目錄") - [模塊](../py-modindex.xhtml "Python 模塊索引") | - [下一頁](veryhigh.xhtml "The Very High Level Layer") | - [上一頁](intro.xhtml "概述") | - ![](https://box.kancloud.cn/a721fc7ec672275e257bbbfde49a4d4e_16x16.png) - [Python](https://www.python.org/) ? - zh\_CN 3.7.3 [文檔](../index.xhtml) ? - [Python/C API 參考手冊](index.xhtml) ? - $('.inline-search').show(0); | ? [版權所有](../copyright.xhtml) 2001-2019, Python Software Foundation. Python 軟件基金會是一個非盈利組織。 [請捐助。](https://www.python.org/psf/donations/) 最后更新于 5月 21, 2019. [發現了問題](../bugs.xhtml)? 使用[Sphinx](http://sphinx.pocoo.org/)1.8.4 創建。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看