Results of 1 - 10 of about 62 for build (0.006 sec.)
- 3. Python を構成する 12527
- 3. Python を構成する 3.1. ビルド要件 CPython をビルドするためには、次のものが必要です: C11 コンパイラ。 C11 オプション機能 は不要です。 Windows では、 Microsoft Visual Studio 2017 以降が必要です。 IEEE 754 浮動小数点数と 浮動小数点 Not-a-Nu
...ています。 regen-* という make ターゲットを検索してください。 3.2.1. 構成スクリプト make regen-configure コマンドは、 Tools/build/regen-configure.sh シェルスクリプトを使って aclocal.m4 ファイルと configure スクリプトを再生成します。 このシェルスクリプト...ドを使用して、全ての configure スクリプトのオプションを表示できます: ./configure --help Pythonのソース配布の中の Misc/SpecialBuilds.txt も参照してください。 3.3.1. 一般的なオプション --enable-loadable-sqlite-extensions sqlite3 モジュールの _sqlite 拡張モ...出し; プッシュされたフレーム; 作成されたフレームオブジェクト; 評価呼び出し: vector、generator、legacy、function VECTORCALL、build class、slot、function "ex"、API、method。 オブジェクト: incref と decref; インタープリタによる incref と decref; 割り当て:... - https://man.mtool.work/python/3.14/using/configure.html
- C API 拡張のフリースレッド対応 11545
- C API 拡張のフリースレッド対応 CPython 3.13 から、 global interpreter lock (GIL) を無効にして実行する free threading という構成がサポートされています。 このドキュメントでは、C API を使う拡張をフリースレッドに対応させる方法を説明します。 C か
...le_SetGIL() to indicate that they support running with the GIL disabled. The function is only defined in the free-threaded build, so you should guard the call with #ifdef Py_GIL_DISABLED to avoid compilation errors in the regular build. static struct...l_RestoreThread() Py_BEGIN_ALLOW_THREADS と Py_END_ALLOW_THREADS These functions should still be used in the free-threaded build to manage thread state even when the GIL is disabled. For example, if you create a thread outside of Python, you must call...場合があります。 フリースレッドビルド向けの拡張のビルド C API extensions need to be built specifically for the free-threaded build. The wheels, shared libraries, and binaries are indicated by a t suffix. pypa/manylinux は、 python3.14t のように t サフィ... - https://man.mtool.work/python/3.14/howto/free-threading-extensions.html
- 7. iOS で Python を使う 11545
- 7. iOS で Python を使う 著者 : Russell Keith-Magee (2024-03) iOS における Pythonは、デスクトッププラットフォームにおける Python とは異なります。 デスクトッププラットフォームでは、 Python は一般的にコンピューターのどのユーザーでも使えるシステ
...wift を使う場合は、 PythonKit のようなライブラリが役に立つかもしれません。 Python を iOS Xcode プロジェクトに追加するには: Build or obtain a Python XCFramework . See the instructions in Apple/iOS/README.md (in the CPython source distribution) for deta...ils on how to build a Python XCFramework . At a minimum, you will need a build that supports arm64-apple-ios , plus one of either arm64-apple-...設定の "Frameworks, Libraries and Embedded Content" に、 "Embed & Sign" を選択して Python.xcframework を追加してください。 "Build Settings" タブで、次の項目を修正してください: Build Options User Script Sandboxing: No Enable Testability: Yes Search Path... - https://man.mtool.work/python/3.14/using/ios.html
- dis --- Python バイトコードの逆アセンブラー 10085
- dis --- Python バイトコードの逆アセンブラー ソースコード: Lib/dis.py dis モジュールは、CPython の bytecode を逆アセンブルして解析するためのものです。 このモジュールが入力として受け取る CPython のバイトコードは Include/opcode.h で定義され、コ
...ポートする定数の固定のリストがあります。 assert 文で AssertionError をロードするために使います。 Added in version 3.14. LOAD_BUILD_CLASS builtins.__build_class__() をスタックにプッシュします。 これは後でクラスを構築するために呼び出されます。 GET_LEN STA...込みの順に探します。 クラス本体の アノテーションスコープ でグローバル変数をロードするために使います。 Added in version 3.12. BUILD_TEMPLATE 文字列のタプルと補間のタプルから、新しい Template インスタンスを構築し、結果のオブジェクトをスタックにプッシュしま...す。 interpolations = STACK . pop () strings = STACK . pop () STACK . append ( _build_template ( strings , interpolations )) Added in version 3.14. BUILD_INTERPOLATION ( format ) 値とそのソースの式から新しい... - https://man.mtool.work/python/3.14/library/dis.html
- 5. macOS で Python を使う 10085
- 5. macOS で Python を使う このドキュメントでは、Mac コンピュータで Python を使い始める際に知っておくべき、macOS 固有の挙動を概説します。 macOS を実行する Mac 上の Python は、ほかの Unix 派生プラットフォーム上の Python と非常によく似ています
...We recommend using the most recent supported Python version where possible. Current installers provide a universal2 binary build of Python which runs natively on all Macs (Apple Silicon and Intel) that are supported by a wide range of macOS versions,...、ウェブ、コンソールのアプリに対応します。 wxPython : 複数のデスクトップ OS に対応するツールキット。 Flet : A framework for building cross-platform desktop, mobile, and web applications in Python. 5.5. Advanced Topics 5.5.1. Installing Free-threaded Bi...naries Added in version 3.13. The python.org Python for macOS installer package can optionally install an additional build of Python 3.14 that supports PEP 703 , the free-threading feature (running with the global interpreter lock disabled). Che... - https://man.mtool.work/python/3.14/using/mac.html
- 変更履歴 9912
- 変更履歴 次の Python バージョン リリース日: XXXX-XX-XX セキュリティ gh-160499 : Fix unbounded memory growth in asyncio TLS connections when a peer stops reading but keeps sending records that make OpenSSL generate its own replies (such as T
...6 : Setting __name__ , __qualname__ , __doc__ or __module__ on a function no longer stops all threads in the free-threaded build. This fixes a large slowdown in multi-threaded code using functools.wraps() since 3.14.7. gh-151060 : Fix a crash or memor...r staticmethod objects. gh-159739 : Fix a race in list.__sizeof__() when a list is concurrently resized on a free-threaded build. gh-159739 : Fix a reference leak when the value of a type alias is evaluated recursively or concurrently. gh-159739 : Fix...a crash in free-threaded builds when codecs.unregister() is called concurrently. gh-159739 : Fix reference leaks when free-threaded garbage collection ab... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- 6. Android で Python を使う 9594
- 6. Android で Python を使う Android における Pythonは、デスクトッププラットフォームにおける Python とは異なります。 デスクトッププラットフォームでは、 Python は一般的にコンピューターのどのユーザーでも使えるシステムリソースとしてインストール
...の一つを使用するべきです。これにより、はるかに簡単な体験が提供されます: BeeWare プロジェクトの Briefcase Kivy プロジェクトの Buildozer Chaquopy Flet pyqtdeploy Termux If you're sure you want to do all of this manually, read on. You can use the testbed a...リリースをダウンロードすることです。 以下で説明する prefix ディレクトリは、パッケージの最上位にあります。 Or if you want to build it yourself, follow the instructions in Android/README.md . The prefix directory will be created under cross-build/ HOST ....Add code to your build.gradle file to copy the following items into your project. All except your own Python code can be copied from prefix/lib :... - https://man.mtool.work/python/3.14/using/android.html
- はじめに 8611
- はじめに Python のアプリケーションプログラマー向けインターフェース (API) は、C と C++ のプログラマーに、Python インタープリタへのさまざまなレベルのアクセスを提供します。 C++ からも同様に使えますが、簡潔に Python/C API と呼びます。 Python/C
...、 smaller は、式の中で複数回評価される可能性があります。 そのため、副作用のある式をこのマクロに直接渡さないでください。 Py_BUILD_ASSERT ( cond ) コンパイル時の条件 cond をアサートする文です。 条件が偽の場合や、コンパイル時に評価できない場合は、ビルドに...失敗します。 C23 以降では、おおむね static_assert( cond ) に相当します。 例えば: Py_BUILD_ASSERT ( sizeof ( PyTime_t ) == sizeof ( int64_t )); Added in version 3.3. Py_BUILD_ASSERT_EXPR ( cond ) コンパイル時の条件...が偽の場合や、コンパイル時に評価できない場合は、ビルドに失敗します。 例えば: #define foo_to_char(foo) \ ((char *)(foo) + Py_BUILD_ASSERT_EXPR(offsetof(struct foo, string) == 0)) Added in version 3.3. 型のサイズのユーティリティ Py_ARRAY_LENGTH ( array )... - https://man.mtool.work/python/3.14/c-api/intro.html
- faulthandler --- Python トレースバックをダンプする 8611
- faulthandler --- Python トレースバックをダンプする Added in version 3.3. このモジュールには、Python のトレースバックを明示的にダンプしたり、フォールトの発生時、タイムアウト後、ユーザーシグナルの受信時にダンプしたりする関数があります。 SIGSE
....6", at +0x3def0 [0x77b73226bef0] Binary file "/usr/lib/libc.so.6", at +0x17ef9c [0x77b7323acf9c] Binary file "/opt/python/build/lib.linux-x86_64-3.14/_ctypes.cpython-314d-x86_64-linux-gnu.so", at +0xcdf6 [0x77b7315dddf6] Binary file "/usr/lib/libffi....t +0x413c [0x77b73158c13c] Binary file "/usr/lib/libffi.so.8", at ffi_call+0x12e [0x77b73158ef0e] Binary file "/opt/python/build/lib.linux-x86_64-3.14/_ctypes.cpython-314d-x86_64-linux-gnu.so", at +0x15a33 [0x77b7315e6a33] Binary file "/opt/python/bui...ld/lib.linux-x86_64-3.14/_ctypes.cpython-314d-x86_64-linux-gnu.so", at +0x164fa [0x77b7315e74fa] Binary file "/opt/python/build/lib.linux-x86_64-3.14/_ctypes.cpython-314d-x86_64-linux-gnu.so", at +0xc624 [0x77b7315dd624] Binary file "/opt/python/pyth... - https://man.mtool.work/python/3.14/library/faulthandler.html
- urllib パッケージを使ってインターネット上のリソースを取得するには 8279
- urllib パッケージを使ってインターネット上のリソースを取得するには Author : Michael Foord はじめに Related Articles 同じように Python でインターネットリソースを取得するのに以下の記事が役に立ちます: Basic 認証 Basic 認証 についてのチュートリア
...ndler(some_handler_instance) を繰り返し呼び出します。 代わりに、一度の関数呼び出しで opener オブジェクトを作れる便利な関数 build_opener も使えます。 build_opener はデフォルトでいくつかのハンドラーを追加しますが、さらにハンドラーを追加したり、デフォルト.... HTTPBasicAuthHandler ( password_mgr ) # "opener" (OpenerDirector のインスタンス) を作成する opener = urllib . request . build_opener ( handler ) # opener を使って URL を取得する opener . open ( a_url ) # opener を登録する。 # 以降の urllib.request....urlopen の呼び出しはすべてこの opener を使う。 urllib . request . install_opener ( opener ) 注釈 上の例では、 build_opener に HTTPBasicAuthHandler だけを渡しました。 デフォルトの opener には、通常の状況に対応するハンドラーが備わっています... - https://man.mtool.work/python/3.14/howto/urllib2.html