summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* closes bpo-33202: fix os.walk mentioning os.listdir instead of os.scandir ↵Andrés Delfino2018-04-031-1/+1
| | | | | | (GH-6335)
* bpo-33199: Initialize ma_version_tag in PyDict_Copy (GH-6341)INADA Naoki2018-04-032-0/+3
|
* bpo-29922: Improve error messages in 'async with' (GH-6352)Serhiy Storchaka2018-04-023-4/+36
| | | when __aenter__() or __aexit__() return non-awaitable object.
* bpo-33204: IDLE - revise and extend colorizer test. (GH-6347)Terry Jan Reedy2018-04-022-5/+8
| | | Followup to primary PR for the issue, GH-6344.
* bpo-33204: IDLE: consistently color invalid string prefixes (#6344)Terry Jan Reedy2018-04-022-4/+10
| | | | A 'u' string prefix cannot be paired with either 'r' or 'f'. Consistently color as much of the prefix, starting at the right, as is valid.
* bpo-20104: Add os.posix_spawn documentation. (#6334)Gregory P. Smith2018-04-011-0/+25
|
* bpo-33132: Fix more reference counting issues in the compiler. (GH-6323)Serhiy Storchaka2018-03-311-4/+2
|
* Allow dynamic creation of generic dataclasses (GH-6319)Ivan Levkivskyi2018-03-312-2/+21
|
* Fix socket type in DatagramHandler documentation: TCP -> UDP (GH-6272)Mike DePalatis2018-03-301-1/+1
|
* bpo-33182: Fix pointer types in _testembed (GH-6310)Nick Coghlan2018-03-302-5/+8
|
* bpo-33175: dataclasses should look up __set_name__ on class, not instance ↵Eric V. Smith2018-03-293-7/+38
| | | | (GH-6305)
* bpo-32726: macOS 10.6+ installer now builds Tcl/TK 8.6 (GH-6307)Ned Deily2018-03-294-13/+14
| | | | | | | Build and link with private copy of Tcl/Tk 8.6 for the macOS 10.6+ installer. The 10.9+ installer variant already does this. This means that the Python 3.7 provided by the python.org macOS installers no longer need or use any external versions of Tcl/Tk, either system-provided or user- installed, such as ActiveTcl.
* FIX documentation and NEWS of ThreadedHTTPServer. (GH-6207)Julien Palard2018-03-282-3/+6
|
* Fix typos '.::' should typically just be '::'. (GH-6165)Julien Palard2018-03-283-3/+3
|
* Fix duplicating words words. (GH-6296)Serhiy Storchaka2018-03-2811-13/+13
| | | Most of them have been added in 3.7.
* bpo-33126: Document PyBuffer_ToContiguous() (#6292)Antoine Pitrou2018-03-282-3/+10
|
* s/the the/the/ (GH-6287)INADA Naoki2018-03-282-2/+2
|
* bpo-33163: Upgrade pip to 9.0.3 and setuptools to v39.0.1. (GH-6282)Ned Deily2018-03-281-0/+1
|
* bpo-32726: Do not force IDLE.app to launch in 32-bit mode. (GH-6279)Ned Deily2018-03-281-4/+0
| | | | | | | Forcing the macOS IDLE.app gui process to launch in 32-mode was a necessary hack for old versions of Tk (Aqua Carbon as in Tk 8.4 and early versions of 8.5); it is not needed for current versions of Tk. Since 32-bit launching will no longer be supported on future releases of macOS, allow IDLE.app to launch in 64-bit mode.
* bpo-32872: Avoid regrtest compatibility issue with namespace packages. (GH-6276)Ned Deily2018-03-282-1/+2
|
* Fix senfile typo (#6265)Sam Dunster2018-03-282-2/+2
| | | * Also in docs
* bpo-32517: fix test_read_pty_output() hangs on macOS 10.13.2+ (GH-6037) ↵Ned Deily2018-03-273-1/+4
| | | | | | | | | | | | (GH-6113) test_asyncio hangs indefinitely on macOS 10.13.2+ on `read_pty_output()` using the KqueueSelector. Closing `proto.transport` (as is done in `write_pty_output()`) seems to fix it. (cherry picked from commit 12f74d8608c15cacd9d5786524e2be9ca36f007e) Co-authored-by: Nathan Henrie <n8henrie@users.noreply.github.com> Also, re-enable test_read_pty_output on macOS.
* bpo-33151: Handle submodule resources (GH-6268)Barry Warsaw2018-03-273-6/+37
|
* bpo-27212: Modify islice recipe to consume initial values preceding start ↵Cheryl Sabella2018-03-273-7/+85
| | | | (GH-6195)
* bpo-32873: Treat type variables and special typing forms as immutable by ↵Ivan Levkivskyi2018-03-263-11/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | copy and pickle (GH-6216) This also fixes python/typing#512 This also fixes python/typing#511 As was discussed in both issues, some typing forms deserve to be treated as immutable by copy and pickle modules, so that: * copy(X) is X * deepcopy(X) is X * loads(dumps(X)) is X # pickled by reference This PR adds such behaviour to: * Type variables * Special forms like Union, Any, ClassVar * Unsubscripted generic aliases to containers like List, Mapping, Iterable This not only resolves inconsistencies mentioned in the issues, but also improves backwards compatibility with previous versions of Python (including 3.6). Note that this requires some dances with __module__ for type variables (similar to NamedTuple) because the class TypeVar itself is define in typing, while type variables should get module where they were defined. https://bugs.python.org/issue32873
* bpo-32844: Fix a subprocess misredirection of a low fd (GH5689)Alexey Izbyshev2018-03-263-1/+53
| | | | | | | | | | bpo-32844: subprocess: Fix a potential misredirection of a low fd to stderr. When redirecting, subprocess attempts to achieve the following state: each fd to be redirected to is less than or equal to the fd it is redirected from, which is necessary because redirection occurs in the ascending order of destination descriptors. It fails to do so in a couple of corner cases, for example, if 1 is redirected to 2 and 0 is closed in the parent.
* bpo-33141: Have dataclasses.Field pass through __set_name__ to any default ↵Eric V. Smith2018-03-263-0/+58
| | | | | argument. (GH-6260) This is part of PEP 487 and the descriptor protocol.
* Fix error message in sqlite connection thread check. (GH-6028)Takuya Akiba2018-03-261-2/+2
|
* bpo-6986: Add a comment to clarify a test of _json.make_encoder(). (GH-3789)Oren Milman2018-03-261-0/+2
|
* Corrected link targets in collections.rst (GH-1052)Michael Seifert2018-03-261-24/+31
|
* Fix description about SimpleXMLRPCServer constructor parameter ↵cocoatomo2018-03-261-1/+1
| | | | | | bind_and_activate. (GH-776) Passing True as the `bind_and_activate` *do* immediately opening and binding to their socket.
* Gitignore gmon.out (GH-5796)Neeraj Badlani2018-03-261-0/+1
| | | | | | | gmon.out is generated when profiling turned on Full Configuration: ./configure --prefix=$PWD/install --enable-profiling --enable-big-digits=30 --with-pydebug --with-assertions --with-valgrind
* Fix typo and edit for clarity in the docstrings of sys.float_info. (GH-2251)Stefano Taschini2018-03-261-3/+2
|
* bpo-33096: Fix ttk.Treeview.insert. (GH-6228)Garvit Khatri2018-03-263-1/+14
| | | | | Allow ttk.Treeview.insert to insert iid that has a false boolean value. Note iid=0 and iid=False would be same.
* Minor fixes to dataclass tests. (GH-6243)Eric V. Smith2018-03-261-42/+41
| | | Also, re-enable a test for ClassVars with default_factory.
* Clarify fd inheritance when close_fds=False. (GH-6240)Gregory P. Smith2018-03-251-1/+4
| | | Clarify the subprocess documentation.
* bpo-33053: Remove test_cmd_line_script debugging print (GH-6237)Nick Coghlan2018-03-251-2/+0
| | | | I noticed this had slipped into the original commit when resolving a merge conflict for the backport to 3.7.
* Trivial improvements to dataclasses tests. (GH-6234)Eric V. Smith2018-03-251-2/+3
|
* bpo-33053: -m now adds *starting* directory to sys.path (GH-6231)Nick Coghlan2018-03-259-78/+108
| | | | | | | | | | | | Historically, -m added the empty string as sys.path zero, meaning it resolved imports against the current working directory, the same way -c and the interactive prompt do. This changes the sys.path initialisation to add the *starting* working directory as sys.path[0] instead, such that changes to the working directory while the program is running will have no effect on imports when using the -m switch.
* bpo-33042: Fix pre-initialization sys module configuration (GH-6157)Nick Coghlan2018-03-257-12/+296
| | | | | | | | | - new test case for pre-initialization of sys.warnoptions and sys._xoptions - restored ability to call these APIs prior to Py_Initialize - updated the docs for the affected APIs to make it clear they can be called before Py_Initialize - also enhanced the existing embedding test cases to check for expected settings in the sys module
* bpo-33136: Harden ssl module against CVE-2018-8970 (GH-6229)Christian Heimes2018-03-253-3/+10
| | | | | | | Harden ssl module against LibreSSL CVE-2018-8970. X509_VERIFY_PARAM_set1_host() is called with an explicit namelen. A new test ensures that NULL bytes are not allowed. Signed-off-by: Christian Heimes <christian@python.org>
* bpo-32943: Fix confusing error message for rot13 codec (GH-5869)Xiang Zhang2018-03-251-4/+4
|
* Fix invalid escape sequence: use raw string. (GH-6225)Eric V. Smith2018-03-251-1/+1
|
* bpo-33134: dataclasses: use function dispatch table for hash, instead of a ↵Eric V. Smith2018-03-252-40/+39
| | | | | | | string lookup which then is tested with if tests. (GH-6222) * Change _hash_action to be a function table lookup, instead of a list of strings which is then tested with if statements.
* Trivial dataclass cleanups: (GH-6218)Eric V. Smith2018-03-241-23/+26
| | | | | | | | | | - When adding a single element to a list, use .append() instead of += and creating a new list. - For consistency, import the copy module, instead of just deepcopy. This leaves only a module at the class level, instead of a function. - Improve some comments. - Improve some whitespace. - Use tuples instead of lists. - Simplify a test.
* bpo-33132: Fix reference counting issues in the compiler. (GH-6209)Serhiy Storchaka2018-03-241-19/+12
|
* bpo-33127: Compatibility patch for LibreSSL 2.7.0 (GH-6210)Christian Heimes2018-03-243-7/+18
| | | | | | | | | | LibreSSL 2.7 introduced OpenSSL 1.1.0 API. The ssl module now detects LibreSSL 2.7 and only provides API shims for OpenSSL < 1.1.0 and LibreSSL < 2.7. Documentation updates and fixes for failing tests will be provided in another patch set. Signed-off-by: Christian Heimes <christian@python.org>
* bpo-24334: Remove inaccurate match_hostname call (#6211)Christian Heimes2018-03-241-5/+0
| | | | | | Commit 141c5e8c re-added match_hostname() call. The resurrection of the function call was never intended and was solely a merge mistake. Signed-off-by: Christian Heimes <christian@python.org>
* bpo-32932: More revealing error message when non-str objects in __all__ ↵Xiang Zhang2018-03-243-1/+49
| | | | (GH-5848)
* bpo-27428: Fix WindowsRegistryFinder documentation to list appropriate ABC ↵Himanshu Lakhara2018-03-232-1/+3
| | | | | | (GH-6061)