summaryrefslogtreecommitdiff
path: root/Doc/howto
Commit message (Collapse)AuthorAgeFilesLines
...
* Docs: replace 'currying' by 'partial function'. (#91814)Clemens Tolboom2022-08-111-0/+2
|
* gh-91838: Resolve HTTP links which redirect to HTTPS (GH-95642)Serhiy Storchaka2022-08-041-1/+1
| | | | It updates links which redirect to HTTPS with different authority or path.
* gh-91838: Use HTTPS links in docs for resources which redirect to HTTPS ↵Serhiy Storchaka2022-08-046-12/+12
| | | | | | | | | | (GH-95527) If an HTTP link is redirected to a same looking HTTPS link, the latter can be used directly without changes in readability and behavior. It protects from a men-in-the-middle attack. This change does not affect Python examples.
* gh-95007: Remove the NoneType return converter from Argument Clinic Doc (#95529)Noam Cohen2022-08-011-5/+0
| | | The converter was removed in 74b5e4ce80858ac5c7d03411cb8cce7e6865f181
* gh-95077: [Enum] add code-based deprecation warnings for member.member ↵Ethan Furman2022-07-251-15/+4
| | | | | | | access (GH-95083) * issue deprecation warning for member.member access * always store member property in current class * remove __getattr__
* [doc] Update cookbook example and add information about queue types. (GH-94854)Vinay Sajip2022-07-151-1/+6
|
* Docs: Convert PEP 630 (Isolating Extension Modules) to a HOWTO (GH-94489)Petr Viktorin2022-07-052-0/+537
| | | | Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* Docs: remove redundant "adverb-adjective" hyphens from compound modifiers ↵Ned Batchelder2022-07-056-9/+9
| | | | | (GH-94551) Discussion: https://discuss.python.org/t/slight-grammar-fix-throughout-adverbs-dont-need-hyphen/17021
* Update logging documentation: change cross-reference and add webapp r… ↵Vinay Sajip2022-07-041-0/+222
| | | | (GH-94540)
* bpo-39971: Change examples to be runnable (GH-32172)Stanley2022-06-251-11/+18
|
* gh-93851: Fix all broken links in Doc/ (GH-93853)Oleg Iarygin2022-06-211-3/+3
|
* Improve logging documentation with example and additional cookbook re… ↵Vinay Sajip2022-06-091-0/+89
| | | | (GH-93644)
* Doc: Update references and examples of old, unsupported OSes and uarches ↵CAM Gerlach2022-06-091-7/+12
| | | | (GH-92791)
* gh-92592: Allow logging filters to return a LogRecord. (GH-92591)Adrian Garcia Badaracco2022-06-071-0/+26
|
* [doc] Improve discoverability of links between logging documents. (GH-93405)Vinay Sajip2022-06-012-1/+30
|
* [doc] logging.rst - Change link to point directly to the Google Group. ↵Moshe Kaplan2022-05-311-1/+1
| | | | (GH-93390)
* gh-91513: Add 'asyncio' taskName to logging LogRecord attributes. (GH-93193)jackh-ncl2022-05-261-0/+3
|
* gh-92859: Doc: add info about logging.debug() calling basicConfig() (GH-93063)Nicolas Haller2022-05-231-4/+5
|
* bpo-9182: Add a section on specifying positional arguments (#31810)slateny2022-05-131-0/+29
|
* Document Py_ssize_t. (GH-92512)Julien Palard2022-05-131-1/+1
| | | | | | It fixes 252 errors from a Sphinx nitpicky run (sphinx-build -n). But there's 8182 errors left. Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* gh-92536: PEP 623: Remove wstr and legacy APIs from Unicode (GH-92537)Inada Naoki2022-05-121-4/+4
|
* GH-89519: Deprecate classmethod descriptor chaining (#92379)Raymond Hettinger2022-05-061-1/+3
|
* Fix typo in Sorting howto (#92280)Carl Meyer2022-05-031-2/+2
| | | The phrase is usually "odds and ends," not "odd and ends."
* sorting howto: Add clarification on < using __lt__ (#92010)slateny2022-04-291-1/+4
|
* gh-91156: Use `locale.getencoding()` instead of getpreferredencoding (GH-91732)Inada Naoki2022-04-221-2/+1
| | | Co-authored-by: Victor Stinner <vstinner@python.org>
* Remove python2 support in logging cookbook example. (GH-32362)Mathieu Dupuy2022-04-061-8/+1
|
* bpo-32658: Regex docs: Fix metacharacter reference (GH-32230)Mike cm2022-04-041-1/+1
| | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* bpo-14911: Corrected generator.throw() documentation (GH-32207)Dave Goncalves2022-03-311-1/+1
| | | Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
* bpo-47081: Replace "qualifiers" with "quantifiers" in the re module ↵Serhiy Storchaka2022-03-221-6/+6
| | | | | documentation (GH-32028) It is a more commonly used term.
* [doc] Add a note in howto/logging.rst about "do not log to root logger in ↵Yuxin Wu2022-02-261-0/+7
| | | | libraries" (GH-31271)
* Improve discussion about how __getattr__ is invoked. (GH-31435)Raymond Hettinger2022-02-191-9/+7
|
* bpo-46730: Add more info to @property AttributeError messages (GH-31311)Alex-Blade2022-02-161-4/+4
| | | On `obj.read_only_property = x`, raise `AttributeError: property 'read_only_property' of 'A' object has no setter`.
* bpo-46613: Add PyType_GetModuleByDef to the public API (GH-31081)Petr Viktorin2022-02-111-3/+3
| | | | | * Make PyType_GetModuleByDef public (remove underscore) Co-authored-by: Victor Stinner <vstinner@python.org>
* Optimize images by IMGbot (GH-21348)Manish Kumar ⛄2022-02-041-0/+0
| | | Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
* [doc]: Spotted errors while working on rstlint. (GH-30879)Julien Palard2022-01-271-2/+1
| | | | Also ignored some `make suspicious` false positives while assuring true positives were properly seen by rstlint.
* no-issue: Fix documentation typos. (GH-30576)Piotr Fusik2022-01-201-1/+1
|
* bpo-40066: [Enum] skip failing doc test (GH-30637)Kumar Aditya2022-01-171-146/+126
|
* Revert "bpo-40066: [Enum] update str() and format() output (GH-30582)" ↵Victor Stinner2022-01-171-126/+146
| | | | | (GH-30632) This reverts commit acf7403f9baea3ae1119fc6b4a3298522188bf96.
* bpo-40066: [Enum] update str() and format() output (GH-30582)Ethan Furman2022-01-151-146/+126
| | | | | | | | | | | | | | | Undo rejected PEP-663 changes: - restore `repr()` to its 3.10 status - restore `str()` to its 3.10 status New changes: - `IntEnum` and `IntFlag` now leave `__str__` as the original `int.__str__` so that str() and format() return the same result - zero-valued flags without a name have a slightly changed repr(), e.g. `repr(Color(0)) == '<Color: 0>'` - update `dir()` for mixed-in types to return all the methods and attributes of the mixed-in type - added `_numeric_repr_` to `Flag` to control display of unnamed values - enums without doc strings have a more comprehensive doc string added - `ReprEnum` added -- inheriting from this makes it so only `__repr__` is replaced, not `__str__` nor `__format__`; `IntEnum`, `IntFlag`, and `StrEnum` all inherit from `ReprEnum`
* bpo-45331: [Enum] add rule to docs that mixin type must be subclassable ↵Nikita Sobolev2022-01-101-4/+7
| | | | (GH-30521)
* bpo-45535: Improve output of Enum ``dir()`` (GH-29316)Alex Waygood2021-12-021-3/+4
| | | | | | Modify the ``EnumType.__dir__()`` and ``Enum.__dir__()`` to ensure that user-defined methods and methods inherited from mixin classes always show up in the output of `help()`. This change also makes it easier for IDEs to provide auto-completion.
* [Doc] Add info to logging cookbook about running logging socket listeners ↵Vinay Sajip2021-11-291-0/+22
| | | | i… (GH-29838)
* Fix markup buglet in Doc/howto/annotations.rst (#29802)Guido van Rossum2021-11-261-1/+1
|
* bpo-19072: Classmethod can wrap other classmethod like descriptors (GH-29634)Raymond Hettinger2021-11-191-1/+8
| | | | | | staticmethod() also became callable in Python 3.10. See: b83861f02.
* bpo-45740: [Enum] add versionadded markers to docs (GH-29443)Ethan Furman2021-11-061-7/+6
| | | [Enum] add versionadded markers to docs
* bpo-44174: [Enum] add reference to name mangling (GH-29116)Ethan Furman2021-10-201-1/+2
|
* bpo-45320: Remove long-deprecated inspect methods (GH-28618)Hugo van Kemenade2021-10-201-3/+0
|
* bpo-34804: [doc] Rephrase section on side effects in functional.rst for ↵DonnaDia2021-10-061-5/+4
| | | | | clarity (GH-27989) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* Fix 404 link to the pyporting mailing list (GH-27320)Rohit Nishad2021-08-041-3/+3
| | | | Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-44399: Document another example of unexpected behavior. (GH-27407)Vinay Sajip2021-07-281-1/+3
|