summaryrefslogtreecommitdiffstats
path: root/Doc/using
Commit message (Collapse)AuthorAgeFilesLines
* [3.13] gh-120522: Revert "Add a `--with-app-store-compliance` configure ↵Miss Islington (bot)2024-07-163-51/+0
| | | | | | | | | option to patch out problematic code" (GH-121844) (#121845) This reverts commit 0dfb437a32f9b9a8a0ae61d8c43c47417651f44e prior to the release of 3.13.0b4 to allow for additional review time. (cherry picked from commit f27593a87c344f3774ca73644a11cbd5614007ef) Co-authored-by: Ned Deily <nad@python.org>
* [3.13] gh-120831: Increase the default minimum supported iOS version to 13.0 ↵Miss Islington (bot)2024-07-161-0/+11
| | | | | | | | | | | | (GH-121250) (#121833) gh-120831: Increase the default minimum supported iOS version to 13.0 (GH-121250) Increases the default minimum iOS version to 13.0. (cherry picked from commit 7e91e0dcfe2faab1e1a4630e6f745aa30ca87b3d) Co-authored-by: Russell Keith-Magee <russell@keith-magee.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* [3.13] Docs: fix typo and duplicate word in configure.rst (GH-121410) (#121532)Miss Islington (bot)2024-07-091-2/+2
| | | | | (cherry picked from commit 9ba2a4638d7b620c939face7642b2f53a9fadc4b) Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
* [3.13] gh-120522: Add a `--with-app-store-compliance` configure option to ↵Miss Islington (bot)2024-06-303-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | patch out problematic code (GH-120984) (#121173) gh-120522: Add a `--with-app-store-compliance` configure option to patch out problematic code (GH-120984) * Add --app-store-compliance configuration option. * Added blurb. * Correct tab-vs-spaces formatting issue. * Correct source file name in docs. * Correct source code reference in Mac docs * Only apply the patch forward, and ensure the working directory is correct. * Make patching reslient to multiple builds. * Documentation fixes found during review * Documentation and configure.ac syntax improvements * Regenerate configure script. * Silence the patch echo output. --------- (cherry picked from commit 48cd104b0cf05dad8958efa9cb9666c029ef9201) Co-authored-by: Russell Keith-Magee <russell@keith-magee.com> Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com> Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* [3.13] gh-121101: Document -Wall option (an alias for -Walways) (GH-121102) ↵Miss Islington (bot)2024-06-291-0/+2
| | | | | | | | (#121146) gh-121101: Document -Wall option (an alias for -Walways) (GH-121102) (cherry picked from commit 0a1e8ff9c15675fdc4d07fa6c59f83808bf00798) Co-authored-by: Wim Jeantine-Glenn <jump@wimglenn.com>
* [3.13] docs: fix a few typos identified by codespell (GH-119516) (#119570)Miss Islington (bot)2024-05-261-2/+2
| | | | Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
* [3.13] Docs: Add central references to free-threading-related options ↵Miss Islington (bot)2024-05-212-3/+4
| | | | | | | | (GH-119017) (#119367) Docs: Add central references to free-threading-related options (GH-119017) (cherry picked from commit 9fa206aaeccc979a4bd03852ba38c045294a3d6f) Co-authored-by: Brett Simmers <swtaarrs@users.noreply.github.com>
* gh-118518: Rename `PYTHONPERFJITSUPPORT` and `-X perfjit` with underscores ↵Hugo van Kemenade2024-05-071-5/+5
| | | | (#118693)
* gh-115119: Default to --with-system-libmpdec=yes (#118539)Erlend E. Aasland2024-05-061-2/+9
| | | Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
* gh-111201: A new Python REPL (GH-111567)Pablo Galindo Salgado2024-05-051-0/+10
| | | | | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Marta Gómez Macías <mgmacias@google.com> Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* gh-118518: Allow perf to work without frame pointers (#112254)Pablo Galindo Salgado2024-05-051-0/+24
|
* gh-117225: Document colour use in `doctest` (#118268)Hugo van Kemenade2024-05-011-2/+10
|
* gh-115119: Detect _decimal dependencies using pkg-config (#115406)Erlend E. Aasland2024-04-291-0/+13
| | | pkg-config is supported for libmpdec 4.0.0 and newer.
* gh-117804: Document how to suppress PGO unprofiled source warnings (#117859)Erlend E. Aasland2024-04-151-0/+9
|
* Docs: add link roles with Sphinx extlinks (#117850)Hugo van Kemenade2024-04-152-3/+3
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-115664: Reorganize versionadded directives for -X options (GH-116304)Serhiy Storchaka2024-04-151-34/+45
| | | | Add the versionadded directives just under the description of the corresponding option.
* gh-114099: Add documentation for iOS platform (GH-117057)Russell Keith-Magee2024-03-283-1/+330
| | | | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Jacob Coffee <jacob@z7x.org> Co-authored-by: Malcolm Smith <smith@chaquo.com> Co-authored-by: Ned Deily <nad@python.org>
* gh-117058: Update GUI and packaging recommendations for macOS. (#117059)Russell Keith-Magee2024-03-201-11/+25
|
* gh-90300: Fix cmdline.rst (GH-116721)Serhiy Storchaka2024-03-131-5/+8
| | | | * Fix the description of the "-b" option. * Add references to environment variables for "-s" and "-X dev" options.
* gh-116167: Allow disabling the GIL with `PYTHON_GIL=0` or `-X gil=0` (#116338)Brett Simmers2024-03-111-0/+18
| | | | | | | | | In free-threaded builds, running with `PYTHON_GIL=0` will now disable the GIL. Follow-up issues track work to re-enable the GIL when loading an incompatible extension, and to disable the GIL by default. In order to support re-enabling the GIL at runtime, all GIL-related data structures are initialized as usual, and disabling the GIL simply sets a flag that causes `take_gil()` and `drop_gil()` to return early.
* gh-106259: Add minimal help target to Makefile (#106260)Skip Montanaro2024-03-071-26/+104
| | | | | Co-authored-by: Erlend E. Aasland <erlend@python.org> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Victor Stinner <vstinner@python.org>
* gh-115664: Fix ordering of more versionadded and versionchanged directives ↵Serhiy Storchaka2024-03-071-33/+24
| | | | (GH-116298)
* Docs: update using/configure.rst (#116274)Hugo van Kemenade2024-03-031-23/+31
|
* gh-115872: Doc: remove obsolete reference to MSI packages (#115873)partev2024-02-241-1/+1
|
* gh-115795: Doc: fix obsolete URL (#115749)partev2024-02-221-1/+1
|
* gh-115664: Fix chronological ordering of versionadded and versionchanged ↵Brian Schubert2024-02-191-3/+3
| | | | directives (#115676)
* Update "Using Python on a Mac" (#115024)Hugo van Kemenade2024-02-131-46/+59
|
* Docs: 'still' is a better word than 'nonetheless' (#114598)Ned Batchelder2024-01-261-1/+1
|
* gh-112984 Update Windows build and installer for free-threaded builds ↵Steve Dower2024-01-172-2/+62
| | | | (GH-113129)
* gh-113664: Improve style of Big O notation (GH-113695)Serhiy Storchaka2024-01-101-1/+1
| | | | Use cursive to make it looking like mathematic formulas.
* gh-73965: New environment variable PYTHON_HISTORY (#13208)Zackery Spytz2024-01-071-0/+8
| | | | | | | | It can be used to set the location of a .python_history file --------- Co-authored-by: Levi Sabah <0xl3vi@gmail.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-112536: Add support for thread sanitizer (TSAN) (gh-112648)Samet YASLAN2023-12-301-0/+7
|
* gh-112730: Update docs for colour env vars (#112837)Hugo van Kemenade2023-12-141-1/+4
|
* gh-112999: Replace the outdated "deprecated" directives with ↵Serhiy Storchaka2023-12-121-3/+1
| | | | "versionchanged" (GH-113000)
* gh-112730: Use color to highlight error locations (gh-112732)Pablo Galindo Salgado2023-12-061-0/+27
| | | | Signed-off-by: Pablo Galindo <pablogsal@gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* gh-108223: Refer to PEP 703 as Free Threading (#112780)Victor Stinner2023-12-061-1/+4
|
* gh-110481: Fix Py_SET_REFCNT() integer overflow (#112174)Victor Stinner2023-12-011-0/+2
| | | | | | | | | | | | | | If Py_NOGIL is defined and Py_SET_REFCNT() is called with a reference count larger than UINT32_MAX, make the object immortal. Set _Py_IMMORTAL_REFCNT constant type to Py_ssize_t to fix the following compiler warning: Include/internal/pycore_global_objects_fini_generated.h:14:24: warning: comparison of integers of different signs: 'Py_ssize_t' (aka 'long') and 'unsigned int' [-Wsign-compare] if (Py_REFCNT(obj) < _Py_IMMORTAL_REFCNT) { ~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~
* gh-112088: Run autoreconf in GHA check_generated_files (#112090)Victor Stinner2023-11-151-5/+12
| | | | | | | | | | | The "Check if generated files are up to date" job of GitHub Actions now runs the "autoreconf -ivf -Werror" command instead of the "make regen-configure" command to avoid depending on the external quay.io server. Add Tools/build/regen-configure.sh script to regenerate the configure with an Ubuntu container image. The "quay.io/tiran/cpython_autoconf:271" container image (https://github.com/tiran/cpython_autoconf) is no longer used.
* gh-111374: Add a new PYTHON_FROZEN_MODULES env var, equivalent of `-X ↵Yilei Yang2023-11-011-5/+20
| | | | | | | frozen_modules`. (#111411) Adds a new PYTHON_FROZEN_MODULES env var to correspond with -X frozen_modules. Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-90815: Add mimalloc memory allocator (#109914)Dino Viehland2023-10-302-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add mimalloc v2.12 Modified src/alloc.c to remove include of alloc-override.c and not compile new handler. Did not include the following files: - include/mimalloc-new-delete.h - include/mimalloc-override.h - src/alloc-override-osx.c - src/alloc-override.c - src/static.c - src/region.c mimalloc is thread safe and shares a single heap across all runtimes, therefore finalization and getting global allocated blocks across all runtimes is different. * mimalloc: minimal changes for use in Python: - remove debug spam for freeing large allocations - use same bytes (0xDD) for freed allocations in CPython and mimalloc This is important for the test_capi debug memory tests * Don't export mimalloc symbol in libpython. * Enable mimalloc as Python allocator option. * Add mimalloc MIT license. * Log mimalloc in Lib/test/pythoninfo.py. * Document new mimalloc support. * Use macro defs for exports as done in: https://github.com/python/cpython/pull/31164/ Co-authored-by: Sam Gross <colesbury@gmail.com> Co-authored-by: Christian Heimes <christian@python.org> Co-authored-by: Victor Stinner <vstinner@python.org>
* gh-110722: Add PYTHON_PRESITE to import a module before site.py is run (#110769)Łukasz Langa2023-10-141-4/+33
|
* gh-101100: Fix sphinx warnings in `usage/cmdline.rst` (#110841)Nikita Sobolev2023-10-141-8/+9
|
* gh-110631: Fix reST indentation (#110724)Ezio Melotti2023-10-111-12/+13
| | | | | * Fix wrong indentation in the other dirs. * Fix more wrong indentation.
* gh-109595: Add -Xcpu_count=<n> cmdline for container users (#109667)Donghee Na2023-10-101-0/+18
| | | | | | --------- Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Gregory P. Smith [Google LLC] <greg@krypto.org>
* Docs: Avoid the deprecated ``.. cmdoption::`` directive (#110292)Adam Turner2023-10-032-130/+130
|
* gh-110276: No longer ignore PROFILE_TASK failure silently (#110295)Victor Stinner2023-10-031-0/+3
|
* gh-83180: Made launcher treat shebang 'python' tags as low priority so that ↵Steve Dower2023-10-021-6/+14
| | | | active virtual environments are preferred (GH-108101)
* GH-92584: Move installation schemes overview to sysconfig docs (#108018)Adam Turner2023-10-021-1/+1
| | | | | | | | | | | * Add new installation path functions subsection * Add content from install/index to sysconfig * Fix table * Update note about installers * Clean up the list of schemes, remove references to Distutils
* gh-105323: Update readline module to detect apple editline variant (gh-108665)Donghee Na2023-09-291-3/+4
|
* gh-101100: Fix Sphinx warnings in Doc/using/configure.rst (#109931)Victor Stinner2023-09-271-8/+8
|