summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* bpo-46841: Fix error message hacks in `GET_AWAITABLE` (GH-31664)Brandt Bucher2022-03-041-1/+10
|
* bpo-46355: Update pythoncapi_compat project URL (GH-31670)Victor Stinner2022-03-031-2/+2
|
* bpo-6634: [doc] clarify that sys.exit() does not always exit the interpreter ↵vidhya2022-03-031-5/+3
| | | | (GH-31639)
* bpo-21910: Clarify docs for codecs writelines method (GH-31245)slateny2022-03-031-2/+3
| | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* bpo-45492: Corrected documentation for co_names in inspect library doc ↵slateny2022-03-021-2/+3
| | | | (GH-31456)
* bpo-46195: Do not add `Optional` in `get_type_hints` (GH-30304)Nikita Sobolev2022-03-021-3/+6
| | | | Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* bpo-46845: Reduce dict size when all keys are Unicode (GH-31564)Inada Naoki2022-03-011-0/+5
|
* Add missing "to" to two tp_flags notes (GH-31624)Brandt Bucher2022-03-011-2/+2
|
* [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)
* bpo-44011: Document ssl_shutdown_timeout added by revisited asyncio SSL ↵Kumar Aditya2022-02-261-5/+55
| | | | implementation (GH-31597)
* bpo-45735: Promise the long-time truth that `args=list` works (GH-30982)Charlie Zhao2022-02-262-2/+30
| | | | | | For threads, and for multiprocessing, it's always been the case that ``args=list`` works fine when passed to ``Process()`` or ``Thread()``, and such code is common in the wild. But, according to the docs, only a tuple can be used. This brings the docs into synch with reality. Doc changes by Charlie Zhao. Co-authored-by: Tim Peters <tim.peters@gmail.com>
* bpo-46852: Remove the float.__set_format__() method (GH-31585)Victor Stinner2022-02-252-1/+7
| | | | | | Remove the undocumented private float.__set_format__() method, previously known as float.__set_format__() in Python 3.7. Its docstring said: "You probably don't want to use this function. It exists mainly to be used in Python's test suite."
* bpo-26897: Clarify Popen stdin, stdout, stderr file object docs (GH-30231)Kumar Aditya2022-02-251-14/+16
|
* Update dict/OrderedDict differences with code equivalents. (GH-31563)Raymond Hettinger2022-02-251-6/+23
|
* bpo-46841: Use *inline* caching for `BINARY_OP` (GH-31543)Brandt Bucher2022-02-251-7/+28
|
* bpo-46836: Move PyFrameObject to pycore_frame.h (GH-31530)Victor Stinner2022-02-252-36/+44
| | | | Move the PyFrameObject type definition (struct _frame) to the internal C API pycore_frame.h header file.
* bpo-34429: Noted TemporaryFile behavior on non-Posix/non-Cygwin systems ↵slateny2022-02-251-0/+3
| | | | (GH-31547)
* bpo-46656: Remove Py_NO_NAN macro (GH-31160)Victor Stinner2022-02-251-3/+5
| | | | Building Python now requires support for floating point Not-a-Number (NaN): remove the Py_NO_NAN macro.
* bpo-46656: Building Python now requires a C11 compiler (GH-31557)Victor Stinner2022-02-251-0/+3
| | | | See PEP 7: https://python.github.io/peps/pep-0007/#c-dialect
* bpo-46659: Enhance LocaleTextCalendar for C locale (GH-31214)Victor Stinner2022-02-241-3/+4
| | | If the LC_TIME locale is "C", use the user preferred locale.
* bpo-40421: What's New in Python 3.11: PyFrameObject.f_lasti (GH-31536)Victor Stinner2022-02-231-0/+2
| | | Suggest replacing PyCode_Addr2Line() with PyFrame_GetLineNumber().
* bpo-40421: Fix PyFrame_GetCode() documentation (GH-31535)Victor Stinner2022-02-231-2/+2
| | | | Fix PyFrame_GetBack() and PyFrame_GetCode() return type in the documentation.
* bpo-45412: Add _PY_SHORT_FLOAT_REPR macro (GH-31171)Victor Stinner2022-02-231-0/+4
| | | | | | | | | | Remove the HAVE_PY_SET_53BIT_PRECISION macro (moved to the internal C API). * Move HAVE_PY_SET_53BIT_PRECISION macro to pycore_pymath.h. * Replace PY_NO_SHORT_FLOAT_REPR macro with _PY_SHORT_FLOAT_REPR macro which is always defined. gcc -Wundef emits a warning when using _PY_SHORT_FLOAT_REPR but the macro is not defined, if pycore_pymath.h include was forgotten.
* Minor fixes to C API docs (GH-31501)Jelle Zijlstra2022-02-234-24/+28
| | | | | | | | | | | | | | | | * C API docs: move PyErr_SetImportErrorSubclass docs It was in the section about warnings, but it makes more sense to put it with PyErr_SetImportError. * C API docs: document closeit argument to PyRun_AnyFileExFlags It was already documented for PyRun_SimpleFileExFlags. * textual fixes to unicode docs * Move paragraph about tp_dealloc into tp_dealloc section * __aiter__ returns an async iterator, not an awaitable
* bpo-46659: Deprecate locale.getdefaultlocale() (GH-31206)Victor Stinner2022-02-222-0/+8
| | | | | | The locale.getdefaultlocale() function is deprecated and will be removed in Python 3.13. Use locale.setlocale(), locale.getpreferredencoding(False) and locale.getlocale() functions instead.
* bpo-20923 : [doc] Explain ConfigParser 'valid section name' and .SECTCRE ↵vidhya2022-02-221-0/+3
| | | | (GH-31413)
* bpo-36557: Updated wording for using/windows (GH-31457)slateny2022-02-221-2/+2
|
* bpo-46725: Document starred expressions in for statements (GH-31481)Pablo Galindo Salgado2022-02-222-8/+16
| | | Automerge-Triggered-By: GH:pablogsal
* bpo-45390: Propagate CancelledError's message from cancelled task to its ↵Andrew Svetlov2022-02-211-0/+3
| | | | | | awaiter (GH-31383) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-46329: Streamline calling sequence a bit. (GH-31465)Mark Shannon2022-02-211-21/+34
| | | | | | | | | | | | | | * Move handling of bound-methods to PRECALL. * Remove call_shape.postcall_shrink * Remove call_shape.callable * Remove call_shape.callable. Change CALL oparg to match PRECALL oparg. * Move KW_NAMES before PRECALL. * Update opcode docs in dis.rst
* Improve discussion about how __getattr__ is invoked. (GH-31435)Raymond Hettinger2022-02-201-9/+7
|
* Counter doc mentions three methods, but lists four (GH-30706)Charles Brunet2022-02-191-1/+1
| | | Was probably caused by the addition of the `total()` method
* bpo-46571: improve `typing.no_type_check` to skip foreign objects (GH-31042)Nikita Sobolev2022-02-191-2/+2
| | | | | | | | | | | | There are several changes: 1. We now don't explicitly check for any base / sub types, because new name check covers it 2. I've also checked that `no_type_check` do not modify foreign functions. It was the same as with `type`s 3. I've also covered `except TypeError` in `no_type_check` with a simple test case, it was not covered at all 4. I also felt like adding `lambda` test is a good idea: because `lambda` is a bit of both in class bodies: a function and an assignment <!-- issue-number: [bpo-46571](https://bugs.python.org/issue46571) --> https://bugs.python.org/issue46571 <!-- /issue-number -->
* [docs] Correct typos in SSLContext.sni_callback (GH-30623)Jörn Heissler2022-02-191-3/+3
| | | Co-authored-by: Jörn Heissler <nosuchaddress@joern-heissler.de>
* bpo-46329: Change calling sequence (again) (GH-31373)Mark Shannon2022-02-181-1/+1
| | | | * Change calling sequence: Add PUSH_NULL. Merge PRECALL_FUNCTION and PRECALL_METHOD into PRECALL.
* bpo-46777: Fix incorrect use of directives in asyncio documentation (GH-31388)Serhiy Storchaka2022-02-187-181/+82
|
* docs: Link `match` statement in tutorial (GH-31396)William Andrea2022-02-181-1/+1
| | | | | | | | | Add a link to the `match` statement from its section in the tutorial. This should be backported to 3.10. [Initially submitted as #31395 but against the wrong branch. Thanks @Mariatta] Automerge-Triggered-By: GH:Mariatta
* bpo-29418: Add inspect.ismethodwrapper to whatsnew (GH-31377)Hakan Çelik2022-02-171-0/+2
|
* Update html.parser.rst (GH-30678)Géry Ogam2022-02-171-1/+1
| | | | | | This PR for the documentation of the [html.parser](https://docs.python.org/3/library/html.parser.html) module will - fix a terminology mistake (‘start of a tag’ -> ‘start tag of an element’); - mention the parameter names of the `HTMLParser.handle_*` methods where missing.
* bpo-46066: Deprecate kwargs syntax for TypedDict definitions (GH-31126)97littleleaf112022-02-171-2/+14
| | | | | | Closes python/typing#981 https://bugs.python.org/issue46066
* bpo-29418: Implement inspect.ismethodwrapper and fix inspect.isroutine for ↵Hakan Çelik2022-02-161-0/+8
| | | | | cases where methodwrapper is given (GH-19261) Automerge-Triggered-By: GH:isidentical
* 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-46737: Add default arguments to random.gauss and normalvariate (GH-31360)Zackery Spytz2022-02-151-2/+8
|
* Update the OMG link (GH-30383)David Gilbertson2022-02-141-1/+1
|
* Fix missing import in dataclass code snippet (GH-29214)Leo2022-02-141-1/+1
| | | field was not imported. It has been added now.
* doc: use colon for all color's rangs (GH-28998)Rafael Fontenelle2022-02-141-2/+2
|
* bpo-38619: Update the documentation for UUID.hex (GH-29830)1809092022-02-141-1/+1
| | | | | Explicitly state that it is lowercase. Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* Update __main__.rst (GH-30896)David Gilbertson2022-02-141-1/+1
| | | | The reference to `venv` appears in the paragraph below, instead of above. Fixed the documentation.
* Fix a typo in Doc/faq/programming.rst (GH-31243)Cooper Lees2022-02-141-1/+1
| | | is not longer used -> is no longer used
* Fix minor grammar error (#31325)Scott Noyes2022-02-141-1/+1
| | | "an" followed by consonant should be "a"