748 matching pages, found in 214 ms
Ask StyxWritten on your GPU machine; takes a few seconds the first time.
-
peps.python.orghttps://peps.python.org › pep-0304PEP 304 – Controlling Generation of Bytecode Files | peps.python.org
More about peps.python.org
… which Python understands. PYTHONBYTECODEBASE is interpreted as follows: If not defined, Python bytecode is generated in exactly the same way as is currently done. sys.bytecodebase is set to the root directory (either …
-
peps.python.orghttps://peps.python.org › pep-0597PEP 597 – Add optional EncodingWarning | peps.python.org
More about peps.python.org
… EncodingWarning . sys.flags.warn_default_encoding is also added. The flag is true when EncodingWarning is enabled. When the flag is set, io.TextIOWrapper() , open() and other modules using them will emit EncodingWarning when the …
-
peps.python.orghttps://peps.python.org › pep-0844PEP 844 – public and private builtins | peps.python.org
More about peps.python.org
… terms of __all__ . This is specification text, not folklore. Python is not missing a way to say what is public; it has one, and it is documented. Exhaustiveness is already the contract …
-
peps.python.orghttps://peps.python.org › pep-0824PEP 824 – None-coalescing operators | peps.python.org
More about peps.python.org
… hand side. The result is cached, so that the expression is not evaluated again. If the value is not None , the cached result is returned. If it is None , the right-hand …
-
peps.python.orghttps://peps.python.org › pep-0483PEP 483 – The Theory of Type Hints | peps.python.org
More about peps.python.org
… define a new relationship, is-consistent-with, which is similar to is-subtype-of, except it is not transitive when the new type Any is involved. (Neither relationship is symmetric.) Assigning a …
-
peps.python.orghttps://peps.python.org › pep-0818PEP 818 – Adding the Core of the Pyodide Foreign Function Interface to Python | peps.python.org
More about peps.python.org
… versa. If the object is immutable, it is okay if the result is only equal to the original object and not the same object. If the object is mutable, it should be …
-
peps.python.orghttps://peps.python.org › pep-0280PEP 280 – Optimizing access to globals | peps.python.org
More about peps.python.org
… but the cell’s objptr is NULL ; let’s call such a cell empty. When the celldict is used as a mapping, it is as if empty cells don’t exist. However, once added, a …
-
peps.python.orghttps://peps.python.org › pep-0317PEP 317 – Eliminate Implicit Exception Instantiation | peps.python.org
More about peps.python.org
… string exceptions this actually is the case, but for instance exceptions it is not. When instantiation is implicit, it is not obvious when it occurs, for example, whether it occurs when the …
-
peps.python.orghttps://peps.python.org › pep-0416PEP 416 – Add a frozendict builtin type | peps.python.org
More about peps.python.org
… getter descriptor. This type is not public. dictproxy is a read-only view of a dictionary, but it is not read-only mapping. If a dictionary is modified, the dictproxy is also …
-
peps.python.orghttps://peps.python.org › pep-0499PEP 499 – python -m foo should also bind 'foo' in sys.modules | peps.python.org
More about peps.python.org
… one of the modules) is obtained and where the comparison class or instance is obtained. This impacts isinstance , issubclass and also try / except constructs. Proposal It is suggested that to fix this …
Search for “is site:peps.python.org” on Google, or add !ddg, !w and other shortcuts to any search.