Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
Python

Behind the Scenes at the Python Software Foundation (python.org) 8

The Python Software Foundation ("made up of, governed, and led by the community") does more than just host Python and its documnation, the Python Package Repository, and the development workflows of core CPython developers. This week the PSF released its 28-page Annual Impact Report this week, noting that 2024 was their first year with three CPython developers-in-residence — and "Between Lukasz, Petr, and Serhiy, over 750 pull requests were authored, and another 1,500 pull requests by other authors were reviewed and merged." Lukasz Langa co-implemented the new colorful shell included in Python 3.13, along with Pablo Galindo Salgado, Emily Morehouse-Valcarcel, and Lysandros Nikolaou.... Code-wise, some of the most interesting contributions by Petr Viktorin were around the ctypes module that allows interaction between Python and C.... These are just a few of Serhiy Storchaka's many contributions in 2024: improving error messages for strings, bytes, and bytearrays; reworking support for var-arguments in the C argument handling generator called "Argument Clinic"; fixing memory leaks in regular expressions; raising the limits for Python integers on 64-bit platforms; adding support for arbitrary code page encodings on Windows; improving complex and fraction number support...

Thanks to the investment of [the OpenSSF's security project] Alpha-Omega in 2024, our Security Developer-in-Residence, Seth Larson, continued his work improving the security posture of CPython and the ecosystem of Python packages. Python continues to be an open source security leader, evident by the Linux kernel becoming a CVE Numbering Authority using our guide as well as our publication of a new implementers guide for Trusted Publishers used by Ruby, Crates.io, and Nuget. Python was also recommended as a memory-safe programming language in early 2024 by the White House and CISA following our response to the Office of the National Cyber Directory Request for Information on open source security in 2023... Due to the increasing demand for SBOMs, Seth has taken the initiative to generate SBOM documents for the CPython runtime and all its dependencies, which are now available on python.org/downloads. Seth has also started work on standardizing SBOM documents for Python packages with PEP 770, aiming to solve the "Phantom Dependency" problem and accurately represent non-Python software included in Python packages.

With the continued investment in 2024 by Amazon Web Services Open Source and Georgetown CSET for this critical role, our PyPI Safety & Security Engineer, Mike Fiedler, completed his first full calendar year at the PSF... In March 2024, Mike added a "Report project as malware" button on the website, creating more structure to inbound reports and decreasing remediation time. This new button has been used over 2,000 times! The large spike in June led to prohibiting Outlook email domains, and the spike in November was driven by a persistent attack. Mike developed the ability to place projects in quarantine pending further investigation. Thanks to a grant from Alpha-Omega, Mike will continue his work for a second year. We plan to do more work on minimizing time-on-PyPI for malware in 2025...

In 2024, PyPI saw an 84% growth in download counts and 48% growth in bandwidth, serving 526,072,569,160 downloads for the 610,131 projects hosted there, requiring 1.11 Exabytes of data transfer, or 281.6 Gbps of bandwidth 24x7x365. In 2024, 97k new projects, 1.2 million new releases, and 3.1 million new files were uploaded to the index.

Behind the Scenes at the Python Software Foundation

Comments Filter:
  • by greytree ( 7124971 ) on Monday June 23, 2025 @03:19AM (#65469157)
    What constitutes a "download" ?

    Because that is ~75 "downloads" for every person on earth ?!
  • Speed it up! (Score:4, Insightful)

    by Viol8 ( 599362 ) on Monday June 23, 2025 @04:46AM (#65469209) Homepage

    They need to really speed it up because core python is dog slow. Right now it cannot be used for any CPU bound applications where execution time matters unless its just acting as a simple wrapper script to call embedded C code.

    • No interpreted language will achieve similar speeds to compiled. Not sure what the use case is here but why would you expect similar performance? Different tools.

      • Re: (Score:2, Insightful)

        by Viol8 ( 599362 )

        Where did I say I was expecting similar performance? But Python is slow even for an interpreted language especially given its usually compiled to bytecode first. I would expect similar performance to Java , not run at approx 1/100th the speed of compiled C!

        • Re:Speed it up! (Score:5, Interesting)

          by Fons_de_spons ( 1311177 ) on Monday June 23, 2025 @07:28AM (#65469379)
          I started programming in python a year back, not professionally, but just for small hobby projects. I do have a lot of professional matlab programming experience. There are a lot of similarities. One is that for loops are extremely slow. The trick is to avoid those as much as possible and use built-in functions instead.
          Not sure I am happy that python is the most popular language. Personally I prefer languages that are closer to the hardware.
        • Where did I say I was expecting similar performance? But Python is slow even for an interpreted language especially given its usually compiled to bytecode first. I would expect similar performance to Java , not run at approx 1/100th the speed of compiled C!

          1/100 the speed of compiled languages is typical for interpreted languages.

          Non-ancient implementations of Java are fully compiled. Toy benchmarks and Java programs carefully written as if there were no automatic memory management (and don't call standard libraries) can run just as fast ac C code.

          Java can't directly support features that depend on dynamic typing and similar flexible run-time behavior that interpreted languages. However, many Java developers sorely miss those features, so they heavily use the

  • by greytree ( 7124971 ) on Monday June 23, 2025 @06:01AM (#65469285)
    Let's release Python 4.0.
    And make it incompatible with Python 3 !
    It will still be causing problems decades from now !
    Bwahahaha !

Only great masters of style can succeed in being obtuse. -- Oscar Wilde Most UNIX programmers are great masters of style. -- The Unnamed Usenetter

Working...