summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix "catchs" typos in NEWS entries (GH-12364)Harmon2019-03-171-4/+4
|
* Fix typo in unittest.mock documentation: manger -> manager (GH-12352)Joan Massich2019-03-171-1/+1
|
* bpo-34745: Fix asyncio sslproto memory issues (GH-12386)Fantix King2019-03-173-0/+77
| | | | | | | | | | | | | | * Fix handshake timeout leak in asyncio/sslproto Refs MagicStack/uvloop#222 * Break circular ref _SSLPipe <-> SSLProtocol * bpo-34745: Fix asyncio ssl memory leak * Break circular ref SSLProtocol <-> UserProtocol * Add NEWS entry
* bpo-34160: Update news entry for XML order attributes (#12335)Diego Rojas2019-03-162-0/+6
|
* bpo-23216: IDLE: Add docstrings to search modules (GH-12141)Cheryl Sabella2019-03-164-39/+189
|
* bpo-35493: Use Process.sentinel instead of sleeping for polling worker ↵Pablo Galindo2019-03-162-11/+80
| | | | | | | | | | | | | | | | | | | | status in multiprocessing.Pool (#11488) * bpo-35493: Use Process.sentinel instead of sleeping for polling worker status in multiprocessing.Pool * Use self-pipe pattern to avoid polling for changes * Refactor some variable names and add comments * Restore timeout and poll * Use reader object only on wait() * Recompute worker sentinels every time * Remove timeout and use change notifier * Refactor some methods to be overloaded by the ThreadPool, document the cache class and fix typos
* bpo-35715: Liberate return value of _process_worker (GH-11514)Dave Chevell2019-03-162-0/+2
| | | | ProcessPoolExecutor workers will hold the return value of their last task in memory until the next task is received. Since the return value has already been propagated to the parent process's Future (or has been discarded by this point), the object can be safely released.
* Update the seealso entries for namedtuple() (GH-12373)Raymond Hettinger2019-03-162-8/+11
| | | | | | * Replace external recipe link with a link to the dataclasses module. * Highlight the class definition syntax for typing.NamedTuple and add an example for clarity.
* Minor grammar fix in docs (GH-12371)Raymond Hettinger2019-03-161-1/+1
|
* bpo-36127: Fix compiler warning in _PyArg_UnpackKeywords(). (GH-12353)Serhiy Storchaka2019-03-161-1/+1
|
* bpo-36138: Clarify docs about converting datetime.timedelta to scalars. ↵Yasser A2019-03-162-3/+6
| | | | | | (GH-12137) Be explicit that timedelta division converts an overall duration to the interval units given by the denominator.
* bpo-36124: Add PyInterpreterState.dict. (gh-12132)Eric Snow2019-03-155-2/+40
|
* bpo-36097: Use only public C-API in the_xxsubinterpreters module (adding as ↵Eric Snow2019-03-1512-393/+483
| | | | necessary). (gh-12359)
* bpo-33608: Deal with pending calls relative to runtime shutdown. (gh-12246)Eric Snow2019-03-153-22/+70
|
* Add the meaning of the returned value of PyTypeObject.tp_init (GH-12325)Stéphane Wirtel2019-03-151-0/+2
|
* bpo-33608: Fix PyEval_InitThreads() warning (GH-12346)Victor Stinner2019-03-151-1/+1
| | | | | | | | The function has no return value. Fix the following warning on Windows: python\ceval.c(180): warning C4098: 'PyEval_InitThreads': 'void' function returning a value
* bpo-36301: _PyCoreConfig_Read() ensures that argv is not empty (GH-12347)Victor Stinner2019-03-152-1/+8
| | | If argv is empty, add an empty string.
* bpo-36301: Add _PyWstrList structure (GH-12343)Victor Stinner2019-03-1511-345/+303
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace messy _Py_wstrlist_xxx() functions with a new clean _PyWstrList structure and new _PyWstrList_xxx() functions. Changes: * Add _PyCoreConfig.use_module_search_paths to decide if _PyCoreConfig.module_search_paths should be computed or not, to support empty search path list. * _PyWstrList_Clear() sets length to 0 and items to NULL, whereas _Py_wstrlist_clear() only freed memory. * _PyWstrList_Append() returns an int, whereas _Py_wstrlist_append() returned _PyInitError. * _PyWstrList uses Py_ssize_t for the length, instead of int. * Replace (int, wchar_t**) with _PyWstrList in: * _PyPreConfig * _PyCoreConfig * _PyPreCmdline * _PyCmdline * Replace "int orig_argv; wchar_t **orig_argv;" with "_PyWstrList orig_argv". * _PyCmdline and _PyPreCmdline now also copy wchar_argv. * Rename _PyArgv_Decode() to _PyArgv_AsWstrList(). * PySys_SetArgvEx() now pass the fixed (argc, argv) to _PyPathConfig_ComputeArgv0() (don't pass negative argc or NULL argv). * _PyOS_GetOpt() uses Py_ssize_t
* bpo-36235: Fix CFLAGS in distutils customize_compiler() (GH-12236)Victor Stinner2019-03-153-7/+18
| | | | | | | | | Fix CFLAGS in customize_compiler() of distutils.sysconfig: when the CFLAGS environment variable is defined, don't override CFLAGS variable with the OPT variable anymore. Initial patch written by David Malcolm. Co-Authored-By: David Malcolm <dmalcolm@redhat.com>
* bpo-36272: Logging now propagates RecursionError (GH-12312)Rémi Lapeyre2019-03-153-1/+22
|
* Correct the heading levels (GH-12338)Raymond Hettinger2019-03-151-2/+2
|
* Document actual string.punctuation value. (GH-12270)Andre Delfino2019-03-142-2/+2
|
* Fix typo duplicate period in a docstring in the zipfile module. (GH-12326)nick sung2019-03-141-1/+1
|
* bpo-30040: update news entry (GH-12324)Inada Naoki2019-03-141-1/+2
| | | This optimization is not only for space, but also for speed.
* Simplify overlap() formula for case where variances are equal (GH-12323)Raymond Hettinger2019-03-141-1/+1
|
* bpo-36127: Argument Clinic: inline parsing code for keyword parameters. ↵Serhiy Storchaka2019-03-1465-863/+7461
| | | | (GH-12058)
* bpo-36254: Fix yet one invalid use of %d in format string in C. (GH-12318)Serhiy Storchaka2019-03-141-1/+1
|
* bpo-36282: Improved error message for too much positional arguments. (GH-12310)Serhiy Storchaka2019-03-133-2/+4
|
* bpo-36254: Fix invalid uses of %d in format strings in C. (GH-12264)Serhiy Storchaka2019-03-1320-35/+35
|
* bpo-36280: Add Constant.kind field (GH-12295)Guido van Rossum2019-03-136-60/+142
| | | | | | | | | | | | | | The value is a string for string and byte literals, None otherwise. It is 'u' for u"..." literals, 'b' for b"..." literals, '' for "..." literals. The 'r' (raw) prefix is ignored. Does not apply to f-strings. This appears sufficient to make mypy capable of using the stdlib ast module instead of typed_ast (assuming a mypy patch I'm working on). WIP: I need to make the tests pass. @ilevkivskyi @serhiy-storchaka https://bugs.python.org/issue36280
* bpo-31904: Adapt the _signal module to VxWorks RTOS (GH-12304)pxinwr2019-03-132-0/+8
| | | Limited signal fields in VxWorks.
* bpo-36262: Fix _Py_dg_strtod() memory leak (goto undfl) (GH-12276)Victor Stinner2019-03-132-54/+28
| | | | | | | | | | | | Fix an unlikely memory leak on conversion from string to float in the function _Py_dg_strtod() used by float(str), complex(str), pickle.load(), marshal.load(), etc. Fix an unlikely memory leak in _Py_dg_strtod() on "undfl:" label: rewrite memory management in this function to always release all memory before exiting the function. Initialize variables to NULL, and set them to NULL after calling Bfree() at the "cont:" label. Note: Bfree(NULL) is well defined: it does nothing.
* Fix stepping into a frame without a __name__ (GH-12064)Anthony Sottile2019-03-133-0/+11
|
* bpo-35661: Fix failing test on buildbot (GH-12297)Cheryl Sabella2019-03-131-4/+6
|
* bpo-36174: Update nuget authoring for new license field. (GH-12300)Steve Dower2019-03-124-9/+4
|
* Correct minor edit to news entry. (GH-12298)Ned Deily2019-03-121-1/+1
|
* bpo-36264: Updates documentation for change to expanduser on Windows (GH-12294)Steve Dower2019-03-122-4/+15
|
* Minor edits to news entries (ported from 3.7) (GH-12293)Ned Deily2019-03-122-10/+10
|
* bpo-36264: Don't honor POSIX HOME in os.path.expanduser on Windows (GH-12282)Anthony Sottile2019-03-126-14/+17
|
* canonicalize "Inada Naoki" in ACKS and 3.8 News (GH-12286)Inada Naoki2019-03-122-2/+2
|
* bpo-30040: new empty dict uses key-sharing dict (GH-1080)Inada Naoki2019-03-124-8/+13
| | | | Sizeof new empty dict becomes 72 bytes from 240 bytes (amd64). It is same size to empty dict created by dict.clear().
* bpo-35892: Fix mode() and add multimode() (#12089)Raymond Hettinger2019-03-124-48/+97
|
* bpo-35931: Gracefully handle any exception in pdb debug command (GH-12103)Daniel Hahler2019-03-123-11/+24
| | | | This is relevant for `debug doesnotexist()`, which would crash with a NameError otherwise.
* bpo-35132: Fixes missing target in gdb pep0393 check. (GH-11848)Lisa Roach2019-03-122-1/+2
|
* Doc: Fix inconsistency in multiprocessing (GH-12273)Julien Palard2019-03-111-1/+1
|
* bpo-36234: Add more tests to PosixUidGidTests (GH-12234)Victor Stinner2019-03-112-8/+22
| | | | | | | | | | test_posix.PosixUidGidTests: * Add tests for invalid uid/gid type (str) * Add UID_OVERFLOW and GID_OVERFLOW constants to replace (1 << 32) Initial patch written by David Malcolm. Co-Authored-By: David Malcolm <dmalcolm@redhat.com>
* Various refinements to the NormalDist examples and recipes (GH-12272)Raymond Hettinger2019-03-111-23/+26
|
* bpo-36176: Fix IDLE autocomplete & calltip popup colors. (#12262)Terry Jan Reedy2019-03-114-3/+10
| | | | Prevent conflicts with Linux dark themes (and slightly darken calltip background).
* bpo-35647: Fix path check in cookiejar (#11436)Xtreak2019-03-103-5/+36
| | | | | | | | | | | | * Refactor cookie path check as per RFC 6265 * Add tests for prefix match of path * Add news entry * Fix set_ok_path and refactor tests * Use slice for last letter
* bpo-21314: Add a FAQ entry about positional only parameters (GH-10641)Lysandros Nikolaou2019-03-104-0/+47
|