<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Misc/python-config.in, branch fix-namedexpr-comment</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>bpo-38468 : Refactor python-config (#16749)</title>
<updated>2019-10-15T14:18:47+00:00</updated>
<author>
<name>Joannah Nanjekye</name>
<email>33177550+nanjekyejoannah@users.noreply.github.com</email>
</author>
<published>2019-10-15T14:18:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=3cd21aa6a1467723ccc85e6411a6cbe7fa81ef76'/>
<id>3cd21aa6a1467723ccc85e6411a6cbe7fa81ef76</id>
<content type='text'>
* refactor python-config

* 📜🤖 Added by blurb_it.

* Update Misc/NEWS.d/next/Build/2019-10-13-16-18-24.bpo-38468.buCO84.rst

Co-Authored-By: Pablo Galindo &lt;Pablogsal@gmail.com&gt;

* Use getvar for pyver

* Update news entry with affected file.

* Update Misc/NEWS.d/next/Build/2019-10-13-16-18-24.bpo-38468.buCO84.rst

Co-Authored-By: Victor Stinner &lt;vstinner@python.org&gt;

* Update 2019-10-13-16-18-24.bpo-38468.buCO84.rst
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* refactor python-config

* 📜🤖 Added by blurb_it.

* Update Misc/NEWS.d/next/Build/2019-10-13-16-18-24.bpo-38468.buCO84.rst

Co-Authored-By: Pablo Galindo &lt;Pablogsal@gmail.com&gt;

* Use getvar for pyver

* Update news entry with affected file.

* Update Misc/NEWS.d/next/Build/2019-10-13-16-18-24.bpo-38468.buCO84.rst

Co-Authored-By: Victor Stinner &lt;vstinner@python.org&gt;

* Update 2019-10-13-16-18-24.bpo-38468.buCO84.rst
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36721: Add --embed option to python-config (GH-13500)</title>
<updated>2019-05-23T01:30:23+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-05-23T01:30:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=0a8e57248b913851640c64375600f05157c997df'/>
<id>0a8e57248b913851640c64375600f05157c997df</id>
<content type='text'>
To embed Python into an application, a new --embed option must be
passed to "python3-config --libs --embed" to get "-lpython3.8" (link
the application to libpython). To support both 3.8 and older, try
"python3-config --libs --embed" first and fallback to "python3-config
--libs" (without --embed) if the previous command fails.

Add a pkg-config "python-3.8-embed" module to embed Python into an
application: "pkg-config python-3.8-embed --libs" includes
"-lpython3.8".  To support both 3.8 and older, try "pkg-config
python-X.Y-embed --libs" first and fallback to "pkg-config python-X.Y
--libs" (without --embed) if the previous command fails (replace
"X.Y" with the Python version).

On the other hand, "pkg-config python3.8 --libs" no longer contains
"-lpython3.8". C extensions must not be linked to libpython (except
on Android, case handled by the script); this change is backward
incompatible on purpose.

"make install" now also installs "python-3.8-embed.pc".</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To embed Python into an application, a new --embed option must be
passed to "python3-config --libs --embed" to get "-lpython3.8" (link
the application to libpython). To support both 3.8 and older, try
"python3-config --libs --embed" first and fallback to "python3-config
--libs" (without --embed) if the previous command fails.

Add a pkg-config "python-3.8-embed" module to embed Python into an
application: "pkg-config python-3.8-embed --libs" includes
"-lpython3.8".  To support both 3.8 and older, try "pkg-config
python-X.Y-embed --libs" first and fallback to "pkg-config python-X.Y
--libs" (without --embed) if the previous command fails (replace
"X.Y" with the Python version).

On the other hand, "pkg-config python3.8 --libs" no longer contains
"-lpython3.8". C extensions must not be linked to libpython (except
on Android, case handled by the script); this change is backward
incompatible on purpose.

"make install" now also installs "python-3.8-embed.pc".</pre>
</div>
</content>
</entry>
<entry>
<title> bpo-21536: On Android, C extensions are linked to libpython (GH-12989)</title>
<updated>2019-04-29T07:27:40+00:00</updated>
<author>
<name>xdegaye</name>
<email>xdegaye@gmail.com</email>
</author>
<published>2019-04-29T07:27:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=254b309c801f82509597e3d7d4be56885ef94c11'/>
<id>254b309c801f82509597e3d7d4be56885ef94c11</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-21536: C extensions are no longer linked to libpython (GH-12946)</title>
<updated>2019-04-25T18:13:10+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-04-25T18:13:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=8c3ecc6bacc8d0cd534f2b5b53ed962dd1368c7b'/>
<id>8c3ecc6bacc8d0cd534f2b5b53ed962dd1368c7b</id>
<content type='text'>
On Unix, C extensions are no longer linked to libpython.

It is now possible to load a C extension built using a shared library
Python with a statically linked Python.

When Python is embedded, libpython must not be loaded with
RTLD_LOCAL, but RTLD_GLOBAL instead. Previously, using RTLD_LOCAL, it
was already not possible to load C extensions which were not linked
to libpython, like C extensions of the standard library built by the
"*shared*" section of Modules/Setup.

distutils, python-config and python-config.py have been modified.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On Unix, C extensions are no longer linked to libpython.

It is now possible to load a C extension built using a shared library
Python with a statically linked Python.

When Python is embedded, libpython must not be loaded with
RTLD_LOCAL, but RTLD_GLOBAL instead. Previously, using RTLD_LOCAL, it
was already not possible to load C extensions which were not linked
to libpython, like C extensions of the standard library built by the
"*shared*" section of Modules/Setup.

distutils, python-config and python-config.py have been modified.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36508: python-config don't export LINKFORSHARED (GH-12661)</title>
<updated>2019-04-09T16:12:44+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-04-09T16:12:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=e65f01f78d7bda3013fc5be485afa87ff56511d9'/>
<id>e65f01f78d7bda3013fc5be485afa87ff56511d9</id>
<content type='text'>
python-config --ldflags no longer includes flags of the LINKFORSHARED
variable. The LINKFORSHARED variable must only be used to build
executables.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
python-config --ldflags no longer includes flags of the LINKFORSHARED
variable. The LINKFORSHARED variable must only be used to build
executables.</pre>
</div>
</content>
</entry>
<entry>
<title>- Issue #18096: Fix library order returned by python-config.</title>
<updated>2014-10-02T00:00:14+00:00</updated>
<author>
<name>doko@ubuntu.com</name>
<email>doko@ubuntu.com</email>
</author>
<published>2014-10-02T00:00:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d486c43d8d5ddf6d8c31e37fa5525aac7b960059'/>
<id>d486c43d8d5ddf6d8c31e37fa5525aac7b960059</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>- Issue #18257: Fix readlink usage in python-config.  Install the python</title>
<updated>2013-08-01T13:32:49+00:00</updated>
<author>
<name>doko@ubuntu.com</name>
<email>doko@ubuntu.com</email>
</author>
<published>2013-08-01T13:32:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=0df35b0a57fef5276c09e92da9ea7aaf77476f61'/>
<id>0df35b0a57fef5276c09e92da9ea7aaf77476f61</id>
<content type='text'>
  version again on Darwin.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  version again on Darwin.
</pre>
</div>
</content>
</entry>
<entry>
<title>- Issue #16754: Fix the incorrect shared library extension on linux. Introduce</title>
<updated>2013-03-21T20:31:41+00:00</updated>
<author>
<name>doko@ubuntu.com</name>
<email>doko@ubuntu.com</email>
</author>
<published>2013-03-21T20:31:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=1621d77fc8fb2385d26c7de39f55df60426ec6ec'/>
<id>1621d77fc8fb2385d26c7de39f55df60426ec6ec</id>
<content type='text'>
  two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of
  SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of
  SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.
</pre>
</div>
</content>
</entry>
<entry>
<title>- Issue #16754: Fix the incorrect shared library extension on linux. Introduce</title>
<updated>2013-03-21T20:21:49+00:00</updated>
<author>
<name>doko@ubuntu.com</name>
<email>doko@ubuntu.com</email>
</author>
<published>2013-03-21T20:21:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d5537d071cc2acada7220431a0eea5931c2e8a2d'/>
<id>d5537d071cc2acada7220431a0eea5931c2e8a2d</id>
<content type='text'>
  two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of
  SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of
  SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.
</pre>
</div>
</content>
</entry>
<entry>
<title>- Issue #15458: python-config gets a new option --configdir to print the</title>
<updated>2012-07-26T22:12:07+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2012-07-26T22:12:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=9eeea48cc91b2f7c6d9ac5420a3c84c0abb34e25'/>
<id>9eeea48cc91b2f7c6d9ac5420a3c84c0abb34e25</id>
<content type='text'>
  $LIBPL value.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  $LIBPL value.
</pre>
</div>
</content>
</entry>
</feed>
