Page 2, found in 77 ms

  1. discuss.python.orghttps://discuss.python.org › t › basic-syntax-layer-and-syntax-… › 102071
    More about discuss.python.org
    Basic Syntax Layer and Syntax Transformation - Ideas - Discussions on Python.org

    ForumAug 12, 2025. … look at the generated source code (Rust). (The role is equivalent to the machine code.) (Personally, I don’t want that.) Looking back at this issue, since source code is a shared convention …

    0 points
  2. discuss.python.orghttps://discuss.python.org › t › deadlock-in-python-queue-module › 10531
    More about discuss.python.org
    Deadlock in python queue module - Python Help - Discussions on Python.org

    ForumSep 9, 2021. … looked at the Python source for the queue module. It looks pretty straightforward for queue code, and is probably not the source of the problem. Otherwise, you could set some gdb breakpoints …

    0 points
  3. 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
  4. discuss.python.orghttps://discuss.python.org › t › default-argument-with-incompat… › 82552
    More about discuss.python.org
    Default argument with incompatible type - Typing - Discussions on Python.org

    ForumFeb 28, 2025. … typing in the pandas source supports the use case of the developers of pandas. pandas-stubs supports the use case of people using pandas as a library. Maybe someday they will converge …

    0 points
  5. discuss.python.orghttps://discuss.python.org › t › creating-a-handler-for-importi… › 105899
    More about discuss.python.org
    Creating a handler for importing a new file extension - Python Help - Discussions on Python.org

    ForumJan 27, 2026. … would be to hard code the default loader_details into my code rather than jumping through hoops to extract them programmatically, but that feels even more likely to break in future versions …

    0 points
  6. discuss.python.orghttps://discuss.python.org › t › copy-files-and-paste-and-renam… › 25756
    More about discuss.python.org
    Copy files and paste and rename into different folder - Python Help - Discussions on Python.org

    ForumApr 13, 2023. … help. Below is my code. import os import shutil source_folder = r"E:\files\reports\\" destination_folder = r"E:\files\finalreport\\" for root, dirs, files in os.walk(source_folder): for file in …

    0 points
  7. discuss.python.orghttps://discuss.python.org › t › doing-something-evil-deleting-… › 19184
    More about discuss.python.org
    Doing something evil: deleting a class (not instance) from memory - Python Help - Discussions on Python.org

    ForumSep 16, 2022. … why changes to the source code are not back-propagated to instances created in previous requests. If you make a change to the source code of C after request 2 but before …

    0 points
  8. discuss.python.orghttps://discuss.python.org › t › add-elementtree-iterparse-clos… › 16355
    More about discuss.python.org
    Add ElementTree.iterparse.close; remove function and class creation on call - Core Development - Discussions on Python.org

    ForumJun 8, 2022. … time. Each implementation closes source file on object deletion. code from timeit import repeat from xml.etree.ElementTree import XMLPullParser, iterparse as iterparse_old class iterparse1: """ __slots__ = '_source', '_source_opened', '_parser', 'root', '_it' def …

    0 points
  9. discuss.python.orghttps://discuss.python.org › t › count-number-of-times-key-appe… › 19666
    More about discuss.python.org
    Count number of times key appears in json - 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
  10. discuss.python.orghttps://discuss.python.org › t › bootstrapping-a-specific-versi… › 12306
    More about discuss.python.org
    Bootstrapping a specific version of pip - Packaging - Discussions on Python.org

    ForumDec 2, 2021. … I can download the source code directly. But how do I install that source code without running python setup.py install ? There seem to be hints in the get-pip.py GitHub that suggest …

    0 points

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