Page 2, found in 76 ms
-
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 › 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 › 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 › cpython-import-module-error › 51098Cpython import module error - Python Help - Discussions on Python.org
More about discuss.python.org
ForumApr 16, 2024. … module in my python code? What i want is that i want to execute python code in c++ code, and then this python code imports the package of the local virtual environment …
-
discuss.python.orghttps://discuss.python.org › t › convert-python-to-use-qt-proje… › 27763"Convert " Python to use QT project , qmake option error? - Python Help - Discussions on Python.org
More about discuss.python.org
ForumJun 12, 2023. … more detail about the code you are working with. Is this a PyQt or PySide project? What is the code that you are compiling? What is it that is being “converted”? Is …
-
discuss.python.orghttps://discuss.python.org › t › adding-conditional-compilation… › 13702Adding conditional compilation to Python - Ideas - Discussions on Python.org
More about discuss.python.org
ForumFeb 15, 2022. … Problem These changes are sources of evolution to the language, which is a good thing, but we increasingly see code which would want to adopt to this new syntax but cannot change …
-
discuss.python.orghttps://discuss.python.org › t › ast-parse-mode-single-doesnt-w… › 109909Ast.parse mode='single' doesn't work as expected - Python Help - Discussions on Python.org
More about discuss.python.org
ForumNov 6, 2026. … work though. import ast source_code = \ """print("xyz") x = 1; y = 2 if True: # <- ast fails: IndentationError: expected an indented block after 'if' statement x = 3 """ for line in source_code.splitlines(): ast …
-
discuss.python.orghttps://discuss.python.org › t › biotite-in-vscode-gives-fileno… › 56046Biotite in VScode gives FileNotFoundError! [WinError 2] The system cannot find the file specified - Python Help - Discussions on Python.org
More about discuss.python.org
ForumJun 18, 2024. … please carefully explain: which source code file are you showing us, and why? (Is it part of the code that you wrote, or is it part of someone else’s code that you’re …
-
discuss.python.orghttps://discuss.python.org › t › can-you-hack-the-idle-gui › 14002Can you Hack the IDLE GUI? - Developer Tools - Discussions on Python.org
More about discuss.python.org
ForumMar 1, 2022. … you can copy the code and modify it. You might be able to customise it using the “.Idle.py” mechanism described here: https://docs.python.org/3/library/idle.html#startup-and-code-execution The source …
-
discuss.python.orghttps://discuss.python.org › t › can-i-use-the-same-setup-py-in… › 8816Can I use the same setup.py in checked-out repo for developing and installing a non-cythonized package, as well as building a cythonized package? - Packaging - Discussions on Python.org
More about discuss.python.org
ForumMay 20, 2021. … deployment to “obfuscate” the sources. in-place development : pip3 install -e . inside the repository base; for working on the source code. source install : pip3 install . inside the repository base; to install the …
Search for “source code site:discuss.python.org” on Google, or add !ddg, !w and other shortcuts to any search.