Petr Viktorin
64e2c64f7f
test_gdb.test_pycfunction: test more calling conventions (GH-13668)
...
As the code paths for various METH_* conventions are diverging due
to optimizations, we should check they continue to be covered by
GDB integration.
2019-06-02 23:11:24 +02:00
Victor Stinner
cdce0574d0
bpo-36829: test_threading: Fix a ref cycle (GH-13752)
2019-06-02 23:08:41 +02:00
Michele Angrisano
aca273e240
bpo-37014: Update docstring and Documentation of fileinput.FileInput(). (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.
2019-06-02 23:01:49 +02:00
Pablo Galindo
3caf4de6f0
Call PyObject_GC_UnTrack in structseq dealloc (GH-13751)
2019-06-02 21:52:49 +01:00
Pablo Galindo
c0295dba25
bpo-37124: Fix reference leak in test_msilib (GH-13750)
2019-06-02 21:36:21 +01:00
Cheryl Sabella
6bdc4dee01
bpo-35610: IDLE - Replace .context_use_ps1 with .prompt_last_line (GH-11307)
...
Changes in bpo- 31858 made the less informative 'context_use_ps1' redundant.
2019-06-02 14:56:47 -04:00
Tim Hoffmann
5df4025f42
Add description to the command line help of the argument clinic (GH-8518)
2019-06-02 17:58:10 +01:00
Pablo Galindo
7ffcf848df
bpo-37126: Allow structseq objects to be tracked by the GC (GH-13729)
2019-06-02 15:45:13 +01:00
Andrew Svetlov
13ed07998a
bpo-35621: Support running subprocesses in asyncio when loop is executed in non-main thread ( #13630 )
2019-06-02 13:56:38 +03:00
Mark Dickinson
c52996785a
bpo-36027: Extend three-argument pow to negative second argument (GH-13266)
2019-06-02 10:24:06 +01:00
Serhiy Storchaka
5ae299ac78
bpo-37128: Add math.perm(). (GH-13731)
2019-06-02 11:16:49 +03:00
Serhiy Storchaka
d71f3170ac
Add more tests for preserving identity in marshal. (GH-13736)
2019-06-02 09:03:59 +03:00
Anthony Sottile
b7daabd711
Improve version added references in `typing` module docs (GH-13457)
2019-06-02 01:13:25 +01:00
Raymond Hettinger
b7fade4f87
Put math.comb() docs is correct place alphabetically (GH-13734)
2019-06-01 15:01:46 -07:00
Eric Snow
6a150bcaeb
bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). (gh-13714)
2019-06-01 15:39:46 -06:00
Marco Buttu
218e47b618
bpo-29414: Change 'the for statement is such an iterator' in Tutorial (GH-273)
2019-06-01 14:11:47 -07:00
Zackery Spytz
36dcaab7fd
Fix the error handling in bytesio_sizeof(). (GH-10459)
...
bytesio_sizeof() must check if an error has occurred in _PySys_GetSizeOf().
2019-06-02 00:07:45 +03:00
Serhiy Storchaka
bdbad71b9d
bpo-20092. Use __index__ in constructors of int, float and complex. (GH-13108)
2019-06-02 00:05:48 +03:00
Cheryl Sabella
1a4d9ffa1a
bpo-32411: IDLE: Remove line number sort in browser.py ( #5011 )
...
Insertion in line order makes sorting keys by line order unneeded.
2019-06-01 17:03:22 -04:00
Sergey Fedoseev
e5f6207ba6
bpo-34303: Micro-optimizations in functools.reduce() (GH-8598)
2019-06-01 13:32:17 -07:00
Pablo Galindo
3b57f50efc
bpo-36842: Pass positional only parameters to code_new audit hook (GH-13707)
2019-06-01 21:18:48 +01:00
Pablo Galindo
938d9a0167
Fix compiler warnings in the pystrehex module (GH-13730)
2019-06-01 21:02:08 +01:00
Stefan Behnel
faa2948654
Clean up and reduce visual clutter in the makeunicode.py script. (GH-7558)
2019-06-01 21:49:03 +02:00
Evan
56624a99a9
bpo-28595: Allow shlex whitespace_split with punctuation_chars (GH-2071)
2019-06-01 20:09:22 +01:00
Serhiy Storchaka
2b843ac0ae
bpo-35431: Refactor math.comb() implementation. (GH-13725)
...
* Fixed some bugs.
* Added support for index-likes objects.
* Improved error messages.
* Cleaned up and optimized the code.
* Added more tests.
2019-06-01 22:09:02 +03:00
Francisco Couzo
9843bc110d
Improve exception message for str.format (GH-12675)
2019-06-01 10:14:00 -07:00
Pablo Galindo
cd74e66a8c
bpo-37122: Make co->co_argcount represent the total number of positonal arguments in the code object (GH-13726)
2019-06-01 18:08:04 +01:00
Anthony Shaw
059b9ea5ac
bpo-31968: Documentation -- add clarification on the globals dict for exec() (GH-13140)
2019-06-01 08:51:58 -07:00
Stéphane Wirtel
66501058fe
Doc: Correct the creation year and the credits of the Logo Programming language (GH-13520)
2019-06-01 07:41:33 -04:00
Mark Dickinson
a0adffb902
Move whats-new entry for math.factorial to the math module section. (GH-13723)
2019-06-01 12:21:53 +01:00
Bar Harel
6b282e1887
bpo-36813: Fix QueueListener to call task_done() upon termination. (GH-13113)
...
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
2019-06-01 02:19:09 -07:00
Serhiy Storchaka
70c5f2ae6e
Use more PEP 570 syntax in the documentation. (GH-13720)
2019-06-01 11:38:24 +03:00
Serhiy Storchaka
2085bd0877
bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700)
2019-06-01 11:00:15 +03:00
Yash Aggarwal
4a686504eb
bpo-35431: Implemented math.comb (GH-11414)
2019-06-01 00:21:27 -07:00
Windson yang
5ac0b988fd
bpo-18911: clarify that the minidom XML writer receives texts but not bytes (GH-13352)
2019-06-01 08:33:16 +02:00
Mario Corchero
354227a1e9
Add option to trace to run modules (GH-5134)
...
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.
2019-06-01 14:49:09 +10:00
Rob Day
664fe3996f
bpo-29984: Improve 'heapq' test coverage (GH-992)
2019-05-31 21:13:57 -07:00
Tim Hoffmann
5c22476c01
Improve docstring of list.sort (GH-8516)
2019-05-31 21:10:02 -07:00
Eric Snow
396e0a8d9d
bpo-36818: Add PyInterpreterState.runtime field. (gh-13129)
...
https://bugs.python.org/issue36818
2019-05-31 21:16:47 -06:00
Tim Peters
1c263e39c4
bpo-37029: keep usable_arenas in sorted order without searching ( #13612 )
...
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.
2019-05-31 21:16:04 -05:00
Zackery Spytz
549e55a308
bpo-12202: Properly check MsiSummaryInfoGetProperty() calls in msilib (GH-13711)
2019-06-01 03:16:20 +03:00
Emmanuel Arias
ed9f3562b6
bpo-37105: Add deprecated-remove information on stream doc ( #13672 )
...
* 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.
2019-05-31 23:48:57 +03:00
Cheryl Sabella
a747c3a5ed
bpo-15115: Document deprecation of email.encoders in Python 3 (GH-5354)
2019-05-31 16:18:41 -04:00
Ammar Askar
a6ec1ce1ac
bpo-33361: Fix bug with seeking in StreamRecoders (GH-8278)
2019-05-31 22:44:00 +03:00
Pablo Galindo
aac4d0342c
bpo-26826: Expose copy_file_range in the os module (GH-7255)
2019-05-31 19:39:47 +01:00
Pablo Galindo
545a3b8814
Document changes for PyCode_New regarding PEP570 (GH-13706)
2019-05-31 19:33:41 +01:00
Zackery Spytz
c8d5bf6c3f
bpo-12639: msilib.Directory.start_component() fails if *keyfile* is not None (GH-13688)
...
msilib.Directory.start_component() was passing an extra argument to CAB.gen_id().
2019-05-31 09:43:13 -07:00
Akshay Sharma
4612671df2
bpo-25735: math.factorial doc should mention integer return type (GH-6420)
2019-05-31 12:41:17 -04:00
Christian Heimes
8cbb5b6625
bpo-26835: Add file sealing constants to fcntl (GH-13694)
...
Co-authored-by: nanjekyejoannah <nanjekyejoannah@gmail.com>
2019-05-31 18:32:33 +02:00
Makdon
ffed76b6fc
bpo-37094: Add example for TestCase.skipTest in unittest doc (GH-13645)
...
Also includes other minor test skipping doc improvements.
https://bugs.python.org/issue37094
2019-05-31 09:19:11 -07:00