<p dir="auto">This is a followup of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="725316304" data-permission-text="Title is private" data-url="https://github.com/geany/geany/issues/2630" data-hovercard-type="pull_request" data-hovercard-url="/geany/geany/pull/2630/hovercard" href="https://github.com/geany/geany/pull/2630">#2630</a> to fully port the <code>scripts/create_py_tags.py</code> script for generating tags for the Python standard library to Python 3.</p>
<p dir="auto">While continuing on <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/claudep/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/claudep">@claudep</a>'s work, I noticed plain porting is harder than to more or less rewrite the script. Now the script works by fully importing the modules, if possible, to use Python's <code>inspect.Signature</code> API to extract symbols. If this is not possible, the existing regular expression based parser is used as fallback.</p>
<p dir="auto">Deprecated modules are ignored completely as well as a couple of special modules like the included Idle IDE and executable modules in general.</p>
<p dir="auto">I'm using the resulting tags file since a few weeks and it feels fine, much better than before especially because of the better extracted argument lists of functions and methods.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/geany/geany/pull/3039'>https://github.com/geany/geany/pull/3039</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/geany/geany/pull/3039/commits/0c39cc4e944ea622eaef60c916fd39849126a02d" class="commit-link">0c39cc4</a>  Refs #2615 - Convert create_py_tags.py to Python 3</li>
  <li><a href="https://github.com/geany/geany/pull/3039/commits/1e973ef3ff8a81dc1b6971da483ef118c76aa0cd" class="commit-link">1e973ef</a>  Rewrite Python standard library tags creation script for Python 3</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/geany/geany/pull/3039/files">2 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/3039/files#diff-85ab7c22d49fd2740c609718e21fcbe1866f6970f031122ecbd0be42000f4a78">data/tags/std.py.tags</a>
    (27660)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/3039/files#diff-10d9d0de9037c8e1cf00e5805a1cd9ed9cf93ff439cff5ee0b372ea026cfdb9d">scripts/create_py_tags.py</a>
    (486)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/geany/geany/pull/3039.patch'>https://github.com/geany/geany/pull/3039.patch</a></li>
  <li><a href='https://github.com/geany/geany/pull/3039.diff'>https://github.com/geany/geany/pull/3039.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/3039">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ6L5Z3X5VO27F5Y3Z3UO5KF3ANCNFSM5JG37HGA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AAIOWJ2PNIBBOIGHKG2RZGDUO5KF3A5CNFSM5JG37HGKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4P56LS2A.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/3039",
"url": "https://github.com/geany/geany/pull/3039",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>