https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
9d1eed3 Move NEWS to security 09 March 2019, 09:48:40 UTC
b8e2df1 Ensure return_ok_domain does proper validation 25 December 2018, 14:58:40 UTC
b2ab4a3 Refactor if clause and fix news entry 24 December 2018, 11:40:31 UTC
ecae447 Reword news entry and added extra test 24 December 2018, 09:42:55 UTC
dfdc776 Prefix dot only for suffix check and add test 24 December 2018, 08:11:07 UTC
2816aa8 Add NEWS entry 24 December 2018, 04:58:45 UTC
d67d18e Prefix domain with dot for proper subdomain validation in domain_return_ok 24 December 2018, 04:58:45 UTC
284b787 Add 2 missing commas (GH-10698) 23 December 2018, 16:45:51 UTC
6815155 bpo-35567: Convert dict of constants to a set (GH-11296) 23 December 2018, 16:25:43 UTC
f06fba5 Document that dict.fromkeys accepts any iterable for keys (GH-10998) 23 December 2018, 04:14:46 UTC
3ce3dea Use generator instead of list in code examples (GH-11203) There is no need to create a list for `sum` Also, becomes consistent with the first example in Doc/library/os.rst 23 December 2018, 03:48:14 UTC
fc8284e bpo-35564: add master_doc='contents' to conf.py (GH-11290) 22 December 2018, 22:31:08 UTC
8ac6581 bpo-30455: Generate all token related code and docs from Grammar/Tokens. (GH-10370) "Include/token.h", "Lib/token.py" (containing now some data moved from "Lib/tokenize.py") and new files "Parser/token.c" (containing the code moved from "Parser/tokenizer.c") and "Doc/library/token-list.inc" (included in "Doc/library/token.rst") are now generated from "Grammar/Tokens" by "Tools/scripts/generate_token.py". The script overwrites files only if needed and can be used on the read-only sources tree. "Lib/symbol.py" is now generated by "Tools/scripts/generate_symbol_py.py" instead of been executable itself. Added new make targets "regen-token" and "regen-symbol" which are now dependencies of "regen-all". The documentation contains now strings for operators and punctuation tokens. 22 December 2018, 09:18:40 UTC
c1b4b0f bpo-22703: IDLE: Improve Code Context and Zoom Height menu labels (GH-11214) The Code Context menu label now toggles between Show/Hide Code Context. The Zoom Height menu now toggles between Zoom/Restore Height. Zoom Height has moved from the Window menu to the Options menu. https://bugs.python.org/issue22703 22 December 2018, 06:25:45 UTC
87667c5 bpo-11566: Extension build errors on Windows for _hypot (GH-11283) This addresses C extension build errors related to an undefined _hypot symbol when building with the Microsoft Visual C++ Compiler for Python 2.7 [1] or MinGWPy [2]. It also addresses errors when building a C++ extension with MinGWPy and C++11 from cmath, 'error "::hypot' has not been declared' [1] https://www.microsoft.com/en-us/download/details.aspx?id=44266 [2] https://mingwpy.github.io/ 22 December 2018, 01:37:59 UTC
6ded898 Fix typo in socketserver docstring (GH-11252) Fix typo in the docstring of `service_actions`. serve_forver -> serve_forever 21 December 2018, 22:22:09 UTC
d3bbc52 Enable signing Windows builds with SHA1 environment variable (GH-11279) 21 December 2018, 21:48:18 UTC
f0af4c5 bpo-33830: Fix an example in http.client docs for 404. (GH-7780) 21 December 2018, 15:34:41 UTC
6326278 bpo-34193: Fix pluralization in getargs.c and test cases. (GH-8438) 21 December 2018, 14:45:13 UTC
3e8f962 bpo-35259: Limit `Py_FinalizeEx()` to `Py_LIMITED_API >= 0x03060000`. (GH-10620) 20 December 2018, 21:11:03 UTC
9a8d1d7 bpo-35424: emit ResourceWarning at multiprocessing.Pool destruction (GH-10974) multiprocessing.Pool destructor now emits ResourceWarning if the pool is still running. 20 December 2018, 19:33:51 UTC
c5d5dfd bpo-22831: Use "with" to avoid possible fd leaks in distutils. (GH-10921) 20 December 2018, 17:00:14 UTC
71f82a2 Fix mock_open docstring to use readline (#11176) 20 December 2018, 16:00:21 UTC
292cd6e bpo-35521: Add more cross-refs to IDLE docs (#11257) Format menu and preferences. 20 December 2018, 11:06:29 UTC
d77d97c bpo-35529: Fix a reference counting bug in PyCFuncPtr_FromDll(). (GH-11229) "dll" would leak if an error occurred in _validate_paramflags() or GenericPyCData_new(). 20 December 2018, 08:29:38 UTC
b13a20f bpo-5438: Update memory requirements and optimize test_bigmem.py. (GH-11123) 20 December 2018, 07:34:51 UTC
83dd4e8 bpo-18085: Update refcounts.dat. (GH-11247) Fixed some errors in refcounts.dat, remove functions removed in Python 3, and add more entries for documented functions. This will add several automatically generated notes about return values. 20 December 2018, 07:33:58 UTC
87ec110 bpo-34162: Update idlelib/NEWS.txt to 2018-12-20. (#11255) 20 December 2018, 06:07:10 UTC
01421be bpo-35521: IDLE: Add code context section to docs (#11205) Also add some internal cross-references. 20 December 2018, 05:38:54 UTC
afe17a7 bpo-35482: Fixes HTML escaping in CHM index and build location of NEWS file (GH-11224) 20 December 2018, 02:20:06 UTC
b2f642c bpo-32077: Update refcounts.dat for Unicode object functions. (GH-11243) Makes the documentation more comprehensive in terms of indicating whether or not a function returns a new reference. Also fixes some errors and adds missing functions. 19 December 2018, 19:13:15 UTC
cf10a75 bpo-35257: Avoid leaking LTO linker flags into distutils (GH-10900) When compiling 3rd party C extensions, the linker flags used by the compiler for the interpreter and the stdlib modules, will get leaked into distutils. In order to avoid that, the PY_CORE_LDFLAGS and PY_LDFLAGS_NODIST are introduced to keep those flags separated. 19 December 2018, 17:19:01 UTC
55cc345 bpo-35526: make __future__.barry_as_FLUFL mandatory for Python 4.0 (#11218) * extending the joke! * 📜🤖 Added by blurb_it. 19 December 2018, 16:19:39 UTC
57dd79e Fix documented signatures for C API functions. (GH-11236) 19 December 2018, 13:31:40 UTC
bf99bcf Fix Python version since which external enities are not resolved by default. (GH-11237) 19 December 2018, 13:29:04 UTC
92330c0 bpo-35497: add versionadded tag for EPOLLEXCLUSIVE (GH-11162) 19 December 2018, 11:59:52 UTC
2b57c43 bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174) 19 December 2018, 06:09:46 UTC
82d7355 Removed dangling `since Python` at the end of library/xml.rst. (GH-11201) 19 December 2018, 06:05:14 UTC
6cdce3d bpo-35424: Fix test_multiprocessing_main_handling (GH-11223) Fix test_multiprocessing_main_handling: use multiprocessing.Pool with a context manager and then explicitly join the pool. 18 December 2018, 22:54:33 UTC
05c9d31 bpo-31731: Fix test_io.check_interrupted_write() (GH-11225) Fix a race condition in check_interrupted_write() of test_io: create directly the thread with SIGALRM signal blocked, rather than blocking the signal later from the thread. Previously, it was possible that the thread gets the signal before the signal is blocked. 18 December 2018, 22:52:39 UTC
b5c8cfa bpo-23057: add loop self socket as wakeup fd for signals (#11135) 18 December 2018, 21:56:17 UTC
e3666fc bpo-35465: Document _UnixSelectorEventLoop.add_signal_handler. (GH-11145) 18 December 2018, 21:31:29 UTC
d2a75c6 bpo-35502: Fix reference leaks in ElementTree.TreeBuilder. (GH-11170) 18 December 2018, 20:29:14 UTC
60875db bpo-35516: platform.system_alias() don't replace Darwin (GH-11207) Add a comment explaining why system_alias() doesn't alias Darwin to macOS. 18 December 2018, 18:51:35 UTC
17d0c05 bpo-10496: distutils check_environ() handles getpwuid() error (GH-10931) check_environ() of distutils.utils now catchs KeyError on calling pwd.getpwuid(): don't create the HOME environment variable in this case. 18 December 2018, 15:17:56 UTC
e6b247c bpo-35523: Remove ctypes callback workaround (GH-11211) Remove ctypes callback workaround: no longer create a callback at startup. Avoid SELinux alert on "import ctypes" and "import uuid". 18 December 2018, 13:47:21 UTC
3fcc1e0 bpo-35461: Document C API functions which suppress exceptions. (GH-11119) 18 December 2018, 11:57:17 UTC
62a68b7 bpo-31784: Use time.time_ns() in uuid.uuid1() (GH-11189) uuid.uuid1() now calls time.time_ns() rather than int(time.time() * 1e9). Replace also int(nanoseconds/100) with nanoseconds // 100. Add an unit test. 18 December 2018, 10:45:13 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
back to top