https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
7c21ddd fix typo (sorry for the rebound commit) 18 December 2018, 00:20:48 UTC
efcc185 fix typo 18 December 2018, 00:20:25 UTC
933c77a address @pitrou's comments 18 December 2018, 00:04:56 UTC
706f178 Merge remote-tracking branch 'upstream/master' into fix-issue-22393 17 December 2018, 23:12:54 UTC
1dd0359 bpo-35519: Rename test.bisect to test.bisect_cmd (GH-11200) Rename test.bisect module to test.bisect_cmd to avoid conflict with bisect module when running directly a test like "./python Lib/test/test_xmlrpc.py". 17 December 2018, 21:06:10 UTC
0af9c33 bpo-35348: Fix platform.architecture() (GH-11159) Make platform.architecture() parsing of "file" command output more reliable: * Add the "-b" option to the "file" command to omit the filename; * Force the usage of the C locale; * Search also the "shared object" pattern. Co-Authored-By: Serhiy Storchaka <storchaka@gmail.com> 17 December 2018, 17:47:24 UTC
94cf308 bpo-33306: Improve SyntaxError messages for unbalanced parentheses. (GH-6516) 17 December 2018, 15:34:14 UTC
bdabb07 bpo-35475: Add more PyImport* functions in refcounts.dat. (GH-11142) 17 December 2018, 15:30:03 UTC
842acaa bpo-35504: Fix segfaults and SystemErrors when deleting certain attrs. (GH-11175) 17 December 2018, 14:52:45 UTC
4db62e1 bpo-35490: Remove the DecodeFSDefault return converter in AC. (#11152) 17 December 2018, 14:47:45 UTC
e2af34f bpo-35504: Fix a SystemError when delete the characters_written attribute of an OSError. (GH-11172) 17 December 2018, 14:43:14 UTC
fae9587 bpo-18799: Resurrect test_404 in test_xmlrpc. (GH-11196) 17 December 2018, 14:16:24 UTC
e991270 bpo-35415: validate fileno argument to socket.socket (GH-10917) https://bugs.python.org/issue35415 17 December 2018, 13:07:55 UTC
05c1b38 Fixed a few obvious mistakes in c-api docs (GH-11184) I thought these simple changes doesn't need bpo number(Am I right..?). Please refer to the commit message for detail. 17 December 2018, 12:57:03 UTC
3ab064e bpo-23451: Update time.monotonic() documentation (GH-11190) bpo-23451, bpo-22117: Python 3.5 requires Windows Vista or newer, time.monotonic() is now always system-wide. 17 December 2018, 11:12:34 UTC
8db5b54 bpo-35513, unittest: TextTestRunner uses time.perf_counter() (GH-11180) TextTestRunner of unittest.runner now uses time.perf_counter() rather than time.time() to measure the execution time of a test: time.time() can go backwards, whereas time.perf_counter() is monotonic. Similar change made in libregrtest, pprint and random. 17 December 2018, 10:30:34 UTC
2cf4c20 bpo-35513: Replace time.time() with time.monotonic() in tests (GH-11182) Replace time.time() with time.monotonic() in tests to measure time delta. test_zipfile64: display progress every minute (60 secs) rather than every 5 minutes (5*60 seconds). 17 December 2018, 08:36:36 UTC
4e80f5c bpo-35186: Remove "built with" comment in setup.py upload (GH-10414) platform.dist() is deprecated and slated for removal in Python 3.8. The upload command itself should also not be used to upload to PyPI, but while it continues to exist it should not use deprecated functions. 17 December 2018, 07:59:02 UTC
2dfe351 bpo-35491, multiprocessing: replace "RUN" with RUN (GH-11178) 16 December 2018, 22:40:49 UTC
b912f93 bpo-35511: Trivial docs updates for profile and resource library modules. (GH-11124) polish documentation for profile and resource modules 16 December 2018, 19:34:08 UTC
640ed52 bpo-35499: make profile-opt don't override CFLAGS_NODIST (GH-11164) "make profile-opt" no longer replaces CFLAGS_NODIST with CFLAGS. It now adds profile-guided optimization (PGO) flags to CFLAGS_NODIST, existing CFLAGS_NODIST flags are kept. 16 December 2018, 17:00:42 UTC
f5107df bpo-35450: reflect in docs that venv module is not always creating a … (GH-11144) …copy of python binary https://bugs.python.org/issue35450 14 December 2018, 20:28:52 UTC
f8e9bd5 bpo-35402: Update Windows build to use Tcl and Tk 8.6.9 (GH-11146) 14 December 2018, 17:13:15 UTC
d7538dd bpo-35471: Remove the macpath module (GH-11129) Python 2.4 dropped MacOS 9 support. The macpath module was deprecated in Python 3.7. This change removes it. 14 December 2018, 12:37:26 UTC
4aa917c bpo-35346: Cleanup platform.architecture() (GH-11130) struct.calcsize('P') now always works. 14 December 2018, 12:14:10 UTC
3a8f4fe bpo-34279: regrtest consider that skipped tests are ran (GH-11132) bpo-34279, bpo-35412: support.run_unittest() no longer raises TestDidNotRun if a test result contains skipped tests. The exception is now only raised if no test have been run and no test have been skipped. 14 December 2018, 12:06:50 UTC
7acd50a bpo-35491: Enhance multiprocessing.BaseProcess.__repr__() (GH-11138) * Add the pid and parent pid to multiprocessing.BaseProcess.__repr__(). * Add negative sign (ex: "-SIGTERM") to exitcode (process killed by a signal) * Only call _popen.poll() once. Example: <ForkProcess(ForkPoolWorker-1, started daemon)> becomes: <ForkProcess name='ForkPoolWorker-1' pid=12449 parent=12448 started daemon> Example: <ForkProcess(ForkPoolWorker-1, stopped[SIGTERM] daemon)> becomes: <ForkProcess name='ForkPoolWorker-1' pid=12960 parent=12959 stopped exitcode=-SIGTERM daemon> 14 December 2018, 11:58:52 UTC
cb0f5e2 Fixed missing colun in library/sys.po (GH-11153) # Fixed missing colun in library/sys.po [bpo-35492](https://bugs.python.org/issue35492): Fixed missing colun in library/sys.po 14 December 2018, 11:28:44 UTC
2b417fb Add multiprocessing.Pool.__repr__() (GH-11137) * Add multiprocessing.Pool.__repr__() to ease debug * RUN, CLOSE and TERMINATE constants values are now strings rather than integer to ease debug 14 December 2018, 10:13:18 UTC
afb3e71 bpo-35489: Use "const Py_UNICODE *" for the Py_UNICODE converter in AC. (GH-11150) 14 December 2018, 09:19:51 UTC
7b36016 bpo-31446: Copy command line that should be passed to CreateProcessW(). (GH-11141) 14 December 2018, 08:30:51 UTC
08c2ba0 bpo-35477: multiprocessing.Pool.__enter__() fails if called twice (GH-11134) multiprocessing.Pool.__enter__() now fails if the pool is not running: "with pool:" fails if used more than once. 13 December 2018, 01:15:30 UTC
502fe19 bpo-35412: Add testcase to test_future4 (GH-11131) Add testcase to test_future4: check unicode literal. 12 December 2018, 17:38:34 UTC
b0e0877 bpo-35346: Drop Mac OS 9 support from platform (GH-10959) Drop Mac OS 9 and Rhapsody support from the platform module: * Rhapsody: last release in 2000 * Mac OS 9: last release in 2001 12 December 2018, 16:48:08 UTC
4fb0b8b bpo-33106: change dbm key deletion error for readonly file from KeyError to dbm.error (#6295) 12 December 2018, 12:46:55 UTC
5a718e9 Add test for double patching instance methods (#11085) 12 December 2018, 07:56:35 UTC
f7fa62e bpo-17185: Add __signature__ to mock that can be used by inspect for signature (GH11048) * Fix partial and partial method signatures in mock * Add more calls * Add NEWS entry * Use assertEquals and fix markup in NEWS * Refactor branching and add markup reference for functools * Revert partial object related changes and fix pr comments 12 December 2018, 07:54:54 UTC
5344501 bpo-35394: Add empty slots to abstract asyncio protocols (#10889) * bpo-35394: Add empty slots to abstract asyncio protocols * Add missing test file 11 December 2018, 17:07:05 UTC
7211d30 Remove an unused variable after bpo-35444. (GH-11117) 11 December 2018, 13:14:12 UTC
2ab2afd bpo-35426: Eliminate race condition in test_interprocess_signal (GH-11087) The test only except SIGUSR1Exception inside wait_signal(), but the signal can be sent during subprocess_send_signal() call. 11 December 2018, 11:32:12 UTC
a932d0b bpo-35412: Skip test_multiprocessing_fork and test_multiprocessing_forkserver on Windows (GH-11086) Forkserver and fork are not available on Windows and therefore these test must be skipped. 11 December 2018, 11:31:16 UTC
dc525f4 bpo-35458: Fix test_shutil.test_disk_usage() (GH-11111) The following test fails if a different process creates or removes a file on the same disk partition between the two lines: usage = shutil.disk_usage(os.path.dirname(__file__)) self.assertEqual(usage, shutil.disk_usage(__file__)) Only test that disk_usage() succeed on a filename, but don't check the result. Add also tests on the fields type (must be int). 11 December 2018, 11:05:21 UTC
8905fcc bpo-35454: Fix miscellaneous minor issues in error handling. (#11077) * bpo-35454: Fix miscellaneous minor issues in error handling. * Fix a null pointer dereference. 11 December 2018, 06:38:03 UTC
bb86bf4 bpo-35444: Unify and optimize the helper for getting a builtin object. (GH-11047) This speeds up pickling of some iterators. This fixes also error handling in pickling methods when fail to look up builtin "getattr". 11 December 2018, 06:28:18 UTC
7cf3d8e bpo-35402: Update macOS installer to use Tcl 8.6.9 / Tk 8.6.9.1 (GH-11101) 11 December 2018, 06:06:57 UTC
3ec9826 bpo-35401: Update macOS installer to OpenSSL 1.1.0j (GH-11094) https://bugs.python.org/issue35401 11 December 2018, 05:24:06 UTC
d5a6a38 bpo-34977: Remove unused preprocessor definition (GH-11092) 11 December 2018, 04:56:09 UTC
4824385 bpo-35401: Update Windows build to OpenSSL 1.1.0j (GH-11088) 11 December 2018, 03:52:36 UTC
0cd6391 bpo-34977: Add Windows App Store package (GH-11027) Also adds the PC/layout script for generating layouts on Windows. 11 December 2018, 02:52:57 UTC
1c3de54 bpo-34977: Use venv redirector instead of original python.exe on Windows (GH-11029) 10 December 2018, 16:11:21 UTC
b6ef6f6 bpo-31374: expat doesn't include <pyconfig.h> on Windows (GH-11079) 10 December 2018, 15:06:18 UTC
fc662ac bpo-32788: Better error handling in sqlite3. (GH-3723) Propagate unexpected errors (like MemoryError and KeyboardInterrupt) to user. 10 December 2018, 14:06:08 UTC
dffccc6 bpo-35452: Make PySys_HasWarnOptions() never raising an exception. (GH-11075) 10 December 2018, 11:50:22 UTC
cf24735 bpo-31374: Include pyconfig.h earlier in expat (GH-11064) Include <pyconfig.h> ealier in Modules/expat/xmltok.c to define properly _POSIX_C_SOURCE. Python defines _POSIX_C_SOURCE as 200809L, whereas <features.h> (included indirectly by <string.h>) defines _POSIX_C_SOURCE as 199506L. 10 December 2018, 10:30:21 UTC
2eb6ad8 bpo-35050: AF_ALG length check off-by-one error (GH-10058) The length check for AF_ALG salg_name and salg_type had a off-by-one error. The code assumed that both values are not necessarily NULL terminated. However the Kernel code for alg_bind() ensures that the last byte of both strings are NULL terminated. Signed-off-by: Christian Heimes <christian@python.org> 10 December 2018, 10:22:37 UTC
8e04186 bpo-35052: Fix handler on xml.dom.minidom.cloneNode() (GH-11061) Fix xml.dom.minidom cloneNode() on a document with an entity: pass the correct arguments to the user data handler of an entity (fix an old copy/paste mistake). Bug spotted and fix proposed by Charalampos Stratakis, initial reproducer written by Petr Viktorin. Co-Authored-By: Charalampos Stratakis <cstratak@redhat.com> Co-Authored-By: Petr Viktorin <encukou@gmail.com> 10 December 2018, 10:12:53 UTC
6fef0f1 bpo-35445: Do not ignore memory errors when create posix.environ. (GH-11049) 10 December 2018, 10:10:56 UTC
72ff7b4 bpo-35451: Fix reference counting for sys.warnoptions and sys._xoptions. (GH-11063) 10 December 2018, 10:08:54 UTC
f46eccd bpo-35433: Properly detect installed SDK versions (GH-11009) 10 December 2018, 03:59:32 UTC
e448f9c Remove a duplicate descriptor in gdbm. (GH-11053) 09 December 2018, 20:15:29 UTC
e328753 bpo-22005: Document the reality of pickle compatibility. (GH-11054) 09 December 2018, 19:42:58 UTC
25648d0 bpo-34245: install Python shared library with more standard 0755 mode (GH-8492) 09 December 2018, 07:46:50 UTC
de9e9b4 Fix numbered lists in stdtypes.rst. (GH-10989) 09 December 2018, 07:00:20 UTC
ac218bc bpo-33725: skip test_multiprocessing_fork on macOS (GH-11043) 09 December 2018, 06:50:15 UTC
99d56b5 bpo-35441: Remove dead and buggy code related to PyList_SetItem(). (GH-11033) In _localemodule.c and selectmodule.c, remove dead code that would cause double decrefs if run. In addition, replace PyList_SetItem() with PyList_SET_ITEM() in cases where a new list is populated and there is no possibility of an error. In addition, check if the list changed size in the loop in array_array_fromlist(). 08 December 2018, 14:16:55 UTC
f05df0a bpo-35330: Don't call the wrapped object if `side_effect` is set (GH10973) * tests: Further validate `wraps` functionality in `unittest.mock.Mock` Add more tests to validate how `wraps` interacts with other features of mocks. * Don't call the wrapped object if `side_effect` is set When a object is wrapped using `Mock(wraps=...)`, if an user sets a `side_effect` in one of their methods, return the value of `side_effect` and don't call the original object. * Refactor what to be called on `mock_call` When a `Mock` is called, it should return looking up in the following order: `side_effect`, `return_value`, `wraps`. If any of the first two return `mock.DEFAULT`, lookup in the next option. It makes no sense to check for `wraps` returning default, as it is supposed to be the original implementation and there is nothing to fallback to. 08 December 2018, 11:25:02 UTC
3cf7438 bpo-33747: Avoid mutating the global sys.modules dict in unittest.mock tests (GH-8520) 07 December 2018, 23:30:42 UTC
028f0ef bpo-9566: Fix compiler warnings in peephole.c (GH-10652) 07 December 2018, 16:54:18 UTC
1133a8c bpo-22005: Fix condition for unpickling a date object. (GH-11025) 07 December 2018, 14:48:21 UTC
cb0b78a Revert "bpo-34977: Add Windows App Store package (GH-10245)" (GH-11019) This reverts commit 468a15aaf9206448a744fc5eab3fc21f51966aad. 07 December 2018, 11:57:43 UTC
8452ca1 bpo-22005: Fixed unpickling instances of datetime classes pickled by Python 2. (GH-11017) encoding='latin1' should be used for successful decoding. 07 December 2018, 11:42:10 UTC
4c49da0 bpo-35436: Add missing PyErr_NoMemory() calls and other minor bug fixes. (GH-11015) Set MemoryError when appropriate, add missing failure checks, and fix some potential leaks. 07 December 2018, 10:11:30 UTC
3a521f0 bpo-35346, platform: replace os.popen() with subprocess (GH-10786) Replace os.popen() with subprocess.check_output() in the platform module: * platform.uname() (its _syscmd_ver() helper function) now redirects stderr to DEVNULL. * Remove platform.DEV_NULL. * _syscmd_uname() and _syscmd_file() no longer catch AttributeError. The "except AttributeError:" was only needed in Python 2, when os.popen() was not always available. In Python 3, subprocess.check_output() is always available. 07 December 2018, 10:10:33 UTC
9ebe879 bpo-34864: warn if "Prefer tabs when opening documents" set to "Always" (#10464) * bpo-34864: warn if "Prefer tabs when opening documents" set to "Always" * add NEWS entry * address code review comments * address second code review comments * Add entry for idlelib/NEWS.txt. 07 December 2018, 06:32:21 UTC
16501b7 bpo-35434 Fix wrong issue number in what's new in 3.8 (GH-11012) https://bugs.python.org/issue35434 07 December 2018, 05:59:42 UTC
468a15a bpo-34977: Add Windows App Store package (GH-10245) 07 December 2018, 05:09:20 UTC
c9566b8 Add missing period in distutils.dep_util.newer_group doc (GH-11003) 06 December 2018, 21:06:55 UTC
91f259b Clarify expectedFailure in the unittest docs. (#10953) 06 December 2018, 20:56:24 UTC
42b1d61 bpo-33023: Fix NotImplemented to NotImplementedError. (GH-10934) 06 December 2018, 20:36:55 UTC
2042852 Remove unused function in `testmock/support.py` (GH-10975) The function is never imported and the implementation is actually buggy. As `warnings.catch_warnings` is not imported here. 06 December 2018, 17:05:46 UTC
0644b33 bpo-35363: test_eintr uses print(flush=True) (GH-10990) 06 December 2018, 13:16:21 UTC
388c8c2 bpo-35424: test_multiprocessing: join 3 pools (GH-10986) Join 3 pools in these tests: * test.test_multiprocessing_spawn.WithProcessesTestPool.test_context * test.test_multiprocessing_spawn.WithProcessesTestPool.test_traceback 06 December 2018, 10:56:52 UTC
3ffa8b9 bpo-35384: The repr of ctypes.CArgObject no longer fails for non-ascii character. (GH-10863) 06 December 2018, 09:16:24 UTC
9dfc754 Revert "bpo-34172: multiprocessing.Pool leaks resources after being deleted (GH-8450)" (GH-10971) This reverts commit 97bfe8d3ebb0a54c8798f57555cb4152f9b2e1d0. 06 December 2018, 07:51:47 UTC
8752dfb bpo-33709: test_ntpath and test_posixpath fail in Windows with ACP!=1252. (GH-7278) 06 December 2018, 07:04:35 UTC
6ea9d54 bpo-34162: Update idlelib NEWS to 2018-12-05. (GH-10964) 06 December 2018, 05:46:22 UTC
aa8ae90 bpo-35363: test_eintr runs eintr_tester.py in verbose mode (GH-10965) Moreover, "python3 -m test test_eintr -v" now avoids redirecting stdout/stderr to a pipe, the child process inherits stdout/stderr from the parent. 05 December 2018, 23:18:30 UTC
848acf7 bpo-35389: test.pythoninfo logs platform.libc_ver (GH-10951) 05 December 2018, 22:21:54 UTC
2d8f976 Fix typo in xml.dom.minidom documentation (GH-10956) Escape the \t and \n. Follow up from https://github.com/python/cpython/pull/10814. 05 December 2018, 22:15:42 UTC
ea0ca21 bpo-35344: platform.platform() uses mac_ver() on macOS (GH-10780) On macOS, platform.platform() now uses mac_ver(), if it returns a non-empty release string, to get the macOS version rather than darwin version. 05 December 2018, 21:41:52 UTC
40a61da Fix typos in concurrent.Futures documentation (GH-10920) Add a missing word `as` in `as well as an`. Linkify `threading.Thread`. 05 December 2018, 21:41:20 UTC
7f52415 bpo-35310: Clear select() lists before returning upon EINTR (GH-10877) select() calls are retried on EINTR (per PEP 475). However, if a timeout was provided and the deadline has passed after running the signal handlers, rlist, wlist and xlist should be cleared since select(2) left them unmodified. 05 December 2018, 20:36:03 UTC
67a93b3 bpo-34738: Add directory entries in ZIP files created by distutils. (GH-9419) 05 December 2018, 19:46:25 UTC
55f41e4 Correct a couple of unbalanced parenthesis. (GH-10779) 05 December 2018, 19:45:30 UTC
1ce853f Move __missing__ after __delitem__ in Data model. (GH-10923) 05 December 2018, 19:42:44 UTC
54fd455 bpo-34185: Fix test module collision in test_bdb when ran as script. (GH-8537) When running test_bdb.py as a script, `import test_module` would be importing the existing Lib/test/test_modules.py instead of the tempcwd/test_module.py module which was dynamically created by test_bdb.py itself. 05 December 2018, 19:32:16 UTC
34c7f0c bpo-34604: Use %R because of invisible characters or trailing whitespaces. (GH-9165) 05 December 2018, 19:10:18 UTC
25d3897 bpo-34987: Fix a possible null pointer dereference in _pickle.c's save_reduce(). (GH-9886) 05 December 2018, 18:29:20 UTC
5b25f1d bpo-34052: Prevent SQLite functions from setting callbacks on exceptions. (GH-8113) 05 December 2018, 17:50:26 UTC
f2f4555 bpo-10496: posixpath.expanduser() catchs pwd.getpwuid() error (GH-10919) * posixpath.expanduser() now returns the input path unchanged if the HOME environment variable is not set and pwd.getpwuid() raises KeyError (the current user identifier doesn't exist in the password database). * Add test_no_home_directory() to test_site. 05 December 2018, 15:49:35 UTC
back to top