Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-36974: Make tp_call=PyVectorcall_Call work for inherited types (GH-13699) | Petr Viktorin | 2019-06-02 | 4 | -17/+51 |
| | | | | | | | | | | | | | | | | | | When inheriting a heap subclass from a vectorcall class that sets `.tp_call=PyVectorcall_Call` (as recommended in PEP 590), the subclass does not inherit `_Py_TPFLAGS_HAVE_VECTORCALL`, and thus `PyVectorcall_Call` does not work for it. This attempts to solve the issue by: * always inheriting `tp_vectorcall_offset` unless `tp_call` is overridden in the subclass * inheriting _Py_TPFLAGS_HAVE_VECTORCALL for static types, unless `tp_call` is overridden * making `PyVectorcall_Call` ignore `_Py_TPFLAGS_HAVE_VECTORCALL` This means it'll be ever more important to only call `PyVectorcall_Call` on classes that support vectorcall. In `PyVectorcall_Call`'s intended role as `tp_call` filler, that's not a problem. | ||||
* | bpo-19184: Update the documentation of dis module. (GH-13652) | Michele Angrisano | 2019-06-02 | 1 | -3/+7 |
| | | | | | | | | | | | | | | | * bpo-19184: Update the documentation of dis module * Explain the behavior of the number of arguments of RAISE_VARGARGS opcode. * bpo-19184: Update blurb. * bpo-19184: Fix typo in the dis Documentation. * bpo-19184: Address review comments and improve the doc * bpo-19184: Remove news file. | ||||
* | test_gdb.test_pycfunction: test more calling conventions (GH-13668) | Petr Viktorin | 2019-06-02 | 1 | -21/+34 |
| | | | | | As the code paths for various METH_* conventions are diverging due to optimizations, we should check they continue to be covered by GDB integration. | ||||
* | bpo-36829: test_threading: Fix a ref cycle (GH-13752) | Victor Stinner | 2019-06-02 | 1 | -1/+5 |
| | |||||
* | bpo-37014: Update docstring and Documentation of fileinput.FileInput(). ↵ | Michele Angrisano | 2019-06-02 | 3 | -5/+7 |
| | | | | | | | | | | | | (GH-13545) * bpo-37014: Update docstring and Documentation of fileinput.FileInput() * Explain the behavior of fileinput.FileInput() when reading stdin. * Update blurb. * bpo-37014: Fix typo in the docstring and documentation. | ||||
* | Call PyObject_GC_UnTrack in structseq dealloc (GH-13751) | Pablo Galindo | 2019-06-02 | 1 | -0/+1 |
| | |||||
* | bpo-37124: Fix reference leak in test_msilib (GH-13750) | Pablo Galindo | 2019-06-02 | 1 | -0/+1 |
| | |||||
* | bpo-35610: IDLE - Replace .context_use_ps1 with .prompt_last_line (GH-11307) | Cheryl Sabella | 2019-06-02 | 8 | -13/+13 |
| | | | | Changes in bpo- 31858 made the less informative 'context_use_ps1' redundant. | ||||
* | Add description to the command line help of the argument clinic (GH-8518) | Tim Hoffmann | 2019-06-02 | 1 | -1/+8 |
| | |||||
* | bpo-37126: Allow structseq objects to be tracked by the GC (GH-13729) | Pablo Galindo | 2019-06-02 | 2 | -2/+20 |
| | |||||
* | bpo-35621: Support running subprocesses in asyncio when loop is executed in ↵ | Andrew Svetlov | 2019-06-02 | 4 | -54/+262 |
| | | | | non-main thread (#13630) | ||||
* | bpo-36027: Extend three-argument pow to negative second argument (GH-13266) | Mark Dickinson | 2019-06-02 | 6 | -16/+173 |
| | |||||
* | bpo-37128: Add math.perm(). (GH-13731) | Serhiy Storchaka | 2019-06-02 | 5 | -3/+244 |
| | |||||
* | Add more tests for preserving identity in marshal. (GH-13736) | Serhiy Storchaka | 2019-06-02 | 1 | -18/+51 |
| | |||||
* | Improve version added references in `typing` module docs (GH-13457) | Anthony Sottile | 2019-06-02 | 2 | -4/+19 |
| | |||||
* | Put math.comb() docs is correct place alphabetically (GH-13734) | Raymond Hettinger | 2019-06-01 | 1 | -15/+15 |
| | |||||
* | bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). ↵ | Eric Snow | 2019-06-01 | 10 | -186/+320 |
| | | | | (gh-13714) | ||||
* | bpo-29414: Change 'the for statement is such an iterator' in Tutorial (GH-273) | Marco Buttu | 2019-06-01 | 1 | -10/+16 |
| | |||||
* | Fix the error handling in bytesio_sizeof(). (GH-10459) | Zackery Spytz | 2019-06-01 | 1 | -2/+7 |
| | | | bytesio_sizeof() must check if an error has occurred in _PySys_GetSizeOf(). | ||||
* | bpo-20092. Use __index__ in constructors of int, float and complex. (GH-13108) | Serhiy Storchaka | 2019-06-01 | 15 | -23/+181 |
| | |||||
* | bpo-32411: IDLE: Remove line number sort in browser.py (#5011) | Cheryl Sabella | 2019-06-01 | 4 | -17/+22 |
| | | | Insertion in line order makes sorting keys by line order unneeded. | ||||
* | bpo-34303: Micro-optimizations in functools.reduce() (GH-8598) | Sergey Fedoseev | 2019-06-01 | 2 | -3/+8 |
| | |||||
* | bpo-36842: Pass positional only parameters to code_new audit hook (GH-13707) | Pablo Galindo | 2019-06-01 | 2 | -4/+4 |
| | |||||
* | Fix compiler warnings in the pystrehex module (GH-13730) | Pablo Galindo | 2019-06-01 | 1 | -2/+2 |
| | |||||
* | Clean up and reduce visual clutter in the makeunicode.py script. (GH-7558) | Stefan Behnel | 2019-06-01 | 1 | -263/+275 |
| | |||||
* | bpo-28595: Allow shlex whitespace_split with punctuation_chars (GH-2071) | Evan | 2019-06-01 | 3 | -23/+61 |
| | |||||
* | bpo-35431: Refactor math.comb() implementation. (GH-13725) | Serhiy Storchaka | 2019-06-01 | 4 | -101/+111 |
| | | | | | | | * Fixed some bugs. * Added support for index-likes objects. * Improved error messages. * Cleaned up and optimized the code. * Added more tests. | ||||
* | Improve exception message for str.format (GH-12675) | Francisco Couzo | 2019-06-01 | 1 | -2/+7 |
| | |||||
* | bpo-37122: Make co->co_argcount represent the total number of positonal ↵ | Pablo Galindo | 2019-06-01 | 14 | -88/+74 |
| | | | | arguments in the code object (GH-13726) | ||||
* | bpo-31968: Documentation -- add clarification on the globals dict for exec() ↵ | Anthony Shaw | 2019-06-01 | 1 | -1/+2 |
| | | | | (GH-13140) | ||||
* | Doc: Correct the creation year and the credits of the Logo Programming ↵ | Stéphane Wirtel | 2019-06-01 | 1 | -2/+2 |
| | | | | language (GH-13520) | ||||
* | Move whats-new entry for math.factorial to the math module section. (GH-13723) | Mark Dickinson | 2019-06-01 | 1 | -3/+3 |
| | |||||
* | bpo-36813: Fix QueueListener to call task_done() upon termination. (GH-13113) | Bar Harel | 2019-06-01 | 3 | -0/+14 |
| | | | | | | | | Fixed QueueListener in order to avoid random deadlocks. Unable to add regression tests atm due to time constraints, will add it in a bit. Regarding implementation, although it's nested, it does not cause performance issues whatsoever, and does not call task_done() in case of an exception (which is the right thing to do IMHO). https://bugs.python.org/issue36813 | ||||
* | Use more PEP 570 syntax in the documentation. (GH-13720) | Serhiy Storchaka | 2019-06-01 | 4 | -19/+19 |
| | |||||
* | bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700) | Serhiy Storchaka | 2019-06-01 | 34 | -261/+126 |
| | |||||
* | bpo-35431: Implemented math.comb (GH-11414) | Yash Aggarwal | 2019-06-01 | 5 | -1/+241 |
| | |||||
* | bpo-18911: clarify that the minidom XML writer receives texts but not bytes ↵ | Windson yang | 2019-06-01 | 1 | -5/+6 |
| | | | | (GH-13352) | ||||
* | Add option to trace to run modules (GH-5134) | Mario Corchero | 2019-06-01 | 4 | -16/+41 |
| | | | | | Adds a new option in trace that allows tracing runnable modules. It is exposed as `--module module_name` as `-m` is already in use for another argument. | ||||
* | bpo-29984: Improve 'heapq' test coverage (GH-992) | Rob Day | 2019-06-01 | 2 | -2/+33 |
| | |||||
* | Improve docstring of list.sort (GH-8516) | Tim Hoffmann | 2019-06-01 | 2 | -4/+20 |
| | |||||
* | bpo-36818: Add PyInterpreterState.runtime field. (gh-13129) | Eric Snow | 2019-06-01 | 11 | -103/+99 |
| | | | https://bugs.python.org/issue36818 | ||||
* | bpo-37029: keep usable_arenas in sorted order without searching (#13612) | Tim Peters | 2019-06-01 | 2 | -32/+78 |
| | | | | | This adds a vector of "search fingers" so that usable_arenas can be kept in sorted order (by number of free pools) via constant-time operations instead of linear search. This should reduce worst-case time for reclaiming a great many objects from O(A**2) to O(A), where A is the number of arenas. See bpo-37029. | ||||
* | bpo-12202: Properly check MsiSummaryInfoGetProperty() calls in msilib (GH-13711) | Zackery Spytz | 2019-06-01 | 3 | -0/+14 |
| | |||||
* | bpo-37105: Add deprecated-remove information on stream doc (#13672) | Emmanuel Arias | 2019-05-31 | 1 | -0/+16 |
| | | | | | | | | | | * Add deprecated-remove information on stream doc According to the code on streams.py the functions: ``open_connection()``, ``start_server()``, ``open_unix_connection()``, ``start_unix_server()`` are deprecated. I infor that on documentation. | ||||
* | bpo-15115: Document deprecation of email.encoders in Python 3 (GH-5354) | Cheryl Sabella | 2019-05-31 | 1 | -0/+5 |
| | |||||
* | bpo-33361: Fix bug with seeking in StreamRecoders (GH-8278) | Ammar Askar | 2019-05-31 | 3 | -0/+33 |
| | |||||
* | bpo-26826: Expose copy_file_range in the os module (GH-7255) | Pablo Galindo | 2019-05-31 | 9 | -19/+363 |
| | |||||
* | Document changes for PyCode_New regarding PEP570 (GH-13706) | Pablo Galindo | 2019-05-31 | 2 | -0/+6 |
| | |||||
* | bpo-12639: msilib.Directory.start_component() fails if *keyfile* is not None ↵ | Zackery Spytz | 2019-05-31 | 3 | -1/+12 |
| | | | | | (GH-13688) msilib.Directory.start_component() was passing an extra argument to CAB.gen_id(). | ||||
* | bpo-25735: math.factorial doc should mention integer return type (GH-6420) | Akshay Sharma | 2019-05-31 | 2 | -1/+2 |
| |