This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients terry.reedy
Date 2019-03-24.23:11:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1553469085.88.0.432002901822.issue36419@roundup.psfhosted.org>
In-reply-to
Content
Followup to #30348.
1. Merge try_open_completions_event and _open_completions_later.  The latter is only used in the former.  Adjust tests to match.

2. The following in test_open_completions tests >>> "something<tab>
    self.text.insert('1.0', '"t')
    self.assertTrue(self.autocomplete.open_completions(False, True, True))
This passes with unittest (py -m test.test_idle) but fails with regrtest (py -m test -ugui test_idle), with "None is not true".  There are multiple 'return None's in open_completions.  Determine which with debug prints and try to pass with regrtest.  Success does not depend on the inserted text matching any file in the current working directory.

3. Increase coverage.  Multiple conditionals are only triggered 1 way.
History
Date User Action Args
2019-03-24 23:11:25terry.reedysetrecipients: + terry.reedy
2019-03-24 23:11:25terry.reedysetmessageid: <1553469085.88.0.432002901822.issue36419@roundup.psfhosted.org>
2019-03-24 23:11:25terry.reedylinkissue36419 messages
2019-03-24 23:11:25terry.reedycreate