Serhiy Storchaka
2d3d9b4461
gh-117764: Add docstrings and signatures for the types of None, Ellipsis and NotImplemented (GH-117813)
2024-04-12 15:45:23 +03:00
Serhiy Storchaka
4e5b27e6a3
gh-81682: Fix test failures when CPython is built without docstrings (GH-113410)
2023-12-23 09:56:30 +00:00
Serhiy Storchaka
3901c991e1
gh-84805: Autogenerate signature for METH_NOARGS and METH_O extension functions (GH-107794)
2023-08-11 18:08:38 +03:00
kbeldan
4bed9c47bd
gh-92032: Add soft keywords to rlcompleter ( #92029 )
...
Let the interpreter autocomplete soft-keywords, ATM the PEP-634 'match'
/ 'case' / '_' (wildcard pattern).
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-05-02 16:36:29 -06:00
Jack DeVries
50de8f74f8
bpo-44752: Make rlcompleter not call `@property` methods (GH-27401)
...
* rlcompleter was calling these methods to identify whether to add
parenthesis to the completion, based on if the attribute is callable.
* for property objects, completion with parenthesis are never desirable.
* property methods with print statements behaved very strangely, which
was especially unfriendly to language newcomers. <tab> could suddenly
produce output unexpectedly.
2021-07-29 13:40:29 +02:00
Rémi Lapeyre
bd4a3f2145
bpo-39314: Closes parenthesis when autocompleting for functions that take no arguments (GH-20562)
2020-06-30 22:48:15 +09:00
Yury Selivanov
ab8d4fba6d
Merge 3.5
2016-02-04 14:08:23 -05:00
Yury Selivanov
46f7785e28
Issue #25660 : Fix a unittest and rlcompleter when readline isn't available
2016-02-04 14:00:26 -05:00
Martin Panter
40062a1127
Issue #25754 : Allow test_rlcompleter to be run multiple times
2015-11-28 22:38:24 +00:00
Martin Panter
745f6b3a5d
Issue #25663 : Update rlcompleter test for new 3.6 behaviour
2015-11-24 00:20:00 +00:00
Martin Panter
450c988184
Issue #25663 : Merge rlcompleter fix from 3.5
2015-11-24 00:19:10 +00:00
Martin Panter
11bb1ad155
Issue #25663 : Merge rlcompleter fix from 3.4 into 3.5
2015-11-24 00:10:45 +00:00
Martin Panter
ed92910852
Issue #25663 : Make rlcompleter avoid duplicate global names
2015-11-23 23:50:26 +00:00
Martin Panter
6fe39266c8
Issue #25590 : Complete attribute names even if they are not yet created
2015-11-13 23:54:02 +00:00
Martin Panter
f4ad5f5dea
Issue #25590 : Merge rlcompleter getattr change from 3.5
2015-11-13 23:48:17 +00:00
Martin Panter
fa9ea04673
Issue #25590 : Merge rlcompleter change from 3.4 into 3.5
2015-11-13 23:10:39 +00:00
Martin Panter
06622ead80
Issue #25590 : Make rlcompleter only call getattr() once per attribute
...
Previously it was called another time via hasattr(), and both calls were
made once for dir(f) and again for dir(f.__class__). This includes a
backport of changing from a list to a set from revision 4dbb315fe667.
2015-11-13 22:47:00 +00:00
Serhiy Storchaka
ab824222d1
Issue #25011 : rlcomplete now omits private and special attribute names unless
...
the prefix starts with underscores.
2015-09-27 13:43:50 +03:00
Serhiy Storchaka
8ace8e99b3
Issue #25209 : rlcomplete now can add a space or a colon after completed keyword.
2015-09-27 13:26:03 +03:00
Berker Peksag
0659c43d73
Issue #23441 : rcompleter now prints a tab character instead of displaying
...
possible completions for an empty word.
Initial patch by Martin Sekera.
2015-07-28 00:08:24 +03:00
Berker Peksag
aaf6114b37
Issue #23441 : rcompleter now prints a tab character instead of displaying
...
possible completions for an empty word.
Initial patch by Martin Sekera.
2015-07-28 00:06:31 +03:00
Zachary Ware
38c707e7e0
Issue #21741 : Update 147 test modules to use test discovery.
...
I have compared output between pre- and post-patch runs of these tests
to make sure there's nothing missing and nothing broken, on both
Windows and Linux. The only differences I found were actually tests
that were previously *not* run.
2015-04-13 15:00:43 -05:00
Georg Brandl
50de5f56a9
#10159 : sort completion matches before comparing to dir() result.
2010-10-21 07:40:03 +00:00
Antoine Pitrou
482e66a58a
Issue #9496 : Provide a test suite for the rlcompleter module. Patch by
...
Michele Orrù.
2010-08-04 15:43:16 +00:00