Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-36900: Replace global conf vars with config (GH-13299) | Victor Stinner | 2019-05-14 | 9 | -37/+51 |
| | | | | | | Replace global configuration variables with core_config read from the current interpreter. Cleanup dynload_hpux.c. | ||||
* | bpo-36915: regrtest always remove tempdir of worker processes (GH-13312) | Victor Stinner | 2019-05-14 | 3 | -44/+69 |
| | | | | | | | | | When using multiprocessing (-jN option), worker processes now create their temporary directory inside the temporary directory of the main process. So the main process is able to remove temporary directories of worker processes even if they crash or when they are killed by regrtest on KeyboardInterrupt (CTRL+c). Rework also how multiprocessing arguments are parsed in main.py. | ||||
* | Change WriterObj.writeline to WriterObj.write (GH-12344) | Rémi Lapeyre | 2019-05-14 | 1 | -10/+12 |
| | | | This cleans the csv module a bit, I don't think it requires a bpo issue or a news entry. | ||||
* | bpo-32995 - Added context variable in glossary (GH-9741) | Vinodhini Balusamy | 2019-05-14 | 2 | -0/+10 |
| | |||||
* | bpo-36797: Prune more legacy distutils documentation (GH-13092) | Nick Coghlan | 2019-05-14 | 14 | -70/+60 |
| | | | | | | Removes more legacy distutils documentation, and more clearly marks what is left as potentially outdated, with references to setuptools as a replacement. | ||||
* | Doc: Update pip and setuptools when creating the virtual environment (GH-13307) | Stéphane Wirtel | 2019-05-14 | 1 | -0/+1 |
| | | | Add a new pip install before `sphinx` etc.. because we should use the last version of `pip` and `setuptools` | ||||
* | bpo-36845: validate integer network prefix when constructing IP networks ↵ | Nicolai Moore | 2019-05-14 | 4 | -0/+23 |
| | | | | (GH-13298) | ||||
* | bpo-27987: pymalloc: align by 16bytes on 64bit platform (GH-12850) | Inada Naoki | 2019-05-14 | 2 | -0/+9 |
| | |||||
* | bpo-36719: Fix regrtest MultiprocessThread (GH-13301) | Victor Stinner | 2019-05-14 | 1 | -4/+55 |
| | | | | MultiprocessThread.kill() now closes stdout and stderr to prevent popen.communicate() to hang. | ||||
* | Simplify the ``LastUpdatedOrderedDict`` example recipe (GH-13296) | wim glenn | 2019-05-13 | 1 | -1/+1 |
| | |||||
* | bpo-34424: Handle different policy.linesep lengths correctly. (#8803) | Jens Troeger | 2019-05-13 | 3 | -1/+25 |
| | |||||
* | bpo-35138: Added an example for timeit.timeit with callable arguments (GH-9787) | Anders Hovmöller | 2019-05-13 | 1 | -1/+5 |
| | | | | * Update timeit.rst | ||||
* | bpo-36895: Undocument removed time.clock (GH-13286) | Matthias Bussonnier | 2019-05-13 | 2 | -24/+4 |
| | |||||
* | bpo-36867: Create the resource_tracker before launching SharedMemoryManagers ↵ | Pierre Glaser | 2019-05-13 | 3 | -14/+54 |
| | | | | (GH-13276) | ||||
* | Docs: Add bz2 usage examples (GH-13258) | Brad | 2019-05-13 | 1 | -5/+79 |
| | | | | | | | | | | * Docs: Add bz2 usage examples - Adds an "Examples of usage" section inspired by the one found in the gzip docs - Corrects the descriptions for ``compresslevel`` and ``data``: - ``compresslevel`` must be an `int`, not any number. For instance, passing a float will raise ``TypeError`` - Notes that `data` must be bytes-like | ||||
* | bpo-36894: Fix regression in test_multiprocessing_spawn (no tests run on ↵ | Antoine Pitrou | 2019-05-13 | 1 | -4/+9 |
| | | | | Windows) (GH-13290) | ||||
* | bpo-36867: DOC update multiprocessing.rst (GH-13289) | Pierre Glaser | 2019-05-13 | 1 | -6/+10 |
| | | | Followup to bpo-36867. | ||||
* | bpo-36719: regrtest -jN no longer stops on crash (GH-13231) | Victor Stinner | 2019-05-13 | 5 | -18/+49 |
| | | | | | | | "python3 -m test -jN ..." now continues the execution of next tests when a worker process crash (CHILD_ERROR state). Previously, the test suite stopped immediately. Use --failfast to stop at the first error. Moreover, --forever now also implies --failfast. | ||||
* | Fix typo in NEWS item about IDLE (os.flush() should be os.fsync()) (#13284) | Guido van Rossum | 2019-05-13 | 1 | -1/+1 |
| | |||||
* | bpo-36900: import.c uses PyInterpreterState.core_config (GH-13278) | Victor Stinner | 2019-05-13 | 4 | -29/+48 |
| | | | | Move _PyImportZip_Init() to the internal C API and add an 'interp' parameter. | ||||
* | bpo-36903: Fix ResourceWarning in test_logging (GH-13283) | Xtreak | 2019-05-13 | 1 | -0/+1 |
| | |||||
* | bpo-36728: Remove PyEval_ReInitThreads documentation (GH-13282) | Victor Stinner | 2019-05-13 | 1 | -7/+0 |
| | |||||
* | bpo-34682: Wording and grammatical changes to the ↵ | divyag9 | 2019-05-13 | 3 | -13/+13 |
| | | | | | doc(https://docs.python.org/3) (GH-13120) https://bugs.python.org/issue34682 | ||||
* | bpo-36807: When saving a file in IDLE, call flush and fsync (#13102) | Guido van Rossum | 2019-05-13 | 2 | -0/+3 |
| | |||||
* | bpo-36008: Doc update for 3.8 migration (GH-12887) | Utkarsh Gupta | 2019-05-13 | 3 | -10/+10 |
| | |||||
* | Changes to the documentation of normcase (GH-4725) | Kexuan Sun | 2019-05-13 | 1 | -4/+4 |
| | |||||
* | bpo-36728: Remove PyEval_ReInitThreads() from C API (GH-13241) | Victor Stinner | 2019-05-13 | 6 | -7/+25 |
| | | | | | | | | Remove the PyEval_ReInitThreads() function from the Python C API. It should not be called explicitly: use PyOS_AfterFork_Child() instead. Rename PyEval_ReInitThreads() to _PyEval_ReInitThreads() and add a 'runtime' parameter. | ||||
* | bpo-36778: Update cp65001 codec documentation (GH-13240) | Victor Stinner | 2019-05-13 | 1 | -5/+4 |
| | | | | Remove cp65001 from the codecs table, list it as an alias of utf_8 and add a versionchanged markup. | ||||
* | bpo-6584: Add a BadGzipFile exception to the gzip module. (GH-13022) | Zackery Spytz | 2019-05-13 | 5 | -6/+34 |
| | | | | | Co-Authored-By: Filip Gruszczyński <gruszczy@gmail.com> Co-Authored-By: Michele Orrù <maker@tumbolandia.net> | ||||
* | bpo-36783: Add new references for C API Documentation changes (GH-13204) | Edison A | 2019-05-13 | 2 | -6/+23 |
| | |||||
* | Name individual Travis CI jobs (GH-13268) | Gordon P. Hemsley | 2019-05-13 | 1 | -6/+12 |
| | |||||
* | Correct misspelling (GH-11470) | Johnny Gérard | 2019-05-12 | 1 | -1/+1 |
| | |||||
* | bpo-36895: remove time.clock() as per removal notice. (GH-13270) | Matthias Bussonnier | 2019-05-12 | 4 | -69/+4 |
| | | | | `time.clock()` was deprecated in 3.3, and marked for removal removal in 3.8; this thus remove it from the time module. | ||||
* | bpo-36886: Document changes in code object in What's new section (GH-13255) | Pablo Galindo | 2019-05-12 | 1 | -0/+4 |
| | |||||
* | bpo-36084: Add native thread ID to threading.Thread objects (GH-11993) | Jake Tesler | 2019-05-12 | 10 | -2/+133 |
| | |||||
* | bpo-36684: Split out gcc and test coverage builds (GH-13146) | Gordon P. Hemsley | 2019-05-12 | 1 | -4/+18 |
| | | | | | | | | | The combined Python and C coverage test runs now exceed Travis's 50-minute time limit. Splitting them into separate runs gives more leeway. Also, adding branch coverage to Python testing and ensure that coverage is reported even if tests fail. (The primary builds are for tracking test failures.) | ||||
* | bpo-36817: Do not decrement reference for expr_text on fstring = parsing ↵ | Pablo Galindo | 2019-05-12 | 2 | -1/+2 |
| | | | | failure (GH-13256) | ||||
* | bpo-36817: Fix reference leak for expr_text in f-string = parsing (GH-13249) | Pablo Galindo | 2019-05-11 | 1 | -2/+7 |
| | |||||
* | bpo-36822: Fix minor grammatical error in glossary.rst (GH-13145) | Sanyam Khurana | 2019-05-11 | 1 | -4/+4 |
| | |||||
* | bpo-36878: Allow extra text after `# type: ignore` comments (GH-13238) | Michael J. Sullivan | 2019-05-11 | 3 | -9/+17 |
| | | | | | | | In the parser, when using the type_comments=True option, recognize a TYPE_IGNORE as anything containing `# type: ignore` followed by a non-alphanumeric character. This is to allow ignores such as `# type: ignore[E1000]`. | ||||
* | bpo-36856: Handle possible overflow in faulthandler_stack_overflow (GH-13205) | Xi Ruoyao | 2019-05-11 | 1 | -4/+17 |
| | |||||
* | bpo-36884: Fix DeprecationWarning in test_asyncio StreamReader instantiation ↵ | Xtreak | 2019-05-11 | 1 | -1/+1 |
| | | | | | (GH-13243) https://bugs.python.org/issue36884 | ||||
* | Hide module name from local (anchor) links in shutil docs (GH-6695) | Aurelio Jargas | 2019-05-10 | 1 | -4/+4 |
| | |||||
* | bpo-21536: Update What's New in Python 3.8 entry (GH-13242) | Victor Stinner | 2019-05-11 | 1 | -1/+2 |
| | | | Android still links to libpython. | ||||
* | Fix sphinx deprecation warning about env.note_versionchange() (GH-13236) | Pablo Galindo | 2019-05-10 | 1 | -1/+1 |
| | |||||
* | bpo-36710: Add 'ceval' local variable to ceval.c (GH-12934) | Victor Stinner | 2019-05-10 | 8 | -321/+371 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Add "struct _ceval_runtime_state *ceval = &_PyRuntime.ceval;" local variables to function to better highlight the dependency on the global variable _PyRuntime and to point directly to _PyRuntime.ceval field rather than on the larger _PyRuntime. Changes: * Add _PyRuntimeState_GetThreadState(runtime) macro. * Add _PyEval_AddPendingCall(ceval, ...) and _PyThreadState_Swap(gilstate, ...) functions. * _PyThreadState_GET() macro now calls _PyRuntimeState_GetThreadState() using &_PyRuntime. * Add 'ceval' parameter to COMPUTE_EVAL_BREAKER(), SIGNAL_PENDING_SIGNALS(), _PyEval_SignalAsyncExc(), _PyEval_SignalReceived() and _PyEval_FiniThreads() macros and functions. * Add 'tstate' parameter to call_function(), do_call_core() and do_raise(). * Add 'runtime' parameter to _Py_CURRENTLY_FINALIZING(), _Py_FinishPendingCalls() and _PyThreadState_DeleteExcept() macros and functions. * Declare 'runtime', 'tstate', 'ceval' and 'eval_breaker' variables as constant. | ||||
* | bpo-36867: Make semaphore_tracker track other system resources (GH-13222) | Pierre Glaser | 2019-05-10 | 9 | -125/+210 |
| | | | The multiprocessing.resource_tracker replaces the multiprocessing.semaphore_tracker module. Other than semaphores, resource_tracker also tracks shared_memory segments. Patch by Pierre Glaser. | ||||
* | bpo-36368: Ignore SIGINT in SharedMemoryManager servers. (GH-12483) | Pierre Glaser | 2019-05-10 | 3 | -0/+30 |
| | | | | Fix a bug crashing SharedMemoryManager instances in interactive sessions after a Ctrl-C (KeyboardInterrupt) was sent. | ||||
* | bpo-36737: Use the module state C-API for warnings. (gh-13159) | Eric Snow | 2019-05-10 | 6 | -122/+208 |
| | |||||
* | bpo-35983: skip trashcan for subclasses (GH-11841) | Jeroen Demeyer | 2019-05-10 | 15 | -121/+189 |
| | | | | | Add new trashcan macros to deal with a double deallocation that could occur when the `tp_dealloc` of a subclass calls the `tp_dealloc` of a base class and that base class uses the trashcan mechanism. Patch by Jeroen Demeyer. |