fcf8b4c | Mario Corchero | 28 January 2018, 04:58:47 UTC | bpo-32206: Update pdb usage to include new module option (GH-5111) | 28 January 2018, 04:58:47 UTC |
dd0e087 | Martin Teichmann | 28 January 2018, 04:17:46 UTC | bpo-30306: release arguments of contextmanager (GH-1500) The arguments to a generator function which is declared as a contextmanager are stored inside the context manager, and thus are kept alive, even when it is used as a regular context manager, and not as a function decorator (where it needs the original arguments to recreate the generator on each call). This is a possible unnecessary memory leak, so this changes contextmanager.__enter__ to release the saved arguments, as that method being called means that particular CM instance isn't going to need to recreate the underlying generator. Patch by Martin Teichmann. | 28 January 2018, 04:17:46 UTC |
c4b1248 | Eric V. Smith | 28 January 2018, 01:30:37 UTC | Pep 557 What's New (GH-5371) Add PEP 557 Data CLasses to What's New. | 28 January 2018, 01:30:37 UTC |
bea5706 | INADA Naoki | 28 January 2018, 00:59:12 UTC | bpo-32677: Optimize str.isascii() (GH-5356) | 28 January 2018, 00:59:12 UTC |
ea8fc52 | Eric V. Smith | 28 January 2018, 00:07:40 UTC | bpo-32513: Make it easier to override dunders in dataclasses. (GH-5366) Class authors no longer need to specify repr=False if they want to provide a custom __repr__ for dataclasses. The same thing applies for the other dunder methods that the dataclass decorator adds. If dataclass finds that a dunder methods is defined in the class, it will not overwrite it. | 28 January 2018, 00:07:40 UTC |
2a2247c | Yury Selivanov | 27 January 2018, 22:22:01 UTC | bpo-32622: Normalize ENOTCONN to ConnectionError on macOS (GH-5369) On mac, sendfile throws ENOTCONN on a repeated sendfile call if the connection is closed. Normalize it to behave like other systems. | 27 January 2018, 22:22:01 UTC |
47c0b1f | Коренберг Марк | 27 January 2018, 22:20:50 UTC | bpo-32221: makeipaddr(): remove interface part + speedup (GH-4724) | 27 January 2018, 22:20:50 UTC |
ee72ac0 | Elvis Pranskevichus | 27 January 2018, 22:11:10 UTC | bpo-32622: Fix AbstractEventLoop.sendfile signature in documentation. (GH-5368) | 27 January 2018, 22:11:10 UTC |
0f54e00 | Andrew Svetlov | 27 January 2018, 22:00:37 UTC | Fix tests if Python compiled without SSL (#5367) | 27 January 2018, 22:00:37 UTC |
b2ec361 | Ammar Askar | 27 January 2018, 20:53:56 UTC | Fix changed file detection on Travis (GH-3129) Travis when merging changes from a pull request onto the target branch does not perform a rebase, instead it does a simple merge which causes the PR commits to retain their commit dates. This means that the commit log can potentially look like: PR merge <-- HEAD normal master commit <- master more commits from normal workflow PR commit 1 another master commit PR commit 2 Performing a git diff from PR commit 2 to master will accidentally include files that should not be there. Closes python/core-workflow#14 | 27 January 2018, 20:53:56 UTC |
b1a6ac4 | Yury Selivanov | 27 January 2018, 20:52:52 UTC | bpo-32622: Enforce sendfile fallback policy for FALLBACK transports (#5364) | 27 January 2018, 20:52:52 UTC |
7c68407 | Andrew Svetlov | 27 January 2018, 19:22:47 UTC | bpo-32622: Implement loop.sendfile() (#5271) | 27 January 2018, 19:22:47 UTC |
f13f12d | Yury Selivanov | 27 January 2018, 18:46:46 UTC | bpo-32630: Use contextvars in decimal (GH-5278) | 27 January 2018, 18:46:46 UTC |
bc4123b | Yury Selivanov | 27 January 2018, 18:24:20 UTC | bpo-32436: Use PyThreadState_GET() in all hot paths (GH-5363) | 27 January 2018, 18:24:20 UTC |
7cc95f5 | INADA Naoki | 27 January 2018, 17:07:09 UTC | Fix wrong assert in unicodeobject (GH-5340) | 27 January 2018, 17:07:09 UTC |
4defba3 | Pablo Galindo | 27 January 2018, 16:16:37 UTC | bpo-31368: Expose preadv and pwritev in the os module (#5239) | 27 January 2018, 16:16:37 UTC |
60da99b | Xiang Zhang | 27 January 2018, 15:04:47 UTC | bpo-32532: Improve documentation of settrace and setprofile (#5359) Mention in the documentation of settrace and setprofile that errors in the registered handlers will cause themselves unset. | 27 January 2018, 15:04:47 UTC |
61d478c | Christian Heimes | 27 January 2018, 14:51:38 UTC | bpo-31399: Let OpenSSL verify hostname and IP address (#3462) bpo-31399: Let OpenSSL verify hostname and IP The ssl module now uses OpenSSL's X509_VERIFY_PARAM_set1_host() and X509_VERIFY_PARAM_set1_ip() API to verify hostname and IP addresses. * Remove match_hostname calls * Check for libssl with set1_host, libssl must provide X509_VERIFY_PARAM_set1_host() * Add documentation for OpenSSL 1.0.2 requirement * Don't support OpenSSL special mode with a leading dot, e.g. ".example.org" matches "www.example.org". It's not standard conform. * Add hostname_checks_common_name Signed-off-by: Christian Heimes <christian@python.org> | 27 January 2018, 14:51:38 UTC |
746cc75 | Mads Jensen | 27 January 2018, 12:34:28 UTC | bpo-31853: Replaced socket.method calls with super() in SSLSocket. (#4048) | 27 January 2018, 12:34:28 UTC |
d0e31b9 | Christian Heimes | 27 January 2018, 08:54:13 UTC | bpo-32454: socket closefd (#5048) Add close(fd) function to the socket module Signed-off-by: Christian Heimes <christian@python.org> | 27 January 2018, 08:54:13 UTC |
2f050c7 | Christian Heimes | 27 January 2018, 08:53:43 UTC | bpo-32433: Optimized HMAC digest (#5023) The hmac module now has hmac.digest(), which provides an optimized HMAC digest for short messages. hmac.digest() is up to three times faster than hmac.HMAC().digest(). Signed-off-by: Christian Heimes <christian@python.org> | 27 January 2018, 08:53:43 UTC |
a49ac99 | INADA Naoki | 27 January 2018, 05:06:21 UTC | bpo-32677: Add .isascii() to str, bytes and bytearray (GH-5342) | 27 January 2018, 05:06:21 UTC |
85527cf | Cheryl Sabella | 27 January 2018, 02:40:52 UTC | bpo-27505: Add change notes in module attribute docs (GH-5320) Make it clear that setting __class__ on a module has worked since 3.5, but support for __getattr__ and __dir__ on module instances requires 3.7+ Patch by Cheryl Sabella. | 27 January 2018, 02:40:52 UTC |
37420de | INADA Naoki | 27 January 2018, 01:10:06 UTC | bpo-32678: inspect: Import ast lazily (GH-5344) | 27 January 2018, 01:10:06 UTC |
29a7df7 | Christian Heimes | 26 January 2018, 22:28:46 UTC | bpo-32521: nis libnsl (#5190) The nismodule is now compatible with new libnsl and headers location Signed-off-by: Christian Heimes <christian@python.org> | 26 January 2018, 22:28:46 UTC |
226e500 | Yury Selivanov | 26 January 2018, 22:24:52 UTC | bpo-32436: Make PyContextVar_Get a little bit faster (#5350) Since context.c is compiled with Py_BUILD_CORE, using a macro will result in a slightly more optimal code. | 26 January 2018, 22:24:52 UTC |
43c47fe | Yury Selivanov | 26 January 2018, 20:24:24 UTC | bpo-32670: Enforce PEP 479. (#5327) | 26 January 2018, 20:24:24 UTC |
dba976b | Nathaniel J. Smith | 26 January 2018, 19:28:31 UTC | bpo-32591: fix abort in _PyErr_WarnUnawaitedCoroutine during shutdown (#5337) When an unawaited coroutine is collected very late in shutdown -- like, during the final GC at the end of PyImport_Cleanup -- then it was triggering an interpreter abort, because we'd try to look up the "warnings" module and not only was it missing (we were prepared for that), but the entire module system was missing (which we were not prepared for). I've tried to fix this at the source, by making the utility function get_warnings_attr robust against this in general. Note that it already has the convention that it can return NULL without setting an error, which is how it signals that the attribute it was asked to fetch is missing, and that all callers already check for NULL returns. There's a similar check for being late in shutdown at the top of warn_explicit, which might be unnecessary after this fix, but I'm not sure so I'm going to leave it. | 26 January 2018, 19:28:31 UTC |
95e4d58 | Guido van Rossum | 26 January 2018, 16:20:18 UTC | String annotations [PEP 563] (#4390) * Document `from __future__ import annotations` * Provide plumbing and tests for `from __future__ import annotations` * Implement unparsing the AST back to string form This is required for PEP 563 and as such only implements a part of the unparsing process that covers expressions. | 26 January 2018, 16:20:18 UTC |
d7773d9 | bennorth | 26 January 2018, 15:46:01 UTC | bpo-18533: Avoid RecursionError from repr() of recursive dictview (#4823) dictview_repr(): Use a Py_ReprEnter() / Py_ReprLeave() pair to check for recursion, and produce "..." if so. test_recursive_repr(): Check for the string rather than a RecursionError. (Test cannot be any tighter as contents are implementation-dependent.) test_deeply_nested_repr(): Add new test, replacing the original test_recursive_repr(). It checks that a RecursionError is raised in the case of a non-recursive but deeply nested structure. (Very similar to what test_repr_deep() in test/test_dict.py does for a normal dict.) OrderedDictTests: Add new test case, to test behavior on OrderedDict instances containing their own values() or items(). | 26 January 2018, 15:46:01 UTC |
e76daeb | INADA Naoki | 26 January 2018, 07:22:51 UTC | bpo-32571: Fix reading uninitialized memory (GH-5332) Reported by Coverity Scan. | 26 January 2018, 07:22:51 UTC |
4112c5b | Yury Selivanov | 26 January 2018, 06:30:57 UTC | bpo-32662: Try making test_asyncio.test_server more reliable (#5338) | 26 January 2018, 06:30:57 UTC |
863b1e4 | mwidjaja | 26 January 2018, 04:49:56 UTC | bpo-29237: Create enum for pstats sorting options (GH-5103) | 26 January 2018, 04:49:56 UTC |
4666ec5 | INADA Naoki | 26 January 2018, 01:53:31 UTC | bpo-32596: Make lazy-load portable (GH-5316) Global variables should not used as import target. Use temporary variable instead. | 26 January 2018, 01:53:31 UTC |
2fc98ae | Bo Bayles | 26 January 2018, 00:02:03 UTC | bpo-32304: Fix distutils upload for sdists ending with \x0d (GH-5264) Patch by Bo Bayles. | 26 January 2018, 00:02:03 UTC |
c47dacb | José Melero Fernández | 25 January 2018, 23:45:43 UTC | bpo-32574: Fix leaks in asyncio.Queue.put() and .get() (#5208) | 25 January 2018, 23:45:43 UTC |
c9070d0 | Yury Selivanov | 25 January 2018, 23:08:09 UTC | bpo-32662: Implement Server.start_serving() and Server.serve_forever() (#5312) * bpo-32662: Implement Server.start_serving() and Server.serve_forever() New methods: * Server.start_serving(), * Server.serve_forever(), and * Server.is_serving(). Add 'start_serving' keyword parameter to loop.create_server() and loop.create_unix_server(). | 25 January 2018, 23:08:09 UTC |
1aa094f | Ilya Kulakov | 25 January 2018, 20:51:18 UTC | bpo-29302: Implement contextlib.AsyncExitStack. (#4790) | 25 January 2018, 20:51:18 UTC |
6ab6292 | Yury Selivanov | 25 January 2018, 19:18:55 UTC | bpo-32436: Fix a refleak; var GC tracking; a GCC warning (#5326) The refleak in question wasn't really important, as context vars are usually created at the toplevel and live as long as the interpreter lives, so the context var name isn't ever GCed anyways. | 25 January 2018, 19:18:55 UTC |
b31206a | Victor Stinner | 25 January 2018, 18:06:05 UTC | bpo-32667: Fix tests when $PATH contains a file (#5322) Some tests failed when the PATH environment variable contained a path to an existing file. Fix tests to ignore also NotADirectoryError, not only FileNotFoundError and PermissionError. | 25 January 2018, 18:06:05 UTC |
93a6119 | Dmitry Alimov | 25 January 2018, 17:54:41 UTC | Fix 3rd level node's binary representation in HAMT algorithm description (#5319) | 25 January 2018, 17:54:41 UTC |
58dc03c | Paul Ganssle | 25 January 2018, 13:58:07 UTC | Cleanup dangling reference in get_timezone_utc_capi (#5317) | 25 January 2018, 13:58:07 UTC |
2812d3d | INADA Naoki | 25 January 2018, 10:52:58 UTC | bpo-32360: Remove OrderedDict usage from json.tool (GH-5315) `object_pairs_hook=OrderedDict` idiom is deprecated. | 25 January 2018, 10:52:58 UTC |
f320be7 | Serhiy Storchaka | 25 January 2018, 08:49:40 UTC | bpo-32571: Avoid raising unneeded AttributeError and silencing it in C code (GH-5222) Add two new private APIs: _PyObject_LookupAttr() and _PyObject_LookupAttrId() | 25 January 2018, 08:49:40 UTC |
2b822a0 | Victor Stinner | 25 January 2018, 08:18:36 UTC | bpo-32652: Defer pymain_set_global_config() call (#5303) In Py_Main(), don't call pymain_set_global_config() early: only call it when the whole configuration has been read. Add an unit test to prevent future regression. | 25 January 2018, 08:18:36 UTC |
cab0b2b | Brett Cannon | 25 January 2018, 01:13:24 UTC | bpo-29708: Add What's New entries for SOURCE_DATE_EPOCH and py_compile (GH-5306) | 25 January 2018, 01:13:24 UTC |
fe133aa | Andrew Svetlov | 24 January 2018, 22:30:30 UTC | bpo-32391: Implement StreamWriter.wait_closed() (#5281) | 24 January 2018, 22:30:30 UTC |
04af5b1 | Paul Ganssle | 24 January 2018, 22:29:30 UTC | bpo-10381: Add timezone to datetime C API (#5032) * Add timezone to datetime C API * Add documentation for timezone C API macros * Add dedicated tests for datetime type check macros * Remove superfluous C API test * Drop support for TimeZoneType in datetime C API * Expose UTC singleton to the datetime C API * Update datetime C-API documentation to include links * Add reference count information for timezone constructors | 24 January 2018, 22:29:30 UTC |
ccbe581 | Bernhard M. Wiedemann | 24 January 2018, 21:26:18 UTC | bpo-29708: Setting SOURCE_DATE_EPOCH forces hash-based .pyc files (GH-5200) To support reproducible builds, the setting of of SOURCE_DATE_EPOCH triggers the py_compile module -- and by extension, compileall -- to forcibly compile with hash-based .pyc files. This eliminates the possibility of timestamp-based .pyc files which vary between builds. | 24 January 2018, 21:26:18 UTC |
6f6eb35 | Barry Warsaw | 24 January 2018, 20:36:21 UTC | bpo-32248 - Implement `ResourceReader` and `get_resource_reader()` for zipimport (#5248) | 24 January 2018, 20:36:21 UTC |
789e359 | Victor Stinner | 24 January 2018, 20:15:14 UTC | bpo-32636: Fix two bugs in test_asyncio (#5302) | 24 January 2018, 20:15:14 UTC |
fb5a7ad | Nathaniel J. Smith | 24 January 2018, 20:14:33 UTC | bpo-32636: Fix @asyncio.coroutine debug mode bug exposed by gh-5250 (#5291) | 24 January 2018, 20:14:33 UTC |
0a5e71b | Andrew Svetlov | 24 January 2018, 19:40:35 UTC | bpo-32410: Improve sock_sendfile tests (#5294) * Rename sock_sendfile test methods * Make sock_sendfile tests more stable | 24 January 2018, 19:40:35 UTC |
d499031 | Barry Warsaw | 24 January 2018, 17:51:29 UTC | bpo-32651 Recommend getpass.getuser() (#5301) * bpo-32651 - In the documentation for os.getlogin(), recommend getpass.getuser() | 24 January 2018, 17:51:29 UTC |
22feeb8 | Yury Selivanov | 24 January 2018, 16:31:01 UTC | bpo-32643: Drop support for a few private Task and Future APIs. (#5293) Specifically, it's not possible to subclass Task/Future classes and override the following methods: * Future._schedule_callbacks * Task._step * Task._wakeup | 24 January 2018, 16:31:01 UTC |
8ded5b8 | Victor Stinner | 24 January 2018, 16:03:28 UTC | bpo-32030: Add _PyCoreConfig.module_search_paths (#4954) _PyCoreConfig_Read() is now responsible to compute sys.path. So sys.path is now computed before calling _Py_InitializeCore(). Changes: * Add module_search_path, module_search_paths, executable, prefix, base_prefix, exec_prefix and base_exec_prefix to _PyCoreConfig. * _PyMainInterpreterConfig_Read() now only converts wchar_t** lists into a Python list, it doesn't compute sys.path anymore. | 24 January 2018, 16:03:28 UTC |
5de15f1 | Victor Stinner | 24 January 2018, 16:02:41 UTC | bpo-28046: Remove MACHDEPPATH from Modules/Setup.dist (#5289) Makefile $MACHDEPPATH uses $PLATDIR, but this variable was removed. So remove also $MACHDEPPATH. Remove also $EXTRAMACHDEPPATH. | 24 January 2018, 16:02:41 UTC |
131fd7f | Pablo Galindo | 24 January 2018, 12:57:49 UTC | bpo-17799: Explain real behaviour of sys.settrace and sys.setprofile (#4056) | 24 January 2018, 12:57:49 UTC |
018e1b7 | Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) | 24 January 2018, 07:49:58 UTC | bpo-32360: unittest.util: Use Counter instead of custom count function (GH-4994) | 24 January 2018, 07:49:58 UTC |
b7a80d5 | Yury Selivanov | 24 January 2018, 03:17:04 UTC | bpo-32436: Don't use native popcount() (also fixes bpo-32641) (#5292) | 24 January 2018, 03:17:04 UTC |
6b273f7 | Bo Bayles | 24 January 2018, 01:11:44 UTC | bpo-32502: Discard 64-bit (and other invalid) hardware addresses (#5254) | 24 January 2018, 01:11:44 UTC |
0bad4d6 | Yury Selivanov | 23 January 2018, 21:26:07 UTC | bpo-32436: Fix potential NULL dereference (#5286) | 23 January 2018, 21:26:07 UTC |
9d411c1 | Yury Selivanov | 23 January 2018, 20:10:03 UTC | bpo-32296: Make get_running_loop() another 4-5x faster (#5277) | 23 January 2018, 20:10:03 UTC |
e768c86 | stratakis | 23 January 2018, 15:11:24 UTC | bpo-32635: Fix a segfault when importing the crypt module with libxcrypt. (#5284) glibc is deprecating libcrypt in favor of libxcrypt, however python assumes that crypt.h will always be included. This change makes the header inclusion explicit when libxcrypt is present on the system. | 23 January 2018, 15:11:24 UTC |
370d04d | Xiang Zhang | 23 January 2018, 14:50:50 UTC | bpo-32618: Fix test_mutatingdecodehandler not testing test.mutating (#5269) * bpo-32618: Fix test_mutatingdecodehandler not testing test.mutating It should test both test.replacing and test.mutating instead of test test.replacing twice. | 23 January 2018, 14:50:50 UTC |
dc6b946 | Victor Stinner | 23 January 2018, 12:30:53 UTC | bpo-20361: Remove workaround for a now fixed bug (#5283) "python3 -bb -Wd" now works as expected: "python3 -bb -Wd -Werror::BytesWarning" is no more needed. | 23 January 2018, 12:30:53 UTC |
872f841 | Victor Stinner | 23 January 2018, 12:14:08 UTC | bpo-32593: Run autoconf (#5282) Update configure since configure.ac was modified to drop support for FreeBSD 4. | 23 January 2018, 12:14:08 UTC |
6934831 | Nathaniel J. Smith | 23 January 2018, 09:09:31 UTC | bpo-32633: Fix some warnings in test_asyncio.test_tasks (#5280) | 23 January 2018, 09:09:31 UTC |
83c8675 | Yury Selivanov | 23 January 2018, 07:00:03 UTC | bpo-32436: Remove a redundant assert (#5275) | 23 January 2018, 07:00:03 UTC |
d83671e | Yury Selivanov | 23 January 2018, 06:59:50 UTC | Add myself as hamt/context (PEP 567) code owner (#5276) | 23 January 2018, 06:59:50 UTC |
f23746a | Yury Selivanov | 23 January 2018, 00:11:18 UTC | bpo-32436: Implement PEP 567 (#5027) | 23 January 2018, 00:11:18 UTC |
9089a26 | Victor Stinner | 22 January 2018, 18:07:32 UTC | bpo-29240: PyUnicode_DecodeLocale() uses UTF-8 on Android (#5272) PyUnicode_DecodeLocaleAndSize(), PyUnicode_DecodeLocale() and PyUnicode_EncodeLocale() now use always use the UTF-8 encoding on Android, instead of the current locale encoding. On Android API 19, mbstowcs() and wcstombs() are broken and cannot be used. | 22 January 2018, 18:07:32 UTC |
13ff245 | Victor Stinner | 22 January 2018, 17:32:50 UTC | bpo-32593: Drop FreeBSD 9 and older support (#5232) Drop support of FreeBSD 9 and older. | 22 January 2018, 17:32:50 UTC |
b0a7a03 | Yury Selivanov | 22 January 2018, 16:54:41 UTC | bpo-31179: Make dict.copy() up to 5.5 times faster. (#3067) | 22 January 2018, 16:54:41 UTC |
a4b1bb4 | Ethan Furman | 22 January 2018, 15:56:37 UTC | bpo-31801: Enum: add _ignore_ as class option (#5237) * bpo-31801: Enum: add _ignore_ as class option _ignore_ is a list, or white-space seperated str, of names that will not be candidates for members; these names, and _ignore_ itself, are removed from the final class. * bpo-31801: Enum: add documentation for _ignore_ * bpo-31801: Enum: remove trailing whitespace * bpo-31801: Enum: fix bulleted list format * bpo-31801: add version added for _ignore_ | 22 January 2018, 15:56:37 UTC |
579e0b8 | INADA Naoki | 22 January 2018, 07:45:31 UTC | urllib.request: Remove unused import (GH-5268) | 22 January 2018, 07:45:31 UTC |
3510334 | Yury Selivanov | 22 January 2018, 01:47:04 UTC | bpo-32591: Fix PyExc_WarnFormat call (follow-up commit) (#5263) The previous version was correct in terms of behaviour, but checking the return value of PyErr_WarnFormat allows to avoid calling PyErr_Occurred and silences the coverity alarm. | 22 January 2018, 01:47:04 UTC |
a4afcdf | Yury Selivanov | 21 January 2018, 19:56:59 UTC | bpo-32314: Fix asyncio.run() to cancel runinng tasks on shutdown (#5262) | 21 January 2018, 19:56:59 UTC |
fc2f407 | Nathaniel J. Smith | 21 January 2018, 14:44:07 UTC | bpo-32591: Add native coroutine origin tracking (#5250) * Add coro.cr_origin and sys.set_coroutine_origin_tracking_depth * Use coroutine origin information in the unawaited coroutine warning * Stop using set_coroutine_wrapper in asyncio debug mode * In BaseEventLoop.set_debug, enable debugging in the correct thread | 21 January 2018, 14:44:07 UTC |
1211c9a | Serhiy Storchaka | 20 January 2018, 14:42:44 UTC | bpo-32503: Avoid creating too small frames in pickles. (#5127) | 20 January 2018, 14:42:44 UTC |
bd5c7d2 | Christian Heimes | 20 January 2018, 14:16:30 UTC | bpo-32602: Test ECDSA certs (#5247) Add test certs and test for ECDSA cert and EC/RSA dual mode. I'm also adding certs for IDNA 2003/2008 tests and simplify some test data handling. Signed-off-by: Christian Heimes <christian@python.org> | 20 January 2018, 14:16:30 UTC |
ff5be6e | Christian Heimes | 20 January 2018, 12:19:21 UTC | bpo-32598: Use autoconf to detect usable OpenSSL (#5242) Add https://www.gnu.org/software/autoconf-archive/ax_check_openssl.html to auto-detect compiler flags, linker flags and libraries to compile OpenSSL extensions. The M4 macro uses pkg-config and falls back to manual detection. Add autoconf magic to detect usable X509_VERIFY_PARAM_set1_host() and related functions. Refactor setup.py to use new config vars to compile _ssl and _hashlib modules. Signed-off-by: Christian Heimes <christian@python.org> | 20 January 2018, 12:19:21 UTC |
d911e40 | Ivan Levkivskyi | 20 January 2018, 11:23:59 UTC | bpo-32226: PEP 560: improve typing module (#4906) This PR re-designs the internal typing API using the new PEP 560 features. However, there are only few minor changes in the public API. | 20 January 2018, 11:23:59 UTC |
d57f26c | Sanyam Khurana | 20 January 2018, 03:12:22 UTC | bpo-32028: Fix suggestions for indented print statements (GH-4688) The suggested replacement for print statements previously failed to account for leading whitespace and hence could end up including unwanted text in the proposed call to the print builtin. Patch by Sanyam Khurana. | 20 January 2018, 03:12:22 UTC |
6690bb9 | INADA Naoki | 20 January 2018, 00:54:42 UTC | bpo-32596: Lazy import concurrent.futures.process and thread (GH-5241) | 20 January 2018, 00:54:42 UTC |
338cd83 | Sanyam Khurana | 20 January 2018, 00:25:37 UTC | bpo-25910: Link redirections in docs (#1933) Fixes some redirection links in docs. | 20 January 2018, 00:25:37 UTC |
7464e87 | Andrew Svetlov | 19 January 2018, 18:04:29 UTC | bpo-32410: Make SendfileNotAvailableError exception public (#5243) | 19 January 2018, 18:04:29 UTC |
2507e29 | Steve Dower | 18 January 2018, 22:09:36 UTC | bpo-32588: Move _findvs into its own module and add missing _queue module to installer (#5227) | 18 January 2018, 22:09:36 UTC |
fa78806 | Raymond Hettinger | 18 January 2018, 21:23:27 UTC | Removed unnecesssary bit inversion which doesn't improve dispersion statistics (#5235) | 18 January 2018, 21:23:27 UTC |
05d68a8 | Victor Stinner | 18 January 2018, 10:15:25 UTC | bpo-9566: Fix size_t=>int downcast warnings (#5230) * Use wider types (int => Py_ssize_t) to avoid integer overflows. * Fix gc.get_freeze_count(): use Py_ssize_t type rather than int, since gc_list_size() returns a Py_ssize_t. | 18 January 2018, 10:15:25 UTC |
ab74504 | Antoine Pitrou | 18 January 2018, 09:38:03 UTC | bpo-32576: use queue.SimpleQueue in critical places (#5216) Where a queue may be invoked from a weakref callback, we need to use the reentrant SimpleQueue. | 18 January 2018, 09:38:03 UTC |
6027802 | hui shang | 17 January 2018, 23:21:01 UTC | Fix typo in thread_nt.h code comment (GH-5211) The comment for PyThread_allocate_lock says "It has too be implemented ...". There was an extra "o" in ".. to be implemented.." | 17 January 2018, 23:21:01 UTC |
3941499 | Gregory P. Smith | 17 January 2018, 22:57:57 UTC | Use assertCountEqual instead of assertEqual. (#5223) This test doesn't care about order, the underlying filesystem APIs do not guarantee directory listings on subsequent calls will be in the same order. | 17 January 2018, 22:57:57 UTC |
e860089 | Victor Stinner | 17 January 2018, 22:08:18 UTC | bpo-32226: Fix memory leak in generic_alias_dealloc() (#5212) | 17 January 2018, 22:08:18 UTC |
7d91c02 | Victor Stinner | 17 January 2018, 15:35:45 UTC | pythoninfo: add time.time and datetime.datetime.now (#5214) | 17 January 2018, 15:35:45 UTC |
3a0cf93 | Victor Stinner | 17 January 2018, 14:21:50 UTC | bpo-32248: Fix test_importlib.test_open() (#5213) Use the binary.file instead of utf-8.file to avoid issues with Unix newlines vs Windows newlines. | 17 January 2018, 14:21:50 UTC |
44a70e9 | Victor Stinner | 17 January 2018, 09:26:03 UTC | Fix Git attributes of test_importlib data files (#5209) bpo-32248: Make sure that Git checks out data files with Unix line ending on Windows as well. | 17 January 2018, 09:26:03 UTC |
ced9cb5 | Christian Heimes | 16 January 2018, 20:02:26 UTC | bpo-32549: Compile OpenSSL 1.1.0 on Travis CI (#5180) Use an improved version of multissl test helper to compile a local copy of OpenSSL 1.1.0g. Signed-off-by: Christian Heimes <christian@python.org> | 16 January 2018, 20:02:26 UTC |
9f1b7b9 | Paul Ganssle | 16 January 2018, 18:06:31 UTC | bpo-32403: Faster date and datetime constructors (#4993) * Add tests for date subclass alternate constructors * Switch over alternate date constructors to fast path * Switch datetime constructors to fastpath, fix bpo-32404 * Add fast path for datetime in date subclass constructor * Set fold in constructor in datetime.combine * Add news entries. | 16 January 2018, 18:06:31 UTC |
6b5a279 | Andrew Svetlov | 16 January 2018, 17:59:34 UTC | bpo-32410: Implement loop.sock_sendfile() (#4976) | 16 January 2018, 17:59:34 UTC |