Skip to content

Commit 092f6dd

Browse files
authored
Merge pull request #11 from python/sync-upstream-3.14
Sync mit Upstream-Änderungen (3.14)
2 parents d8ceb40 + 8924316 commit 092f6dd

58 files changed

Lines changed: 26944 additions & 24521 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎builtins/functions.po‎

Lines changed: 392 additions & 384 deletions
Large diffs are not rendered by default.

‎c-api/code.po‎

Lines changed: 72 additions & 64 deletions
Large diffs are not rendered by default.

‎c-api/conversion.po‎

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.14\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2026-09-15 09:12+0000\n"
11+
"POT-Creation-Date: 2026-10-26 03:10+0000\n"
1212
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1313
"Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n"
1414
"Language: de\n"
@@ -339,3 +339,19 @@ msgstr ""
339339
#: ../../c-api/conversion.rst:260
340340
msgid "Return the uppercase equivalent of the character *c*."
341341
msgstr ""
342+
343+
#: ../../c-api/conversion.rst:264
344+
msgid "Bit masks"
345+
msgstr ""
346+
347+
#: ../../c-api/conversion.rst:266
348+
msgid ""
349+
"The following constants are bit masks used by the character classification "
350+
"macros above:"
351+
msgstr ""
352+
353+
#: ../../c-api/conversion.rst:277
354+
msgid ""
355+
"Values used internally by the ``Py_IS*`` classification macros above. "
356+
"Exposed for backwards compatibility only."
357+
msgstr ""

‎c-api/descriptor.po‎

Lines changed: 61 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.14\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2026-09-15 09:12+0000\n"
11+
"POT-Creation-Date: 2026-10-26 03:10+0000\n"
1212
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1313
"Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n"
1414
"Language: de\n"
@@ -46,8 +46,7 @@ msgid ""
4646
msgstr ""
4747

4848
#: ../../c-api/descriptor.rst:26 ../../c-api/descriptor.rst:39
49-
#: ../../c-api/descriptor.rst:70 ../../c-api/descriptor.rst:101
50-
#: ../../c-api/descriptor.rst:123
49+
#: ../../c-api/descriptor.rst:70 ../../c-api/descriptor.rst:119
5150
msgid ""
5251
"On success, return a :term:`strong reference` to the descriptor. Return "
5352
"``NULL`` with an exception set on failure."
@@ -106,132 +105,154 @@ msgid ""
106105
"Python."
107106
msgstr ""
108107

109-
#: ../../c-api/descriptor.rst:83
110-
msgid "Describes a slot wrapper used by :c:func:`PyDescr_NewWrapper`."
108+
#: ../../c-api/descriptor.rst:82
109+
msgid ""
110+
"The type object for wrapper descriptor objects created by :c:func:"
111+
"`PyDescr_NewWrapper` and :c:func:`PyWrapper_New`."
111112
msgstr ""
112113

113114
#: ../../c-api/descriptor.rst:85
114115
msgid ""
115-
"Each ``wrapperbase`` record stores the Python-visible name and metadata for "
116-
"a special method implemented by a type slot, together with the wrapper "
117-
"function used to adapt that slot to Python's calling convention."
116+
"Wrapper descriptors are used internally to expose special methods such as "
117+
"``__repr__`` or ``__add__``, which are implemented by type slots. The type "
118+
"is exposed in Python as :class:`types.WrapperDescriptorType`."
118119
msgstr ""
119120

120-
#: ../../c-api/descriptor.rst:91
121-
msgid ""
122-
"Create a new wrapper descriptor for extension type *type* from the :c:struct:"
123-
"`wrapperbase` structure *base* and the wrapped slot function pointer "
124-
"*wrapped*."
121+
#: ../../c-api/descriptor.rst:101
122+
msgid "Create a new wrapper descriptor of type :c:var:`PyWrapperDescr_Type`."
125123
msgstr ""
126124

127-
#: ../../c-api/descriptor.rst:96
125+
#: ../../c-api/descriptor.rst:103
128126
msgid ""
129-
"Wrapper descriptors expose special methods implemented by type slots. This "
130-
"is the same kind of descriptor that CPython creates for slot-based special "
131-
"methods such as ``__repr__`` or ``__add__``, and it appears in Python as a :"
132-
"class:`types.WrapperDescriptorType` object."
127+
"This function is meant for internal use only; it and related API (``struct "
128+
"wrapperbase`` and the ``PyWrapperFlag_KEYWORDS`` flag) are exposed publicly "
129+
"for backwards compatibility reasons."
133130
msgstr ""
134131

135-
#: ../../c-api/descriptor.rst:106
136-
msgid ""
137-
"The type object for wrapper descriptor objects created by :c:func:"
138-
"`PyDescr_NewWrapper` and :c:func:`PyWrapper_New`. Wrapper descriptors are "
139-
"used internally to expose special methods implemented via wrapper "
140-
"structures, and appear in Python as :class:`types.WrapperDescriptorType` "
141-
"objects."
132+
#: ../../c-api/descriptor.rst:107
133+
msgid "See :c:func:`PyCMethod_New` for wrapping a C function."
142134
msgstr ""
143135

144-
#: ../../c-api/descriptor.rst:115
136+
#: ../../c-api/descriptor.rst:111
145137
msgid ""
146138
"Create a new class method descriptor for extension type *type* from the :c:"
147139
"type:`PyMethodDef` structure *method*."
148140
msgstr ""
149141

150-
#: ../../c-api/descriptor.rst:118
142+
#: ../../c-api/descriptor.rst:114
151143
msgid ""
152144
"Class method descriptors expose C methods that receive the class rather than "
153145
"an instance when accessed. This is the same kind of descriptor created for "
154146
"``METH_CLASS`` entries in :c:member:`~PyTypeObject.tp_methods`, and it "
155147
"appears in Python as a :class:`types.ClassMethodDescriptorType` object."
156148
msgstr ""
157149

158-
#: ../../c-api/descriptor.rst:128
150+
#: ../../c-api/descriptor.rst:124
159151
msgid ""
160152
"Return non-zero if the descriptor object *descr* describes a data attribute, "
161153
"or ``0`` if it describes a method. *descr* must be a descriptor object; "
162154
"there is no error checking."
163155
msgstr ""
164156

165-
#: ../../c-api/descriptor.rst:135
157+
#: ../../c-api/descriptor.rst:131
166158
msgid ""
167159
"Create a new bound wrapper object from the wrapper descriptor *d* and the "
168160
"instance *self*."
169161
msgstr ""
170162

171-
#: ../../c-api/descriptor.rst:138
163+
#: ../../c-api/descriptor.rst:134
172164
msgid ""
173165
"This is the bound form of a wrapper descriptor created by :c:func:"
174166
"`PyDescr_NewWrapper`. CPython creates these objects when a slot wrapper is "
175167
"accessed through an instance, and they appear in Python as :class:`types."
176168
"MethodWrapperType` objects."
177169
msgstr ""
178170

179-
#: ../../c-api/descriptor.rst:143
171+
#: ../../c-api/descriptor.rst:139
180172
msgid ""
181173
"On success, return a :term:`strong reference` to the wrapper object. Return "
182174
"``NULL`` with an exception set on failure."
183175
msgstr ""
184176

185-
#: ../../c-api/descriptor.rst:147
177+
#: ../../c-api/descriptor.rst:144
178+
msgid ""
179+
"Return a :term:`borrowed reference` to the type that the descriptor *descr* "
180+
"belongs to. This is accessible as :attr:`~object.__objclass__` in Python."
181+
msgstr ""
182+
183+
#: ../../c-api/descriptor.rst:148
184+
msgid ""
185+
"*descr* must be a descriptor object created by one of the ``PyDescr_New*`` "
186+
"functions (an instance of :c:var:`PyMethodDescr_Type`, :c:var:"
187+
"`PyClassMethodDescr_Type`, :c:var:`PyMemberDescr_Type`, :c:var:"
188+
"`PyGetSetDescr_Type`, or :c:var:`PyWrapperDescr_Type`). If the passed "
189+
"descriptor is not an instance of one of these types, the behavior is "
190+
"undefined."
191+
msgstr ""
192+
193+
#: ../../c-api/descriptor.rst:158
194+
msgid ""
195+
"Return the name of the descriptor *descr* as a :term:`borrowed reference` to "
196+
"a :class:`str` object. This is available as :attr:`~definition.__name__` in "
197+
"Python."
198+
msgstr ""
199+
200+
#: ../../c-api/descriptor.rst:162
201+
msgid ""
202+
"*descr* must be a descriptor object created by one of the ``PyDescr_New*`` "
203+
"functions. If not, the behavior is undefined."
204+
msgstr ""
205+
206+
#: ../../c-api/descriptor.rst:167
186207
msgid "Built-in descriptors"
187208
msgstr ""
188209

189-
#: ../../c-api/descriptor.rst:151
210+
#: ../../c-api/descriptor.rst:171
190211
msgid ""
191212
"The type object for super objects. This is the same object as :class:`super` "
192213
"in the Python layer."
193214
msgstr ""
194215

195-
#: ../../c-api/descriptor.rst:157
216+
#: ../../c-api/descriptor.rst:177
196217
msgid ""
197218
"The type of class method objects. This is the same object as :class:"
198219
"`classmethod` in the Python layer."
199220
msgstr ""
200221

201-
#: ../../c-api/descriptor.rst:163
222+
#: ../../c-api/descriptor.rst:183
202223
msgid ""
203224
"The type object for C-level class method descriptor objects. This is the "
204225
"type of the descriptors created for :func:`classmethod` defined in C "
205226
"extension types, and corresponds to :class:`types.ClassMethodDescriptorType` "
206227
"objects in Python."
207228
msgstr ""
208229

209-
#: ../../c-api/descriptor.rst:171
230+
#: ../../c-api/descriptor.rst:191
210231
msgid ""
211232
"Create a new :class:`classmethod` object wrapping *callable*. *callable* "
212233
"must be a callable object and must not be ``NULL``."
213234
msgstr ""
214235

215-
#: ../../c-api/descriptor.rst:174
236+
#: ../../c-api/descriptor.rst:194
216237
msgid ""
217238
"On success, this function returns a :term:`strong reference` to a new class "
218239
"method descriptor. On failure, this function returns ``NULL`` with an "
219240
"exception set."
220241
msgstr ""
221242

222-
#: ../../c-api/descriptor.rst:181
243+
#: ../../c-api/descriptor.rst:201
223244
msgid ""
224245
"The type of static method objects. This is the same object as :class:"
225246
"`staticmethod` in the Python layer."
226247
msgstr ""
227248

228-
#: ../../c-api/descriptor.rst:187
249+
#: ../../c-api/descriptor.rst:207
229250
msgid ""
230251
"Create a new :class:`staticmethod` object wrapping *callable*. *callable* "
231252
"must be a callable object and must not be ``NULL``."
232253
msgstr ""
233254

234-
#: ../../c-api/descriptor.rst:190
255+
#: ../../c-api/descriptor.rst:210
235256
msgid ""
236257
"On success, this function returns a :term:`strong reference` to a new static "
237258
"method descriptor. On failure, this function returns ``NULL`` with an "

0 commit comments

Comments
 (0)