/external/python/cpython3/Tools/c-analyzer/ |
D | known.tsv | 5 Python/import.c import_find_and_load accumulated variable static _PyTime_t accumulated 8 Python/Python-ast.c - Add_singleton variable static PyObject *Add_singleton 9 Python/Python-ast.c - Add_type variable static PyTypeObject *Add_type 14 Python/Python-ast.c - alias_fields variable static const char *alias_fields[] 15 Python/Python-ast.c - alias_type variable static PyTypeObject *alias_type 17 Python/Python-ast.c - And_singleton variable static PyObject *And_singleton 18 Python/Python-ast.c - And_type variable static PyTypeObject *And_type 19 Python/Python-ast.c - AnnAssign_fields variable static const char *AnnAssign_fields[] 20 Python/Python-ast.c - AnnAssign_type variable static PyTypeObject *AnnAssign_type 21 Python/compile.c - __annotations__ variable static PyObject *__annotations__ [all …]
|
D | ignored-globals.txt | 28 # Python/getopt.c 48 # Python/dtoa.c 53 # Python/import.c 60 # Python/pylifecycle.c 139 # Python/bltinmodule.c 144 # Python/sysmodule.c 199 # Python/dtoa.c 210 # Python/dynload_shlib.c 214 # Python/import.c 221 # Python/bootstrap_hash.c [all …]
|
/external/markdown/tests/misc/ |
D | japanese.txt | 1 パイソン (Python) 4 …Python**(パイソン)は、[Guido van Rossum](http://en.wikipedia.org/wiki/Guido_van_Rossum) によって作られたオープンソースの… 7 …Python は初心者から専門家まで幅広いユーザ層を獲得している。利用目的は汎用で、方向性としてはJavaに近い。ただし、最初からネットワーク利用をメインとして考えられているJavaよりセキュリテ… 9 Python は基本的にインタプリタ上で実行されることを念頭において設計されており、以下のような特徴をもっている: 15 また、Pythonではインデントによりブロックを指定する構文を採用している(⇒[オフサイドルール](#jklj))。この構文はPythonに慣れたユーザからは称賛をもって受け入れられているが、他の言…
|
/external/python/cpython3/Doc/howto/ |
D | pyporting.rst | 4 Porting Python 2 Code to Python 3 11 With Python 3 being the future of Python while Python 2 is still in active 13 Python. This guide is meant to help you figure out how best to support both 14 Python 2 & 3 simultaneously. 16 If you are looking to port an extension module instead of pure Python code, 19 If you would like to read one core Python developer's take on why Python 3 20 came into existence, you can read Nick Coghlan's `Python 3 Q & A`_ or 21 Brett Cannon's `Why Python 3 exists`_. 29 To make your project be single-source Python 2/3 compatible, the basic steps 32 #. Only worry about supporting Python 2.7 [all …]
|
/external/python/cpython2/Doc/howto/ |
D | pyporting.rst | 4 Porting Python 2 Code to Python 3 11 With Python 3 being the future of Python while Python 2 is still in active 13 Python. This guide is meant to help you figure out how best to support both 14 Python 2 & 3 simultaneously. 16 If you are looking to port an extension module instead of pure Python code, 19 If you would like to read one core Python developer's take on why Python 3 20 came into existence, you can read Nick Coghlan's `Python 3 Q & A`_ or 21 Brett Cannon's `Why Python 3 exists`_. 29 To make your project be single-source Python 2/3 compatible, the basic steps 32 #. Only worry about supporting Python 2.7 [all …]
|
/external/python/cpython3/ |
D | Android.bp | 263 "Python/_warnings.c", 264 "Python/Python-ast.c", 265 "Python/asdl.c", 266 "Python/ast.c", 267 "Python/ast_opt.c", 268 "Python/ast_unparse.c", 269 "Python/bltinmodule.c", 270 "Python/ceval.c", 271 "Python/codecs.c", 272 "Python/compile.c", [all …]
|
/external/python/six/documentation/ |
D | index.rst | 1 Six: Python 2 and 3 Compatibility Library 5 :synopsis: Python 2 and 3 compatibility 11 Six provides simple utilities for wrapping over differences between Python 2 and 12 Python 3. It is intended to support codebases that work on both Python 2 and 3 13 without modification. six consists of only one Python file, so it is painless 36 A boolean indicating if the code is running on Python 2. 40 A boolean indicating if the code is running on Python 3. 46 Six provides constants that may differ between Python versions. Ones ending 53 Possible class types. In Python 2, this encompasses old-style and new-style 54 classes. In Python 3, this is just new-styles. [all …]
|
/external/python/cpython3/Doc/installing/ |
D | index.rst | 6 Installing Python Modules 11 As a popular open source development project, Python has an active 13 available for other Python developers to use under open source license terms. 15 This allows Python users to share and collaborate effectively, benefiting 21 creating and sharing your own Python projects, refer to the 29 use of the distribution and installation tools provided with Python. 35 * ``pip`` is the preferred installer program. Starting with Python 3.4, it 36 is included by default with the Python binary installers. 37 * A *virtual environment* is a semi-isolated Python environment that allows 41 been part of Python since Python 3.3. Starting with Python 3.4, it [all …]
|
/external/python/cpython2/Doc/extending/ |
D | embedding.rst | 7 Embedding Python in Another Application 10 The previous chapters discussed how to extend Python, that is, how to extend the 11 functionality of Python by attaching a library of C functions to it. It is also 13 embedding Python in it. Embedding provides your application with the ability to 14 implement some of the functionality of your application in Python rather than C 16 to tailor the application to their needs by writing some scripts in Python. You 17 can also use it yourself if some of the functionality can be written in Python 20 Embedding Python is similar to extending it, but not quite. The difference is 21 that when you extend Python, the main program of the application is still the 22 Python interpreter, while if you embed Python, the main program may have nothing [all …]
|
/external/python/cpython3/Doc/faq/ |
D | installed.rst | 2 "Why is Python Installed on my Computer?" FAQ 5 What is Python? 8 Python is a programming language. It's used for many different applications. 10 language because Python is easy to learn, but it's also used by professional 13 If you wish to learn more about Python, start with the `Beginner's Guide to 14 Python <https://wiki.python.org/moin/BeginnersGuide>`_. 17 Why is Python installed on my machine? 20 If you find Python installed on your system but don't remember installing it, 27 Python and included a Python installation. There are many such applications, 29 * Some Windows machines also have Python installed. At this writing we're aware [all …]
|
D | general.rst | 4 General Python FAQ 15 What is Python? 18 Python is an interpreted, interactive, object-oriented programming language. It 22 Python combines remarkable power with very clear syntax. It has interfaces to 25 applications that need a programmable interface. Finally, Python is portable: 29 Python <https://wiki.python.org/moin/BeginnersGuide>`_ links to other 30 introductory tutorials and resources for learning Python. 33 What is the Python Software Foundation? 36 The Python Software Foundation is an independent non-profit organization that 37 holds the copyright on Python versions 2.1 and newer. The PSF's mission is to [all …]
|
/external/llvm-project/lldb/docs/resources/ |
D | caveats.rst | 9 Python subtitle 12 LLDB has a powerful scripting interface which is accessible through Python. 13 Python is available either from within LLDB through a (interactive) script 14 interpreter, or as a Python module which you can import from the Python 17 To make this possible, LLDB links against the Python shared library. Linking 18 against Python comes with some constraints to be aware of. 20 1. It is not possible to build and link LLDB against a Python 3 library and 21 use it from Python 2 and vice versa. 24 Python and use it through a interpreter coming from another distribution. 25 For example, on macOS, if you build and link against Python from [all …]
|
/external/python/cpython2/Doc/faq/ |
D | installed.rst | 2 "Why is Python Installed on my Computer?" FAQ 5 What is Python? 8 Python is a programming language. It's used for many different applications. 10 language because Python is easy to learn, but it's also used by professional 13 If you wish to learn more about Python, start with the `Beginner's Guide to 14 Python <https://wiki.python.org/moin/BeginnersGuide>`_. 17 Why is Python installed on my machine? 20 If you find Python installed on your system but don't remember installing it, 27 Python and included a Python installation. For a home computer, the most 30 * Some Windows machines also have Python installed. At this writing we're aware [all …]
|
D | general.rst | 4 General Python FAQ 15 What is Python? 18 Python is an interpreted, interactive, object-oriented programming language. It 20 types, and classes. Python combines remarkable power with very clear syntax. 24 Finally, Python is portable: it runs on many Unix variants, on the Mac, and on 28 Python <https://wiki.python.org/moin/BeginnersGuide>`_ links to other 29 introductory tutorials and resources for learning Python. 32 What is the Python Software Foundation? 35 The Python Software Foundation is an independent non-profit organization that 36 holds the copyright on Python versions 2.1 and newer. The PSF's mission is to [all …]
|
/external/python/cpython2/Doc/using/ |
D | mac.rst | 5 Using Python on a Macintosh 11 Python on a Macintosh running Mac OS X is in principle very similar to Python on 17 Python on Mac OS 9 or earlier can be quite different from Python on Unix or 19 supported, starting with Python 2.4. See http://www.cwi.nl/~jack/macpython for 28 Mac OS X 10.8 comes with Python 2.7 pre-installed by Apple. If you wish, you 29 are invited to install the most recent version of Python from the Python website 30 (https://www.python.org). A current "universal binary" build of Python, which 37 Python distributions; PythonLauncher, which handles double-clicking Python 39 package Python scripts as standalone applications on your system. 41 * A framework :file:`/Library/Frameworks/Python.framework`, which includes the [all …]
|
D | windows.rst | 6 Using Python on Windows 12 know about when using Python on Microsoft Windows. 15 Installing Python 18 Unlike most Unix systems and services, Windows does not require Python natively 19 and thus does not pre-install a version of Python. However, the CPython team 23 With ongoing development of Python, some platforms that used to be supported 27 * DOS and Windows 3.x are deprecated since Python 2.0 and code specific to these 28 systems was removed in Python 2.1. 29 * Up to 2.5, Python was still compatible with Windows 95, 98 and ME (but already 30 raised a deprecation warning on installation). For Python 2.6 (and all [all …]
|
/external/python/cpython3/Doc/extending/ |
D | embedding.rst | 7 Embedding Python in Another Application 10 The previous chapters discussed how to extend Python, that is, how to extend the 11 functionality of Python by attaching a library of C functions to it. It is also 13 embedding Python in it. Embedding provides your application with the ability to 14 implement some of the functionality of your application in Python rather than C 16 to tailor the application to their needs by writing some scripts in Python. You 17 can also use it yourself if some of the functionality can be written in Python 20 Embedding Python is similar to extending it, but not quite. The difference is 21 that when you extend Python, the main program of the application is still the 22 Python interpreter, while if you embed Python, the main program may have nothing [all …]
|
/external/python/cpython2/Doc/installing/ |
D | index.rst | 6 Installing Python Modules 11 As a popular open source development project, Python has an active 13 available for other Python developers to use under open source license terms. 15 This allows Python users to share and collaborate effectively, benefiting 21 creating and sharing your own Python projects, refer to the 29 use of the distribution and installation tools provided with Python. 35 * ``pip`` is the preferred installer program. Starting with Python 2.7.9, it 36 is included by default with the Python binary installers. 37 * a virtual environment is a semi-isolated Python environment that allows 42 * the `Python Packaging Index <https://pypi.org>`__ is a public repository of [all …]
|
/external/python/pybind11/docs/advanced/ |
D | exceptions.rst | 4 Built-in C++ to Python exception translation 7 When Python calls C++ code through pybind11, pybind11 provides a C++ exception handler 8 that will trap C++ exceptions, translate them to the corresponding Python exception, 9 and raise them so that Python code can handle them. 13 Python exceptions. Note that these are not actually Python exceptions, so they 14 cannot be examined using the Python C API. Instead, they are pure C++ objects 15 that pybind11 will translate the corresponding Python exception when they arrive 21 | Exception thrown by C++ | Translated to Python exception type | 66 Python. For that, catch :class:`pybind11::error_already_set`. See :ref:`below 70 :func:`handle::call` when the input arguments cannot be converted to Python [all …]
|
/external/python/pybind11/ |
D | setup.cfg | 4 description = Seamless operability between C++11 and Python 13 Topic :: Software Development :: Libraries :: Python Modules 16 Programming Language :: Python :: 2.7 17 Programming Language :: Python :: 3 18 Programming Language :: Python :: 3.5 19 Programming Language :: Python :: 3.6 20 Programming Language :: Python :: 3.7 21 Programming Language :: Python :: 3.8 22 Programming Language :: Python :: 3.9 24 Programming Language :: Python :: Implementation :: PyPy [all …]
|
/external/python/cpython3/Doc/using/ |
D | mac.rst | 5 Using Python on a Macintosh 11 Python on a Macintosh running Mac OS X is in principle very similar to Python on 20 Mac OS X 10.8 comes with Python 2.7 pre-installed by Apple. If you wish, you 21 are invited to install the most recent version of Python 3 from the Python 22 website (https://www.python.org). A current "universal binary" build of Python, 28 * A :file:`Python 3.9` folder in your :file:`Applications` folder. In here 30 Python distributions; and PythonLauncher, which handles double-clicking Python 33 * A framework :file:`/Library/Frameworks/Python.framework`, which includes the 34 Python executable and libraries. The installer adds this location to your shell 36 symlink to the Python executable is placed in /usr/local/bin/. [all …]
|
/external/pigweed/docs/ |
D | python_build.rst | 4 Pigweed's Python build 6 Pigweed uses a custom GN-based build system to manage its Python code. The 7 Pigweed Python build supports packaging, installation, and distribution of 8 interdependent local Python packages. It also provides for fast, incremental 12 Pigweed's Python code is exclusively managed by GN, but the GN-based build may 14 setup uses GN to set up the initial Python environment, regardless of the final 15 build system. As needed, non-GN projects can declare just their Python packages 26 Python is an interpreted language, but it shares most build automation concerns 27 with other languages. Pigweed uses Python extensively and must to address these 32 The Python programming langauge does not have an official build automation [all …]
|
/external/python/cpython3/PC/ |
D | readme.txt | 1 Welcome to the "PC" subdirectory of the Python distribution 5 several older PC ports of Python, as well as all the PC-specific 6 Python source files. It should be located in the root of the 7 Python distribution, and there should be directories "Modules", 8 "Objects", "Python", etc. in the parent directory of this "PC" 9 subdirectory. Be sure to read the documentation in the Python 12 Python requires library files such as string.py to be available in 14 set up when Python starts. To see the current Python library search 15 path, start Python and enter "import sys" and "print sys.path". 29 The best installation strategy is to put the Python executable (and [all …]
|
/external/python/cpython2/Mac/BuildScript/resources/ |
D | ReadMe.rtf | 8 \f0\fs24 \cf0 This package will install Python $FULL_VERSION for macOS $MACOSX_DEPLOYMENT_TARGET fo… 17 \b0 With Python 2.7.15, the python.org website now provides two installer variants for download: o… 19 \i0 Python capable of running on 23 \i0 Python capable of running on 27 \i0 variant.) Previous Python 2.7.x releases provided the 10.6 or later installer and a 10.5 or l… 35 This variant of Python 2.7 now includes its own private copy of OpenSSL 1.0.2. Unlike previous rel… 39 \i0 command line utility are no longer used as defaults by the Python 42 \f1 /Applications/Python 2.7 53 \f0 included with the Python 2.7 installer has its own default certificate store for verifying dow… 65 \i0 for this version of Python and of macOS.\ [all …]
|
/external/python/mock/ |
D | setup.cfg | 15 Programming Language :: Python 16 Programming Language :: Python :: 2 17 Programming Language :: Python :: 2.7 18 Programming Language :: Python :: 3 19 Programming Language :: Python :: 3.4 20 Programming Language :: Python :: 3.5 21 Programming Language :: Python :: 3.6 22 Programming Language :: Python :: 3.7 23 Programming Language :: Python :: Implementation :: CPython 24 Programming Language :: Python :: Implementation :: PyPy [all …]
|