Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3407ce3

Browse files
committed
Closes#438 - move to 3.6.5
1 parentd04f72f commit3407ce3

File tree

119 files changed

+23056
-16808
lines changed

Some content is hidden

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

119 files changed

+23056
-16808
lines changed

‎c-api/arg.po

Lines changed: 191 additions & 159 deletions
Large diffs are not rendered by default.

‎c-api/buffer.po

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version:Python 3.6\n"
1010
"Report-Msgid-Bugs-To:\n"
11-
"POT-Creation-Date:2017-11-2618:49+0900\n"
11+
"POT-Creation-Date:2018-05-2611:10+0900\n"
1212
"PO-Revision-Date:YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator:FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team:LANGUAGE <LL@li.org>\n"
@@ -635,33 +635,44 @@ msgstr ""
635635

636636
#:../Doc/c-api/buffer.rst:478
637637
msgid""
638+
"Copy *len* bytes from *src* to its contiguous representation in *buf*. "
639+
"*order* can be ``'C'`` or ``'F'`` (for C-style or Fortran-style "
640+
"ordering). ``0`` is returned on success, ``-1`` on error."
641+
msgstr""
642+
643+
#:../Doc/c-api/buffer.rst:482
644+
msgid"This function fails if *len* != *src->len*."
645+
msgstr""
646+
647+
#:../Doc/c-api/buffer.rst:487
648+
msgid""
638649
"Fill the *strides* array with byte-strides of a :term:`contiguous` "
639650
"(C-style if *order* is ``'C'`` or Fortran-style if *order* is ``'F'``) "
640651
"array of the given shape with the given number of bytes per element."
641652
msgstr""
642653

643-
#:../Doc/c-api/buffer.rst:485
654+
#:../Doc/c-api/buffer.rst:494
644655
msgid""
645656
"Handle buffer requests for an exporter that wants to expose *buf* of size"
646657
" *len* with writability set according to *readonly*. *buf* is interpreted"
647658
" as a sequence of unsigned bytes."
648659
msgstr""
649660

650-
#:../Doc/c-api/buffer.rst:489
661+
#:../Doc/c-api/buffer.rst:498
651662
msgid""
652663
"The *flags* argument indicates the request type. This function always "
653664
"fills in *view* as specified by flags, unless *buf* has been designated "
654665
"as read-only and :c:macro:`PyBUF_WRITABLE` is set in *flags*."
655666
msgstr""
656667

657-
#:../Doc/c-api/buffer.rst:493
668+
#:../Doc/c-api/buffer.rst:502
658669
msgid""
659670
"On success, set :c:member:`view->obj` to a new reference to *exporter* "
660671
"and return 0. Otherwise, raise :c:data:`PyExc_BufferError`, set "
661672
":c:member:`view->obj` to *NULL* and return ``-1``;"
662673
msgstr""
663674

664-
#:../Doc/c-api/buffer.rst:497
675+
#:../Doc/c-api/buffer.rst:506
665676
msgid""
666677
"If this function is used as part of a :ref:`getbufferproc <buffer-"
667678
"structs>`, *exporter* MUST be set to the exporting object and *flags* "

‎c-api/capsule.po

Lines changed: 39 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version:Python 3.6\n"
1010
"Report-Msgid-Bugs-To:\n"
11-
"POT-Creation-Date:2017-11-2618:49+0900\n"
11+
"POT-Creation-Date:2018-05-2611:10+0900\n"
1212
"PO-Revision-Date:YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator:FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team:LANGUAGE <LL@li.org>\n"
@@ -27,7 +27,7 @@ msgid ""
2727
"objects."
2828
msgstr""
2929

30-
#:../Doc/c-api/capsule.rst:15
30+
#:../Doc/c-api/capsule.rst:17
3131
msgid""
3232
"This subtype of :c:type:`PyObject` represents an opaque value, useful for"
3333
" C extension modules who need to pass an opaque value (as a "
@@ -37,104 +37,104 @@ msgid ""
3737
" APIs defined in dynamically loaded modules."
3838
msgstr""
3939

40-
#:../Doc/c-api/capsule.rst:24
40+
#:../Doc/c-api/capsule.rst:27
4141
msgid"The type of a destructor callback for a capsule. Defined as::"
4242
msgstr""
4343

44-
#:../Doc/c-api/capsule.rst:28
44+
#:../Doc/c-api/capsule.rst:31
4545
msgid""
4646
"See :c:func:`PyCapsule_New` for the semantics of PyCapsule_Destructor "
4747
"callbacks."
4848
msgstr""
4949

50-
#:../Doc/c-api/capsule.rst:34
50+
#:../Doc/c-api/capsule.rst:37
5151
msgid"Return true if its argument is a :c:type:`PyCapsule`."
5252
msgstr""
5353

54-
#:../Doc/c-api/capsule.rst:39
54+
#:../Doc/c-api/capsule.rst:42
5555
msgid""
5656
"Create a :c:type:`PyCapsule` encapsulating the *pointer*. The *pointer* "
5757
"argument may not be *NULL*."
5858
msgstr""
5959

60-
#:../Doc/c-api/capsule.rst:42
60+
#:../Doc/c-api/capsule.rst:45
6161
msgid"On failure, set an exception and return *NULL*."
6262
msgstr""
6363

64-
#:../Doc/c-api/capsule.rst:44
64+
#:../Doc/c-api/capsule.rst:47
6565
msgid""
6666
"The *name* string may either be *NULL* or a pointer to a valid C string."
6767
" If non-*NULL*, this string must outlive the capsule. (Though it is "
6868
"permitted to free it inside the *destructor*.)"
6969
msgstr""
7070

71-
#:../Doc/c-api/capsule.rst:48
71+
#:../Doc/c-api/capsule.rst:51
7272
msgid""
7373
"If the *destructor* argument is not *NULL*, it will be called with the "
7474
"capsule as its argument when it is destroyed."
7575
msgstr""
7676

77-
#:../Doc/c-api/capsule.rst:51
77+
#:../Doc/c-api/capsule.rst:54
7878
msgid""
7979
"If this capsule will be stored as an attribute of a module, the *name* "
8080
"should be specified as ``modulename.attributename``. This will enable "
8181
"other modules to import the capsule using :c:func:`PyCapsule_Import`."
8282
msgstr""
8383

84-
#:../Doc/c-api/capsule.rst:58
84+
#:../Doc/c-api/capsule.rst:61
8585
msgid""
8686
"Retrieve the *pointer* stored in the capsule. On failure, set an "
8787
"exception and return *NULL*."
8888
msgstr""
8989

90-
#:../Doc/c-api/capsule.rst:61
90+
#:../Doc/c-api/capsule.rst:64
9191
msgid""
9292
"The *name* parameter must compare exactly to the name stored in the "
9393
"capsule. If the name stored in the capsule is *NULL*, the *name* passed "
9494
"in must also be *NULL*. Python uses the C function :c:func:`strcmp` to "
9595
"compare capsule names."
9696
msgstr""
9797

98-
#:../Doc/c-api/capsule.rst:69
98+
#:../Doc/c-api/capsule.rst:72
9999
msgid""
100100
"Return the current destructor stored in the capsule. On failure, set an "
101101
"exception and return *NULL*."
102102
msgstr""
103103

104-
#:../Doc/c-api/capsule.rst:72
104+
#:../Doc/c-api/capsule.rst:75
105105
msgid""
106106
"It is legal for a capsule to have a *NULL* destructor. This makes a "
107107
"*NULL* return code somewhat ambiguous; use :c:func:`PyCapsule_IsValid` or"
108108
" :c:func:`PyErr_Occurred` to disambiguate."
109109
msgstr""
110110

111-
#:../Doc/c-api/capsule.rst:79
111+
#:../Doc/c-api/capsule.rst:82
112112
msgid""
113113
"Return the current context stored in the capsule. On failure, set an "
114114
"exception and return *NULL*."
115115
msgstr""
116116

117-
#:../Doc/c-api/capsule.rst:82
117+
#:../Doc/c-api/capsule.rst:85
118118
msgid""
119119
"It is legal for a capsule to have a *NULL* context. This makes a *NULL* "
120120
"return code somewhat ambiguous; use :c:func:`PyCapsule_IsValid` or "
121121
":c:func:`PyErr_Occurred` to disambiguate."
122122
msgstr""
123123

124-
#:../Doc/c-api/capsule.rst:89
124+
#:../Doc/c-api/capsule.rst:92
125125
msgid""
126126
"Return the current name stored in the capsule. On failure, set an "
127127
"exception and return *NULL*."
128128
msgstr""
129129

130-
#:../Doc/c-api/capsule.rst:92
130+
#:../Doc/c-api/capsule.rst:95
131131
msgid""
132132
"It is legal for a capsule to have a *NULL* name. This makes a *NULL* "
133133
"return code somewhat ambiguous; use :c:func:`PyCapsule_IsValid` or "
134134
":c:func:`PyErr_Occurred` to disambiguate."
135135
msgstr""
136136

137-
#:../Doc/c-api/capsule.rst:99
137+
#:../Doc/c-api/capsule.rst:102
138138
msgid""
139139
"Import a pointer to a C object from a capsule attribute in a module. The"
140140
" *name* parameter should specify the full name to the attribute, as in "
@@ -145,15 +145,13 @@ msgid ""
145145
":c:func:`PyImport_ImportModule`)."
146146
msgstr""
147147

148-
#:../Doc/c-api/capsule.rst:106
148+
#:../Doc/c-api/capsule.rst:109
149149
msgid""
150150
"Return the capsule's internal *pointer* on success. On failure, set an "
151-
"exception and return *NULL*. However, if :c:func:`PyCapsule_Import` "
152-
"failed to import the module, and *no_block* was true, no exception is "
153-
"set."
151+
"exception and return *NULL*."
154152
msgstr""
155153

156-
#:../Doc/c-api/capsule.rst:112
154+
#:../Doc/c-api/capsule.rst:115
157155
msgid""
158156
"Determines whether or not *capsule* is a valid capsule. A valid capsule "
159157
"is non-*NULL*, passes :c:func:`PyCapsule_CheckExact`, has a non-*NULL* "
@@ -162,42 +160,51 @@ msgid ""
162160
"names are compared.)"
163161
msgstr""
164162

165-
#:../Doc/c-api/capsule.rst:118
163+
#:../Doc/c-api/capsule.rst:121
166164
msgid""
167165
"In other words, if :c:func:`PyCapsule_IsValid` returns a true value, "
168166
"calls to any of the accessors (any function starting with "
169167
":c:func:`PyCapsule_Get`) are guaranteed to succeed."
170168
msgstr""
171169

172-
#:../Doc/c-api/capsule.rst:122
170+
#:../Doc/c-api/capsule.rst:125
173171
msgid""
174172
"Return a nonzero value if the object is valid and matches the name passed"
175173
" in. Return ``0`` otherwise. This function will not fail."
176174
msgstr""
177175

178-
#:../Doc/c-api/capsule.rst:127
176+
#:../Doc/c-api/capsule.rst:131
179177
msgid"Set the context pointer inside *capsule* to *context*."
180178
msgstr""
181179

182-
#:../Doc/c-api/capsule.rst:129../Doc/c-api/capsule.rst:135
183-
#:../Doc/c-api/capsule.rst:143../Doc/c-api/capsule.rst:150
180+
#:../Doc/c-api/capsule.rst:133../Doc/c-api/capsule.rst:140
181+
#:../Doc/c-api/capsule.rst:149../Doc/c-api/capsule.rst:157
184182
msgid"Return ``0`` on success. Return nonzero and set an exception on failure."
185183
msgstr""
186184

187-
#:../Doc/c-api/capsule.rst:133
185+
#:../Doc/c-api/capsule.rst:138
188186
msgid"Set the destructor inside *capsule* to *destructor*."
189187
msgstr""
190188

191-
#:../Doc/c-api/capsule.rst:139
189+
#:../Doc/c-api/capsule.rst:145
192190
msgid""
193191
"Set the name inside *capsule* to *name*. If non-*NULL*, the name must "
194192
"outlive the capsule. If the previous *name* stored in the capsule was "
195193
"not *NULL*, no attempt is made to free it."
196194
msgstr""
197195

198-
#:../Doc/c-api/capsule.rst:147
196+
#:../Doc/c-api/capsule.rst:154
199197
msgid""
200198
"Set the void pointer inside *capsule* to *pointer*. The pointer may not "
201199
"be *NULL*."
202200
msgstr""
203201

202+
#~ msgid ""
203+
#~ "Return the capsule's internal *pointer* "
204+
#~ "on success. On failure, set an "
205+
#~ "exception and return *NULL*. However, "
206+
#~ "if :c:func:`PyCapsule_Import` failed to import"
207+
#~ " the module, and *no_block* was true,"
208+
#~ " no exception is set."
209+
#~ msgstr ""
210+

‎c-api/gcsupport.po

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version:Python 3.6\n"
1010
"Report-Msgid-Bugs-To:\n"
11-
"POT-Creation-Date:2017-11-2618:49+0900\n"
11+
"POT-Creation-Date:2018-05-2611:10+0900\n"
1212
"PO-Revision-Date:YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator:FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team:LANGUAGE <LL@li.org>\n"
@@ -78,7 +78,8 @@ msgstr ""
7878
#:../Doc/c-api/gcsupport.rst:51
7979
msgid""
8080
"Resize an object allocated by :c:func:`PyObject_NewVar`. Returns the "
81-
"resized object or *NULL* on failure."
81+
"resized object or *NULL* on failure. *op* must not be tracked by the "
82+
"collector yet."
8283
msgstr""
8384

8485
#:../Doc/c-api/gcsupport.rst:57
@@ -198,3 +199,9 @@ msgid ""
198199
"involved in a reference cycle."
199200
msgstr""
200201

202+
#~ msgid ""
203+
#~ "Resize an object allocated by "
204+
#~ ":c:func:`PyObject_NewVar`. Returns the resized "
205+
#~ "object or *NULL* on failure."
206+
#~ msgstr ""
207+

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp