@@ -24,7 +24,7 @@ msgstr ""
2424"%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n "
2525
2626msgid ":mod:`asynchat` --- Asynchronous socket command/response handler"
27- msgstr ""
27+ msgstr ":mod:`asynchat` --- Asynchroniczna obsługa gniazda komend/odpowiedzi. "
2828
2929msgid "**Source code:** :source:`Lib/asynchat.py`"
3030msgstr ""
@@ -50,6 +50,18 @@ msgid ""
5050"class:`asynchat.async_chat` channel objects as it receives incoming "
5151"connection requests."
5252msgstr ""
53+ "Ten moduł buduje na infrastrukturze modułu :mod:`asyncore`, upraszczając "
54+ "klientów i serwery asynchroniczne i czyniąc łatwiejszym obsługę protokołów "
55+ "których elementy są zakańczane przez zadane ciągi znaków, lub są zmiennej "
56+ "długości. Moduł :mod:`asynchat` określa abstrakcyjne uogólnienie :class:"
57+ "`async_chat` które możesz dostosować tworząc własne podrzędne uogólnienie, "
58+ "dostarczając wypełnień sposobów postępowania :meth:`collect_incoming_data` "
59+ "i :meth:`found_terminator`. Używa tej samej asynchronicznej pętli co moduł :"
60+ "mod:`asyncore`, i dwóch rodzajów kanałów, - :class:`asyncore.dispatcher` i :"
61+ "class:`asynchat.async_chat`, mogą być dowolnie być mieszane w mapie kanałów. "
62+ "Typowo kanał serwera :class:`asyncore.dispatcher` generuje nowe obiekty "
63+ "kanałów :class:`asynchat.async_chat` gdy otrzymuje wchodzące zapytania o "
64+ "połączenie."
5365
5466msgid ""
5567"This class is an abstract subclass of :class:`asyncore.dispatcher`. To make "
@@ -58,6 +70,13 @@ msgid ""
5870"methods. The :class:`asyncore.dispatcher` methods can be used, although not "
5971"all make sense in a message/response context."
6072msgstr ""
73+ "To uogólnienie jest abstrakcyjnym uogólnieniem podrzędnym względem "
74+ "uogólnienia :class:`asyncore.dispatcher`. Aby praktycznie użyć kodu musisz "
75+ "dostosować podrzędne uogólnienie względem uogólnienia :class:`async_chat`, "
76+ "dostarczając sensownego wypełnienia sposobu postępowania :meth:"
77+ "`collect_incoming_data` i sposobu postępowania :meth:`found_terminator`. "
78+ "Sposoby postępowania uogólnienia :class:`asyncore.dispatcher` mogą być "
79+ "używane, chociaż nie wszystkie mają sens w kontekście wiadomość/odpowiedź."
6180
6281msgid ""
6382"Like :class:`asyncore.dispatcher`, :class:`async_chat` defines a set of "
@@ -71,12 +90,16 @@ msgid ""
7190"Two class attributes can be modified, to improve performance, or possibly "
7291"even to conserve memory."
7392msgstr ""
93+ "Dwie właściwości uogólnienia mogą być modyfikowane, aby poprawić wydajność, "
94+ "lub nawet aby możliwie oszczędzać pamięć."
7495
7596msgid "The asynchronous input buffer size (default ``4096``)."
7697msgstr ""
98+ "Rozmiar przestrzeni wymiany wejściowej asynchronicznej (domyślnie ``4096``)."
7799
78100msgid "The asynchronous output buffer size (default ``4096``)."
79101msgstr ""
102+ "Rozmiar przestrzeni wymiany wyjściowej asynchronicznej (domyślnie ``4096``)."
80103
81104msgid ""
82105"Unlike :class:`asyncore.dispatcher`, :class:`async_chat` allows you to "
@@ -98,6 +121,11 @@ msgid ""
98121"data that the channel receives asynchronously. The methods are described "
99122"below."
100123msgstr ""
124+ "Aby zbudować funkcjonujące podrzędne uogólnienia względem uogólnienia :class:"
125+ "`async_chat`, twoje sposoby postępowania wprowadzania :meth:"
126+ "`collect_incoming_data` i :meth:`found_terminator` muszą obsługiwać dane "
127+ "które kanał otrzymuje asynchronicznie. Sposoby postępowania są opisane "
128+ "poniżej."
101129
102130msgid ""
103131"Pushes a ``None`` on to the producer queue. When this producer is popped off "
@@ -109,6 +137,9 @@ msgid ""
109137"default method, which must be overridden, raises a :exc:"
110138"`NotImplementedError` exception."
111139msgstr ""
140+ "Wywoływany z *danymi* przechowując określoną ilość otrzymanych danych. "
141+ "Domyślny sposób postępowania, który musi zostać przesłonięty, zgłasza "
142+ "wyjątek :exc:`NotImplementedError`."
112143
113144msgid ""
114145"In emergencies this method will discard any data held in the input and/or "
@@ -121,9 +152,14 @@ msgid ""
121152"raises a :exc:`NotImplementedError` exception. The buffered input data "
122153"should be available via an instance attribute."
123154msgstr ""
155+ "Wywoływana gdy przychodzący strumień danych odpowiada warunkowi zakończenia "
156+ "ustawionemu przez sposób postępowania :meth:`set_terminator`. Domyślny "
157+ "sposób postępowania, który musi być przesłonięty, zgłasza wyjątek :exc:"
158+ "`NotImplementedError`. Dane wejściowe z przestrzeni wymiany powinny być "
159+ "dostępne przez właściwość przykładu."
124160
125161msgid "Returns the current terminator for the channel."
126- msgstr ""
162+ msgstr "Zwraca obecne zakończenie dla kanału. "
127163
128164msgid ""
129165"Pushes data on to the channel's queue to ensure its transmission. This is "
@@ -144,42 +180,51 @@ msgid ""
144180"may be any of three types of value, corresponding to three different ways to "
145181"handle incoming protocol data."
146182msgstr ""
183+ "Ustawia warunek zakończenia aby był rozpoznany przez kanał. ``term`` może "
184+ "być dowolną z trzech typów wartości, odpowiadających trzem różnym sposobom "
185+ "obsługi przychodzących danych protokołu."
147186
148187msgid "term"
149- msgstr ""
188+ msgstr "term - z ang. - termin "
150189
151190msgid "Description"
152191msgstr "Opis"
153192
154193msgid "*string*"
155- msgstr ""
194+ msgstr "*ciąg znaków* "
156195
157196msgid ""
158197"Will call :meth:`found_terminator` when the string is found in the input "
159198"stream"
160199msgstr ""
200+ "Wywoła sposób postępowania :meth:`found_terminator` gdy ciąg znaków zostanie "
201+ "znaleziony w strumieniu wejściowym"
161202
162203msgid "*integer*"
163- msgstr ""
204+ msgstr "*integer* - z ang. - *liczba całkowita* "
164205
165206msgid ""
166207"Will call :meth:`found_terminator` when the indicated number of characters "
167208"have been received"
168209msgstr ""
210+ "Wywoła :meth:`found_terminator` gdy wskazana liczba znaków zostanie odebrana"
169211
170212msgid "``None``"
171- msgstr ""
213+ msgstr "``None`` - z ang. - ``Żaden`` "
172214
173215msgid "The channel continues to collect data forever"
174- msgstr ""
216+ msgstr "Kanał nadal zbiera dane w pętli nieskończonej "
175217
176218msgid ""
177219"Note that any data following the terminator will be available for reading by "
178220"the channel after :meth:`found_terminator` is called."
179221msgstr ""
222+ "Zauważ że dowolne dane następujące po terminatorze będą dostępne dla "
223+ "przeczytania przez kanał po tym jak sposób postępowania :meth:"
224+ "`found_terminator` zostanie wywołany."
180225
181226msgid "asynchat Example"
182- msgstr ""
227+ msgstr "Przykład asynchat "
183228
184229msgid ""
185230"The following partial example shows how HTTP requests can be read with :"
@@ -189,16 +234,29 @@ msgid ""
189234"end of the HTTP headers, and a flag indicates that the headers are being "
190235"read."
191236msgstr ""
237+ "Następujący częściowy przykład pokazuje jak zapytania HTTP mogą być wczytane "
238+ "za pomocą :class:`async_chat`. Serwer sieci może tworzyć obiekt :class:"
239+ "`http_request_handler` dla każdego przychodzącego połączenia klienckiego. "
240+ "Zauważ że początkowo zakończenie kanału jest ustalone aby odpowiadało pustej "
241+ "linii na końcu nagłówka HTTP, i flaga wskazująca że nagłówki są wczytywane."
192242
193243msgid ""
194244"Once the headers have been read, if the request is of type POST (indicating "
195245"that further data are present in the input stream) then the ``Content-Length:"
196246"`` header is used to set a numeric terminator to read the right amount of "
197247"data from the channel."
198248msgstr ""
249+ "Gdy już nagłówki zostaną wczytane, jeśli zapytanie jest typu POST (wskazując "
250+ "na to że dalsze dane są obecne w strumieniu wejściowym) wtedy nagłówek "
251+ "``Content-Length:`` jest używany aby ustawić numeryczny terminator do "
252+ "wczytania właściwej ilości danych z kanału."
199253
200254msgid ""
201255"The :meth:`handle_request` method is called once all relevant input has been "
202256"marshalled, after setting the channel terminator to ``None`` to ensure that "
203257"any extraneous data sent by the web client are ignored. ::"
204258msgstr ""
259+ "Metoda :meth:`handle_request` jest wywoływane gdy już całe istotne wejście "
260+ "zostało pobrane, po ustawieniu terminatora kanału na ``None`` - z ang. - "
261+ "``Żaden`` aby upewnić się że jakiekolwiek nadmiarowe dane przesyłane przez "
262+ "klienta sieci są ignorowane. ::"
0 commit comments