summaryrefslogtreecommitdiff
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-37478: Specify possible exceptions for os.chdir() (GH-14611)Kyle Stanley2019-07-061-0/+3
|
* bpo-37456: Slash ('/') is now part of syntax. (GH-14627)Terry Jan Reedy2019-07-061-4/+0
|
* bpo-37487: Fix PyList_GetItem index description. (GH-14623)Terry Jan Reedy2019-07-061-3/+3
| | | 0 is a legal index.
* bpo-26806: add 30 to the recursion limit in IDLE's shell (GH-13944)Tal Einat2019-07-061-0/+4
| | | | | | | | This is done to compensate for the extra stack frames added by IDLE itself, which cause problems when setting the recursion limit to low values. This wraps sys.setrecursionlimit() and sys.getrecursionlimit() as invisibly as possible.
* bpo-37149: Replace dead link for online Tkinter reference (GH-14616)Terry Jan Reedy2019-07-061-2/+2
| | | Also fix a name misspelling.
* closes bpo-37508: Fix name of type in memory.rst. (GH-14604)Hai Shi2019-07-051-1/+1
|
* bpo-37481: Deprecate distutils bdist_wininst command (GH-14553)Victor Stinner2019-07-053-0/+16
| | | | The distutils bdist_wininst command is now deprecated, use bdist_wheel (wheel packages) instead.
* Use OSError subclasses in os documentation (GH-14262)Tim Hoffmann2019-07-051-17/+24
|
* bpo-37479: on Enum subclasses with mixins, __format__ uses overridden ↵thatneat2019-07-041-3/+5
| | | | | __str__ (GH-14545) * bpo-37479: on Enum subclasses with mixins, __format__ uses overridden __str__
* bpo-37266: Add bpo number to the What's New entry (GH614584)Victor Stinner2019-07-041-0/+1
| | | To get more info about this change.
* bpo-37493: use _PyObject_CallNoArg in more places (GH-14575)Jeroen Demeyer2019-07-041-1/+1
|
* bpo-37483: add _PyObject_CallOneArg() function (#14558)Jeroen Demeyer2019-07-041-0/+11
|
* bpo-37459: importlib docs improperly reference get_resource_loader() (#14568)aldwinaldwin2019-07-031-1/+1
| | | * bpo-37459: importlib docs improperly reference get_resource_loader()
* Fix typo in 3.9's Whats new. Pyton -> Python (GH-14567)ILJI CHOI2019-07-021-1/+1
|
* bpo-37441: Fix wrong PyErr_SetImportErrorSubclass signature in doc (GH-14453)Hai Shi2019-07-031-1/+1
|
* bpo-37363: Add audit events on startup for the run commands (GH-14524)Steve Dower2019-07-013-9/+31
|
* bpo-37470: Document more clearly the error handling for QueueHandler.emit(). ↵Vinay Sajip2019-07-011-1/+6
| | | | (GH-14532)
* bpo-37469: Document usability of SimpleQueue with QueueHandler and ↵Vinay Sajip2019-07-011-8/+13
| | | | QueueListener. (GH-14521)
* bpo-36763: Add PyConfig_SetWideStringList() (GH-14444)Victor Stinner2019-07-011-0/+7
|
* bpo-37209: Add pickle entry for 3.8 whatsnew (GH-14503)Pierre Glaser2019-07-011-0/+14
|
* bpo-10945: Drop support for bdist_wininst on non-Windows systems (GH-14506)Miro Hrončok2019-07-011-2/+2
| | | | | | | | | | | bdist_wininst depends on MBCS codec, unavailable on non-Windows, and bdist_wininst have not worked since at least Python 3.2, possibly never on Python 3. Here we document that bdist_wininst is only supported on Windows, and we mark it unsupported otherwise to skip tests. Distributors of Python 3 can now safely drop the bdist_wininst .exe files without the need to skip bdist_wininst related tests.
* bpo-32934: Clarified meaning of 'capacity' for BufferingHandler and ↵Vinay Sajip2019-07-012-10/+12
| | | | MemoryHandler. (GH-14498)
* bpo-37221: Add PyCode_NewWithPosOnlyArgs to be used internally and set ↵Pablo Galindo2019-07-013-11/+34
| | | | | | PyCode_New as a compatibility wrapper (GH-13959) Add PyCode_NewEx to be used internally and set PyCode_New as a compatibility wrapper
* bpo-37440: Enable TLS 1.3 post-handshake auth in http.client (GH-14448)Christian Heimes2019-06-301-0/+5
| | | | | | Post-handshake authentication is required for conditional client cert authentication with TLS 1.3. https://bugs.python.org/issue37440
* bpo-36168: Lowercase the word "subsequent" in get_value doc (GH-14485)Krishna Oza2019-06-301-1/+1
| | | | | Subsequent -> subsequent https://bugs.python.org/issue36168
* bpo-35621: Support running subprocesses in asyncio when loop is executed in ↵Andrew Svetlov2019-06-302-17/+71
| | | | non-main thread (GH-14344)
* bpo-30754: Document textwrap.dedent blank line behavior. (GH-14469)tmblweed2019-06-291-0/+3
| | | | * Added documentation for textwrap.dedent behavior. * Remove an obsolete note about pre-2.5 behavior from the docstring.
* Make StreamHandler.terminator more discoverable (GH-14359)Andre Delfino2019-06-291-7/+11
|
* Fix indentation in logging.handlers.setStream (GH-14358)Andre Delfino2019-06-291-2/+1
|
* bpo-37403: Touch up venv docs (GH-14458)Brett Cannon2019-06-282-7/+20
| | | Add a versionadded for PS Core and note that `.venv` is a common virtual environment name.
* bpo-37337: Add _PyObject_VectorcallMethod() (GH-14228)Jeroen Demeyer2019-06-281-0/+22
|
* bpo-37432: Doc: Fix signature of PyObject_Del() (GH-14430)Hai Shi2019-06-281-1/+1
|
* bpo-37390: Add audit event table to documentations (GH-14406)Steve Dower2019-06-2729-102/+255
| | | Also updates some (unreleased) event names to be consistent with the others.
* bpo-37376: pprint support for SimpleNamespace (GH-14318)Carl Bordum Hansen2019-06-262-0/+9
| | | https://bugs.python.org/issue37376
* bpo-37163: Make the obj argument of dataclasses.replace() a positional-only. ↵Serhiy Storchaka2019-06-261-1/+1
| | | | (GH-14390)
* bpo-37414: Remove sys.callstats() (GH-14398)Victor Stinner2019-06-261-0/+5
| | | | | Remove the undocumented sys.callstats() function. Since Python 3.7, it was deprecated and always returned None. It required a special build option CALL_PROFILE which was already removed in Python 3.7.
* Improve Windows commands in tutorial (GH-14379)Steve Dower2019-06-262-12/+10
|
* bpo-37412: os.getcwdb() now uses UTF-8 on Windows (GH-14396)Victor Stinner2019-06-262-0/+10
| | | | | | | | | The os.getcwdb() function now uses the UTF-8 encoding on Windows, rather than the ANSI code page: see PEP 529 for the rationale. The function is no longer deprecated on Windows. os.getcwd() and os.getcwdb() now detect integer overflow on memory allocations. On Unix, these functions properly report MemoryError on memory allocation failure.
* bpo-37388: Development mode check encoding and errors (GH-14341)Victor Stinner2019-06-263-0/+30
| | | | | | | | | In development mode and in debug build, encoding and errors arguments are now checked on string encoding and decoding operations. Examples: open(), str.encode() and bytes.decode(). By default, for best performances, the errors argument is only checked at the first encoding/decoding error, and the encoding argument is sometimes ignored for empty strings.
* bpo-20443: _PyConfig_Read() gets the absolute path of run_filename (GH-14053)Victor Stinner2019-06-251-0/+8
| | | | | | | | | | | | Python now gets the absolute path of the script filename specified on the command line (ex: "python3 script.py"): the __file__ attribute of the __main__ module, sys.argv[0] and sys.path[0] become an absolute path, rather than a relative path. * Add _Py_isabs() and _Py_abspath() functions. * _PyConfig_Read() now tries to get the absolute path of run_filename, but keeps the relative path if _Py_abspath() fails. * Reimplement os._getfullpathname() using _Py_abspath(). * Use _Py_isabs() in getpath.c.
* bpo-37392: Update the dir(sys) in module tutorial (GH-14365)Xtreak2019-06-251-16/+20
|
* Fix minor spelling error in What's new for Python 3.8 (GH-14371)Pablo Galindo2019-06-251-1/+1
|
* bpo-35224: Add What's new entry for evaluation order in dict comprehensions ↵Pablo Galindo2019-06-251-0/+8
| | | | (GH-14319)
* bpo-37392: Remove sys.setcheckinterval() (GH-14355)Victor Stinner2019-06-252-23/+5
| | | | | | | Remove sys.getcheckinterval() and sys.setcheckinterval() functions. They were deprecated since Python 3.2. Use sys.getswitchinterval() and sys.setswitchinterval() instead. Remove also check_interval field of the PyInterpreterState structure.
* bpo-4963: Fix for initialization and non-deterministic behavior issues in ↵David K. Hess2019-06-241-0/+4
| | | | mimetypes (GH-3062)
* bpo-36889: Document asyncio Stream and StreamServer (GH-14203)Xtreak2019-06-243-65/+280
|
* bpo-37363: Add audit events for a range of modules (GH-14301)Steve Dower2019-06-2420-14/+98
|
* bpo-37345: Add formal UDPLITE support (GH-14258)Gabe Appleton2019-06-241-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At the moment you can definitely use UDPLITE sockets on Linux systems, but it would be good if this support were formalized such that you can detect support at runtime easily. At the moment, to make and use a UDPLITE socket requires something like the following code: ``` >>> import socket >>> a = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, 136) >>> b = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, 136) >>> a.bind(('localhost', 44444)) >>> b.sendto(b'test'*256, ('localhost', 44444)) >>> b.setsockopt(136, 10, 16) >>> b.sendto(b'test'*256, ('localhost', 44444)) >>> b.setsockopt(136, 10, 32) >>> b.sendto(b'test'*256, ('localhost', 44444)) >>> b.setsockopt(136, 10, 64) >>> b.sendto(b'test'*256, ('localhost', 44444)) ``` If you look at this through Wireshark, you can see that the packets are different in that the checksums and checksum coverages change. With the pull request that I am submitting momentarily, you could do the following code instead: ``` >>> import socket >>> a = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, socket.IPPROTO_UDPLITE) >>> b = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, socket.IPPROTO_UDPLITE) >>> a.bind(('localhost', 44444)) >>> b.sendto(b'test'*256, ('localhost', 44444)) >>> b.set_send_checksum_coverage(16) >>> b.sendto(b'test'*256, ('localhost', 44444)) >>> b.set_send_checksum_coverage(32) >>> b.sendto(b'test'*256, ('localhost', 44444)) >>> b.set_send_checksum_coverage(64) >>> b.sendto(b'test'*256, ('localhost', 44444)) ``` One can also detect support for UDPLITE just by checking ``` >>> hasattr(socket, 'IPPROTO_UDPLITE') ``` https://bugs.python.org/issue37345
* asyncio: Fix docs for default event loop (#14308)Ben Darnell2019-06-221-1/+1
| | | When the Windows default event loop changed, `asyncio-policy.rst` was updated but `asyncio-eventloop.rst` was missed.
* bpo-35224: Reverse evaluation order of key: value in dict comprehensions ↵Jörn Heissler2019-06-222-1/+9
| | | | | | | | | | | (GH-14139) … as proposed in PEP 572; key is now evaluated before value. https://bugs.python.org/issue35224