Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-36352: Clarify fileutils.h documentation (GH-12406) | Victor Stinner | 2019-03-18 | 2 | -17/+30 |
| | | | | | | | The last parameter of _Py_wreadlink(), _Py_wrealpath() and _Py_wgetcwd() is a length, not a size: number of characters including the trailing NUL character. Enhance also documentation of error conditions. | ||||
* | bpo-36235: Enhance distutils test_customize_compiler() (GH-12403) | Victor Stinner | 2019-03-18 | 1 | -13/+79 |
| | | | | The test test_customize_compiler() now mocks all sysconfig variables and all environment variables used by customize_compiler(). | ||||
* | bpo-36328: Fix compiler warning in Py_NewInterpreter() (GH-12381) | Stéphane Wirtel | 2019-03-18 | 1 | -1/+1 |
| | |||||
* | bpo-36332: Allow compile() to handle AST objects with assignment expressions ↵ | Pablo Galindo | 2019-03-18 | 3 | -3/+17 |
| | | | | | | (GH-12398) | ||||
* | bpo-30040: optimize inserting into empty dict (GH-12307) | Inada Naoki | 2019-03-18 | 1 | -2/+49 |
| | |||||
* | bpo-36329: Declare the version of Python to use for Tools/scripts/serve.py ↵ | Stéphane Wirtel | 2019-03-18 | 2 | -1/+4 |
| | | | | | | | | (#12385) * bpo-36329: Declare the version of Python to use for Tools/scripts/serve.py * Add the blurb entry | ||||
* | bpo-36307: Travis: upgrade to Xenial environment (GH-12356) | CAM Gerlach | 2019-03-18 | 1 | -2/+1 |
| | |||||
* | Fix typo in _PyObject_FastCallDict documentation (GH-12383) | Rémi Lapeyre | 2019-03-18 | 1 | -1/+1 |
| | |||||
* | bpo-36321: Fix misspelled attribute in namedtuple() (GH-12375) | Raymond Hettinger | 2019-03-18 | 4 | -8/+15 |
| | |||||
* | bpo-36297: remove "unicode_internal" codec (GH-12342) | Inada Naoki | 2019-03-18 | 12 | -530/+41 |
| | |||||
* | Fix "catchs" typos in NEWS entries (GH-12364) | Harmon | 2019-03-17 | 1 | -4/+4 |
| | |||||
* | Fix typo in unittest.mock documentation: manger -> manager (GH-12352) | Joan Massich | 2019-03-17 | 1 | -1/+1 |
| | |||||
* | bpo-34745: Fix asyncio sslproto memory issues (GH-12386) | Fantix King | 2019-03-17 | 3 | -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 Rojas | 2019-03-16 | 2 | -0/+6 |
| | |||||
* | bpo-23216: IDLE: Add docstrings to search modules (GH-12141) | Cheryl Sabella | 2019-03-16 | 4 | -39/+189 |
| | |||||
* | bpo-35493: Use Process.sentinel instead of sleeping for polling worker ↵ | Pablo Galindo | 2019-03-16 | 2 | -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 Chevell | 2019-03-16 | 2 | -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 Hettinger | 2019-03-16 | 2 | -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 Hettinger | 2019-03-16 | 1 | -1/+1 |
| | |||||
* | bpo-36127: Fix compiler warning in _PyArg_UnpackKeywords(). (GH-12353) | Serhiy Storchaka | 2019-03-16 | 1 | -1/+1 |
| | |||||
* | bpo-36138: Clarify docs about converting datetime.timedelta to scalars. ↵ | Yasser A | 2019-03-16 | 2 | -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 Snow | 2019-03-15 | 5 | -2/+40 |
| | |||||
* | bpo-36097: Use only public C-API in the_xxsubinterpreters module (adding as ↵ | Eric Snow | 2019-03-15 | 12 | -393/+483 |
| | | | | necessary). (gh-12359) | ||||
* | bpo-33608: Deal with pending calls relative to runtime shutdown. (gh-12246) | Eric Snow | 2019-03-15 | 3 | -22/+70 |
| | |||||
* | Add the meaning of the returned value of PyTypeObject.tp_init (GH-12325) | Stéphane Wirtel | 2019-03-15 | 1 | -0/+2 |
| | |||||
* | bpo-33608: Fix PyEval_InitThreads() warning (GH-12346) | Victor Stinner | 2019-03-15 | 1 | -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 Stinner | 2019-03-15 | 2 | -1/+8 |
| | | | If argv is empty, add an empty string. | ||||
* | bpo-36301: Add _PyWstrList structure (GH-12343) | Victor Stinner | 2019-03-15 | 11 | -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 Stinner | 2019-03-15 | 3 | -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 Lapeyre | 2019-03-15 | 3 | -1/+22 |
| | |||||
* | Correct the heading levels (GH-12338) | Raymond Hettinger | 2019-03-15 | 1 | -2/+2 |
| | |||||
* | Document actual string.punctuation value. (GH-12270) | Andre Delfino | 2019-03-14 | 2 | -2/+2 |
| | |||||
* | Fix typo duplicate period in a docstring in the zipfile module. (GH-12326) | nick sung | 2019-03-14 | 1 | -1/+1 |
| | |||||
* | bpo-30040: update news entry (GH-12324) | Inada Naoki | 2019-03-14 | 1 | -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 Hettinger | 2019-03-14 | 1 | -1/+1 |
| | |||||
* | bpo-36127: Argument Clinic: inline parsing code for keyword parameters. ↵ | Serhiy Storchaka | 2019-03-14 | 65 | -863/+7461 |
| | | | | (GH-12058) | ||||
* | bpo-36254: Fix yet one invalid use of %d in format string in C. (GH-12318) | Serhiy Storchaka | 2019-03-14 | 1 | -1/+1 |
| | |||||
* | bpo-36282: Improved error message for too much positional arguments. (GH-12310) | Serhiy Storchaka | 2019-03-13 | 3 | -2/+4 |
| | |||||
* | bpo-36254: Fix invalid uses of %d in format strings in C. (GH-12264) | Serhiy Storchaka | 2019-03-13 | 20 | -35/+35 |
| | |||||
* | bpo-36280: Add Constant.kind field (GH-12295) | Guido van Rossum | 2019-03-13 | 6 | -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) | pxinwr | 2019-03-13 | 2 | -0/+8 |
| | | | Limited signal fields in VxWorks. | ||||
* | bpo-36262: Fix _Py_dg_strtod() memory leak (goto undfl) (GH-12276) | Victor Stinner | 2019-03-13 | 2 | -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 Sottile | 2019-03-13 | 3 | -0/+11 |
| | |||||
* | bpo-35661: Fix failing test on buildbot (GH-12297) | Cheryl Sabella | 2019-03-13 | 1 | -4/+6 |
| | |||||
* | bpo-36174: Update nuget authoring for new license field. (GH-12300) | Steve Dower | 2019-03-12 | 4 | -9/+4 |
| | |||||
* | Correct minor edit to news entry. (GH-12298) | Ned Deily | 2019-03-12 | 1 | -1/+1 |
| | |||||
* | bpo-36264: Updates documentation for change to expanduser on Windows (GH-12294) | Steve Dower | 2019-03-12 | 2 | -4/+15 |
| | |||||
* | Minor edits to news entries (ported from 3.7) (GH-12293) | Ned Deily | 2019-03-12 | 2 | -10/+10 |
| | |||||
* | bpo-36264: Don't honor POSIX HOME in os.path.expanduser on Windows (GH-12282) | Anthony Sottile | 2019-03-12 | 6 | -14/+17 |
| | |||||
* | canonicalize "Inada Naoki" in ACKS and 3.8 News (GH-12286) | Inada Naoki | 2019-03-12 | 2 | -2/+2 |
| |