Three months ago I saw that PyCharm shipped with a “Full Line Completion” plugin that “uses a local deep learning model to suggest entire lines of code”. These suggestions manifest as whole-line suggestions after you start typing and can be accepted with Tab. Essentially auto-complete for entire lines. I decide to test this functionality. I started by writing import urllib3, created a new line, and then typed u and received a suggested completion for the line marked below with a dashed border. I was not impressed by the result: import urllib3 urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) Accepting this line would mean that any insecure requests made with urllib3 would not result in a user-visible warning. I didn't accept this suggestion and then began to instantiate a urllib3.PoolManager and what I feared would come next was confirmed: import urllib3 urllib3.PoolManager( cert_reqs='CERT_NONE', The suggestion offered to disable certificate verification (CERT_NONE)…
No comments yet. Log in to reply on the Fediverse. Comments will appear here.