<p></p>
<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/b4n/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/b4n">@b4n</a> and me were wondering whether the generated header file will be different from Python2 to Python3 while releasing 1.38.</p>
<p>So I gave it a try:</p>
<ul>
<li>For Python 3 (tested in a container, started like this: <code>docker run --rm -it -v /tmp/shared:/shared debian:buster-slim</code>):</li>
</ul>
<pre><code>apt-get update && apt-get install -y --no-install-recommends git doxygen intltool libtool libgtk-3-dev python3-lxml python3-docutils rst2pdf build-essential
git clone --depth=1 https://github.com/geany/geany /geany-test && cd /geany-test
PYTHON=python3 ./autogen.sh --enable-api-docs --enable-gtkdoc-header
make -C doc
cp doc/geany-gtkdoc.h /shared/geany-gtkdoc-py3.h
</code></pre>
<ul>
<li>For Python 2 (tested in a container, started like this: <code>docker run --rm -it -v /tmp/shared:/shared debian:buster-slim</code>):</li>
</ul>
<pre><code>apt-get update && apt-get install -y --no-install-recommends git doxygen intltool libtool libgtk-3-dev python-lxml python-docutils rst2pdf build-essential
git clone --depth=1 https://github.com/geany/geany /geany-test && cd /geany-test
PYTHON=python2 ./autogen.sh --enable-api-docs --enable-gtkdoc-header
make -C doc
cp doc/geany-gtkdoc.h /shared/geany-gtkdoc-py2.h
</code></pre>
<p>The resulting files are identical. Yay.</p>

<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/2903#issuecomment-939497331">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ6QXKFYS5NJORWOSG3UGGTCPANCNFSM5EPX43JQ">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/AAIOWJ5FDDHXK3BAGQHT4X3UGGTCPA5CNFSM5EPX43J2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOG77ZO4Y.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/2903#issuecomment-939497331",
"url": "https://github.com/geany/geany/pull/2903#issuecomment-939497331",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>