summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* gh-98507: [typing docs] Rephrase "now supports `[]`" to "now supports ↵Nikita Sobolev2022-10-241-72/+78
| | | | subscripting" (#98508)
* GH-91635: clarify docs about closing of transport in asyncio (#98563)Kumar Aditya2022-10-241-1/+2
|
* gh-98500: Fix typing docs for `*View` classes (#98511)Nikita Sobolev2022-10-241-4/+4
|
* gh-95913: Fix grammar for SpooledTemporaryFile 3.11 whatsnew entry (#98604)Jelle Zijlstra2022-10-241-1/+1
| | | Followup from #98312.
* gh-97909: Mark up members of PyMemberDef (GH-98473)Johnny115022022-10-241-21/+21
| | | Co-authored-by: T <tnie@tuta.io>
* gh-95913: Fix, sort & expand pending removal sect in 3.11 WhatsNew (GH-98583)C.A.M. Gerlach2022-10-241-20/+43
| | | | | | | | | | | | * Fix names/references of pending removal APIs * Sort list of APIs pending removal alphabetically * Add missing modules/submodules pending removal in 3.12 * Add table of unittest deprecated aliases to 3.11 What's New Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Petr Viktorin <encukou@gmail.com>
* gh-95913: Add io support for SpooledTemporaryFile in 3.11 Whatsnew (#98312)C.A.M. Gerlach2022-10-241-0/+13
|
* gh-95913: Edit & expand Deprecated section of 3.11 WhatsNew (#98581)C.A.M. Gerlach2022-10-241-82/+108
| | | | | | | * Refine Sphinx syntax and grammar/phrasing in Deprecated section items * Organize into lang/builtins, modules & stdlib sections * Convert PEP 594 module list into a grid to not waste as much space * Add importlib.resources deprecated functions to section
* gh-95913: Edit, expand & format Bytecode sect in 3.11 WhatsNew (GH-98559)C.A.M. Gerlach2022-10-241-39/+81
|
* gh-95913: Edit, link and sort 3.11 WhatsNew Build section (#98588)C.A.M. Gerlach2022-10-241-57/+67
|
* gh-95913: Edit, sort & expand 3.11 WhatsNew Porting section (#98585)C.A.M. Gerlach2022-10-241-30/+31
|
* gh-95913: Edit, xref & sort 3.11 WhatsNew Removed section (#98584)C.A.M. Gerlach2022-10-241-58/+61
|
* gh-95913 Add string section to Whatsnew with new Template methods (#98311)C.A.M. Gerlach2022-10-241-0/+12
|
* gh-91524: Speed up the regular expression substitution (#91525)Serhiy Storchaka2022-10-231-0/+5
| | | | | | | | | Functions re.sub() and re.subn() and corresponding re.Pattern methods are now 2-3 times faster for replacement strings containing group references. Closes #91524 Primarily authored by serhiy-storchaka Serhiy Storchaka Minor-cleanups-by: Gregory P. Smith [Google] <greg@krypto.org>
* gh-98561: Fix a typo in typing (GH-98562)Omkaar2022-10-231-1/+1
|
* no-issue: typo fix in c-api/tuple.rst (gh-98560)wim glenn2022-10-231-1/+1
|
* gh-95913: Edit & expand Optimizations in 3.11 WhatsNew (#98426)C.A.M. Gerlach2022-10-221-20/+39
|
* gh-95913: Copyedit & xref FrameInfo in Whatsnew inspect section (#98304)C.A.M. Gerlach2022-10-222-16/+35
|
* [Enum docs]: fix order of arguments to isinstance() (#98542)Clément Robert2022-10-221-1/+1
|
* gh-51511: Note that codecs.open()'s encoding parameter affects automatic ↵Stanley2022-10-211-1/+2
| | | | conversion to binary mode (#94370)
* bpo-2716: add license for audioop module (#19972)Furkan Onder2022-10-211-0/+25
|
* gh-98298: [Enum] document ReprEnum, global_enum, and show_flag_values (GH-98455)Ethan Furman2022-10-211-1/+47
| | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* gh-91051: allow setting a callback hook on PyType_Modified (GH-97875)Carl Meyer2022-10-212-0/+55
|
* gh-98172: [doc] mention that except* handles naked exceptions (GH-98496)Irit Katriel2022-10-211-1/+13
|
* [doc] Improve logging cookbook example. (GH-98481)Vinay Sajip2022-10-201-0/+65
|
* gh-95023: Added os.setns and os.unshare functions (#95046)Noam Cohen2022-10-201-0/+81
| | | | | | | | Added os.setns and os.unshare to easily switch between namespaces on Linux. Co-authored-by: Christian Heimes <christian@python.org> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Victor Stinner <vstinner@python.org>
* Doc: Remove title text from internal links (#98409)Rafael Fontenelle2022-10-191-5/+3
| | | Rely on the title of the linked internal page instead of putting the title. Sphinx will render with the title correctly, and this will reduce work for translators
* [doc] Refresh the venv introduction documentation, and correct the statement ↵Phil Elson2022-10-192-95/+84
| | | | | about VIRTUAL_ENV (GH-98350) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* Docs: Bump sphinx-lint and fix unbalanced inline literal markup (#98441)Hugo van Kemenade2022-10-191-4/+1
| | | Bump sphinx-lint and fix unbalanced inline literal markup
* gh-95913: Edit zipfile Whatsnew section & add new APIs (#98314)C.A.M. Gerlach2022-10-191-2/+14
| | | | | | | | | * Link ZipFile in What's New entry discussing it * Add entry for new ZipFile.mkdir method * Add entry for new zipfile.Path.stem/suffix/suffixes methods * Add missing line breaks between zipfile bullet list items
* gh-95913: Add WhatsNew section for new logging APIs (#98320)C.A.M. Gerlach2022-10-191-0/+20
| | | | | | | * Add entry for new logging.getLevelNamesMapping function * Add entry for SysLogHandler.createSocket to whatsnew * Add missing line break between logging bullet list items
* Fix markup indentation (GH-98424)Raymond Hettinger2022-10-191-1/+1
| | | Fix markup
* gh-95914: Add links to 3.11 WhatsNew Summary items (#98416)C.A.M. Gerlach2022-10-181-26/+38
| | | Add links to Summary items to where readers can learn more
* General improvements to the itertools docs (GH-98408)Raymond Hettinger2022-10-181-51/+92
|
* gh-98393: os module reject bytes-like, only accept bytes (#98394)Victor Stinner2022-10-181-0/+10
| | | | | The os module and the PyUnicode_FSDecoder() function no longer accept bytes-like paths, like bytearray and memoryview types: only the exact bytes type is accepted for bytes strings.
* Doc: Found some remaining default roles. (GH-98392)Julien Palard2022-10-184-4/+4
|
* Doc: missing underscore in hyperlink. (GH-98391)Julien Palard2022-10-181-1/+1
|
* gh-95913: Copyedit, xref and organize enum section (#98295)C.A.M. Gerlach2022-10-181-38/+64
| | | | | | | | | | | * Whatsnew: Convert literals in enum section to actual x-references * Whatsnew: Rewrite enum section for clear and consistant phrasing * Whatsnew: Combine directly related enum items instead of seperating them * gh-98250: Describe __str__/__format__ changes more clearly/accurately * Tweak enum section language per feedback from Ethan
* gh-95913: Prepare remaining Whatsnew sections for editing (#98342)C.A.M. Gerlach2022-10-181-28/+105
| | | | | | | | | * Add line breaks & ref targets to Whatsnew to prepare for future changes * Use standard heading underbar symbols for H4 sections * Flatten Porting subsection; clarify scope of/link Python->CAPI sections * Move C API pending deprecations to C API section, to match the others
* GH-98363: Add itertools.batched() (GH-98364)Raymond Hettinger2022-10-171-37/+39
|
* Move random selection recipes from itertools.rst to random.rst (GH-98369)Raymond Hettinger2022-10-172-25/+31
|
* gh-95913: Move subinterpreter exper removal to 3.11 WhatsNew (GH-98345)C.A.M. Gerlach2022-10-172-4/+4
| | | | | | | | | | | | Part of #95913 Forward port of #93306, which was a backport of #93185, to address #84694 This adds the What's New entry for the removal of the subinterpreter-related env variable, build-time flag, etc. As @ericsnowcurrently was author of the original changes, I added him as a co-author to the commit. This addition to the Python 3.11 What's New document were only made to the Python 3.11 branch during the backport process, and not added to the version in `main`. Forward-porting it ensures the docs retain these additions for the future, rather than being lost in a legacy Python versions, allows it to be be edited as part of #95913 , and avoids merge conflicts with routine back-ports of PRs touching it. I've pulled in the addition exactly as-is with no modifications; any editing will be done in future PRs (and therefore can be reviewed and backported accordingly). The one other such addition is forward-ported in #98344
* gh-95914: Add What's New item describing PEP 670 changes (#98315)C.A.M. Gerlach2022-10-171-0/+11
|
* gh-97669: Create Tools/build/ directory (#97963)Victor Stinner2022-10-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Create Tools/build/ directory. Move the following scripts from Tools/scripts/ to Tools/build/: * check_extension_modules.py * deepfreeze.py * freeze_modules.py * generate_global_objects.py * generate_levenshtein_examples.py * generate_opcode_h.py * generate_re_casefix.py * generate_sre_constants.py * generate_stdlib_module_names.py * generate_token.py * parse_html5_entities.py * smelly.py * stable_abi.py * umarshal.py * update_file.py * verify_ensurepip_wheels.py Update references to these scripts.
* gh-95913: Forward-port int/str security change to 3.11 What's New in main ↵C.A.M. Gerlach2022-10-171-0/+11
| | | | | | | (#98344) Add int/str security change from issue gh-95778 PRs gh-96499 / gh-95800 Co-authored-by: Gregory P. Smith <greg@krypto.org> [Google]
* GH-91415: Mention alphabetical sort ordering in the Sorting HOWTO (GH-98336)Raymond Hettinger2022-10-161-76/+22
|
* gh-85525: Remove extra row in doc (#98337)Joannah Nanjekye2022-10-161-1/+0
| | | | | | | * remove extra row * 📜🤖 Added by blurb_it. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* gh-85299: Add note warning about entry point guard for asyncio example (#93457)Stanley2022-10-162-1/+9
|
* gh-98307: Add docstring and documentation for SysLogHandler.createSocket ↵Vinay Sajip2022-10-161-0/+11
| | | | | (GH-98319) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* GH-94597: Deprecate child watcher getters and setters (#98215)Kumar Aditya2022-10-152-0/+20
| | | | | | | This is the next step for deprecating child watchers. Until we've removed the API completely we have to use it, so this PR is mostly suppressing a lot of warnings when using the API internally. Once the child watcher API is totally removed, the two child watcher implementations we actually use and need (Pidfd and Thread) will be turned into internal helpers.