summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Simplify the ``LastUpdatedOrderedDict`` example recipe (GH-13296)wim glenn2019-05-141-1/+1
|
* bpo-34424: Handle different policy.linesep lengths correctly. (#8803)Jens Troeger2019-05-143-1/+25
|
* bpo-35138: Added an example for timeit.timeit with callable arguments (GH-9787)Anders Hovmöller2019-05-131-1/+5
| | | | * Update timeit.rst
* bpo-36895: Undocument removed time.clock (GH-13286)Matthias Bussonnier2019-05-132-24/+4
|
* bpo-36867: Create the resource_tracker before launching SharedMemoryManagers ↵Pierre Glaser2019-05-133-14/+54
| | | | (GH-13276)
* Docs: Add bz2 usage examples (GH-13258)Brad2019-05-131-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 Pitrou2019-05-131-4/+9
| | | | Windows) (GH-13290)
* bpo-36867: DOC update multiprocessing.rst (GH-13289)Pierre Glaser2019-05-131-6/+10
| | | Followup to bpo-36867.
* bpo-36719: regrtest -jN no longer stops on crash (GH-13231)Victor Stinner2019-05-135-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 Rossum2019-05-131-1/+1
|
* bpo-36900: import.c uses PyInterpreterState.core_config (GH-13278)Victor Stinner2019-05-134-29/+48
| | | | Move _PyImportZip_Init() to the internal C API and add an 'interp' parameter.
* bpo-36903: Fix ResourceWarning in test_logging (GH-13283)Xtreak2019-05-131-0/+1
|
* bpo-36728: Remove PyEval_ReInitThreads documentation (GH-13282)Victor Stinner2019-05-131-7/+0
|
* bpo-34682: Wording and grammatical changes to the ↵divyag92019-05-133-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 Rossum2019-05-132-0/+3
|
* bpo-36008: Doc update for 3.8 migration (GH-12887)Utkarsh Gupta2019-05-133-10/+10
|
* Changes to the documentation of normcase (GH-4725)Kexuan Sun2019-05-131-4/+4
|
* bpo-36728: Remove PyEval_ReInitThreads() from C API (GH-13241)Victor Stinner2019-05-136-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 Stinner2019-05-131-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 Spytz2019-05-135-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 A2019-05-132-6/+23
|
* Name individual Travis CI jobs (GH-13268)Gordon P. Hemsley2019-05-131-6/+12
|
* Correct misspelling (GH-11470)Johnny Gérard2019-05-131-1/+1
|
* bpo-36895: remove time.clock() as per removal notice. (GH-13270)Matthias Bussonnier2019-05-134-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 Galindo2019-05-121-0/+4
|
* bpo-36084: Add native thread ID to threading.Thread objects (GH-11993)Jake Tesler2019-05-1210-2/+133
|
* bpo-36684: Split out gcc and test coverage builds (GH-13146)Gordon P. Hemsley2019-05-121-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 Galindo2019-05-122-1/+2
| | | | failure (GH-13256)
* bpo-36817: Fix reference leak for expr_text in f-string = parsing (GH-13249)Pablo Galindo2019-05-111-2/+7
|
* bpo-36822: Fix minor grammatical error in glossary.rst (GH-13145)Sanyam Khurana2019-05-111-4/+4
|
* bpo-36878: Allow extra text after `# type: ignore` comments (GH-13238)Michael J. Sullivan2019-05-113-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 Ruoyao2019-05-111-4/+17
|
* bpo-36884: Fix DeprecationWarning in test_asyncio StreamReader instantiation ↵Xtreak2019-05-111-1/+1
| | | | | (GH-13243) https://bugs.python.org/issue36884
* Hide module name from local (anchor) links in shutil docs (GH-6695)Aurelio Jargas2019-05-111-4/+4
|
* bpo-21536: Update What's New in Python 3.8 entry (GH-13242)Victor Stinner2019-05-111-1/+2
| | | Android still links to libpython.
* Fix sphinx deprecation warning about env.note_versionchange() (GH-13236)Pablo Galindo2019-05-101-1/+1
|
* bpo-36710: Add 'ceval' local variable to ceval.c (GH-12934)Victor Stinner2019-05-108-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 Glaser2019-05-109-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 Glaser2019-05-103-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 Snow2019-05-106-122/+208
|
* bpo-35983: skip trashcan for subclasses (GH-11841)Jeroen Demeyer2019-05-1015-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 Arias2019-05-101-1/+2
|
* bpo-33071: remove outdated PyPI docs (GH-13087)Kojo Idrissa2019-05-102-243/+6
| | | Patch by Kojo Idrissa.
* bpo-36676: Update what's new document. (#13226)Stefan Behnel2019-05-101-0/+7
|
* bpo-24538: Fix bug in shutil involving the copying of xattrs to read-only ↵Olexa Bilaniuk2019-05-104-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 Shaw2019-05-103-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 Lapeyre2019-05-104-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 Demeyer2019-05-102-15/+12
| | | | | (GH-12784) https://bugs.python.org/issue36601
* bpo-36778: cp65001 encoding becomes an alias to utf_8 (GH-13230)Victor Stinner2019-05-105-134/+4
|
* bpo-32523: Simplifying news entries with multiple paragraphs. (GH-8154)Julien Palard2019-05-0918-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).