python-ephemeral-port-reserve 1.1.4-2 source package in Ubuntu

Changelog

python-ephemeral-port-reserve (1.1.4-2) unstable; urgency=medium

  * Re-upload source-only.
  * Add missing dh_python3 --shebang=/usr/bin/python3 call.

 -- Thomas Goirand <email address hidden>  Sat, 17 Sep 2022 17:22:56 +0200

Upload details

Uploaded by:
Debian Python Team
Uploaded to:
Sid
Original maintainer:
Debian Python Team
Architectures:
all
Section:
misc
Urgency:
Medium Urgency

See full publishing history Publishing

Series Pocket Published Component Section
Oracular release universe misc
Noble release universe misc
Mantic release universe misc
Lunar release universe misc

Builds

Lunar: [FULLYBUILT] amd64

Downloads

File Size SHA-256 Checksum
python-ephemeral-port-reserve_1.1.4-2.dsc 2.2 KiB 10708ab10d536c7ccdd579e354620d8a5f19b341699bbc6a274bc71e2859ec41
python-ephemeral-port-reserve_1.1.4.orig.tar.xz 4.5 KiB 3bbdb097cabc6f278730d64e4f09e50822164a1dee07e2efb77798dd5610ebdb
python-ephemeral-port-reserve_1.1.4-2.debian.tar.xz 2.7 KiB f1bb3ac209982c15aa2b9cba186f90742137b249094b31598c13994e46f406fa

No changes file available.

Binary packages built by this source

python3-ephemeral-port-reserve: binds to an ephemeral port, force it into the TIME_WAIT state, and unbind it

 Sometimes you need a networked program to bind to a port that can't be
 hard-coded. Generally this is when you want to run several of them in
 parallel; if they all bind to port 8080, only one of them can succeed.
 .
 The usual solution is the "port 0 trick". If you bind to port 0, your kernel
 will find some arbitrary high-numbered port that's unused and bind to that.
 Afterward you can query the actual port that was bound to if you need to use
 the port number elsewhere. However, there are cases where the port 0 trick
 won't work. For example, mysqld takes port 0 to mean "the port configured in
 my.cnf". Docker can bind your containers to port 0, but uses its own
 implementation to find a free port which races and fails in the face of
 parallelism.
 .
 ephemeral-port-reserve helps you using port 0.