Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Simplify the ``LastUpdatedOrderedDict`` example recipe (GH-13296) | wim glenn | 2019-05-14 | 1 | -1/+1 |
| | |||||
* | bpo-34424: Handle different policy.linesep lengths correctly. (#8803) | Jens Troeger | 2019-05-14 | 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-13 | 1 | -1/+1 |
| | |||||
* | bpo-36895: remove time.clock() as per removal notice. (GH-13270) | Matthias Bussonnier | 2019-05-13 | 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-11 | 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. | ||||
* | bpo-36869: fix warning of unused variables (GH-13182) | Emmanuel Arias | 2019-05-10 | 1 | -1/+2 |
| | |||||
* | bpo-33071: remove outdated PyPI docs (GH-13087) | Kojo Idrissa | 2019-05-10 | 2 | -243/+6 |
| | | | Patch by Kojo Idrissa. | ||||
* | bpo-36676: Update what's new document. (#13226) | Stefan Behnel | 2019-05-10 | 1 | -0/+7 |
| | |||||
* | bpo-24538: Fix bug in shutil involving the copying of xattrs to read-only ↵ | Olexa Bilaniuk | 2019-05-10 | 4 | -1/+15 |
| | | | | | | | | files. (PR-13212) Extended attributes can only be set on user-writeable files, but shutil previously first chmod()ed the destination file to the source's permissions and then tried to copy xattrs. This will cause failures if attempting to copy read-only files with xattrs, as occurs with Git clones on Lustre FS. | ||||
* | bpo-36814: ensure os.posix_spawn() handles None (GH-13144) | Anthony Shaw | 2019-05-10 | 3 | -1/+11 |
| | | | | Fix an issue where os.posix_spawn() would incorrectly raise a TypeError when file_actions is None. | ||||
* | bpo-27497: Add return value to csv.DictWriter.writeheader (GH-12306) | Rémi Lapeyre | 2019-05-10 | 4 | -3/+18 |
| | | | | | | csv.DictWriter.writeheader() now returns the return value of the underlying csv.Writer.writerow() method. Patch contributed by Ashish Nitin Patil. | ||||
* | bpo-36601: clarify signal handler comment and remove unnecessary pid check. ↵ | Jeroen Demeyer | 2019-05-10 | 2 | -15/+12 |
| | | | | | (GH-12784) https://bugs.python.org/issue36601 | ||||
* | bpo-36778: cp65001 encoding becomes an alias to utf_8 (GH-13230) | Victor Stinner | 2019-05-10 | 5 | -134/+4 |
| | |||||
* | bpo-32523: Simplifying news entries with multiple paragraphs. (GH-8154) | Julien Palard | 2019-05-09 | 18 | -123/+38 |
| | | | | | | Having multiple paragraphs in a few news entry lead to inconsistent spacing while rendered in HTML by mixing "visually compact lists" (when no entry of the whole list contains multiple paragraphs) and "sparse lists" (when at least one do). |