Skip to content

Sync with CPython 3.9 #121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Oct 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
446 changes: 231 additions & 215 deletions faq/programming.po

Large diffs are not rendered by default.

7 changes: 3 additions & 4 deletions library/hashlib.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.7\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-09-29 00:11+0000\n"
"POT-Creation-Date: 2021-10-12 19:07+0000\n"
"PO-Revision-Date: 2018-05-23 16:03+0000\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -584,9 +584,8 @@ msgstr ""
msgid ""
"Keyed hashing can be used for authentication as a faster and simpler "
"replacement for `Hash-based message authentication code <https://en."
"wikipedia.org/wiki/Hash-based_message_authentication_code>`_ (HMAC). BLAKE2 "
"can be securely used in prefix-MAC mode thanks to the indifferentiability "
"property inherited from BLAKE."
"wikipedia.org/wiki/HMAC>`_ (HMAC). BLAKE2 can be securely used in prefix-MAC "
"mode thanks to the indifferentiability property inherited from BLAKE."
msgstr ""

#: ../../library/hashlib.rst:503
Expand Down
6 changes: 4 additions & 2 deletions library/html.entities.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.7\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-06-26 18:54+0800\n"
"POT-Creation-Date: 2021-10-12 19:07+0000\n"
"PO-Revision-Date: 2017-09-22 18:26+0000\n"
"Last-Translator: Liang-Bo Wang <me@liang2.tw>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -61,5 +61,7 @@ msgid "Footnotes"
msgstr "註解"

#: ../../library/html.entities.rst:47
msgid "See https://www.w3.org/TR/html5/syntax.html#named-character-references"
msgid ""
"See https://html.spec.whatwg.org/multipage/syntax.html#named-character-"
"references"
msgstr ""
4 changes: 2 additions & 2 deletions library/http.cookiejar.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.7\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-06-20 18:08+0800\n"
"POT-Creation-Date: 2021-10-12 19:07+0000\n"
"PO-Revision-Date: 2016-11-19 00:31+0000\n"
"Last-Translator: Liang-Bo Wang <me@liang2.tw>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -165,7 +165,7 @@ msgid ""
msgstr ""

#: ../../library/http.cookiejar.rst:129
msgid "https://curl.haxx.se/rfc/cookie_spec.html"
msgid "https://curl.se/rfc/cookie_spec.html"
msgstr ""

#: ../../library/http.cookiejar.rst:126
Expand Down
4 changes: 2 additions & 2 deletions library/ipaddress.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.7\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-09-29 00:11+0000\n"
"POT-Creation-Date: 2021-10-12 19:07+0000\n"
"PO-Revision-Date: 2018-05-23 16:04+0000\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -674,7 +674,7 @@ msgstr ""
#: ../../library/ipaddress.rst:683
msgid ""
"Note that currently expanded netmasks are not supported. That means ``2001:"
"db00::0/24`` is a valid argument while ``2001:db00::0/ffff:ff00::`` not."
"db00::0/24`` is a valid argument while ``2001:db00::0/ffff:ff00::`` is not."
msgstr ""

#: ../../library/ipaddress.rst:687
Expand Down
24 changes: 12 additions & 12 deletions library/json.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.7\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-09-13 00:11+0000\n"
"POT-Creation-Date: 2021-10-12 19:07+0000\n"
"PO-Revision-Date: 2018-05-23 16:04+0000\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand All @@ -29,12 +29,12 @@ msgstr ""

#: ../../library/json.rst:14
msgid ""
"`JSON (JavaScript Object Notation) <http://json.org>`_, specified by :rfc:"
"`7159` (which obsoletes :rfc:`4627`) and by `ECMA-404 <http://www.ecma-"
"international.org/publications/standards/Ecma-404.htm>`_, is a lightweight "
"data interchange format inspired by `JavaScript <https://en.wikipedia.org/"
"wiki/JavaScript>`_ object literal syntax (although it is not a strict subset "
"of JavaScript [#rfc-errata]_ )."
"`JSON (JavaScript Object Notation) <https://json.org>`_, specified by :rfc:"
"`7159` (which obsoletes :rfc:`4627`) and by `ECMA-404 <https://www.ecma-"
"international.org/publications-and-standards/standards/ecma-404/>`_, is a "
"lightweight data interchange format inspired by `JavaScript <https://en."
"wikipedia.org/wiki/JavaScript>`_ object literal syntax (although it is not a "
"strict subset of JavaScript [#rfc-errata]_ )."
msgstr ""

#: ../../library/json.rst:21
Expand Down Expand Up @@ -582,11 +582,11 @@ msgstr ""

#: ../../library/json.rst:546
msgid ""
"The JSON format is specified by :rfc:`7159` and by `ECMA-404 <http://www."
"ecma-international.org/publications/standards/Ecma-404.htm>`_. This section "
"details this module's level of compliance with the RFC. For simplicity, :"
"class:`JSONEncoder` and :class:`JSONDecoder` subclasses, and parameters "
"other than those explicitly mentioned, are not considered."
"The JSON format is specified by :rfc:`7159` and by `ECMA-404 <https://www."
"ecma-international.org/publications-and-standards/standards/ecma-404/>`_. "
"This section details this module's level of compliance with the RFC. For "
"simplicity, :class:`JSONEncoder` and :class:`JSONDecoder` subclasses, and "
"parameters other than those explicitly mentioned, are not considered."
msgstr ""

#: ../../library/json.rst:552
Expand Down
20 changes: 10 additions & 10 deletions library/random.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.7\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-09-13 00:11+0000\n"
"POT-Creation-Date: 2021-10-19 00:12+0000\n"
"PO-Revision-Date: 2018-05-23 16:09+0000\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -559,15 +559,15 @@ msgid ""
"Simulation of arrival times and service deliveries for a multiserver queue::"
msgstr ""

#: ../../library/random.rst:531
#: ../../library/random.rst:532
msgid ""
"`Statistics for Hackers <https://www.youtube.com/watch?v=Iq9DzN6mvYA>`_ a "
"video tutorial by `Jake Vanderplas <https://us.pycon.org/2016/speaker/"
"profile/295/>`_ on statistical analysis using just a few fundamental "
"concepts including simulation, sampling, shuffling, and cross-validation."
msgstr ""

#: ../../library/random.rst:537
#: ../../library/random.rst:538
msgid ""
"`Economics Simulation <http://nbviewer.jupyter.org/url/norvig.com/ipython/"
"Economics.ipynb>`_ a simulation of a marketplace by `Peter Norvig <http://"
Expand All @@ -576,7 +576,7 @@ msgid ""
"choice, triangular, and randrange)."
msgstr ""

#: ../../library/random.rst:544
#: ../../library/random.rst:545
msgid ""
"`A Concrete Introduction to Probability (using Python) <http://nbviewer."
"jupyter.org/url/norvig.com/ipython/Probability.ipynb>`_ a tutorial by `Peter "
Expand All @@ -585,11 +585,11 @@ msgid ""
"Python."
msgstr ""

#: ../../library/random.rst:552
#: ../../library/random.rst:553
msgid "Recipes"
msgstr ""

#: ../../library/random.rst:554
#: ../../library/random.rst:555
msgid ""
"The default :func:`.random` returns multiples of 2⁻⁵³ in the range *0.0 ≤ x "
"< 1.0*. All such numbers are evenly spaced and are exactly representable as "
Expand All @@ -598,7 +598,7 @@ msgid ""
"integer multiple of 2⁻⁵³."
msgstr ""

#: ../../library/random.rst:560
#: ../../library/random.rst:561
msgid ""
"The following recipe takes a different approach. All floats in the interval "
"are possible selections. The mantissa comes from a uniform distribution of "
Expand All @@ -607,13 +607,13 @@ msgid ""
"often as the next larger exponent."
msgstr ""

#: ../../library/random.rst:582
#: ../../library/random.rst:583
msgid ""
"All :ref:`real valued distributions <real-valued-distributions>` in the "
"class will use the new method::"
msgstr ""

#: ../../library/random.rst:591
#: ../../library/random.rst:592
msgid ""
"The recipe is conceptually equivalent to an algorithm that chooses from all "
"the multiples of 2⁻¹⁰⁷⁴ in the range *0.0 ≤ x < 1.0*. All such numbers are "
Expand All @@ -622,7 +622,7 @@ msgid ""
"and is equal to ``math.ulp(0.0)``.)"
msgstr ""

#: ../../library/random.rst:600
#: ../../library/random.rst:601
msgid ""
"`Generating Pseudo-random Floating-Point Values <https://allendowney.com/"
"research/rand/downey07randfloat.pdf>`_ a paper by Allen B. Downey describing "
Expand Down
Loading