<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ports/lang/python27/files, branch 2026Q2</title>
<subtitle>FreeBSD ports tree</subtitle>
<id>https://cgit-dev.freebsd.org/ports/atom?h=2026Q2</id>
<link rel='self' href='https://cgit-dev.freebsd.org/ports/atom?h=2026Q2'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/'/>
<updated>2025-03-10T19:28:13Z</updated>
<entry>
<title>lang/python27: re-add _tkinter into the distribution</title>
<updated>2025-03-10T19:28:13Z</updated>
<author>
<name>Charlie Li</name>
<email>vishwin@FreeBSD.org</email>
</author>
<published>2025-03-10T00:02:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=7e633595cf9df9a557a7d3b421b73e74ab0c057f'/>
<id>urn:sha1:7e633595cf9df9a557a7d3b421b73e74ab0c057f</id>
<content type='text'>
x11-toolkits/py-tkinter is otherwise built separately, ie disabled
in the main Python distribution build, due to circular (build)
dependencies with Python itself in lang/tk*. Since this Python
version is never default anymore, having been EOLed for years among
other things, it is safe to re-add _tkinter as part of the main
distribution build. Also update pkg-message to reflect extension
module ports unavailability.

This is to benefit the only remaining consumer, games/renpy, as
x11-toolkits/py-tkinter transitions to Python 3+ only. The relevant
OPTION has been removed as having _tkinter always present makes the
option a no-op.

PR: 268283
</content>
</entry>
<entry>
<title>lang/python27: Fix build with libressl 3.5</title>
<updated>2022-11-04T11:16:39Z</updated>
<author>
<name>Felix Palmen</name>
<email>zirias@FreeBSD.org</email>
</author>
<published>2022-10-17T10:27:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=f8ffeb6090dd3b27d363c693d40975f12dfbd873'/>
<id>urn:sha1:f8ffeb6090dd3b27d363c693d40975f12dfbd873</id>
<content type='text'>
Approved by:		python (maintainer, timeout), tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D37047
</content>
</entry>
<entry>
<title>lang/python{27,35,36,37,38}: Add closefrom(2) support</title>
<updated>2019-11-29T10:55:00Z</updated>
<author>
<name>Kubilay Kocak</name>
<email>koobs@FreeBSD.org</email>
</author>
<published>2019-11-29T10:55:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=e4c2b30ce8e600e2bf5f6d3e6b95c4dd27abcac4'/>
<id>urn:sha1:e4c2b30ce8e600e2bf5f6d3e6b95c4dd27abcac4</id>
<content type='text'>
A single close(fd) syscall is cheap, but when MAXFDS (maximum file
descriptor number) is high, the loop calling close(fd) on each file
descriptor can take several milliseconds.

The default value of subprocess.Popen "close_fds" parameter changed to True
in Python 3. Compared to Python 2, close_fds=True can make Popen 10x
slower: see bpo-37790 [1]

The present workaround on FreeBSD to improve performance is to load and
mount the fdescfs kernel module, but this is not enabled by default.

This change adds minimum viable (and upstreamable) closefrom(2) syscall
support to Python's subprocess and posix modules, improving performance
significantly for loads that involve working with many processes, such as
diffoscope, ansible, and many others.

For additional optimizations, upstream recently (3.8) landed posix_spawn(2)
support [3] and has stated that they will adopt close_range(2) after Linux
merges it [4]. Linux/FreeBSD developers are already collaborating on
ensuring compatible implementations, with FreeBSD's implementation pending
in D21627. [5]

Thank you emaste, cem, kevans for providing analysis, input,
clarifications, comms/upstream support and patches.

[1] https://bugs.python.org/issue37790
[2] https://bugs.python.org/issue38061
[3] https://bugs.python.org/issue35537
[4] https://lwn.net/Articles/789023/
[5] https://reviews.freebsd.org/D21627

Additional References:

https://bugs.python.org/issue8052
https://bugs.python.org/issue11284
https://bugs.python.org/issue13788
https://bugs.python.org/issue1663329
https://www.python.org/dev/peps/pep-0446/

PR:		242274, 221700
Submitted by:	kevans (emaste, cem)
Approved by:	koobs (python (maintainer), santa)
</content>
</entry>
<entry>
<title>- Update to 2.7.15(include security fix)</title>
<updated>2018-05-11T12:49:32Z</updated>
<author>
<name>Wen Heping</name>
<email>wen@FreeBSD.org</email>
</author>
<published>2018-05-11T12:49:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=fdda348b258195fbb9ca759b8c5056336da2e333'/>
<id>urn:sha1:fdda348b258195fbb9ca759b8c5056336da2e333</id>
<content type='text'>
PR:		228028
Submitted by:	wen@(myself)
Exp-run by:	antoine@
MFH:		2018Q2
</content>
</entry>
<entry>
<title>lang/python27: Fix build with LibreSSL 2.7</title>
<updated>2018-04-28T19:11:13Z</updated>
<author>
<name>Bernard Spil</name>
<email>brnrd@FreeBSD.org</email>
</author>
<published>2018-04-28T19:11:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=54ca080c2436ed35e806860be0fe915b2b578c95'/>
<id>urn:sha1:54ca080c2436ed35e806860be0fe915b2b578c95</id>
<content type='text'>
PR:		226883
Submitted by:	Charlie Li &lt;ml+freebsd vishwin info&gt;
Approved by:	python (koobs)
Differential Revision:	https://reviews.freebsd.org/D14837
</content>
</entry>
<entry>
<title>Fix build with OpenSSL 1.1.0 (security/openssl-devel)</title>
<updated>2018-02-15T12:47:58Z</updated>
<author>
<name>Sunpoet Po-Chuan Hsieh</name>
<email>sunpoet@FreeBSD.org</email>
</author>
<published>2018-02-15T12:47:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=1d451321eb8e960b64fcc673f64a95c704273655'/>
<id>urn:sha1:1d451321eb8e960b64fcc673f64a95c704273655</id>
<content type='text'>
- Remove BROKEN_SSL=openssl-devel

Reference:	https://bugs.python.org/issue30622
		https://github.com/python/cpython/commit/b2d096bd2a5ff86e53c25d00ee5fa097b36bf1d8
PR:		222795
Submitted by:	brnrd
MFH:		2018Q1
</content>
</entry>
<entry>
<title>Set PORTNAME to python and add PKGNAMESUFFIX</title>
<updated>2018-02-11T16:52:36Z</updated>
<author>
<name>Sunpoet Po-Chuan Hsieh</name>
<email>sunpoet@FreeBSD.org</email>
</author>
<published>2018-02-11T16:52:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=a76632bc3497f4be95e6ab908e83e03cf4bd851b'/>
<id>urn:sha1:a76632bc3497f4be95e6ab908e83e03cf4bd851b</id>
<content type='text'>
- Sort USES
- Remove CPE_*: all of them are default values
- Update http:// links in Makefile comments and patch files
</content>
</entry>
<entry>
<title>- Remove SEM option by making it always avalible</title>
<updated>2017-04-23T21:16:47Z</updated>
<author>
<name>Martin Wilke</name>
<email>miwi@FreeBSD.org</email>
</author>
<published>2017-04-23T21:16:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=38e0c39859efc2f503a03e3a817b58248d262e96'/>
<id>urn:sha1:38e0c39859efc2f503a03e3a817b58248d262e96</id>
<content type='text'>
Since FreeBSD 8.x EOL in 2015-08-01 the option doesn't have any value beyond
footshooting[1]. sem_open() and sem_init(pshared=1) always work FreeBSD 9.0
or later after base r201546.

[1] https://lists.freebsd.org/pipermail/freebsd-ports/2017-April/108116.html

PR:		218641
Reported by:	jbeich
Exp-run:        antoine
MFH:		2017Q2
Differential Revision:	https://reviews.freebsd.org/D10446
</content>
</entry>
<entry>
<title>- Update to 2.7.13</title>
<updated>2016-12-26T01:01:04Z</updated>
<author>
<name>Wen Heping</name>
<email>wen@FreeBSD.org</email>
</author>
<published>2016-12-26T01:01:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=003329ce2253ad855d8061e206be4db4a4d7d3ca'/>
<id>urn:sha1:003329ce2253ad855d8061e206be4db4a4d7d3ca</id>
<content type='text'>
PR:		215375
Submitted by:	wen@
Exp-run by:	antoine@
</content>
</entry>
<entry>
<title>Remove no-op patch.</title>
<updated>2016-11-02T14:51:48Z</updated>
<author>
<name>Tijl Coosemans</name>
<email>tijl@FreeBSD.org</email>
</author>
<published>2016-11-02T14:51:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=0d2a64d2f9abfa0ab295668749db236b22c0544b'/>
<id>urn:sha1:0d2a64d2f9abfa0ab295668749db236b22c0544b</id>
<content type='text'>
This patch was submitted to upstream libffi and from there to upstream
libtool, but it doesn't do anything.  The original patch committed in
r158131 did do something but when it was no longer needed it was changed
into something that doesn't make sense in r221521 instead of being removed.
Remove it now before it causes more confusion.
</content>
</entry>
</feed>
