748 matching pages, found in 214 ms

Ask StyxWritten on your GPU machine; takes a few seconds the first time.

  1. peps.python.orghttps://peps.python.org › pep-0304
    More about peps.python.org
    PEP 304 – Controlling Generation of Bytecode Files | 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 …

    0 points
  2. peps.python.orghttps://peps.python.org › pep-0597
    More about peps.python.org
    PEP 597 – Add optional EncodingWarning | 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 …

    0 points
  3. peps.python.orghttps://peps.python.org › pep-0844
    More about peps.python.org
    PEP 844 – public and private builtins | 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 …

    0 points
  4. peps.python.orghttps://peps.python.org › pep-0824
    More about peps.python.org
    PEP 824 – None-coalescing operators | 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 …

    0 points
  5. peps.python.orghttps://peps.python.org › pep-0483
    More about peps.python.org
    PEP 483 – The Theory of Type Hints | 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 …

    0 points
  6. peps.python.orghttps://peps.python.org › pep-0818
    More about peps.python.org
    PEP 818 – Adding the Core of the Pyodide Foreign Function Interface to Python | 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 …

    0 points
  7. peps.python.orghttps://peps.python.org › pep-0280
    More about peps.python.org
    PEP 280 – Optimizing access to globals | 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 …

    0 points
  8. peps.python.orghttps://peps.python.org › pep-0317
    More about peps.python.org
    PEP 317 – Eliminate Implicit Exception Instantiation | 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 …

    0 points
  9. peps.python.orghttps://peps.python.org › pep-0416
    More about peps.python.org
    PEP 416 – Add a frozendict builtin type | 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 …

    0 points
  10. peps.python.orghttps://peps.python.org › pep-0499
    More about peps.python.org
    PEP 499 – python -m foo should also bind 'foo' in sys.modules | 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 …

    0 points

Search for “is site:peps.python.org” on Google, or add !ddg, !w and other shortcuts to any search.