Staging
v0.8.1
https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
b56becb Remove outdated .pyo reference from msilib docs (GH-4461) Since f299abdafa0f2b6eb7abae274861b19b361c96bc the remove_pyc() method no longer tries to remove .pyo files. 19 November 2017, 10:04:25 UTC
7750bde Document parameters of BaseServer.finish_request() (GH-4445) 19 November 2017, 07:33:37 UTC
0c71653 [Doc] Update opcode for var-positional arguments (#4446) `BUILD_MAP_UNPACK_WITH_CALL` was duplicated as the opcode for both var-positional and var-keyword arguments. The opcode for the former was updated as `BUILD_TUPLE_UNPACK_WITH_CALL`. 18 November 2017, 22:49:15 UTC
ebfaa71 bpo-32031: Fix pydoc `test_mixed_case_module_names_are_lower_cased` (GH-4441) When there is a symlink in the directory path of the standard library. 18 November 2017, 17:20:21 UTC
d34d8fc bpo-29185: Fix `test_distutils` failures on Android (GH-4438) * Run gzip with separate command line options (Android understands '-f9' as the name of a file). * Creation of a hard link is controled by SELinux on Android. 18 November 2017, 17:17:16 UTC
9001d1f bpo-29184: Skip test_socketserver tests on PermissionError raised by Android (GH-4387) 18 November 2017, 17:10:53 UTC
51d546a bpo-32069: Drop legacy SSL transport (#4451) * Drop legacy SSL transport * Drop unused import * Fix Windows tests * Drop never executed on Python 3.4+ code 18 November 2017, 16:54:05 UTC
f02f5e5 bpo-31867: Remove duplicates in default mimetypes. (#4388) 17 November 2017, 10:10:19 UTC
f2ddc6a tokenizer: Remove unused tabs options (#4422) Remove the following fields from tok_state structure which are now used unused: * altwarning: "Issue warning if alternate tabs don't match" * alterror: "Issue error if alternate tabs don't match" * alttabsize: "Alternate tab spacing" Replace alttabsize variable with ALTTABSIZE define. 17 November 2017, 09:25:47 UTC
fd0fa67 bpo-31691: Specify where to find build instructions for the Windows installer (#4426) 16 November 2017, 23:56:27 UTC
d505a29 Fix typo in atexit documentation. (GH-4419) `kargs` -> `kwargs` 16 November 2017, 16:48:52 UTC
cede8c9 bpo-31702: Allow to specify rounds for SHA-2 hashing in crypt.mksalt(). (#4110) The log_rounds parameter for Blowfish has been replaced with the rounds parameter. 16 November 2017, 11:22:51 UTC
ccb0442 bpo-32043: New "developer mode": "-X dev" option (#4413) Add a new "developer mode": new "-X dev" command line option to enable debug checks at runtime. Changes: * Add unit tests for -X dev * test_cmd_line: replace test.support with support. * Fix _PyRuntimeState_Fini(): Use the same memory allocator than _PyRuntimeState_Init(). * Fix _PyMem_GetDefaultRawAllocator() 16 November 2017, 11:20:31 UTC
05cb728 bpo-30349: Raise FutureWarning for nested sets and set operations (#1553) in regular expressions. 16 November 2017, 10:38:26 UTC
3daaafb bpo-32037: Use the INT opcode for 32-bit integers in protocol 0 pickles. (#4407) 16 November 2017, 07:44:43 UTC
0a2abdf bpo-30143: 2to3 now generates a code that uses abstract collection classes (#1262) from collections.abc rather than collections. 16 November 2017, 07:16:24 UTC
a7368ac bpo-32030: Enhance Py_Main() (#4412) Parse more env vars in Py_Main(): * Add more options to _PyCoreConfig: * faulthandler * tracemalloc * importtime * Move code to parse environment variables from _Py_InitializeCore() to Py_Main(). This change fixes a regression from Python 3.6: PYTHONUNBUFFERED is now read before calling pymain_init_stdio(). * _PyFaulthandler_Init() and _PyTraceMalloc_Init() now take an argument to decide if the module has to be enabled at startup. * tracemalloc_start() is now responsible to check the maximum number of frames. Other changes: * Cleanup Py_Main(): * Rename some pymain_xxx() subfunctions * Add pymain_run_python() subfunction * Cleanup Py_NewInterpreter() * _PyInterpreterState_Enable() now reports failure * init_hash_secret() now considers pyurandom() failure as an "user error": don't fail with abort(). * pymain_optlist_append() and pymain_strdup() now sets err on memory allocation failure. 16 November 2017, 02:11:45 UTC
f7e5b56 bpo-32030: Split Py_Main() into subfunctions (#4399) * Don't use "Python runtime" anymore to parse command line options or to get environment variables: pymain_init() is now a strict separation. * Use an error message rather than "crashing" directly with Py_FatalError(). Limit the number of calls to Py_FatalError(). It prepares the code to handle errors more nicely later. * Warnings options (-W, PYTHONWARNINGS) and "XOptions" (-X) are now only added to the sys module once Python core is properly initialized. * _PyMain is now the well identified owner of some important strings like: warnings options, XOptions, and the "program name". The program name string is now properly freed at exit. pymain_free() is now responsible to free the "command" string. * Rename most methods in Modules/main.c to use a "pymain_" prefix to avoid conflits and ease debug. * Replace _Py_CommandLineDetails_INIT with memset(0) * Reorder a lot of code to fix the initialization ordering. For example, initializing standard streams now comes before parsing PYTHONWARNINGS. * Py_Main() now handles errors when adding warnings options and XOptions. * Add _PyMem_GetDefaultRawAllocator() private function. * Cleanup _PyMem_Initialize(): remove useless global constants: move them into _PyMem_Initialize(). * Call _PyRuntime_Initialize() as soon as possible: _PyRuntime_Initialize() now returns an error message on failure. * Add _PyInitError structure and following macros: * _Py_INIT_OK() * _Py_INIT_ERR(msg) * _Py_INIT_USER_ERR(msg): "user" error, don't abort() in that case * _Py_INIT_FAILED(err) 15 November 2017, 23:48:08 UTC
43605e6 bpo-32034: Make IncompleteReadError & LimitOverrunError pickleable #4409 15 November 2017, 22:14:28 UTC
4bd41c9 bpo-32025: Add time.thread_time() (#4410) * bpo-32025: Add time.thread_time() * Add missing #endif * Add NEWS blurb * Add docs and whatsnew * Address review comments * Review comments 15 November 2017, 21:52:21 UTC
762b957 bpo-32018: Fix inspect.signature repr to follow PEP 8 (#4408) 15 November 2017, 18:30:59 UTC
f8a4c03 bpo-30399: Get rid of trailing comma in the repr of BaseException. (#1650) 15 November 2017, 15:53:28 UTC
aca7f57 bpo-30950: Convert round() to Argument Clinic. (#2740) 15 November 2017, 15:51:14 UTC
00987f6 bpo-32011: Revert "Issue #15480: Remove the deprecated and unused TYPE_INT64 code from marshal." (#4381) Simplify the reverted code. This reverts commit e9bbe8b87ba2874efba0474af5cc7d5941dbf742. 15 November 2017, 15:41:05 UTC
ddbce13 bpo-32023: Disallow genexprs without parenthesis in class definitions. (#4400) 15 November 2017, 15:39:37 UTC
edad8ee bpo-31949: Fixed several issues in printing tracebacks (PyTraceBack_Print()). (#4289) * Setting sys.tracebacklimit to 0 or less now suppresses printing tracebacks. * Setting sys.tracebacklimit to None now causes using the default limit. * Setting sys.tracebacklimit to an integer larger than LONG_MAX now means using the limit LONG_MAX rather than the default limit. * Fixed integer overflows in the case of more than 2**31 traceback items on Windows. * Fixed output errors handling. 15 November 2017, 15:38:52 UTC
6545256 bpo-32032: Test both implementations of module-level pickle API. (#4401) 15 November 2017, 12:01:08 UTC
2ae4ad7 Changed lambda to str.strip in _strip_spaces in logging.config (#4332) 15 November 2017, 09:28:11 UTC
9165f77 bpo-32012: Disallow trailing comma after genexpr without parenthesis. (#4382) 15 November 2017, 06:49:40 UTC
3bda022 bpo-31948: Fix broken links in msilib docs (GH-4397) 14 November 2017, 23:06:15 UTC
b0b44b4 bpo-15606: Improve the re.VERBOSE documentation. (#4366) 14 November 2017, 15:21:26 UTC
e1d62e0 bpo-32015: Asyncio looping during simultaneously socket read/write an… (#4386) * bpo-32015: Asyncio cycling during simultaneously socket read/write and reconnection * Tests fix * Tests fix * News add * Add new unit tests 14 November 2017, 09:18:59 UTC
56935a5 bpo-32020: arraymodule: Correct missing Py_DECREF in failure case of make_array() (#4391) 14 November 2017, 06:00:54 UTC
28b6248 bpo-16055: Fixes incorrect error text for int('1', base=1000) (#4376) * bpo-16055: Fixes incorrect error text for int('1', base=1000) * bpo-16055: Address review comments 13 November 2017, 21:49:26 UTC
9b6c60c bpo-31979: Simplify transforming decimals to ASCII (#4336) in int(), float() and complex() parsers. This also speeds up parsing non-ASCII numbers by around 20%. 13 November 2017, 19:23:48 UTC
ce12629 bpo-28369: Enhance transport socket check in add_reader/writer (#4365) 13 November 2017, 18:38:22 UTC
f76231f bpo-32013: _pickle: Add missing Py_DECREF in error case in fast_save_enter() (#4384) 13 November 2017, 07:50:16 UTC
8acaa31 remove detect_math_libs (#4383) Darwin may not require libm, but it doesn't hurt to link it and simplifies configuration logic. 13 November 2017, 04:53:39 UTC
d7d4fea bpo-29181: Skip test_tarfile tests on PermissionError raised by Android (GH-4375) 12 November 2017, 17:02:06 UTC
6a55d09 bpo-29180: Skip test_os tests on PermissionError raised by Android (GH-4374) 12 November 2017, 16:57:04 UTC
92c2ca7 bpo-28759: Skip some tests on PermissionError raised by Android (GH-4350) Access to mkfifo(), mknod() and hard link creation is controled by SELinux on Android. Also remove test.support.android_not_root. 12 November 2017, 16:31:07 UTC
e0582a3 bpo-30696: Fix the REPL looping endlessly when no memory (GH-4160) 12 November 2017, 15:50:48 UTC
1588be6 bpo-28180: Fix the implementation of PEP 538 on Android (GH-4334) 12 November 2017, 11:45:59 UTC
9e78dc2 Move comments in configure.ac to more appropriate place. (#4371) 11 November 2017, 17:18:28 UTC
e197a85 The termios man page is in section 3 (GH-2450) 11 November 2017, 16:40:26 UTC
7c9da3e Remove redundant 'exc = True' line (GH-4357) It can be removed after https://github.com/python/peps/commit/c28890fb421c906241da6da718f9eacc5a3109ee 11 November 2017, 14:55:05 UTC
bba2239 bpo-31572: Get rid of _PyObject_HasAttrId() in the ASDL parser. (#3725) Silence only expected AttributeError. 11 November 2017, 14:41:32 UTC
60c3d35 bpo-31572: Get rid of _PyObject_HasAttrId() in dict and OrderedDict. (#3728) Silence only AttributeError when get "key" and "items" attributes in the constructor and the update() method of dict and OrderedDict . 11 November 2017, 14:19:56 UTC
1707e40 bpo-31572: Silence only AttributeError when get the __copy__ attribute in itertools.tee(). (#3724) 11 November 2017, 13:51:42 UTC
d4f8480 bpo-31572: Don't silence unexpected errors in the _warnings module. (#3731) Get rid of _PyObject_HasAttrId() and PyDict_GetItemString(). Silence only expected AttributeError, KeyError and ImportError when get an attribute, look up in a dict or import a module. 11 November 2017, 13:19:47 UTC
e2f92de Add the const qualifier to "char *" variables that refer to literal strings. (#4370) 11 November 2017, 11:06:26 UTC
e184cfd bpo-31824: Document default value of 'errors' parameters (GH-4328) 10 November 2017, 23:05:12 UTC
9703f09 bpo-31976: Fix race condition when flushing a file is slow. (#4331) 10 November 2017, 21:03:40 UTC
4652bf2 Rewrite asyncio test to be more meaningful (#4363) 10 November 2017, 20:34:17 UTC
9f914a0 bpo-31985: Deprecate openfp in aifc, sunau, and wave (#4344) The openfp functions of aifp, sunau, and wave had pointed to the open function of each module since 1993 as a matter of backwards compatibility. In the case of aifc.openfp, it was both undocumented and untested. This change begins the formal deprecation of those openfp functions, with their removal coming in 3.9. This additionally adds a TODO in test_pyclbr around using aifc.openfp, though it shouldn't be changed until removal in 3.9. 10 November 2017, 16:38:25 UTC
5e0df74 bpo-31999: Fix test_venv in case the zlib module is not available. (#4359) 10 November 2017, 10:09:39 UTC
a1718bc bpo-31998: Fix test_zipapp in case the zlib module is not available. (#4358) 10 November 2017, 10:09:24 UTC
191e993 bpo-31222: Make (datetime|date|time).replace return subclass type in Pure Python (#4176) 09 November 2017, 21:34:29 UTC
72fa301 Fix phrasing in Doc/whatsnew/3.7.rst (GH-4318) 09 November 2017, 18:58:59 UTC
01ae58d Correct the location of a function mentioned in a comment (GH-4327) 09 November 2017, 16:55:34 UTC
d318715 bpo-31927: Fix bugs in socketmodule.c on NetBSD and other issues. (#4235) * Fix compilation of the socket module on NetBSD 8. * Fix the assertion failure or reading arbitrary data when parse a AF_BLUETOOTH address on NetBSD and DragonFly BSD. * Fix other potential errors and make the code more reliable. 09 November 2017, 16:00:38 UTC
0a2ff23 Silence error output in test_concurrent_futures (bpo-21423) (#4347) * Silence error output in test_concurrent_futures (bpo-21423) 09 November 2017, 14:33:43 UTC
8c663fd Replace KB unit with KiB (#4293) kB (*kilo* byte) unit means 1000 bytes, whereas KiB ("kibibyte") means 1024 bytes. KB was misused: replace kB or KB with KiB when appropriate. Same change for MB and GB which become MiB and GiB. Change the output of Tools/iobench/iobench.py. Round also the size of the documentation from 5.5 MB to 5 MiB. 08 November 2017, 22:44:44 UTC
0e163d2 bpo-11063: Use more reliable way to check if uuid function exists (GH-4343) 08 November 2017, 21:43:14 UTC
9a10ff4 bpo-11063: Add a configure check for uuid_generate_time_safe (GH-4287) 08 November 2017, 20:09:16 UTC
bf9d317 bpo-31810: added missing keywords to docs. (#4140) async and await keywords has been merged into upstream, but they are all missing in the lexical analysis docs. This change adds them to the appropriate keywords section in documentation. 08 November 2017, 17:31:26 UTC
2138163 bpo-29179: Document the Py_UNUSED macro (#4341) Py_UNUSED has a public name, and is used in the wild outside CPython, but was not documented. Rectify that. The macro was added in bpo-19976 and referenced in bpo-26179. 08 November 2017, 15:59:20 UTC
0de9285 bpo-31934: Abort when building out of a not clean source tree (GH-4255) 08 November 2017, 15:03:58 UTC
b5d9e08 bpo-31884 subprocess: add Windows constants for process priority (#4150) 08 November 2017, 14:18:59 UTC
54cc0c0 bpo-31338: C API intro: add missing versionadded (#4339) 08 November 2017, 14:06:24 UTC
28ab3ce Fix broken link in Doc/whatsnew/3.7.rst (GH-4335) 08 November 2017, 13:36:58 UTC
8bf288e Docs: Mention that Py_UNREACHABLE was added in 3.7 (#4337) The macro was added for bpo-31338 in commit b2e5794870eb4728ddfaafc0f79a40299576434f 08 November 2017, 13:11:16 UTC
7973e27 bpo-21862: Add -m option to cProfile for profiling modules (#4297) * bpo-21862: Add -m option to cProfile for profiling modules 08 November 2017, 10:50:56 UTC
4fc4def Remove unused var from CheckCancelOperation test (GH-4317) It looks like this was copied from one of the previous tests, which did use it. 07 November 2017, 21:06:55 UTC
5a8a84b Added :const:`mmap.ACCESS_DEFAULT` constant. (#4093) 07 November 2017, 20:51:43 UTC
c62f0cb bpo-31620: have asyncio/queues not leak memory when you've exceptions during waiting (#3813) 07 November 2017, 17:35:23 UTC
c060c7e Fix a typo (#4323) 07 November 2017, 17:05:15 UTC
5a66c8a bpo-31793: Doc: Specialize smart-quotes for Japanese (GH-4006) 07 November 2017, 16:46:50 UTC
921e943 bpo-31970: Reduce performance overhead of asyncio debug mode. (#4314) * bpo-31970: Reduce performance overhead of asyncio debug mode. 07 November 2017, 16:23:29 UTC
1e5d54c bpo-31965: fix doc for multiprocessing.connection.Client and Listener (#4304) * fix doc for multiprocessing.connection.Client The authenticate argument does not exist on either Client or Listener: - https://github.com/python/cpython/blob/master/Lib/multiprocessing/connection.py#L483 (master) - https://github.com/python/cpython/blob/3.6/Lib/multiprocessing/connection.py#L478 (3.6) - https://github.com/python/cpython/blob/3.5/Lib/multiprocessing/connection.py#L478 (3.5) - https://github.com/python/cpython/blob/3.4/Lib/multiprocessing/connection.py#L487 (3.4) The documentation also claimed that these functions will call `current_process().auth_key`, for which I could find no evidence in the code. I rewrote the documentation to reflect the actual behavior. Also made some small changes to vary sentence structure. 07 November 2017, 16:13:02 UTC
22b1128 bpo-31960: Fix asyncio.Future documentation for thread (un)safety. (#4319) 07 November 2017, 16:03:28 UTC
39a156c Fix the sizeof test for dicts with shared keys. (#4311) By accident the size of the empty dict keys object matched the size of values array. 07 November 2017, 13:08:09 UTC
a935654 bpo-20486: Implement Database.Close() method in msilib (GH-4141) 07 November 2017, 12:58:53 UTC
3cc4c53 bpo-31626: Mark ends of the reallocated block in debug build. (#4210) Few bytes at the begin and at the end of the reallocated blocks, as well as the header and the trailer, now are erased before calling realloc() in debug build. This will help to detect using or double freeing the reallocated block. 07 November 2017, 10:46:42 UTC
cb04f75 Fix a memory leak in _msi.c (#4127) 07 November 2017, 10:03:09 UTC
4135c89 bpo-31950: Improve event loop policy doc (#4306) 07 November 2017, 09:26:32 UTC
69cfed1 Add asyncio.Handle.cancelled() method (#2388) 07 November 2017, 09:06:05 UTC
088929c bpo-31415: Improve error handling and caching of the importtime option. (#4138) 07 November 2017, 06:55:38 UTC
31af650 bpo-28791: Update Windows builds to use SQLite 3.21.0. (GH-4246) 07 November 2017, 03:31:53 UTC
962e2a7 Fix a minor typo and hyphenate "multi-threading" (#4237) 07 November 2017, 02:18:40 UTC
a22a127 bpo-31843: sqlite3.connect() now accepts PathLike objects as database name (#4299) 07 November 2017, 00:47:43 UTC
edb13ae bpo-31764: Prevent a crash in sqlite3.Cursor.close() in case the Cursor object is uninitialized (#3958) 07 November 2017, 00:09:49 UTC
e56ab74 bpo-31770: Prevent a crash and refleaks when calling sqlite3.Cursor.__init__() more than once (#3968) 07 November 2017, 00:01:47 UTC
ad455cd bpo-31945: Configurable blocksize in HTTP(S)Connection (#4279) blocksize was hardcoded to 8192, preventing efficient upload when using file-like body. Add blocksize argument to __init__, so users can configure the blocksize to fit their needs. I tested this uploading data from /dev/zero to a web server dropping the received data, to test the overhead of the HTTPConnection.send() with a file-like object. Here is an example 10g upload with the default buffer size (8192): $ time ~/src/cpython/release/python upload-httplib.py 10 https://localhost:8000/ Uploaded 10.00g in 17.53 seconds (584.00m/s) real 0m17.574s user 0m8.887s sys 0m5.971s Same with 512k blocksize: $ time ~/src/cpython/release/python upload-httplib.py 10 https://localhost:8000/ Uploaded 10.00g in 6.60 seconds (1551.15m/s) real 0m6.641s user 0m3.426s sys 0m2.162s In real world usage the difference will be smaller, depending on the local and remote storage and the network. See https://github.com/nirs/http-bench for more info. 06 November 2017, 21:16:37 UTC
30f4fa4 bpo-31957: Fixes version detection. (#4298) 06 November 2017, 20:52:09 UTC
7e666ee Remove outdated with_threads checks in configure.ac (GH-4294) 06 November 2017, 16:06:05 UTC
a5293b4 Fix miscellaneous typos (#4275) 05 November 2017, 13:37:50 UTC
cf29653 bpo-28994: PyErr_NormalizeException() no longer use C stack for recursion. (#2035) MemoryError raised when normalizing a RecursionError raised during exception normalization now not always causes a fatal error. 05 November 2017, 09:27:48 UTC
1b46131 bpo-22257: Mention startup refactoring in What's New (GH-4286) While technically a purely internal change, bpo-31845 was a fairly significant externally visible bug caused by these changes (environment variable based configuration was being ignored due to a change in the relative order of reading the environment and reading command line settings, and the test suite was only testing the command line options) Hence this note to essentially say "If you see odd startup problems in 3.7 that you've never seen in previous releases, it's probably our fault, so let us know, and we'll fix it". 05 November 2017, 04:58:45 UTC
aed0856 bpo-31609: Fixes quotes in PCbuild/clean.bat (#4280) 04 November 2017, 23:29:03 UTC
back to top