summaryrefslogtreecommitdiffstats
path: root/Doc/using
Commit message (Collapse)AuthorAgeFilesLines
* GH-109975: Copyedit 3.13 What's New: Release Highlights (#122958)Adam Turner2024-08-132-3/+3
| | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* gh-112301: Update documentation for configure options (``--disable-safety`` ↵Nate Ohlson2024-08-081-4/+17
| | | | | and ``--enable-slower-safety``) (#122758) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* Doc: cmdline.rst: Include -P and -R in usage (#122590)Wim Jeantine-Glenn2024-08-071-1/+1
| | | | * ``-P``: safe path (https://docs.python.org/3/using/cmdline.html#cmdoption-P) * ``-R``: hash randomization (https://docs.python.org/3/using/cmdline.html#cmdoption-R)
* Fix typos in docs, error messages and comments (#122502)jianghuyiyuan2024-08-011-1/+1
| | | Signed-off-by: jianghuyiyuan <shuangcui@live.com>
* gh-121996: Introduce --disable-safety and --enable-slower-safety options ↵Donghee Na2024-07-231-0/+19
| | | | | | | | | | | | | (#122054) * gh-121996: Introduce --disable-safty and --enable-slower-safty * Update GA * fix * Address code review * Update CI
* gh-121957: Emit audit events for `python -i` and `python -m asyncio` (GH-121958)Łukasz Langa2024-07-221-0/+9
| | | | Relatedly, emit the `cpython.run_startup` event from the Python version of `PYTHONSTARTUP` handling.
* Docs: spelling and grammar fixes (#122084)Ville Skyttä2024-07-221-1/+1
| | | | | | Corrected some grammar and spelling issues in documentation. Co-authored-by: Russell Keith-Magee <russell@keith-magee.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* gh-120522: Apply App Store compliance patch during installation (#121947)Russell Keith-Magee2024-07-213-0/+51
| | | Adds a --with-app-store-compliance configuration option that patches out code known to be an issue with App Store review processes. This option is applied automatically on iOS, and optionally on macOS.
* gh-121905: Consistently use "floating-point" instead of "floating point" ↵Serhiy Storchaka2024-07-191-2/+2
| | | | (GH-121907)
* gh-120522: Revert "Add a `--with-app-store-compliance` configure option to ↵Ned Deily2024-07-163-51/+0
| | | | | | patch out problematic code" (gh-120984) (#121844) This reverts commit 48cd104b0cf05dad8958efa9cb9666c029ef9201 prior to the release of 3.13.0b4 to allow for additional review time.
* gh-120831: Increase the default minimum supported iOS version to 13.0 (#121250)Russell Keith-Magee2024-07-161-0/+11
| | | | | Increases the default minimum iOS version to 13.0. Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* Docs: fix typo and duplicate word in configure.rst (#121410)Rafael Fontenelle2024-07-091-2/+2
|
* gh-120522: Add a `--with-app-store-compliance` configure option to patch out ↵Russell Keith-Magee2024-06-303-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | problematic code (#120984) * Add --app-store-compliance configuration option. * Added blurb. * Correct tab-vs-spaces formatting issue. * Correct source file name in docs. Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com> * Correct source code reference in Mac docs Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com> * Only apply the patch forward, and ensure the working directory is correct. * Make patching reslient to multiple builds. * Documentation fixes found during review Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com> * Documentation and configure.ac syntax improvements Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> * Regenerate configure script. * Silence the patch echo output. --------- 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>
* gh-121101: Document -Wall option (an alias for -Walways) (#121102)Wim Jeantine-Glenn2024-06-291-0/+2
|
* docs: fix a few typos identified by codespell (#119516)Ned Batchelder2024-05-261-2/+2
|
* Docs: Add central references to free-threading-related options (#119017)Brett Simmers2024-05-212-3/+4
|
* gh-102136: Add -m to options that work with -i (GH-119271)Melanie Arbor2024-05-201-3/+9
| | | | | * GH-102136: Add -m to options that work with -i * Linting
* 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>