Page 2, found in 77 ms
-
discuss.python.orghttps://discuss.python.org › t › basic-syntax-layer-and-syntax-… › 102071Basic Syntax Layer and Syntax Transformation - Ideas - Discussions on Python.org
More about discuss.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 …
-
discuss.python.orghttps://discuss.python.org › t › deadlock-in-python-queue-module › 10531Deadlock in python queue module - Python Help - Discussions on Python.org
More about discuss.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 …
-
discuss.python.orghttps://discuss.python.org › t › auto-import-cli › 84451Auto import CLI - Ideas - Discussions on Python.org
More about discuss.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 …
-
discuss.python.orghttps://discuss.python.org › t › default-argument-with-incompat… › 82552Default argument with incompatible type - Typing - Discussions on Python.org
More about discuss.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 …
-
discuss.python.orghttps://discuss.python.org › t › creating-a-handler-for-importi… › 105899Creating a handler for importing a new file extension - Python Help - Discussions on Python.org
More about discuss.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 …
-
discuss.python.orghttps://discuss.python.org › t › copy-files-and-paste-and-renam… › 25756Copy files and paste and rename into different folder - Python Help - Discussions on Python.org
More about discuss.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 …
-
discuss.python.orghttps://discuss.python.org › t › doing-something-evil-deleting-… › 19184Doing something evil: deleting a class (not instance) from memory - Python Help - Discussions on Python.org
More about discuss.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 …
-
discuss.python.orghttps://discuss.python.org › t › add-elementtree-iterparse-clos… › 16355Add ElementTree.iterparse.close; remove function and class creation on call - Core Development - Discussions on Python.org
More about discuss.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 …
-
discuss.python.orghttps://discuss.python.org › t › count-number-of-times-key-appe… › 19666Count number of times key appears in json - Python Help - Discussions on Python.org
More about discuss.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 …
-
discuss.python.orghttps://discuss.python.org › t › bootstrapping-a-specific-versi… › 12306Bootstrapping a specific version of pip - Packaging - Discussions on Python.org
More about discuss.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 …
Search for “source code site:python.org” on Google, or add !ddg, !w and other shortcuts to any search.