Page 6, found in 66 ms

  1. discuss.python.orghttps://discuss.python.org › t › a-hook-to-allow-adding-notes-t… › 21151
    More about discuss.python.org
    A hook to allow adding notes to ModuleNotFoundError - Ideas - Discussions on Python.org

    ForumNov 16, 2022. … in its error handling code but it also stores the exception into sys.last_value . It should be possible to walk the traceback and check for missing sources, download those sources, invalidate any …

    0 points
  2. discuss.python.orghttps://discuss.python.org › t › cryptic-sequences-in-comments › 38694
    More about discuss.python.org
    Cryptic sequences in comments - Core Development - Discussions on Python.org

    ForumNov 14, 2023. … the reader of our source code. I suggest the following practises to be used instead of XXX sequences: XXX meaning TODO: create a follow-up issue instead; if the comment is still …

    0 points
  3. discuss.python.orghttps://discuss.python.org › t › ai-python-compiler-transpile-p… › 103759
    More about discuss.python.org
    "AI Python compiler" - Transpile Python to Golang with LLMs for 10x perf gain? PyPI-like service to host transpiled packages - Python Help - Discussions on Python.org

    ForumSep 15, 2025. … to convert also their code. If a package (e.g. Django) is transpiled to Go, how would the organisation’s business code access the transpiled open source package? We’d need to have a package …

    0 points
  4. discuss.python.orghttps://discuss.python.org › t › cpython-behavior-regarding-pyc… › 30992
    More about discuss.python.org
    Cpython behavior regarding pycache folder on read-only volume - Python Help - Discussions on Python.org

    ForumAug 4, 2023. … do anything with Python source code, it’s first compiled into bytecode. You can play around with that interactively: >>> compile("""print("Hello, world!")""", "-", "exec").co_code b'\x97\x00\x02\x00e\x00d\x00 …

    0 points
  5. discuss.python.orghttps://discuss.python.org › t › can-mypy-speedup-python-scripts › 14638
    More about discuss.python.org
    Can Mypy speedup python scripts - Python Help - Discussions on Python.org

    ForumMar 27, 2022. … in docstrings, or a code reformatter. How could it know? No, the Python interpreter cannot use the static type checking to speed up scripts. Static typing is for checking program correctness, not …

    0 points
  6. discuss.python.orghttps://discuss.python.org › t › cant-decipher-how-to-use-timeit › 28258
    More about discuss.python.org
    Can't decipher how to use `timeit` - Python Help - Discussions on Python.org

    ForumJun 21, 2023. … way to see the source code is btw to click on the “Source code” link at the top of the module’s documentation . Artoria2e5 (Mingye Wang) June 22, 2023, 3:09pm 6 Hmm …

    0 points
  7. discuss.python.orghttps://discuss.python.org › t › append-mylist-append-optimizat… › 36028
    More about discuss.python.org
    `append = mylist.append` optimization now harmful? - Python Help - Discussions on Python.org

    ForumOct 12, 2023. … you read through the source code to find out whether we intentionally did something about this. Also, 3.11, 3.12 and main (3.13-to-be) might be different. Please don’t. Maybe we can …

    0 points
  8. discuss.python.orghttps://discuss.python.org › t › cython-in-jupyter-in-vs-code › 9528
    More about discuss.python.org
    Cython in Jupyter in VS Code - Python Help - Discussions on Python.org

    ForumJul 1, 2021. … unless you edit your code with Photoshop. Judging from your subject line, you have five possible sources of error here: your code Cython Jupyter VS Code Python If the error is hard …

    0 points
  9. discuss.python.orghttps://discuss.python.org › t › can-i-get-a-second-opinion-on-… › 18471
    More about discuss.python.org
    Can I get a second opinion on an asyncio issue? - Async-SIG - Discussions on Python.org

    ForumAug 24, 2022. … firewalls, bugs in our codes, etc. First, we need to determine the location of the problem: the task code or the task creation code. aiomonitor-sample 1920×1092 255 KB The above …

    0 points
  10. discuss.python.orghttps://discuss.python.org › t › can-i-use-python-m-pdb-for-spe… › 16585
    More about discuss.python.org
    can i use python -m pdb for specific line? - Python Help - Discussions on Python.org

    ForumJun 17, 2022. … a line in your source code at the point where you want to enter the debugger, and then run your program normally (not using pdb ). The debugger will be opened at that …

    0 points

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