summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* bpo-20092. Use __index__ in constructors of int, float and complex. (GH-13108)Serhiy Storchaka2019-06-015-9/+43
|
* bpo-36842: Pass positional only parameters to code_new audit hook (GH-13707)Pablo Galindo2019-06-011-1/+1
|
* bpo-28595: Allow shlex whitespace_split with punctuation_chars (GH-2071)Evan2019-06-011-12/+23
|
* bpo-35431: Refactor math.comb() implementation. (GH-13725)Serhiy Storchaka2019-06-011-2/+2
| | | | | | | * Fixed some bugs. * Added support for index-likes objects. * Improved error messages. * Cleaned up and optimized the code. * Added more tests.
* bpo-37122: Make co->co_argcount represent the total number of positonal ↵Pablo Galindo2019-06-013-19/+25
| | | | arguments in the code object (GH-13726)
* bpo-31968: Documentation -- add clarification on the globals dict for exec() ↵Anthony Shaw2019-06-011-1/+2
| | | | (GH-13140)
* Doc: Correct the creation year and the credits of the Logo Programming ↵Stéphane Wirtel2019-06-011-2/+2
| | | | language (GH-13520)
* Move whats-new entry for math.factorial to the math module section. (GH-13723)Mark Dickinson2019-06-011-3/+3
|
* Use more PEP 570 syntax in the documentation. (GH-13720)Serhiy Storchaka2019-06-014-19/+19
|
* bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700)Serhiy Storchaka2019-06-0112-19/+18
|
* bpo-35431: Implemented math.comb (GH-11414)Yash Aggarwal2019-06-011-0/+15
|
* bpo-18911: clarify that the minidom XML writer receives texts but not bytes ↵Windson yang2019-06-011-5/+6
| | | | (GH-13352)
* Add option to trace to run modules (GH-5134)Mario Corchero2019-06-011-0/+3
| | | | | Adds a new option in trace that allows tracing runnable modules. It is exposed as `--module module_name` as `-m` is already in use for another argument.
* bpo-37105: Add deprecated-remove information on stream doc (#13672)Emmanuel Arias2019-05-311-0/+16
| | | | | | | | | | * Add deprecated-remove information on stream doc According to the code on streams.py the functions: ``open_connection()``, ``start_server()``, ``open_unix_connection()``, ``start_unix_server()`` are deprecated. I infor that on documentation.
* bpo-15115: Document deprecation of email.encoders in Python 3 (GH-5354)Cheryl Sabella2019-05-311-0/+5
|
* bpo-26826: Expose copy_file_range in the os module (GH-7255)Pablo Galindo2019-05-311-0/+22
|
* Document changes for PyCode_New regarding PEP570 (GH-13706)Pablo Galindo2019-05-312-0/+6
|
* bpo-25735: math.factorial doc should mention integer return type (GH-6420)Akshay Sharma2019-05-311-1/+1
|
* bpo-26835: Add file sealing constants to fcntl (GH-13694)Christian Heimes2019-05-311-0/+4
| | | Co-authored-by: nanjekyejoannah <nanjekyejoannah@gmail.com>
* bpo-37094: Add example for TestCase.skipTest in unittest doc (GH-13645)Makdon2019-05-311-4/+12
| | | | | | Also includes other minor test skipping doc improvements. https://bugs.python.org/issue37094
* Update data model docs to include missing attributes for code objects (GH-13696)Pablo Galindo2019-05-311-12/+17
| | | Include and document co_posonlyargcount and co_kwonlyargcount
* bpo-34271: Add ssl debugging helpers (GH-10031)Christian Heimes2019-05-311-0/+23
| | | | | | | | | | | The ssl module now can dump key material to a keylog file and trace TLS protocol messages with a tracing callback. The default and stdlib contexts also support SSLKEYLOGFILE env var. The msg_callback and related enums are private members. The feature is designed for internal debugging and not for end users. Signed-off-by: Christian Heimes <christian@python.org>
* bpo-29262: Add get_origin() and get_args() introspection helpers to typing ↵Ivan Levkivskyi2019-05-301-0/+19
| | | | | | | | | | (GH-13685) This is an old feature request that appears from time to time. After a year of experimenting with various introspection capabilities in `typing_inspect` on PyPI, I propose to add these two most commonly used functions: `get_origin()` and `get_args()`. These are essentially thin public wrappers around private APIs: `__origin__` and `__args__`. As discussed in the issue and on the typing tracker, exposing some public helpers instead of `__origin__` and `__args__` directly will give us more flexibility if we will decide to update the internal representation, while still maintaining backwards compatibility. The implementation is very simple an is essentially a copy from `typing_inspect` with one exception: `ClassVar` was special-cased in `typing_inspect`, but I think this special-casing doesn't really help and only makes things more complicated.
* bpo-5028: Fix up rest of documentation for tokenize documenting line (GH-13686)Anthony Sottile2019-05-301-2/+2
| | | https://bugs.python.org/issue5028
* bpo-36953: Delay removal of ABCs from collections. (GH-13409)Matthias Bussonnier2019-05-301-2/+2
| | | | | | | Bump the removal to 3.9, indicate collections.abc available since 3.3, replace version-changed directive to deprecated-removed. https://bugs.python.org/issue36953
* bpo-30969: Fix docs about the comparison in absence of __contains__ (GH-2761)Antti Haapala2019-05-301-5/+6
|
* bpo-5028: fix doc bug for tokenize (GH-11683)Andrew Carr2019-05-301-1/+1
| | | https://bugs.python.org/issue5028
* Fix audit event typo : urllib.request -> urllib.Request (GH-13550)Xtreak2019-05-301-2/+2
| | | | | As per the PEP and the [audit event raised](https://github.com/python/cpython/blob/13d4e6a4a090031f8214e058ed3c8fd47767e05f/Lib/urllib/request.py#L524) in urllib.request this should be `urllib.Request` cc: @zooba
* bpo-36999: Add asyncio.Task.get_coro() (GH-13680)Alex Grönholm2019-05-301-0/+6
| | | https://bugs.python.org/issue36999
* bpo-36610: shutil.copyfile(): use sendfile() on Linux only (GH-13675)Giampaolo Rodola2019-05-302-3/+2
| | | | ...and avoid using it on Solaris as it can raise EINVAL if offset is equal or bigger than the size of the file
* Regenerate topics file (GH-13642)Pablo Galindo2019-05-291-1/+1
|
* bpo-37007: Implement socket.if_nametoindex(), if_indextoname() and ↵Zackery Spytz2019-05-292-3/+16
| | | | if_nameindex() on Windows (GH-13522)
* bpo-32388: Remove cross-version binary compatibility requirement in tp_flags ↵Antoine Pitrou2019-05-292-0/+14
| | | | | | | | (GH-4944) It is now allowed to add new fields at the end of the PyTypeObject struct without having to allocate a dedicated compatibility flag in tp_flags. This will reduce the risk of running out of bits in the 32-bit tp_flags value.
* bpo-26836: Add os.memfd_create() (#13567)Zackery Spytz2019-05-292-0/+42
| | | | | | | | | | | | | | | | | | | | * bpo-26836: Add os.memfd_create() * Use the glibc wrapper for memfd_create() Co-Authored-By: Christian Heimes <christian@python.org> * Fix deletions caused by autoreconf. * Use MFD_CLOEXEC as the default value for *flags*. * Add memset_s to configure.ac. * Revert memset_s changes. * Apply the requested changes. * Tweak the docs.
* bpo-22385: Support output separators in hex methods. (#13578)Gregory P. Smith2019-05-292-2/+38
| | | | | | | | | | | | | | | | | | * bpo-22385: Support output separators in hex methods. Also in binascii.hexlify aka b2a_hex. The underlying implementation behind all hex generation in CPython uses the same pystrhex.c implementation. This adds support to bytes, bytearray, and memoryview objects. The binascii module functions exist rather than being slated for deprecation because they return bytes rather than requiring an intermediate step through a str object. This change was inspired by MicroPython which supports sep in its binascii implementation (and does not yet support the .hex methods). https://bugs.python.org/issue22385
* bpo-36794: Document that Lock.acquire is fair. (GH-13082)Hrvoje Nikšić2019-05-291-0/+7
| | | https://bugs.python.org/issue36794
* Doc: Add an optional obsolete header. (GH-13638)Julien Palard2019-05-292-0/+19
|
* bpo-22454: Add shlex.join() (the opposite of shlex.split()) (GH-7605)Bo Bayles2019-05-292-0/+20
|
* bpo-37075: Fix string concatenation in assert_has_awaits error message ↵Xtreak2019-05-291-1/+2
| | | | | | | | | | (GH-13616) * Fix the implicit string concatenation in `assert_has_awaits` error message. * Use "await" instead of "call" in `assert_awaited_with` error message. https://bugs.python.org/issue37075
* bpo-36739: Update controlflow.rst (GH-12983)pbhd2019-05-291-3/+5
| | | | in addition to global-statement also mention nonlocal-statement (in the paragraph describing access to variables which are non local to a function
* bpo-37076: _thread.start_new_thread() calls _PyErr_WriteUnraisableMsg() ↵Victor Stinner2019-05-291-6/+16
| | | | | | | (GH-13617) _thread.start_new_thread() now logs uncaught exception raised by the function using sys.unraisablehook(), rather than sys.excepthook(), so the hook gets access to the function which raised the exception.
* bpo-36540: Documentation for PEP570 - Python positional only arguments (#13202)Pablo Galindo2019-05-285-10/+182
| | | | | | | | | | | | | | | | | | * bpo-36540: Documentation for PEP570 - Python positional only arguments * fixup! bpo-36540: Documentation for PEP570 - Python positional only arguments * Update reference for compound statements * Apply suggestions from Carol Co-Authored-By: Carol Willing <carolcode@willingconsulting.com> * Update Doc/tutorial/controlflow.rst Co-Authored-By: Carol Willing <carolcode@willingconsulting.com> * Add extra bullet point and minor edits
* bpo-31961: Fix support of path-like executables in subprocess. (GH-5914)Serhiy Storchaka2019-05-281-3/+26
|
* Fix typo in docs for socket.CAN_RAW_FD_FRAMES (GH-13635)karl ding2019-05-281-1/+1
| | | | There is an extra "one" in the text description for the constant socket.CAN_RAW_FD_FRAMES
* bpo-36933: fix what's new. (GH-13627)Matthias Bussonnier2019-05-281-3/+3
| | | | | | | | Original Pr was reformed and news not updated. https://bugs.python.org/issue36933
* bpo-22640: Add silent mode to py_compile.compile() (GH-12976)Joannah Nanjekye2019-05-282-0/+17
|
* bpo-33407: Implement Py_DEPRECATED() on MSVC (GH-8980)Zackery Spytz2019-05-282-0/+21
|
* bpo-33725: multiprocessing uses spawn by default on macOS (GH-13603)Victor Stinner2019-05-282-1/+16
| | | | On macOS, the multiprocessing module now uses the "spawn" start method by default.
* Doc: Add missing forward reference in the tutorial. (GH-13499)Julien Palard2019-05-281-3/+3
|
* bpo-32299: Return patched dict when using patch.dict as a context manager ↵Mario Corchero2019-05-281-1/+10
| | | | | | (GH-11062)