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.
09 Nov. from 1am UTC to 3am UTC, 2016
Location: Co-Lab Tucson, Arizona, USA
TuPLE (Tucson Python Language Enthusiasts)
...tuple is equivalent to passing the tuple's items as individual arguments to the class constructor, rather than passing value as a single argument (and an empty tuple calls the constructor without arguments). This makes a difference because there's a difference between f(a, b) and f((a, b)). These are all compromises - they work well with the kind of arguments that the standard exceptions typically take (like a simple string). For clarity in new code, the form raise class...
...tuple. Conveniently, because of the notation *args in __call__'s own argument list, the arguments to __call__ (except for self) are placed in the tuple args. To construct the desired argument list, we concatenate a singleton tuple containing the instance with the args tuple: (self.instance,) + args. (Note the trailing comma used to construct the singleton tuple.) In our example, the resulting argument tuple is (aninstance, 10). The intrinsic function apply() takes a function and an ...
...tuple might be automatically converted to a C++ std::vector when passed to a wrapped function accepting a std::vector argument. Full Cross-Module Support Inheritance hierarchies which span Python extension modules are not currently supported by Boost.Python. Other inter-module interaction issues, e.g. exception handling, are expected to arise. Goal: Full support for the interaction of wrapped types and functions residing in different extension modules. Improved ...
...tuples, we could have been sure this would not happen, at the cost of having to write "path = path + (start,)" since "(start)" isn't a singleton tuple -- it is just a parenthesized expression.) It is simple to change this function to return a list of all paths (without cycles) instead of the first path it finds: def find_all_paths(graph, start, end, path=[]): path = path + [start] if start == end: return [path] if not graph.has_key(start): ...
Version: None
Released: March 23, 2020
This is an early developer preview of Python 3.9 Python 3.9 is still in development. This release, 3.9.0a5 is the fifth of six planned alpha releases. Alpha releases are intended to make it easier to test the current state of new features and bug fixes and to test the release …
View Release Notes
...Tuple_SetItem(), are used most often to initialize lists/tuples with new objects that have been created with an initial reference count of 1, which nicely matches their behavior.) On the other hand, PySequence_SetItem(list, index, item) *does* increment the reference count of the item. And it is considered reference count neutral. (But it doesn't work for tuples, which are immutable; this is why you need PyTuple_SetItem().) 2) What the heck is going on with printing? Am I someh...
Released: Aug. 30, 2021
This is the seventh maintenance release of Python 3.9 Note: The release you're looking at is Python 3.9.7, a bugfix release for the legacy 3.9 series. Python 3.11 is now the latest feature release series of Python 3. Get the latest release of 3.11.x here. There's been 187 commits …
Released: March 23, 2022
This is the twelfth maintenance release of Python 3.9 Note: The release you're looking at is Python 3.9.12, a bugfix release for the legacy 3.9 series. Python 3.11 is now the latest feature release series of Python 3. Get the latest release of 3.11.x here. This is a special …
Released: April 28, 2020
This is an early developer preview of Python 3.9 Python 3.9 is still in development. This release, 3.9.0a6 is the last out of six planned alpha releases. Alpha releases are intended to make it easier to test the current state of new features and bug fixes and to test the …
Released: May 3, 2021
This is the fifth maintenance release of Python 3.9 Note: The release you're looking at is Python 3.9.5, a bugfix release for the legacy 3.9 series. Python 3.11 is now the latest feature release series of Python 3. Get the latest release of 3.11.x here. There's been 111 commits …
Released: Jan. 14, 2022
This is the ninth maintenance release of Python 3.9 Note: The release you're looking at is Python 3.9.10, a bugfix release for the legacy 3.9 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 3, 2020
This is a beta preview of Python 3.9 Python 3.9 is still in development. This release, 3.9.0b4, is the fourth of five 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 20, 2020
This is a beta preview of Python 3.9 Python 3.9 is still in development. This release, 3.9.0b5, is the last of five 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: Sept. 17, 2020
This is the second release candidate of Python 3.9 This release, 3.9.0rc2, is the last preview before the final release of Python 3.9.0 on 2020-10-05. In the mean time, we strongly encourage maintainers of third-party Python projects to prepare their projects for 3.9 compatibility during this phase. As always, …
Released: Feb. 16, 2021
This is the release candidate of the second maintenance release of Python 3.9 Note: The release you're looking at is Python 3.9.2rc1, a release candidate of a bugfix release for the legacy 3.9 series. Python 3.11 is now the latest feature release series of Python 3. Get the latest release …
Released: April 2, 2021
This is the third maintenance release of Python 3.9 NOTE: The release you're looking at has been recalled due to unintentional breakage of ABI compatibility with C extensions built in Python 3.9.0 - 3.9.2. Details in bpo-43710. Please use Python 3.9.4 or newer instead. Python 3.9.3 is an …
Released: April 4, 2021
This is the fourth maintenance release of Python 3.9 Note: The release you're looking at is Python 3.9.4, a bugfix release for the legacy 3.9 series. Python 3.11 is now the latest feature release series of Python 3. Get the latest release of 3.11.x here. Python 3.9.4 is a …
Released: Nov. 5, 2021
This is the eighth maintenance release of Python 3.9 Note: The release you're looking at is Python 3.9.8, a bugfix release for the legacy 3.9 series. Python 3.11 is now the latest feature release series of Python 3. Get the latest release of 3.11.x here. There's been 202 commits …
Released: Nov. 15, 2021
This is the ninth maintenance release of Python 3.9 Note: The release you're looking at is Python 3.9.9, an expedited bugfix release for the legacy 3.9 series. Python 3.11 is now the latest feature release series of Python 3. Get the latest release of 3.11.x here. 3.9.9 was released …
If you didn't find what you need, try your search in the Python language documentation.