Notice: While JavaScript is not essential for this website, your interaction with the content will be limited. Please turn JavaScript on for the full experience.
Pi-thon 2022 PSF Spring Fundraiser Pi-thon 2022 PSF Spring Fundraiser Launching on a very special day on the calendar, we invite you to honor the PSF and our favorite Greek letter and irrational number with a gift to support the Python ecosystem. ALL donors who give any multiple of 𝛑 will receive a special digital 𝛑SF swag bag. Show your love for our Python community and contribute to the Spring Fundraiser by May 3rd to get your slice of the pi! We aren’t setting a spec...
...slicing, so negative values count from the end of the list. (New in 2.3b1.) As of 2.3b2, list.index() now accepts optional start and end arguments. New-style classes that don't define __new__ or __init__ no longer ignore constructor arguments. (New in 2.3a2.) Hex/oct literals prefixed with a minus sign were handled inconsistently. This has been fixed in accordance with PEP 237. (New in 2.3a2.) Functions now have a __module__ attribute too. (New in 2.3a2.) Passing a float to C functions exp...
Python Success Stories Introduction ForecastWatch.com, a service of Intellovations, is in the business of rating the accuracy of weather reports from companies such as Accuweather, MyForecast.com, and The Weather Channel. Over 36,000 weather forecasts are collected every day for over 800 U.S. cities, and later compared with actual climatological data. These comparisons are used by meteorologists to improve their weather forecasts, and to compare their forecasts with others. They are also used...
Version: None
Released: Oct. 5, 2020
This is the stable release of Python 3.9.0 Note: The release you're looking at is Python 3.9.0, a legacy release. Python 3.11 is now the latest feature release series of Python 3. Get the latest release of 3.11.x here. Installer news This is the first version of Python to …
View Release Notes
Python Humor Here is a spurious collection of semi to totally unserious stuff, mostly postings found wafting gently in the comp.lang.python newsgroup (a.k.a. the python-list mailing list). See also Andrew Kuchling's collection of Python quotations, containing in a condensed form some sterling examples of the wit and wisdom encountered in the Python world. Contents The Zen of Python Fundamental... Cute Wabbit Shooting Yourself in the Foot Legal Issues Python vs Tcl vs Perl5 Python Object Orie...
A Journey to Python by Alex Martelli, 2006 recipient of the Frank Willison Award After a quarter century of experience in programming (once as a sideline of my main job as a hardware designer, at Texas Instruments and IBM Research, but as my main job for over half that time, at IBM Research and Cad.Lab/think3), I finally stumbled upon Python in 1999. This was thanks to the kind nagging of a friend and colleague whose judgment I respected and to whom I still feel grateful for his insistence (A...
Python 1.6 Python 1.6 Note: See the download pages for more recent releases. The final version of Python 1.6 is released on September 5, 2000. (What's new?) CNRI has placed an open source license on this version. CNRI believes that this version is compatible with the GPL, but there is a technicality concerning the choice of law provision, which Richard Stallman believes may make it incompatible. CNRI is still trying to work this out with Stallman. Future versions of Python ...
...slicing [Tip] and program paths [Ball] as techniques to help users understand where to make changes and what impact those changes will have. Slicing is a well-known technique for identifying subsets of programs that affect a particular variable. Analysis via program paths shows the various possible execution paths through a body of code. Each technique has value for testing and debugging programs. Two challenges are to apply these techniques across language boundaries and to identify abst...
...slicing, so negative values count from the end of the list. This was the only place where such an interpretation was not placed on a list index. range() now works even if the arguments are longs with magnitude larger than sys.maxint, as long as the total length of the sequence fits. E.g., range(2**100, 2**101, 2**100) is the following list: [1267650600228229401496703205376L]. (SF patch #707427.) Some horridly obscure problems were fixed involving interaction between garbage collection and old...
Python 1.6.1 Python 1.6.1 Note: See the download pages for more recent releases. What's new? Python 1.6 was the last of the versions developed at CNRI and the only version issued by CNRI with an open source license. Following the release of Python 1.6, and after Guido van Rossum left CNRI to work with commercial software developers, it became clear that the ability to use Python with software available under the GNU General Public License (GPL) was very desirable. CNRI and the Free Softwa...
...Slicing, slice assignment and comparison (equality and inequality) have been added. Also, the tolist() method has been implemented, but only for byte buffers. Endly, the API has been updated to return bytes objects wherever it used to return bytearrays. Issue #3560: clean up the new C PyMemoryView API so that naming is internally consistent; add macros PyMemoryView_GET_BASE() and PyMemoryView_GET_BUFFER() to access useful properties of a memory views without relying on a particular implementati...
Notes (editors: check NEWS.help for information about editing NEWS using ReST.) What's New in Python 2.4 final? Release date: 30-NOV-2004 Core and builtins Bug 875692: Improve signal handling, especially when using threads, by forcing an early re-execution of PyEval_EvalFrame() "periodic" code when things_to_do is not cleared by Py_MakePendingCalls(). What's New in Python 2.4 (release candidate 1) Release date: 18-NOV-2004 Core and builtins Bug 1061968: Fixes in 2.4a3 to ad...
Notes Python 2.1.3 Release Notes Release date: 08-April-2002 What's new in Python 2.1.3 (final)? Core Fixed two bugs reported as SF #535905: under certain conditions, deallocating a deeply nested structure could cause a segfault in the garbage collector, due to interaction with the "trashcan" code; access to the current frame during destruction of a local variable could access a pointer to freed memory. SF #457466: popenx() argument mangling hangs python (win9x only). Under certa...
Parade of the PEPs Parade of the PEPs To start off Developer's Day at the Python10 conference I gave a keynote ending in what I dubbed "the parade of the PEPs". It was a brief overview of all open PEPs, where I gave my highly personal and subjective opinion for each PEP. Later, I realized that this might have been of interest to other developers. I didn't take notes at the conference, so below is a different set of comments that I created from scratch during a single two-hour sitt...
If you didn't find what you need, try your search in the Python language documentation.