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.
...loop, copy it to a local variable before the loop. And in Python, function names (global or built-in) are also global constants! Try to use map(), filter() or reduce() to replace an explicit for loop, but only if you can use a built-in function: map with a built-in function beats for loop, but a for loop with in-line code beats map with a lambda function! Check your algorithms for quadratic behavior. But notice that a more complex algorithm only pays off for large N - for small N, ...
...fore any other modules. [This used to be done after the next step.] M4. Loop over all modules repeatedly, looking for modules with a reference count of one. Each module with a reference count of one is cleared carefully. The loop stops when no more modules with a reference count of one are found. The modules __builtin__ and sys are excluded from the loop. M5. Clear all remaining modules carefully, except __builtin__ and sys. M6. Clear sys carefully. M7. Clear...
...for improved performance. There is a new collections module for various specialized collection datatypes. Currently it contains just one type, deque, a double-ended queue that supports efficiently adding and removing elements from either end. The asyncore module's loop() now has a count parameter that lets you perform a limited number of passes through the polling loop. The default is still to loop forever. The curses module now supports the ncurses extension use_default_colors(). On platforms w...
...fortunately, that's not going to help you as much as you'd like, because of Python's dynamic nature. E.g. for the expression "a+b" it will have to generate a call to PyNumber_Add(a, b) because it can't know the types of a and b without a *lot* (and a mean a LOT) of type inferencing effort.] Later, Mike writes: Okay, trying to debug this weird stack corruption thing, I thought along the lines of: 1) Stacks should only be corrupted if an object is decref'd which shouldn't be,...
Version: None
Released: Oct. 1, 2019
This is the release candidate of Python 3.8.0 Note: The release you're looking at is Python 3.8.0rc1, an outdated release. Python 3.9 is now the latest feature release series of Python 3. Get the latest release of 3.9.x here. Please keep in mind that this is a preview release …
View Release Notes
...for the space. Adam Turoff is mostly out of the loop. We have until Nov 14 (this Thursday) to sign it. The total costs for the space are $12975; 10% of that is due with the contract. This does not include catering, and it doesn't include all A/V equipment -- those things are extra. The contract requires us to get insurance for a million dollars before we are allowed in the space. Guido plans to talk to Shawn O'Donnell (Zope Corp's CFO) to see if we do this ...
Released: Aug. 29, 2019
This is a beta preview of Python 3.8 Python 3.8 is still in development. This release, 3.8.0b4 is the last of four planned beta release previews. Beta release previews are intended to give the wider community the opportunity to test new features and bug fixes and to prepare their projects …
Released: Oct. 14, 2019
This is the stable release of Python 3.8.0 Note: The release you're looking at is Python 3.8.0, an outdated release. Python 3.11 is now the latest feature release series of Python 3. Get the latest release of 3.11.x here. Major new features of the 3.8 series, compared to 3.7 …
Released: April 29, 2020
This is the release candidate of the third maintenance release of Python 3.8 Note: The release you're looking at is Python 3.8.3rc1, a bugfix release for the legacy 3.8 series. Python 3.11 is now the latest feature release series of Python 3. Get the latest release of 3.11.x here. …
Released: July 20, 2020
This is the fifth maintenance release of Python 3.8 Note: The release you're looking at is Python 3.8.5, a bugfix release for the legacy 3.8 series. Python 3.11 is now the latest feature release series of Python 3. Get the latest release of 3.11.x here. 3.8.5 has been released …
...for the month. He reported: None He reported the following information on the planned activities for next month: 1. Via Steve Holden, we have some information to put together a story about Python's use in schools from David Coopersmith along with a student of his named Isaac. The same story involves some praise for the trademark committee, which may or may not go into the same post. Community service award posts for Audrey Roy and Carl Trachte. 3. Post information about this summer's PyGa...
Released: June 4, 2019
This is a beta preview of Python 3.8 Python 3.8 is still in development. This release, 3.8.0b1 is the first of four planned beta release previews. Beta release previews are intended to give the wider community the opportunity to test new features and bug fixes and to prepare their projects …
Released: July 4, 2019
This is a beta preview of Python 3.8 Python 3.8 is still in development. This release, 3.8.0b2 is the second of four planned beta release previews. Beta release previews are intended to give the wider community the opportunity to test new features and bug fixes and to prepare their projects …
Released: July 29, 2019
This is a beta preview of Python 3.8 Python 3.8 is still in development. This release, 3.8.0b3 is the third of four planned beta release previews. Beta release previews are intended to give the wider community the opportunity to test new features and bug fixes and to prepare their projects …
Released: Dec. 10, 2019
This is the release candidate of Python 3.8.1, the first maintenance release of Python 3.8 Note: The release you're looking at is Python 3.8.1rc1, a bugfix release for the legacy 3.8 series. Python 3.11 is now the latest feature release series of Python 3. Get the latest release of 3.11.x …
Released: Dec. 18, 2019
This is Python 3.8.1, the first maintenance release of Python 3.8 Note: The release you're looking at is Python 3.8.1, a bugfix release for the legacy 3.8 series. Python 3.11 is now the latest feature release series of Python 3. Get the latest release of 3.11.x here. Major new …
Released: Feb. 24, 2020
This is the second maintenance release of Python 3.8 Note: The release you're looking at is Python 3.8.2, a bugfix release for the legacy 3.8 series. Python 3.11 is now the latest feature release series of Python 3. Get the latest release of 3.11.x here. Major new features of …
Released: July 13, 2020
This is the fourth maintenance release of Python 3.8 Note: The release you're looking at is Python 3.8.4, a bugfix release for the legacy 3.8 series. Python 3.11 is now the latest feature release series of Python 3. Get the latest release of 3.11.x here. Major new features of …
Released: Sept. 8, 2020
This is the release candidate of the sixth maintenance release of Python 3.8 Note: The release you're looking at is Python 3.8.6rc1, a bugfix release for the legacy 3.8 series. Python 3.11 is now the latest feature release series of Python 3. Get the latest release of 3.11.x here. …
Released: Dec. 7, 2020
This is the release candidate of the seventh maintenance release of Python 3.8 Note: The release you're looking at is Python 3.8.7rc1, a bugfix release for the legacy 3.8 series. Python 3.11 is now the latest feature release series of Python 3. Get the latest release of 3.11.x here. …
If you didn't find what you need, try your search in the Python language documentation.