| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 7c7f10e commit 2e10cf8
4 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.14\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2025-09-11 14:18+0000\n" | ||
| 14 | + "POT-Creation-Date: 2025-09-29 14:15+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2025-09-16 00:01+0000\n" | |
| 16 | 16 | "Last-Translator: python-doc bot, 2025\n" | |
| 17 | 17 | "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" | |
@@ -547,6 +547,15 @@ msgid "" | |||
| 547 | 547 | "generate line tracing events." | |
| 548 | 548 | msgstr "" | |
| 549 | 549 | ||
| 550 | + msgid "" | ||
| 551 | + "Do nothing code. Used by the interpreter to record :monitoring-event:" | ||
| 552 | + "`BRANCH_LEFT` and :monitoring-event:`BRANCH_RIGHT` events for :mod:`sys." | ||
| 553 | + "monitoring`." | ||
| 554 | + msgstr "" | ||
| 555 | + | ||
| 556 | + msgid "Removes the iterator from the top of the stack." | ||
| 557 | + msgstr "" | ||
| 558 | + | ||
| 550 | 559 | msgid "Removes the top-of-stack item::" | |
| 551 | 560 | msgstr "" | |
| 552 | 561 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8,7 +8,7 @@ msgid "" | |||
| 8 | 8 | msgstr "" | |
| 9 | 9 | "Project-Id-Version: Python 3.14\n" | |
| 10 | 10 | "Report-Msgid-Bugs-To: \n" | |
| 11 | - "POT-Creation-Date: 2025-07-25 14:21+0000\n" | ||
| 11 | + "POT-Creation-Date: 2025-09-29 14:15+0000\n" | ||
| 12 | 12 | "PO-Revision-Date: 2025-09-16 00:01+0000\n" | |
| 13 | 13 | "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" | |
| 14 | 14 | "MIME-Version: 1.0\n" | |
@@ -173,8 +173,8 @@ msgid "*threshold2* is ignored." | |||
| 173 | 173 | msgstr "" | |
| 174 | 174 | ||
| 175 | 175 | msgid "" | |
| 176 | - "See `Garbage collector design <https://devguide.python.org/" | ||
| 177 | - "garbage_collector>`_ for more information." | ||
| 176 | + "See `Garbage collector design <https://github.com/python/cpython/blob/3.14/" | ||
| 177 | + "InternalDocs/garbage_collector.md>`_ for more information." | ||
| 178 | 178 | msgstr "" | |
| 179 | 179 | ||
| 180 | 180 | msgid "*threshold2* is ignored" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8,7 +8,7 @@ msgid "" | |||
| 8 | 8 | msgstr "" | |
| 9 | 9 | "Project-Id-Version: Python 3.14\n" | |
| 10 | 10 | "Report-Msgid-Bugs-To: \n" | |
| 11 | - "POT-Creation-Date: 2025-08-25 14:20+0000\n" | ||
| 11 | + "POT-Creation-Date: 2025-09-29 14:15+0000\n" | ||
| 12 | 12 | "PO-Revision-Date: 2025-09-16 00:02+0000\n" | |
| 13 | 13 | "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" | |
| 14 | 14 | "MIME-Version: 1.0\n" | |
@@ -235,9 +235,9 @@ msgstr "" | |||
| 235 | 235 | ||
| 236 | 236 | msgid "" | |
| 237 | 237 | "Build or obtain a Python ``XCFramework``. See the instructions in :source:" | |
| 238 | - "`iOS/README.rst` (in the CPython source distribution) for details on how to " | ||
| 239 | - "build a Python ``XCFramework``. At a minimum, you will need a build that " | ||
| 240 | - "supports ``arm64-apple-ios``, plus one of either ``arm64-apple-ios-" | ||
| 238 | + "`Apple/iOS/README.md` (in the CPython source distribution) for details on " | ||
| 239 | + "how to build a Python ``XCFramework``. At a minimum, you will need a build " | ||
| 240 | + "that supports ``arm64-apple-ios``, plus one of either ``arm64-apple-ios-" | ||
| 241 | 241 | "simulator`` or ``x86_64-apple-ios-simulator``." | |
| 242 | 242 | msgstr "" | |
| 243 | 243 | ||
@@ -248,11 +248,6 @@ msgid "" | |||
| 248 | 248 | "adjusting paths as needed." | |
| 249 | 249 | msgstr "" | |
| 250 | 250 | ||
| 251 | - msgid "" | ||
| 252 | - "Drag the ``iOS/Resources/dylib-Info-template.plist`` file into your project, " | ||
| 253 | - "and ensure it is associated with the app target." | ||
| 254 | - msgstr "" | ||
| 255 | - | ||
| 256 | 251 | msgid "" | |
| 257 | 252 | "Add your application code as a folder in your Xcode project. In the " | |
| 258 | 253 | "following instructions, we'll assume that your user code is in a folder " | |
@@ -300,103 +295,23 @@ msgid "Quoted Include In Framework Header: No" | |||
| 300 | 295 | msgstr "" | |
| 301 | 296 | ||
| 302 | 297 | msgid "" | |
| 303 | - "Add a build step that copies the Python standard library into your app. In " | ||
| 304 | - "the \"Build Phases\" tab, add a new \"Run Script\" build step *before* the " | ||
| 305 | - "\"Embed Frameworks\" step, but *after* the \"Copy Bundle Resources\" step. " | ||
| 306 | - "Name the step \"Install Target Specific Python Standard Library\", disable " | ||
| 307 | - "the \"Based on dependency analysis\" checkbox, and set the script content to:" | ||
| 298 | + "Add a build step that processes the Python standard library, and your own " | ||
| 299 | + "Python binary dependencies. In the \"Build Phases\" tab, add a new \"Run " | ||
| 300 | + "Script\" build step *before* the \"Embed Frameworks\" step, but *after* the " | ||
| 301 | + "\"Copy Bundle Resources\" step. Name the step \"Process Python libraries\", " | ||
| 302 | + "disable the \"Based on dependency analysis\" checkbox, and set the script " | ||
| 303 | + "content to:" | ||
| 308 | 304 | msgstr "" | |
| 309 | 305 | ||
| 310 | 306 | msgid "" | |
| 311 | 307 | "set -e\n" | |
| 312 | - "\n" | ||
| 313 | - "mkdir -p \"$CODESIGNING_FOLDER_PATH/python/lib\"\n" | ||
| 314 | - "if [ \"$EFFECTIVE_PLATFORM_NAME\" = \"-iphonesimulator\" ]; then\n" | ||
| 315 | - " echo \"Installing Python modules for iOS Simulator\"\n" | ||
| 316 | - " rsync -au --delete \"$PROJECT_DIR/Python.xcframework/ios-arm64_x86_64-" | ||
| 317 | - "simulator/lib/\" \"$CODESIGNING_FOLDER_PATH/python/lib/\"\n" | ||
| 318 | - "else\n" | ||
| 319 | - " echo \"Installing Python modules for iOS Device\"\n" | ||
| 320 | - " rsync -au --delete \"$PROJECT_DIR/Python.xcframework/ios-arm64/lib/\" " | ||
| 321 | - "\"$CODESIGNING_FOLDER_PATH/python/lib/\"\n" | ||
| 322 | - "fi" | ||
| 323 | - msgstr "" | ||
| 324 | - | ||
| 325 | - msgid "" | ||
| 326 | - "Note that the name of the simulator \"slice\" in the XCframework may be " | ||
| 327 | - "different, depending the CPU architectures your ``XCFramework`` supports." | ||
| 328 | - msgstr "" | ||
| 329 | - | ||
| 330 | - msgid "" | ||
| 331 | - "Add a second build step that processes the binary extension modules in the " | ||
| 332 | - "standard library into \"Framework\" format. Add a \"Run Script\" build step " | ||
| 333 | - "*directly after* the one you added in step 8, named \"Prepare Python Binary " | ||
| 334 | - "Modules\". It should also have \"Based on dependency analysis\" unchecked, " | ||
| 335 | - "with the following script content:" | ||
| 308 | + "source $PROJECT_DIR/Python.xcframework/build/build_utils.sh\n" | ||
| 309 | + "install_python Python.xcframework app" | ||
| 336 | 310 | msgstr "" | |
| 337 | 311 | ||
| 338 | 312 | msgid "" | |
| 339 | - "set -e\n" | ||
| 340 | - "\n" | ||
| 341 | - "install_dylib () {\n" | ||
| 342 | - " INSTALL_BASE=$1\n" | ||
| 343 | - " FULL_EXT=$2\n" | ||
| 344 | - "\n" | ||
| 345 | - " # The name of the extension file\n" | ||
| 346 | - " EXT=$(basename \"$FULL_EXT\")\n" | ||
| 347 | - " # The location of the extension file, relative to the bundle\n" | ||
| 348 | - " RELATIVE_EXT=${FULL_EXT#$CODESIGNING_FOLDER_PATH/}\n" | ||
| 349 | - " # The path to the extension file, relative to the install base\n" | ||
| 350 | - " PYTHON_EXT=${RELATIVE_EXT/$INSTALL_BASE/}\n" | ||
| 351 | - " # The full dotted name of the extension module, constructed from the " | ||
| 352 | - "file path.\n" | ||
| 353 | - " FULL_MODULE_NAME=$(echo $PYTHON_EXT | cut -d \".\" -f 1 | tr \"/\" \"." | ||
| 354 | - "\");\n" | ||
| 355 | - " # A bundle identifier; not actually used, but required by Xcode " | ||
| 356 | - "framework packaging\n" | ||
| 357 | - " FRAMEWORK_BUNDLE_ID=$(echo $PRODUCT_BUNDLE_IDENTIFIER.$FULL_MODULE_NAME " | ||
| 358 | - "| tr \"_\" \"-\")\n" | ||
| 359 | - " # The name of the framework folder.\n" | ||
| 360 | - " FRAMEWORK_FOLDER=\"Frameworks/$FULL_MODULE_NAME.framework\"\n" | ||
| 361 | - "\n" | ||
| 362 | - " # If the framework folder doesn't exist, create it.\n" | ||
| 363 | - " if [ ! -d \"$CODESIGNING_FOLDER_PATH/$FRAMEWORK_FOLDER\" ]; then\n" | ||
| 364 | - " echo \"Creating framework for $RELATIVE_EXT\"\n" | ||
| 365 | - " mkdir -p \"$CODESIGNING_FOLDER_PATH/$FRAMEWORK_FOLDER\"\n" | ||
| 366 | - " cp \"$CODESIGNING_FOLDER_PATH/dylib-Info-template.plist\" " | ||
| 367 | - "\"$CODESIGNING_FOLDER_PATH/$FRAMEWORK_FOLDER/Info.plist\"\n" | ||
| 368 | - " plutil -replace CFBundleExecutable -string \"$FULL_MODULE_NAME\" " | ||
| 369 | - "\"$CODESIGNING_FOLDER_PATH/$FRAMEWORK_FOLDER/Info.plist\"\n" | ||
| 370 | - " plutil -replace CFBundleIdentifier -string \"$FRAMEWORK_BUNDLE_ID\" " | ||
| 371 | - "\"$CODESIGNING_FOLDER_PATH/$FRAMEWORK_FOLDER/Info.plist\"\n" | ||
| 372 | - " fi\n" | ||
| 373 | - "\n" | ||
| 374 | - " echo \"Installing binary for $FRAMEWORK_FOLDER/$FULL_MODULE_NAME\"\n" | ||
| 375 | - " mv \"$FULL_EXT\" \"$CODESIGNING_FOLDER_PATH/$FRAMEWORK_FOLDER/" | ||
| 376 | - "$FULL_MODULE_NAME\"\n" | ||
| 377 | - " # Create a placeholder .fwork file where the .so was\n" | ||
| 378 | - " echo \"$FRAMEWORK_FOLDER/$FULL_MODULE_NAME\" > ${FULL_EXT%.so}.fwork\n" | ||
| 379 | - " # Create a back reference to the .so file location in the framework\n" | ||
| 380 | - " echo \"${RELATIVE_EXT%.so}.fwork\" > \"$CODESIGNING_FOLDER_PATH/" | ||
| 381 | - "$FRAMEWORK_FOLDER/$FULL_MODULE_NAME.origin\"\n" | ||
| 382 | - " }\n" | ||
| 383 | - "\n" | ||
| 384 | - " PYTHON_VER=$(ls -1 \"$CODESIGNING_FOLDER_PATH/python/lib\")\n" | ||
| 385 | - " echo \"Install Python $PYTHON_VER standard library extension modules...\"\n" | ||
| 386 | - " find \"$CODESIGNING_FOLDER_PATH/python/lib/$PYTHON_VER/lib-dynload\" -name " | ||
| 387 | - "\"*.so\" | while read FULL_EXT; do\n" | ||
| 388 | - " install_dylib python/lib/$PYTHON_VER/lib-dynload/ \"$FULL_EXT\"\n" | ||
| 389 | - " done\n" | ||
| 390 | - "\n" | ||
| 391 | - " # Clean up dylib template\n" | ||
| 392 | - " rm -f \"$CODESIGNING_FOLDER_PATH/dylib-Info-template.plist\"\n" | ||
| 393 | - "\n" | ||
| 394 | - " echo \"Signing frameworks as $EXPANDED_CODE_SIGN_IDENTITY_NAME " | ||
| 395 | - "($EXPANDED_CODE_SIGN_IDENTITY)...\"\n" | ||
| 396 | - " find \"$CODESIGNING_FOLDER_PATH/Frameworks\" -name \"*.framework\" -exec /" | ||
| 397 | - "usr/bin/codesign --force --sign \"$EXPANDED_CODE_SIGN_IDENTITY\" " | ||
| 398 | - "${OTHER_CODE_SIGN_FLAGS:-} -o runtime --timestamp=none --preserve-" | ||
| 399 | - "metadata=identifier,entitlements,flags --generate-entitlement-der \"{}\" \\;" | ||
| 313 | + "If you have placed your XCframework somewhere other than the root of your " | ||
| 314 | + "project, modify the path to the first argument." | ||
| 400 | 315 | msgstr "" | |
| 401 | 316 | ||
| 402 | 317 | msgid "" | |
@@ -446,29 +361,23 @@ msgid "" | |||
| 446 | 361 | msgstr "" | |
| 447 | 362 | ||
| 448 | 363 | msgid "" | |
| 449 | - "Steps 8, 9 and 10 of these instructions assume that you have a single folder " | ||
| 450 | - "of pure Python application code, named ``app``. If you have third-party " | ||
| 451 | - "binary modules in your app, some additional steps will be required:" | ||
| 364 | + "Steps 7 and 8 of these instructions assume that you have a single folder of " | ||
| 365 | + "pure Python application code, named ``app``. If you have third-party binary " | ||
| 366 | + "modules in your app, some additional steps will be required:" | ||
| 452 | 367 | msgstr "" | |
| 453 | 368 | ||
| 454 | 369 | msgid "" | |
| 455 | 370 | "You need to ensure that any folders containing third-party binaries are " | |
| 456 | - "either associated with the app target, or copied in as part of step 8. Step " | ||
| 457 | - "8 should also purge any binaries that are not appropriate for the platform a " | ||
| 458 | - "specific build is targeting (i.e., delete any device binaries if you're " | ||
| 459 | - "building an app targeting the simulator)." | ||
| 460 | - msgstr "" | ||
| 461 | - | ||
| 462 | - msgid "" | ||
| 463 | - "Any folders that contain third-party binaries must be processed into " | ||
| 464 | - "framework form by step 9. The invocation of ``install_dylib`` that processes " | ||
| 465 | - "the ``lib-dynload`` folder can be copied and adapted for this purpose." | ||
| 371 | + "either associated with the app target, or are explicitly copied as part of " | ||
| 372 | + "step 7. Step 7 should also purge any binaries that are not appropriate for " | ||
| 373 | + "the platform a specific build is targeting (i.e., delete any device binaries " | ||
| 374 | + "if you're building an app targeting the simulator)." | ||
| 466 | 375 | msgstr "" | |
| 467 | 376 | ||
| 468 | 377 | msgid "" | |
| 469 | 378 | "If you're using a separate folder for third-party packages, ensure that " | |
| 470 | - "folder is included as part of the :envvar:`PYTHONPATH` configuration in step " | ||
| 471 | - "10." | ||
| 379 | + "folder is added to the end of the call to ``install_python`` in step 7, and " | ||
| 380 | + "as part of the :envvar:`PYTHONPATH` configuration in step 8." | ||
| 472 | 381 | msgstr "" | |
| 473 | 382 | ||
| 474 | 383 | msgid "" | |
@@ -482,31 +391,38 @@ msgid "Testing a Python package" | |||
| 482 | 391 | msgstr "" | |
| 483 | 392 | ||
| 484 | 393 | msgid "" | |
| 485 | - "The CPython source tree contains :source:`a testbed project <iOS/testbed>` " | ||
| 486 | - "that is used to run the CPython test suite on the iOS simulator. This " | ||
| 487 | - "testbed can also be used as a testbed project for running your Python " | ||
| 394 | + "The CPython source tree contains :source:`a testbed project <Apple/iOS/" | ||
| 395 | + "testbed>` that is used to run the CPython test suite on the iOS simulator. " | ||
| 396 | + "This testbed can also be used as a testbed project for running your Python " | ||
| 488 | 397 | "library's test suite on iOS." | |
| 489 | 398 | msgstr "" | |
| 490 | 399 | ||
| 491 | 400 | msgid "" | |
| 492 | - "After building or obtaining an iOS XCFramework (See :source:`iOS/README.rst` " | ||
| 493 | - "for details), create a clone of the Python iOS testbed project by running:" | ||
| 401 | + "After building or obtaining an iOS XCFramework (see :source:`Apple/iOS/" | ||
| 402 | + "README.md` for details), create a clone of the Python iOS testbed project. " | ||
| 403 | + "If you used the ``Apple`` build script to build the XCframework, you can run:" | ||
| 404 | + msgstr "" | ||
| 405 | + | ||
| 406 | + msgid "" | ||
| 407 | + "$ python cross-build/iOS/testbed clone --app <path/to/module1> --app <path/" | ||
| 408 | + "to/module2> app-testbed" | ||
| 409 | + msgstr "" | ||
| 410 | + | ||
| 411 | + msgid "Or, if you've sourced your own XCframework, by running:" | ||
| 494 | 412 | msgstr "" | |
| 495 | 413 | ||
| 496 | 414 | msgid "" | |
| 497 | - "$ python iOS/testbed clone --framework <path/to/Python.xcframework> --app " | ||
| 498 | - "<path/to/module1> --app <path/to/module2> app-testbed" | ||
| 415 | + "$ python Apple/testbed clone --platform iOS --framework <path/to/Python." | ||
| 416 | + "xcframework> --app <path/to/module1> --app <path/to/module2> app-testbed" | ||
| 499 | 417 | msgstr "" | |
| 500 | 418 | ||
| 501 | 419 | msgid "" | |
| 502 | - "You will need to modify the ``iOS/testbed`` reference to point to that " | ||
| 503 | - "directory in the CPython source tree; any folders specified with the ``--" | ||
| 504 | - "app`` flag will be copied into the cloned testbed project. The resulting " | ||
| 505 | - "testbed will be created in the ``app-testbed`` folder. In this example, the " | ||
| 506 | - "``module1`` and ``module2`` would be importable modules at runtime. If your " | ||
| 507 | - "project has additional dependencies, they can be installed into the ``app-" | ||
| 508 | - "testbed/iOSTestbed/app_packages`` folder (using ``pip install --target app-" | ||
| 509 | - "testbed/iOSTestbed/app_packages`` or similar)." | ||
| 420 | + "Any folders specified with the ``--app`` flag will be copied into the cloned " | ||
| 421 | + "testbed project. The resulting testbed will be created in the ``app-" | ||
| 422 | + "testbed`` folder. In this example, the ``module1`` and ``module2`` would be " | ||
| 423 | + "importable modules at runtime. If your project has additional dependencies, " | ||
| 424 | + "they can be installed into the ``app-testbed/Testbed/app_packages`` folder " | ||
| 425 | + "(using ``pip install --target app-testbed/Testbed/app_packages`` or similar)." | ||
| 510 | 426 | msgstr "" | |
| 511 | 427 | ||
| 512 | 428 | msgid "" | |
@@ -543,8 +459,8 @@ msgstr "" | |||
| 543 | 459 | ||
| 544 | 460 | msgid "" | |
| 545 | 461 | "The test plan also disables parallel testing, and specifies the use of the " | |
| 546 | - "``iOSTestbed.lldbinit`` file for providing configuration of the debugger. " | ||
| 547 | - "The default debugger configuration disables automatic breakpoints on the " | ||
| 462 | + "``Testbed.lldbinit`` file for providing configuration of the debugger. The " | ||
| 463 | + "default debugger configuration disables automatic breakpoints on the " | ||
| 548 | 464 | "``SIGINT``, ``SIGUSR1``, ``SIGUSR2``, and ``SIGXFSZ`` signals." | |
| 549 | 465 | msgstr "" | |
| 550 | 466 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.14\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2025-09-27 14:12+0000\n" | ||
| 14 | + "POT-Creation-Date: 2025-09-29 14:15+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2025-09-16 00:02+0000\n" | |
| 16 | 16 | "Last-Translator: python-doc bot, 2025\n" | |
| 17 | 17 | "Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n" | |
@@ -39,6 +39,12 @@ msgid "" | |||
| 39 | 39 | "the values becoming out-of-date during routine updates." | |
| 40 | 40 | msgstr "" | |
| 41 | 41 | ||
| 42 | + msgid "" | ||
| 43 | + ":gh:`138171`: A script for building an iOS XCframework was added. As part of " | ||
| 44 | + "this change, the top level ``iOS`` folder has been moved to be a " | ||
| 45 | + "subdirectory of the ``Apple`` folder." | ||
| 46 | + msgstr "" | ||
| 47 | + | ||
| 42 | 48 | msgid "Library" | |
| 43 | 49 | msgstr "" | |
| 44 | 50 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments