summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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).
* bpo-36802: Drop awrite()/aclose(), support await write() and await close() ↵Andrew Svetlov2019-05-094-51/+118
| | | | instead (#13099)
* doc: fix broken link on howto/unicode page (#13160)redshiftzero2019-05-091-1/+1
| | | Thank you @redshiftzero on the first PR :clap:
* Fix a possible crash due to PyType_FromSpecWithBases() (GH-10304)Zackery Spytz2019-05-091-0/+1
| | | | If the PyObject_MALLOC() call failed in PyType_FromSpecWithBases(), PyObject_Free() would be called on a static string in type_dealloc().
* bpo-30262: Don't expose private objects in sqlite3 (GH-1440)Aviv Palivoda2019-05-093-4/+6
| | | | | | The Cache and Statement objects are undocumented and implementation details of the sqlite3 module. They aren't usable from pure Python code.
* bpo-36851: Clean the frame stack if the execution ends with a return and the ↵Pablo Galindo2019-05-093-7/+49
| | | | stack is not empty (GH-13191)
* Add support for .parent and .joinpath in zipfile.Path (#13213)Jason R. Coombs2019-05-092-1/+24
|
* bpo-36239: Skip comments in gettext infos (GH-12255)Julien Palard2019-05-093-0/+17
|
* bpo-36831: Do not apply default namespace to unprefixed attributes in ↵Stefan Behnel2019-05-092-11/+29
| | | | | ElementPath. (#13201) Also provide better grouping of the tokenizer tests.
* closes bpo-36861: Update Unicode database to 12.1.0. (GH-13214)Benjamin Peterson2019-05-0910-15377/+15381
| | | Adds ㋿.
* bpo-35900: Enable custom reduction callback registration in _pickle (GH-12499)Pierre Glaser2019-05-086-24/+227
| | | | Enable custom reduction callback registration for functions and classes in _pickle.c, using the new Pickler's attribute ``reducer_override``.
* bpo-36817: Add f-string debugging using '='. (GH-13123)Eric V. Smith2019-05-0811-49/+286
| | | If a "=" is specified a the end of an f-string expression, the f-string will evaluate to the text of the expression, followed by '=', followed by the repr of the value of the expression.
* bpo-35900: Add a state_setter arg to save_reduce (GH-12588)Pierre Glaser2019-05-085-15/+114
| | | | | Allow reduction methods to return a 6-item tuple where the 6th item specifies a custom state-setting method that's called instead of the regular ``__setstate__`` method.
* bpo-26903: Limit ProcessPoolExecutor to 61 workers on Windows (GH-13132)Brian Quinlan2019-05-084-0/+26
| | | | Co-Authored-By: brianquinlan <brian@sweetapp.com>
* bpo-24758: Improve the error msg for unittest.mock.Mock()'s unsafe mode (#12991)Zackery Spytz2019-05-082-3/+5
| | | | | | * bpo-24758: Improve the error msg for unittest.mock.Mock()'s unsafe mode * Make the requested changes.
* bpo-36816: Update the self-signed.pythontest.net cert (GH-13192)Gregory P. Smith2019-05-082-14/+33
| | | | | | | | | We updated the server, our testsuite must match. https://bugs.python.org/issue36816 ✈️ CLE -> DEN ✈️ #pycon2019
* bpo-24048: Save the live exception during import.c's remove_module() (GH-13005)Zackery Spytz2019-05-082-3/+8
| | | Save the live exception during the course of remove_module().