| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 374745b commit 2f5dfb7
26 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -15,7 +15,7 @@ msgid "" | |||
| 15 | 15 | msgstr "" | |
| 16 | 16 | "Project-Id-Version: Python 3.14\n" | |
| 17 | 17 | "Report-Msgid-Bugs-To: \n" | |
| 18 | - "POT-Creation-Date: 2025-05-23 14:20+0000\n" | ||
| 18 | + "POT-Creation-Date: 2025-05-30 14:22+0000\n" | ||
| 19 | 19 | "PO-Revision-Date: 2021-06-28 00:47+0000\n" | |
| 20 | 20 | "Last-Translator: Danial Behzadi <dani.behzi@ubuntu.com>, 2025\n" | |
| 21 | 21 | "Language-Team: Persian (https://app.transifex.com/python-doc/teams/5390/" | |
@@ -202,8 +202,8 @@ msgstr "" | |||
| 202 | 202 | "این شی ارزیابی می شود، دسترسی پیدا کند." | |
| 203 | 203 | ||
| 204 | 204 | #: ../../c-api/allocation.rst:156 | |
| 205 | - msgid ":c:func:`PyModule_Create`" | ||
| 206 | - msgstr ":c:func:`PyModule_Create`" | ||
| 205 | + msgid ":ref:`moduleobjects`" | ||
| 206 | + msgstr "" | ||
| 207 | 207 | ||
| 208 | 208 | #: ../../c-api/allocation.rst:157 | |
| 209 | 209 | msgid "To allocate and create extension modules." | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.14\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2025-05-09 14:19+0000\n" | ||
| 14 | + "POT-Creation-Date: 2025-05-30 14:22+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2021-06-28 00:48+0000\n" | |
| 16 | 16 | "Last-Translator: Alireza Shabani (Revisto) <theRevisto@gmail.com>, 2025\n" | |
| 17 | 17 | "Language-Team: Persian (https://app.transifex.com/python-doc/teams/5390/" | |
@@ -217,7 +217,7 @@ msgstr "" | |||
| 217 | 217 | #: ../../c-api/code.rst:184 | |
| 218 | 218 | msgid "" | |
| 219 | 219 | "If *event* is ``PY_CODE_EVENT_CREATE``, then the callback is invoked after " | |
| 220 | - "`co` has been fully initialized. Otherwise, the callback is invoked before " | ||
| 220 | + "*co* has been fully initialized. Otherwise, the callback is invoked before " | ||
| 221 | 221 | "the destruction of *co* takes place, so the prior state of *co* can be " | |
| 222 | 222 | "inspected." | |
| 223 | 223 | msgstr "" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.14\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2025-05-09 14:19+0000\n" | ||
| 14 | + "POT-Creation-Date: 2025-05-30 14:22+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2021-06-28 00:48+0000\n" | |
| 16 | 16 | "Last-Translator: Alireza Shabani (Revisto) <theRevisto@gmail.com>, 2025\n" | |
| 17 | 17 | "Language-Team: Persian (https://app.transifex.com/python-doc/teams/5390/" | |
@@ -205,7 +205,7 @@ msgstr "" | |||
| 205 | 205 | #: ../../c-api/function.rst:171 | |
| 206 | 206 | msgid "" | |
| 207 | 207 | "If *event* is ``PyFunction_EVENT_CREATE``, then the callback is invoked " | |
| 208 | - "after `func` has been fully initialized. Otherwise, the callback is invoked " | ||
| 208 | + "after *func* has been fully initialized. Otherwise, the callback is invoked " | ||
| 209 | 209 | "before the modification to *func* takes place, so the prior state of *func* " | |
| 210 | 210 | "can be inspected. The runtime is permitted to optimize away the creation of " | |
| 211 | 211 | "function objects when possible. In such cases no event will be emitted. " | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -12,7 +12,7 @@ msgid "" | |||
| 12 | 12 | msgstr "" | |
| 13 | 13 | "Project-Id-Version: Python 3.14\n" | |
| 14 | 14 | "Report-Msgid-Bugs-To: \n" | |
| 15 | - "POT-Creation-Date: 2025-05-23 14:20+0000\n" | ||
| 15 | + "POT-Creation-Date: 2025-05-30 14:22+0000\n" | ||
| 16 | 16 | "PO-Revision-Date: 2021-06-28 00:49+0000\n" | |
| 17 | 17 | "Last-Translator: Danial Behzadi <dani.behzi@ubuntu.com>, 2025\n" | |
| 18 | 18 | "Language-Team: Persian (https://app.transifex.com/python-doc/teams/5390/" | |
@@ -197,15 +197,15 @@ msgstr "" | |||
| 197 | 197 | #: ../../c-api/intro.rst:129 | |
| 198 | 198 | msgid "" | |
| 199 | 199 | "static struct PyModuleDef spam_module = {\n" | |
| 200 | - " PyModuleDef_HEAD_INIT,\n" | ||
| 200 | + " .m_base = PyModuleDef_HEAD_INIT,\n" | ||
| 201 | 201 | " .m_name = \"spam\",\n" | |
| 202 | 202 | " ...\n" | |
| 203 | 203 | "};\n" | |
| 204 | 204 | "\n" | |
| 205 | 205 | "PyMODINIT_FUNC\n" | |
| 206 | 206 | "PyInit_spam(void)\n" | |
| 207 | 207 | "{\n" | |
| 208 | - " return PyModule_Create(&spam_module);\n" | ||
| 208 | + " return PyModuleDef_Init(&spam_module);\n" | ||
| 209 | 209 | "}" | |
| 210 | 210 | msgstr "" | |
| 211 | 211 | ||
@@ -1025,6 +1025,80 @@ msgid "" | |||
| 1025 | 1025 | "distribution for more detailed information." | |
| 1026 | 1026 | msgstr "" | |
| 1027 | 1027 | ||
| 1028 | + #: ../../c-api/intro.rst:852 | ||
| 1029 | + msgid "Recommended third party tools" | ||
| 1030 | + msgstr "" | ||
| 1031 | + | ||
| 1032 | + #: ../../c-api/intro.rst:854 | ||
| 1033 | + msgid "" | ||
| 1034 | + "The following third party tools offer both simpler and more sophisticated " | ||
| 1035 | + "approaches to creating C, C++ and Rust extensions for Python:" | ||
| 1036 | + msgstr "" | ||
| 1037 | + | ||
| 1038 | + #: ../../c-api/intro.rst:857 | ||
| 1039 | + msgid "`Cython <https://cython.org/>`_" | ||
| 1040 | + msgstr "" | ||
| 1041 | + | ||
| 1042 | + #: ../../c-api/intro.rst:858 | ||
| 1043 | + msgid "`cffi <https://cffi.readthedocs.io>`_" | ||
| 1044 | + msgstr "" | ||
| 1045 | + | ||
| 1046 | + #: ../../c-api/intro.rst:859 | ||
| 1047 | + msgid "`HPy <https://hpyproject.org/>`_" | ||
| 1048 | + msgstr "" | ||
| 1049 | + | ||
| 1050 | + #: ../../c-api/intro.rst:860 | ||
| 1051 | + msgid "`nanobind <https://github.com/wjakob/nanobind>`_ (C++)" | ||
| 1052 | + msgstr "" | ||
| 1053 | + | ||
| 1054 | + #: ../../c-api/intro.rst:861 | ||
| 1055 | + msgid "`Numba <https://numba.pydata.org/>`_" | ||
| 1056 | + msgstr "" | ||
| 1057 | + | ||
| 1058 | + #: ../../c-api/intro.rst:862 | ||
| 1059 | + msgid "`pybind11 <https://pybind11.readthedocs.io/>`_ (C++)" | ||
| 1060 | + msgstr "" | ||
| 1061 | + | ||
| 1062 | + #: ../../c-api/intro.rst:863 | ||
| 1063 | + msgid "`PyO3 <https://pyo3.rs/>`_ (Rust)" | ||
| 1064 | + msgstr "" | ||
| 1065 | + | ||
| 1066 | + #: ../../c-api/intro.rst:864 | ||
| 1067 | + msgid "`SWIG <https://www.swig.org>`_" | ||
| 1068 | + msgstr "" | ||
| 1069 | + | ||
| 1070 | + #: ../../c-api/intro.rst:866 | ||
| 1071 | + msgid "" | ||
| 1072 | + "Using tools such as these can help avoid writing code that is tightly bound " | ||
| 1073 | + "to a particular version of CPython, avoid reference counting errors, and " | ||
| 1074 | + "focus more on your own code than on using the CPython API. In general, new " | ||
| 1075 | + "versions of Python can be supported by updating the tool, and your code will " | ||
| 1076 | + "often use newer and more efficient APIs automatically. Some tools also " | ||
| 1077 | + "support compiling for other implementations of Python from a single set of " | ||
| 1078 | + "sources." | ||
| 1079 | + msgstr "" | ||
| 1080 | + | ||
| 1081 | + #: ../../c-api/intro.rst:873 | ||
| 1082 | + msgid "" | ||
| 1083 | + "These projects are not supported by the same people who maintain Python, and " | ||
| 1084 | + "issues need to be raised with the projects directly. Remember to check that " | ||
| 1085 | + "the project is still maintained and supported, as the list above may become " | ||
| 1086 | + "outdated." | ||
| 1087 | + msgstr "" | ||
| 1088 | + | ||
| 1089 | + #: ../../c-api/intro.rst:880 | ||
| 1090 | + msgid "" | ||
| 1091 | + "`Python Packaging User Guide: Binary Extensions <https://packaging.python." | ||
| 1092 | + "org/guides/packaging-binary-extensions/>`_" | ||
| 1093 | + msgstr "" | ||
| 1094 | + | ||
| 1095 | + #: ../../c-api/intro.rst:881 | ||
| 1096 | + msgid "" | ||
| 1097 | + "The Python Packaging User Guide not only covers several available tools that " | ||
| 1098 | + "simplify the creation of binary extensions, but also discusses the various " | ||
| 1099 | + "reasons why creating an extension module may be desirable in the first place." | ||
| 1100 | + msgstr "" | ||
| 1101 | + | ||
| 1028 | 1102 | #: ../../c-api/intro.rst:298 | |
| 1029 | 1103 | msgid "object" | |
| 1030 | 1104 | msgstr "" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -12,7 +12,7 @@ msgid "" | |||
| 12 | 12 | msgstr "" | |
| 13 | 13 | "Project-Id-Version: Python 3.14\n" | |
| 14 | 14 | "Report-Msgid-Bugs-To: \n" | |
| 15 | - "POT-Creation-Date: 2025-05-23 14:20+0000\n" | ||
| 15 | + "POT-Creation-Date: 2025-05-30 14:22+0000\n" | ||
| 16 | 16 | "PO-Revision-Date: 2021-06-28 00:50+0000\n" | |
| 17 | 17 | "Last-Translator: Alireza Shabani (Revisto) <theRevisto@gmail.com>, 2025\n" | |
| 18 | 18 | "Language-Team: Persian (https://app.transifex.com/python-doc/teams/5390/" | |
@@ -2273,8 +2273,9 @@ msgstr "" | |||
| 2273 | 2273 | ||
| 2274 | 2274 | #: ../../c-api/typeobj.rst:1241 | |
| 2275 | 2275 | msgid "" | |
| 2276 | - "This bit indicates that instances of the class have a `~object.__dict__` " | ||
| 2277 | - "attribute, and that the space for the dictionary is managed by the VM." | ||
| 2276 | + "This bit indicates that instances of the class have a :attr:`~object." | ||
| 2277 | + "__dict__` attribute, and that the space for the dictionary is managed by the " | ||
| 2278 | + "VM." | ||
| 2278 | 2279 | msgstr "" | |
| 2279 | 2280 | ||
| 2280 | 2281 | #: ../../c-api/typeobj.rst:1244 | |
| Back | FazBrowse Home | New Git URL |
0 commit comments