586 matching pages, found in 127 ms

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

  1. discuss.python.orghttps://discuss.python.org › t › best-guide-to-the-cpython-sour… › 24924
    More about discuss.python.org
    Best guide to the CPython Source Code? - Python Help - Discussions on Python.org

    ForumMar 16, 2023. … guide to the CPython Source Code? Python Help unstuckify (Unstuckify) March 16, 2023, 8:42pm 1 Is the CPython source code deliberately obfuscated? Is there a “best” guide to the CPython Source …

    0 points
  2. discuss.python.orghttps://discuss.python.org › t › avoid-having-version-number-in… › 10188
    More about discuss.python.org
    Avoid having version number in source code - Packaging - Discussions on Python.org

    ForumAug 17, 2021. Avoid having version number in source code Packaging guettli (Thomas Güttler) August 17, 2021, 7:49am 1 I like to release often. The downside: Many changes in the git repo are changes …

    0 points
  3. discuss.python.orghttps://discuss.python.org › t › did-python-ever-care-about-lin… › 41598
    More about discuss.python.org
    Did Python ever care about line endings in source code? - Python Help - Discussions on Python.org

    ForumDec 21, 2023. Did Python ever care about line endings in source code? Python Help kknechtel (Karl Knechtel) December 21, 2023, 6:30am 1 I’ve been cleaning up a lot of old duplicate questions on …

    0 points
  4. discuss.python.orghttps://discuss.python.org › t › discuss-python-org-source-code › 90903
    More about discuss.python.org
    Discuss.python.org source code? - Discourse Feedback - Discussions on Python.org

    ForumMay 6, 2025. Discuss.python.org source code? Discourse Feedback bve (Brad van der Meer) May 6, 2025, 5:03am 1 Is the source code for this site available anywhere? Thanks! BrenBarn (Brendan Barnwell) May 6, 2025 …

    0 points
  5. discuss.python.orghttps://discuss.python.org › t › prevalence-staleness-of-stubs-… › 70457
    More about discuss.python.org
    Prevalence/Staleness of Stubs Packages in Pypi - Typing - Discussions on Python.org

    Nov 7, 2024. … want to annotate their code directly with types, it seems like there are three options. Generate stubs alongside the code & set up CI to ensure they are updated along with the source …

    0 points
  6. discuss.python.orghttps://discuss.python.org › t › assembly-optimizations-for-pyt… › 69233
    More about discuss.python.org
    Assembly optimizations for python (sorry! Didn’t check source) - Ideas - Discussions on Python.org

    ForumOct 26, 2024. … looking for small assembly code that we can call from the python source and possible modules Ty!! MegaIng (Cornelius Krupp) October 26, 2024, 7:27am 2 I would suggest you look into …

    0 points
  7. discuss.python.orghttps://discuss.python.org › t › change-key-name-in-json-python › 19667
    More about discuss.python.org
    Change key name in json python - Python Help - Discussions on Python.org

    ForumOct 3, 2022. … lastName": null, "costCenter": null }, { "codes": [ { "source": { "**name**": "net_salary", "**value**": 11500 }, "name": "net_salary", "code": "rt_sa", "value": 11500 }, { "**identifiers**": { "FullName": null, "NINumber": null, "Comp ID": null }, "lastName": null, "costCenter": null }, { "codes …

    0 points
  8. discuss.python.orghttps://discuss.python.org › t › bug-in-tokenizer-comments › 110169
    More about discuss.python.org
    Bug in tokenizer # comments - Python Help - Discussions on Python.org

    ForumNov 18, 2026. … modi_toks = [] toks = tokenize(source_code) for tok in toks: modi_toks.append(tok) modi_source = untokenize(modi_toks) assert modi_source == source_code In addition, since you want to modify the source …

    0 points
  9. discuss.python.orghttps://discuss.python.org › t › auto-import-cli › 84451
    More about discuss.python.org
    Auto import CLI - Ideas - Discussions on Python.org

    ForumMar 14, 2025. … def wrap_last_expr(source_code): """ Parse the source code; if the last statement is an expression, replace it with an assignment to __result and an if-statement that prints __result if …

    0 points
  10. discuss.python.orghttps://discuss.python.org › t › await-asyncio-gather-task-hang… › 30381
    More about discuss.python.org
    `await asyncio.gather(task)` hangs when `await task` works - Python Help - Discussions on Python.org

    ForumJul 27, 2023. … with one function: My code looks like this (hangs): evaluations = [] async for source_pitch in self.source_pitches.all(): evaluations.append(Evaluation.create(source_pitch, batch=self)) await asyncio.gather(*evaluations, return_exceptions=True) While this runs …

    0 points

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