summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-36974: Make tp_call=PyVectorcall_Call work for inherited types (GH-13699)Petr Viktorin2019-06-024-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 Angrisano2019-06-021-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 Viktorin2019-06-021-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 Stinner2019-06-021-1/+5
|
* bpo-37014: Update docstring and Documentation of fileinput.FileInput(). ↵Michele Angrisano2019-06-023-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 Galindo2019-06-021-0/+1
|
* bpo-37124: Fix reference leak in test_msilib (GH-13750)Pablo Galindo2019-06-021-0/+1
|
* bpo-35610: IDLE - Replace .context_use_ps1 with .prompt_last_line (GH-11307)Cheryl Sabella2019-06-028-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 Hoffmann2019-06-021-1/+8
|
* bpo-37126: Allow structseq objects to be tracked by the GC (GH-13729)Pablo Galindo2019-06-022-2/+20
|
* bpo-35621: Support running subprocesses in asyncio when loop is executed in ↵Andrew Svetlov2019-06-024-54/+262
| | | | non-main thread (#13630)
* bpo-36027: Extend three-argument pow to negative second argument (GH-13266)Mark Dickinson2019-06-026-16/+173
|
* bpo-37128: Add math.perm(). (GH-13731)Serhiy Storchaka2019-06-025-3/+244
|
* Add more tests for preserving identity in marshal. (GH-13736)Serhiy Storchaka2019-06-021-18/+51
|
* Improve version added references in `typing` module docs (GH-13457)Anthony Sottile2019-06-022-4/+19
|
* Put math.comb() docs is correct place alphabetically (GH-13734)Raymond Hettinger2019-06-011-15/+15
|
* bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). ↵Eric Snow2019-06-0110-186/+320
| | | | (gh-13714)
* bpo-29414: Change 'the for statement is such an iterator' in Tutorial (GH-273)Marco Buttu2019-06-011-10/+16
|
* Fix the error handling in bytesio_sizeof(). (GH-10459)Zackery Spytz2019-06-011-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 Storchaka2019-06-0115-23/+181
|
* bpo-32411: IDLE: Remove line number sort in browser.py (#5011)Cheryl Sabella2019-06-014-17/+22
| | | Insertion in line order makes sorting keys by line order unneeded.
* bpo-34303: Micro-optimizations in functools.reduce() (GH-8598)Sergey Fedoseev2019-06-012-3/+8
|
* bpo-36842: Pass positional only parameters to code_new audit hook (GH-13707)Pablo Galindo2019-06-012-4/+4
|
* Fix compiler warnings in the pystrehex module (GH-13730)Pablo Galindo2019-06-011-2/+2
|
* Clean up and reduce visual clutter in the makeunicode.py script. (GH-7558)Stefan Behnel2019-06-011-263/+275
|
* bpo-28595: Allow shlex whitespace_split with punctuation_chars (GH-2071)Evan2019-06-013-23/+61
|
* bpo-35431: Refactor math.comb() implementation. (GH-13725)Serhiy Storchaka2019-06-014-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 Couzo2019-06-011-2/+7
|
* bpo-37122: Make co->co_argcount represent the total number of positonal ↵Pablo Galindo2019-06-0114-88/+74
| | | | arguments in the code object (GH-13726)
* bpo-31968: Documentation -- add clarification on the globals dict for exec() ↵Anthony Shaw2019-06-011-1/+2
| | | | (GH-13140)
* Doc: Correct the creation year and the credits of the Logo Programming ↵Stéphane Wirtel2019-06-011-2/+2
| | | | language (GH-13520)
* Move whats-new entry for math.factorial to the math module section. (GH-13723)Mark Dickinson2019-06-011-3/+3
|
* bpo-36813: Fix QueueListener to call task_done() upon termination. (GH-13113)Bar Harel2019-06-013-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 Storchaka2019-06-014-19/+19
|
* bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700)Serhiy Storchaka2019-06-0134-261/+126
|
* bpo-35431: Implemented math.comb (GH-11414)Yash Aggarwal2019-06-015-1/+241
|
* bpo-18911: clarify that the minidom XML writer receives texts but not bytes ↵Windson yang2019-06-011-5/+6
| | | | (GH-13352)
* Add option to trace to run modules (GH-5134)Mario Corchero2019-06-014-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 Day2019-06-012-2/+33
|
* Improve docstring of list.sort (GH-8516)Tim Hoffmann2019-06-012-4/+20
|
* bpo-36818: Add PyInterpreterState.runtime field. (gh-13129)Eric Snow2019-06-0111-103/+99
| | | https://bugs.python.org/issue36818
* bpo-37029: keep usable_arenas in sorted order without searching (#13612)Tim Peters2019-06-012-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 Spytz2019-06-013-0/+14
|
* bpo-37105: Add deprecated-remove information on stream doc (#13672)Emmanuel Arias2019-05-311-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 Sabella2019-05-311-0/+5
|
* bpo-33361: Fix bug with seeking in StreamRecoders (GH-8278)Ammar Askar2019-05-313-0/+33
|
* bpo-26826: Expose copy_file_range in the os module (GH-7255)Pablo Galindo2019-05-319-19/+363
|
* Document changes for PyCode_New regarding PEP570 (GH-13706)Pablo Galindo2019-05-312-0/+6
|
* bpo-12639: msilib.Directory.start_component() fails if *keyfile* is not None ↵Zackery Spytz2019-05-313-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 Sharma2019-05-312-1/+2
|