Page 2, found in 261 ms
-
peps.python.orghttps://peps.python.org › pep-0829PEP 829 – Package Startup Configuration Files | peps.python.org
More about peps.python.org
… is passed to the first line of user code. This PEP proposes: Replacing import lines in .pth files with entry point specifications (i.e. pkg.mod:callable ) in .start files. The presence of a …
-
peps.python.orghttps://peps.python.org › pep-0653PEP 653 – Precise Semantics for Pattern Matching | peps.python.org
More about peps.python.org
… two special (dunder) attributes, __match_container__ and __match_class__ , in addition to the __match_args__ attribute from PEP 634 , to support pattern matching. Both of these new attributes must be integers and …
-
peps.python.orghttps://peps.python.org › pep-3103PEP 3103 – A Switch/Case Statement | peps.python.org
More about peps.python.org
… is considered for a match. Alternative C Use: case EXPR : to match on a single expression; use: case EXPR , EXPR , ... : to match on multiple expressions (as in alternative A); and use: case …
-
peps.python.orghttps://peps.python.org › pep-0851PEP 851 – Add list.discard() | peps.python.org
More about peps.python.org
… 1] finds 1,062 matches for the first form across 411 projects and 331 for the second across 164 projects. Some of these are on other container types; in the standard library …
-
peps.python.orghttps://peps.python.org › pep-0654PEP 654 – Exception Groups and except* | peps.python.org
More about peps.python.org
… Exception Groups except* Recursive Matching Unmatched Exceptions Naked Exceptions Raising exceptions in an except* block Chaining Raising New Exceptions Caught Exception Objects Forbidden Combinations Backwards Compatibility How to Teach This Reference Implementation …
-
peps.python.orghttps://peps.python.org › pep-0428PEP 428 – The pathlib module – object-oriented filesystem paths | peps.python.org
More about peps.python.org
… be instantiated on a matching system: indeed, it would be error-prone to start doing I/O with WindowsPath objects under Unix, or vice-versa. Furthermore, there are two base classes which …
-
peps.python.orghttps://peps.python.org › pep-0617PEP 617 – New PEG parser for CPython | peps.python.org
More about peps.python.org
… normally constructed from the first sets and the follow sets of the grammar: Given a rule, the first set is the collection of all terminals that can occur first in a full …
-
peps.python.orghttps://peps.python.org › pep-0440PEP 440 – Version Identification and Dependency Specification | peps.python.org
More about peps.python.org
… specifiers Compatible release Version matching Version exclusion Inclusive ordered comparison Exclusive ordered comparison Arbitrary equality Handling of pre-releases Examples Direct references File URLs Updating the versioning specification Summary of differences from …
-
peps.python.orghttps://peps.python.org › pep-0755PEP 755 – Implicit namespace policy for PyPI | peps.python.org
More about peps.python.org
… number of projects that match the namespace. Project Page Every project’s page ( example ) that matches an active namespace grant will indicate what the prefix is (NuGet currently does not do this) and …
-
peps.python.orghttps://peps.python.org › pep-0638PEP 638 – Syntactic Macros | peps.python.org
More about peps.python.org
… Domain-specific extensions Compilers Matching symbolic expressions Zero-cost markers and annotations Prototyping language extensions f-strings: Try finally statement: With statement: Macro definition macros Backwards Compatibility Performance Implications Implementation Reference Implementation …
Search for “First Match site:peps.python.org” on Google, or add !ddg, !w and other shortcuts to any search.