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.
...sort() keyword arguments - sort() now accepts keyword arguments cmp, key and reverse sorted() - a new builtin sorted() acts like an in-place list.sort() but can be used in expressions, as it returns a copy of the sequence, sorted. string methods - strings gained an rsplit() method, and the string methods ljust(), rjust() and center() accept an argument to specify the fill character. eval() now accepts any form of object that acts as a mapping as its argument for locals, rather than only accepti...
...sort out those which stand no chance of being accepted. Many submission ask for the entire budget of $40,000, many of these will be sorted out as too expensive. Jeremy suggested that some of these might receive just a fraction of their requested funds initially, to let the project start, and see later whether they are worth the money. Stephan asked whether the board could see the proposals; Martin responded that the board had already access. Jeremy observed that the PSF has no privacy statemen...
...sorted by amount; others suggested to simply order sponsors by date. Marc-Andre proposes to sort them by level, then by date. Another suggestion was to use t-shirts and other merchandise to generate donations, e.g. have $2 per t-shirt go to the PSF and use cafepress.com for the processing. Stephan Deibel also suggested that companies buy "donations for bug fixes", but it was decided (in the PSC) that this is too much work for the organizers, so they dropped the idea. There was discussion. Jer...
...sort of high-level command-line parsing help is really nice to have, but not so many that it would take me forever to reimplent the interface several times a fair variety of option types and actions (to use Optik's terminology) (but nothing really arcane or unusual) no positional arguments are expected or allowed -- ie. everything Ripoff needs to know can be taken from command-line options. To keep things concrete, here is Ripoff's help text (as generate...
...sort this out. There was no news on the state of the Merfin LLC payment. Lemburg asked for the bank account details of the PSF bank account needed for the activities of the Public Support Committee (PSC) in order to accept donations via wire-transfer. Jeremy said he'd call up the bank to find out. 4. Python Conference (PyCon) report Van Rossum reported that the conference organization is moving along well. He has signed the contract and paid 10% of the cost as a deposit. The next 15% are d...
...sort of weird dynamic linker error causes dbmmodule to fail on OSF/1 5.1, at least on the HP test machines. It has been reported that untarring the source tarball using Solaris tar or HP/UX tar can fail. This is caused by some pathnames being too long for the tar shipped by the vendor to handle. Using GNU tar should allow for untarring on Solaris and HP/UX. Test suite bugs Some tests may unexpectedly fail on certain platforms. Here are failures that we know (something) about and intend to fi...
...sort. New or upgraded modules and packages In keeping with the theme of adding tried and true packages to the standard library, in 2.5 we've added ctypes, ElementTree, hashlib, sqlite3 and wsgiref to the standard library that ships with Python. Google's summer of code resulted in a new cProfile profiling module. This is a much more efficient version of the venerable profile.py module that's shipped with Python for many many years. GSoC also gave us a rewritten mailbox module that can both read...
...sort of weird dynamic linker error causes dbmmodule to fail on OSF/1 5.1, at least on the HP test machines. It has been reported that untarring the source tarball using Solaris tar or HP/UX tar can fail. This is caused by some pathnames being too long for the tar shipped by the vendor to handle. Using GNU tar should allow for untarring on Solaris and HP/UX. It's been reported that the socketmodule does not build on Irix. This appears to be due to some problems in SGI's...
...Sorting Dictionaries by Value - Griffin This is a small idea that's very important to its proposer, but that IMO attempts to solve a problem that is better solved in some other way, e.g. by teaching newbies the correct algorithm/idiom. I note that the PEP uses sloppy language, e.g. it talks about "sorting a dictionary" while the dictionary itself is never sorted -- the PEP only proposes methods that return the items or keys in sorted order. The PEP also suffers from lack of definiten...
Version: None
Released: Feb. 10, 2020
This is the release candidate of Python 3.8.2, the second maintenance release of Python 3.8 Note: The release you're looking at is Python 3.8.2rc1, 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 …
View Release Notes
Released: June 30, 2020
This is the release candidate of the fourth maintenance release of Python 3.8 Note: The release you're looking at is Python 3.8.4rc1, 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: June 17, 2021
This is a beta preview of Python 3.10 Python 3.10 is still in development. 3.10.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 to support …
...sort of "implicit acceptance by use" that the lawyers don't believe will work, which is why they use acceptance ceremonies, ..... You will notice that we're about simplifying here. Most lawyers operate from caution: anything that might ever possibly help they throw into the license. Every place they do business they have a local license adapted to the conditions there, with every little detail thrown in. We're about elegance. We try to use the absolute minimum, because we're offe...
...sort of weird dynamic linker error causes dbmmodule to fail on OSF/1 5.1, at least on the HP test machines. <li>It has been reported that untarring the source tarball using Solaris tar or HP/UX tar can fail. This is caused by some pathnames being too long for the tar shipped by the vendor to handle. Using <a href="http://www.gnu.org/software/tar/tar.html">GNU tar</a> should allow for untarring on Solaris and HP/UX. </ul> <a name="test"><h4...
...sorts of oddball HTML. Feedparser for parsing RSS/Atom feeds. Paramiko, implementing the SSH2 protocol. Twisted Python, a framework for asynchronous network programming. Scientific and Numeric Python is widely used in scientific and numeric computing: SciPy is a collection of packages for mathematics, science, and engineering. Pandas is a data analysis and modeling library. IPython is a powerful interactive shell that features easy editing and recording of a work session, and supports visual...
...sort; and optional code to inspect the target system and carry out any needed pre-build configuration operations. Only the meta-data will be required, and indeed it is anticipated that most module distributions (especially those written purely in Python) will have only the meta-data component. Some ideas for how to represent the meta-data will be presented below. This document describes an interface based on what we agreed upon at the Developer's Day s...
...sort of weird dynamic linker error causes dbmmodule to fail on OSF/1 5.1, at least on the HP test machines. <li>It has been reported that untarring the source tarball using Solaris tar or HP/UX tar can fail. This is caused by some pathnames being too long for the tar shipped by the vendor to handle. Using <a href="http://www.gnu.org/software/tar/tar.html">GNU tar</a> should allow for untarring on Solaris and HP/UX. <li>A bug in the /usr/include/ncurses.h heade...
...sorts of applications and tools. In other words, Python begins to feel like a big hammer and coding tasks look like nails." -- Mustafa Thamer of Firaxis Games, talking about Civilization IV. Quoted on page 18 of the August 2005 Game Developer Magazine. "We chose to use python because we wanted a well-supported scripting language that could extend our core code. Indeed, we wrote much more code in python than we were expecting, including all in-game screens and the main interface. It wa...
If you didn't find what you need, try your search in the Python language documentation.