summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* Doc: Improve library/json document. (GH-24390)Adorilson Bezerra2021-03-021-7/+6
|
* bpo-42840: Document providing kwargs to type. (#24173)Erik Soma2021-03-011-1/+8
| | | Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
* Fixed linenumber missing when audit hook has an error (GH-24692)Jules Lasne2021-03-011-0/+1
| | | | | See https://github.com/sphinx-doc/sphinx/issues/8932 Co-authored-by: tk0miya <i.tkomiya@gmail.com>
* Merge tag 'v3.10.0a6'Pablo Galindo2021-03-011-1/+0
|\ | | | | | | Python 3.10.0a6
| * Remove unused suspicious rule in the docsv3.10.0a6Pablo Galindo2021-03-011-1/+0
| |
* | Fix grammar in enum documentation. (GH-24689)Mariatta Wijaya2021-03-011-1/+1
|/ | | | | | There is an extra `s` in the singular word `method`. Reported in docs mailing list by Steven Nguyen. Automerge-Triggered-By: GH:Mariatta
* closes bpo-43349: Fix tuning(7) manpage hyperlink. (GH-24680)Erlend Egeberg Aasland2021-03-011-1/+3
|
* bpo-42603: Add whatsnew and ACKS entries. (GH-24675)Ned Deily2021-03-011-0/+6
|
* bpo-42128: Add documentation for pattern matching (PEP 634) (#24664)Daniel F Moisset2021-03-015-3/+821
| | | | | | | | | This is a first edition, ready to go out with the implementation. We'll iterate during the rest of the period leading up to 3.10.0. Co-authored-by: Carol Willing <carolcode@willingconsulting.com> Co-authored-by: Fidget-Spinner <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Brandt Bucher <brandt@python.org> Co-authored-by: Raymond Hettinger <1623689+rhettinger@users.noreply.github.com> Co-authored-by: Guido van Rossum <guido@python.org>
* bpo-42128: Add documentation for the new match-based AST nodes (GH-24673)Pablo Galindo2021-03-011-0/+122
| | | | | | | | | | | * bpo-42128: Add documentation for the new match-based AST nodes * Update Doc/library/ast.rst Co-authored-by: Carol Willing <carolcode@willingconsulting.com> * Fix trailing whitespace Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
* GH-42128: Add Pattern Matching to What's New (#24667)Carol Willing2021-02-281-0/+275
| | | | | | | | | | | * Add Pattern Matching to What's New * add review suggestions * fix stray indent * Add suggestions from gvr and lr * trim whitespace
* Add whatsnew note for GH-22904 (#24672)Dennis Sweeney2021-02-281-0/+5
|
* bpo-43345: Enhance TypedDict documentation. (#24668)Paul Bryan2021-02-281-12/+13
|
* bpo-42128: Structural Pattern Matching (PEP 634) (GH-22917)Brandt Bucher2021-02-262-0/+57
| | | | | Co-authored-by: Guido van Rossum <guido@python.org> Co-authored-by: Talin <viridia@gmail.com> Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
* bpo-38302: __pow__/__rpow__ now called when __ipow__ returns NotImplemented ↵Alex2021-02-261-0/+3
| | | | (#16459)
* Update logging.config.rst (GH-24630)takahashi2021-02-261-1/+1
| | | | | # a typo fix Automerge-Triggered-By: GH:vsajip
* bpo-43293: Doc: move note about GIL to top of threading module (GH-24622)Guanzhong Chen2021-02-241-13/+13
| | | | | | | | The note about the GIL was buried pretty deep in the threading documentation, and this made it hard for first time users to discover why their attempts at using threading to parallelizing their application did not work. In this commit, the note is moved to the top of the module documention for visibility.
* bpo-43283: Add IDLE doc paragraph about print speed (GH-24615)Terry Jan Reedy2021-02-241-0/+9
| | | | | | Printing to IDLE's Shell is often slower than printing to a system terminal, but it can be made faster by pre-formatting a single string before printing.
* bpo-36346: Document removal schedule of deprecate APIs (GH-20879)Inada Naoki2021-02-222-8/+7
| | | We will remove wstr cache in Python 3.12. See PEP 623.
* bpo-23882: Doc: Clarify unittest discovery document (GH-21560)Inada Naoki2021-02-221-6/+12
| | | | | | | | Unittest discovery support namespace package as start directory. But it doesn't find namespace package in the start directory automatically. Otherwise, unittest discovery search into unexpected directories like `vendor/` or `node_modules/`.
* bpo-43283: Rearrange some IDLE doc paragraphs. (GH-24604)Terry Jan Reedy2021-02-211-14/+15
| | | | | In the Running User Code section, gather together paragraphs about two processes and the sys.stdstream replacements, preparing to add another.
* bpo-27646: Say that 'yield from' expression can be any iterable (GH-24595)Terry Jan Reedy2021-02-211-2/+2
| | | Previously, the doc at least strongly implied that it had to be an iterator.
* bpo-43277: Add PySet_CheckExact to the C-API (GH-24598)Pablo Galindo2021-02-202-0/+9
| | | For some mysterious reason we have PySet_Check, PyFrozenSet_Check, PyAnySet_Check, PyAnySet_CheckExact and PyFrozenSet_CheckExact but no PySet_CheckExact.
* bpo-42990: Functions inherit current builtins (GH-24564)Victor Stinner2021-02-201-1/+10
| | | | | | | | | | | | | | | | | | | | The types.FunctionType constructor now inherits the current builtins if the globals dictionary has no "__builtins__" key, rather than using {"None": None} as builtins: same behavior as eval() and exec() functions. Defining a function with "def function(...): ..." in Python is not affected, globals cannot be overriden with this syntax: it also inherits the current builtins. PyFrame_New(), PyEval_EvalCode(), PyEval_EvalCodeEx(), PyFunction_New() and PyFunction_NewWithQualName() now inherits the current builtins namespace if the globals dictionary has no "__builtins__" key. * Add _PyEval_GetBuiltins() function. * _PyEval_BuiltinsFromGlobals() now uses _PyEval_GetBuiltins() if builtins cannot be found in globals. * Add tstate parameter to _PyEval_BuiltinsFromGlobals().
* Fix typo in dis module doc (GH-24509)Irit Katriel2021-02-201-1/+1
|
* bpo-43042: Augment tutorial sentence (GH-24514)Terry Jan Reedy2021-02-201-1/+2
| | | Calling same function also gets new local namespace.
* closes bpo-43266: Improve array formatting. (GH-24573)Erlend Egeberg Aasland2021-02-191-4/+4
|
* bpo-35134: Move non-limited C API files to Include/cpython/ (GH-24561)Nicholas Sim2021-02-191-0/+8
| | | | | | Include/{odictobject.h,parser_interface.h,picklebufobject.h,pydebug.h,pyfpe.h} into Include/cpython/. Parser: peg_api: include Python.h instead of parser_interface.h.
* closes bpo-43254: Fix *snprintf() man page refs. (GH-24563)Erlend Egeberg Aasland2021-02-191-2/+2
|
* Remove all links to mingw.org (GH-24552)Jeremy Paige2021-02-182-4/+1
| | | | | | | | This lease on this domain has lapsed. This not only makes these dead links, but a potential attack vector for readers of python.org as the domain can be obtained by an untrustworthy party. I considered redirecting these links to http://mingw-w64.org/ which is a maintained fork of mingw, but beyond my unfamiliarity with the exact level of compatibility, at the time of this PR that site had an expired cert and so is not much of a vulnerability fix. Automerge-Triggered-By: GH:Mariatta
* bpo-42990: Refactor _PyFrame_New_NoTrack() (GH-24566)Victor Stinner2021-02-181-3/+5
| | | | | | | | | | | | * Refactor _PyFrame_New_NoTrack() and PyFunction_NewWithQualName() code. * PyFrame_New() checks for _PyEval_BuiltinsFromGlobals() failure. * Fix a ref leak in _PyEval_BuiltinsFromGlobals() error path. * Complete PyFunction_GetModule() documentation: it returns a borrowed reference and it can return NULL. * Move _PyEval_BuiltinsFromGlobals() definition to the internal C API. * PyFunction_NewWithQualName() uses _Py_IDENTIFIER() API for the "__name__" string to make it compatible with subinterpreters.
* bpo-42960: Add resource.RLIMIT_KQUEUES constant from FreeBSD (GH-24251)David CARLIER2021-02-181-0/+8
|
* bpo-42990: Add __builtins__ attribute to functions (GH-24559)Victor Stinner2021-02-182-0/+11
| | | | | | Expose the new PyFunctionObject.func_builtins member in Python as a new __builtins__ attribute on functions. Document also the behavior change in What's New in Python 3.10.
* bpo-43103: Add configure --without-static-libpython (GH-24418)Victor Stinner2021-02-171-0/+6
| | | | | | | | Add a new configure --without-static-libpython option to not build the libpythonMAJOR.MINOR.a static library and not install the python.o object file. Fix smelly.py and stable_abi.py tools when libpython3.10.a is missing.
* bpo-40170: Always define PyIter_Check() as a function (GH-24548)Erlend Egeberg Aasland2021-02-161-2/+2
|
* bpo-40170: Convert PyDescr_IsData() to static inline function (GH-24535)Erlend Egeberg Aasland2021-02-161-2/+2
|
* Add a warning block around the get_referrers() documentation (GH-24511)Pablo Galindo2021-02-151-4/+5
|
* bpo-42967: Fix urllib.parse docs and make logic clearer (GH-24536)Ken Jin2021-02-154-12/+18
|
* bpo-43181: Convert PyObject_TypeCheck to static inline function (GH-24533)Erlend Egeberg Aasland2021-02-151-2/+2
|
* bpo-42967: only use '&' as a query string separator (#24297)Adam Goldschmidt2021-02-147-6/+86
| | | | | | | | | | | bpo-42967: [security] Address a web cache-poisoning issue reported in urllib.parse.parse_qsl(). urllib.parse will only us "&" as query string separator by default instead of both ";" and "&" as allowed in earlier versions. An optional argument seperator with default value "&" is added to specify the separator. Co-authored-by: Éric Araujo <merwok@netwok.org> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Éric Araujo <merwok@netwok.org>
* bpo-43200: Fix link to shutil.copy() in the shutil doc (GH-24505)Zackery Spytz2021-02-131-2/+3
| | | Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-43172: readline now passes its tests when built against libedit (GH-24499)Gregory P. Smith2021-02-121-1/+3
| | | | | | | bpo-43172: readline now passes its tests when built against libedit. Existing irreconcilable API differences remain in readline.get_begidx and readline.get_endidx behavior based on libreadline vs libedit use. A note about that has been documented.
* Fix link to sqlite3 enable_shared_cache documentation (GH-24496)Tom Forbes2021-02-101-1/+1
|
* bpo-41824: Add versionadded for typing.ForwardRef docs (#24224)Ken Jin2021-02-091-0/+2
|
* Improve docs of PEP 604 Union (#24301)Ken Jin2021-02-093-19/+20
|
* bpo-43147: Remove archaic terminology. (GH-24462)Raymond Hettinger2021-02-081-6/+5
|
* bpo-16781: In 'exec' doc, add 'nonlocal' to 'yield' and 'return' (GH-2446)Terry Jan Reedy2021-02-071-1/+2
| | | These 3 statements cannot be used at module scope -- nor in exec with one namespace.
* Simple typo fix (GH-24448)Andrew Tennikoff2021-02-051-1/+1
|
* Minor readability improvements. Also note performance impact of __slots__. ↵Raymond Hettinger2021-02-051-8/+11
| | | | (GH-24456)
* bpo-43106: Add os.O_EVTONLY/O_FSYNC/O_SYMLINK/O_NOFOLLOW_ANY (GH-24428)Dong-hee Na2021-02-032-0/+14
|