summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* bpo-45429: Merge whatsnew about time.sleep (GH-29589)Dong-hee Na2021-11-182-11/+11
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* [docs] Add missing word "any" in unittest -k cmdline option description ↵ch33zer2021-11-171-1/+1
| | | | (GH-29571)
* bpo-28806: Continue work: improve the netrc library (GH-26330)Emmanuel Arias2021-11-171-7/+4
| | | | | | | | | Continue with the improvement of the library netrc Original work and report Xiang Zhang <angwerzx@126.com> * 📜🤖 Added by blurb_it. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* bpo-37800: Clean up importlib documentation for some module attributes ↵Géry Ogam2021-11-161-63/+77
| | | | | (GH-10016) Automerge-Triggered-By: GH:brettcannon
* bpo-45429: Support CREATE_WAITABLE_TIMER_HIGH_RESOLUTION if possible (GH-29203)Dong-hee Na2021-11-161-0/+4
|
* bpo-28533: Remove asyncore, asynchat, smtpd modules (GH-29521)Victor Stinner2021-11-159-871/+10
| | | | | | | | | | | | | | | | Remove the asyncore and asynchat modules, deprecated in Python 3.6: use the asyncio module instead. Remove the smtpd module, deprecated in Python 3.6: the aiosmtpd module can be used instead, it is based on asyncio. * Remove asyncore, asynchat and smtpd documentation * Remove test_asyncore, test_asynchat and test_smtpd * Rename Lib/asynchat.py to Lib/test/support/_asynchat.py * Rename Lib/asyncore.py to Lib/test/support/_asyncore.py * Rename Lib/smtpd.py to Lib/test/support/_smtpd.py * Remove DeprecationWarning from private _asyncore, _asynchat and _smtpd modules * _smtpd: remove deprecated properties
* bpo-43225: [DOC] Add missing value returned by methods on cookiejar (GH-24522)Emmanuel Arias2021-11-151-3/+3
| | | | | | | | | | | | | | | | * Add missing value returned by methods on cookiejar Documentation say that return something but don't specific with what value is return, and that can be confuse. This patch add that information. * Update Doc/library/http.cookiejar.rst Co-authored-by: andrei kulakov <andrei.avk@gmail.com> * Update Doc/library/http.cookiejar.rst Co-authored-by: andrei kulakov <andrei.avk@gmail.com> Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* bpo-25381: Update explanation of exceptions in C. (GH-26838)Terry Jan Reedy2021-11-151-7/+5
| | | | | | | | | | | | | | * bpo-25381: Update explanation of exception globals This paragraph in extending/extending.rst was unchanged (except for NULL markup) since committed in 2007 Aug 15 for 2.6 alpha. * Respond to reviews and remove duplication. * Update Doc/extending/extending.rst Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* Save a reference for ensure_future and create_task (GH-29163)Joannah Nanjekye2021-11-152-0/+8
| | | Co-authored-by: Joannah Nanjekye <jnanjekye@python.org>
* bpo-45677: Reword first section of `sqlite3` docs (#29326)Erlend Egeberg Aasland2021-11-151-18/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bpo-45677: Avoid addressing the reader as 'you' in sqlite3 docs * Adjust wording * Adjust wording again * Typo * Update Doc/library/sqlite3.rst Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> * Address review: adjust wording * Update Doc/library/sqlite3.rst Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> * Update Lib/sqlite3/__init__.py Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> * Update Doc/library/sqlite3.rst Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> * Update Doc/library/sqlite3.rst Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> * Update Lib/sqlite3/__init__.py Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> * Update Doc/library/sqlite3.rst Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> * Apply Alex' suggestion, and apply 80 char limit to PR * Minor adjustment Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* bpo-45752: Fix no-support examples in 'copy' docs (GH-29548)M. Mostafa Farzan2021-11-141-1/+1
|
* bpo-45799: [Doc] improve confusing sentence in __main__.rst (GH-29546)Jack DeVries2021-11-131-2/+2
| | | | | I was reading this bit last night and thought it was a typo. In the light of day, I realized it wasn't *technically* a typo, but definitely confusing wording. This PR fixes the confusing sentence. Automerge-Triggered-By: GH:ericvsmith
* bpo-45772: socket.socket should be a class instead of a function (GH-23960)Hong Xu2021-11-131-1/+1
| | | | | | | | * bpo-45772: socket.socket should be a class instead of a function Currently `socket.socket` is documented as a function, but it is really a class (and thus has function-like usage to construct an object). This correction would ensure that Python projects that are interlinking Python's documentation can properly locate `socket.socket` as a type.
* bpo-45711: Re-bump the magic number and update doc (GH-29528)Brandt Bucher2021-11-122-1/+6
|
* bpo-45792: Fix contextvar.Token's intersphinx FQN (GH-29533)Hynek Schlawack2021-11-121-1/+1
| | | Since `.. module:: contextvars` sets the module using `.. class:: contextvars.Token`, intersphinx records it as `contextvars.contextvars.Token`.
* bpo-45636: Merge all numeric operators (GH-29482)Brandt Bucher2021-11-112-134/+10
|
* bpo-45696: Deep-freeze selected modules (GH-29118)Guido van Rossum2021-11-111-1/+3
| | | | | | | This gains 10% or more in startup time for `python -c pass` on UNIX-ish systems. The Makefile.pre.in generating code builds on Eric's work for bpo-45020, but the .c file generator is new. Windows version TBD.
* bpo-45723: Add --with-pkg-config to configure (GH-29517)Christian Heimes2021-11-101-0/+11
| | | Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-45747: Detect gdbm/dbm dependencies in configure (GH-29467)Christian Heimes2021-11-101-0/+4
| | | Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-45701: Improve documentation for *typed* parameter (GH-29498)Raymond Hettinger2021-11-091-4/+10
|
* bpo-45763: Detect compression build deps in configure (GH-29483)Christian Heimes2021-11-091-0/+3
|
* Closes bpo-45712: Add missing word in control flow tutorial (GH-29460)1809092021-11-081-1/+1
|
* bpo-40170: Update What's New in Python 3.9 (GH-29470)Victor Stinner2021-11-081-4/+0
| | | | The PyType_HasFeature() change has been reverted: the static inline function access directly the PyTypeObject.tp_flags member.
* bpo-45741: docs: fix plural (GH-29461)Rafael Fontenelle2021-11-081-1/+1
| | | | | "entry points provides" -> "entry points provide" Automerge-Triggered-By: GH:ericvsmith
* bpo-39452: [doc] Change "must" to "can" on relative import style in ↵Andre Delfino2021-11-061-1/+1
| | | | `__main__` (GH-29379)
* [doc] bpo-45680: Improve glossary entry for generic types (GH-29388)Alex Waygood2021-11-061-4/+5
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* [doc] minor fixes to expressions.rst (GH-29444)Ethan Furman2021-11-061-3/+3
|
* bpo-45740: [Enum] add versionadded markers to docs (GH-29443)Ethan Furman2021-11-062-7/+7
| | | [Enum] add versionadded markers to docs
* bpo-45762: Improve docs for ``@singledispatch``/``@singledispatchmethod`` ↵Alex Waygood2021-11-051-22/+26
| | | | (GH-29426)
* Remove reference to ``Tuple`` at top of ``typing`` docs (GH-29401)Alex Waygood2021-11-041-4/+3
| | | ``typing.Tuple`` has been deprecated since Python 3.9, so it makes no sense to mention it so prominently in the documentation for the ``typing`` module.
* bpo-45680: ``typing`` docs: improve links to docs on ↵Alex Waygood2021-11-041-4/+4
| | | | ``GenericAlias``/``__class_getitem__`` (GH-29387)
* bpo-45613: Set `sqlite3.threadsafety` dynamically (GH-29227)Erlend Egeberg Aasland2021-11-032-17/+39
| | | | | | | | | Use the compile-time selected default SQLite threaded mode to set the DB-API 2.0 attribute 'threadsafety' Mappings: - SQLITE_THREADSAFE=0 => threadsafety=0 - SQLITE_THREADSAFE=1 => threadsafety=3 - SQLITE_THREADSAFE=2 => threadsafety=1
* bpo-24139: Add support for SQLite extended result codes (GH-28076)Erlend Egeberg Aasland2021-11-021-2/+3
|
* [doc] Link to section File input (GH-28941)Andre Delfino2021-11-021-1/+1
|
* bpo-45457: Minor fix to documentation for SSLContext.load_default_certs. ↵LincolnPuzey2021-11-021-1/+1
| | | | | | | | (GH-28947) Specify that SSLContext.set_default_verify_paths is called on ALL systems. The code of SSLContext.load_default_certs was changed in bpo-22449 to do this, this fix corrects the documentation to match that change.
* bpo-45633: Fix newtypes doc typo (GH-29318)Dmitry Smirnov2021-11-021-1/+1
|
* bpo-45243: Add support for setting/getting `sqlite3` connection limits ↵Erlend Egeberg Aasland2021-11-012-0/+40
| | | | (GH-28463)
* bpo-45618: Update Sphinx version used to build the documentation to 4.2.0 ↵m-aciek2021-10-311-5/+1
| | | | | | | | | | | (GH-29256) Updating version of Sphinx to most recent one, 4.2.0. Documentation builds without warnings. Sphinx 4.2.0 release notes: https://www.sphinx-doc.org/en/master/changes.html#release-4-2-0-released-sep-12-2021. cc @JulienPalard Automerge-Triggered-By: GH:JulienPalard
* Move field width to the right field (GH-29344)Olaf van der Spek2021-10-311-2/+2
| | | Automerge-Triggered-By: GH:vsajip
* bpo-45516: fix Traversable.name documentation (GH-29194)Filipe Laíns2021-10-311-2/+2
| | | | | | | Here we go again... Sorrry! Signed-off-by: Filipe Laíns <lains@riseup.net> Automerge-Triggered-By: GH:jaraco
* Fix docs source link for importlib.metadata (GH-29025)Philipp A2021-10-301-1/+1
| | | | | | | The link broke for Python 3.10 since importlib.metadata was made from a module into a package I think this is trivial enough to not need a bpo issue. Automerge-Triggered-By: GH:jaraco
* bpo-45600: Enhanced / clarified the docs for os.environ and os.environb ↵andrei kulakov2021-10-291-7/+8
| | | | | (GH-29204) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-45335: Add note to `sqlite3` docs about "timestamp" converter (GH-29200)Ian Fisher2021-10-291-0/+6
|
* bpo-45548: Some test modules must be built as shared libs (GH-29268)Christian Heimes2021-10-291-0/+7
| | | | | | | | | | | | | Some test cases don't work when test modules are static extensions. Add dependency on Modules/config.c to trigger a rebuild whenever a module build type is changed. ``makesetup`` puts shared extensions into ``Modules/`` directory. Create symlinks from pybuilddir so the extensions can be imported. Note: It is not possible to use the content of pybuilddir.txt as a build target. Makefile evaluates target variables in the first pass. The pybuilddir.txt file does not exist at that point.
* bpo-45655: Add ref to union type expressions at top of typing docs (GH-29309)Alex Waygood2021-10-291-1/+2
|
* bpo-45395: Make custom frozen modules additions instead of replacements. ↵Eric Snow2021-10-281-4/+2
| | | | | | | | | (gh-28778) Currently custom modules (the array set on PyImport_FrozenModules) replace all the frozen stdlib modules. That can be problematic and is unlikely to be what the user wants. This change treats the custom frozen modules as additions instead. They take precedence over all other frozen modules except for those needed to bootstrap the import system. If the "code" field of an entry in the custom array is NULL then that frozen module is treated as disabled, which allows a custom entry to disable a frozen stdlib module. This change allows us to get rid of is_essential_frozen_module() and simplifies the logic for which frozen modules should be ignored. https://bugs.python.org/issue45395
* bpo-45655: Add "relevant PEPs" section to ``typing`` documentation (GH-29280)Alex Waygood2021-10-281-7/+41
| | | | | | | | The list of PEPs at the top of the documentation for the ``typing`` module has become too long to be readable. This PR proposes presenting this information in a more structured and readable way by adding a new "relevant PEPs" section to the ``typing`` docs. Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-45583: Correct datamodel documentation of int() (GH-29182)Arthur Milchior2021-10-281-2/+2
| | | | It should be noted that this part of the documentation is redundant with function.rst's documentation of int. This one was correctly updated with Python 3.8.
* bpo-45604: add `level` argument to `multiprocessing.log_to_stderr` func ↵Nikita Sobolev2021-10-281-1/+2
| | | | | (GH-29226) Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* bpo-45608: Document missing `sqlite3` DB-API attributes and methods (GH-29219)Erlend Egeberg Aasland2021-10-281-0/+46
|