Skip to content
TILens What matters today in tech v0.3.0
Theme

Topic - Edition

Python

7 items on 07 Aug 2026
Python

PEP 842: Module Exports (new revision)

I’ve created a new revision of PEP 842 based on the feedback from the first discussion thread. In short, the PEP now proposes an export (soft) keyword, while still using the __export__ list as the backend. Get it while…

Source: Python PEPs Peter Bierma
Python

Add `getprotobynumber` to the `socket` module

getprotobyname already exists there. This should be trivial to implement. getservbyport also exists. If we do it for /etc/services, then why not /etc/protocols? It doesn’t make sense to make a multiplication table:…

Source: Python Ideas Herbanonymous