| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
It's bad form to pin to an old version of TLS. ssl.SSLContext has the right
protocol default, so let's not pass anyway.
(cherry picked from commit e9edee0b65650c4f9db90cefc2e9a8125bad762c)
Co-authored-by: Benjamin Peterson <benjamin@python.org>
|
|
|
|
|
| |
(cherry picked from commit 52c6b89796a7ec391db20281e05b256f57e97b35)
Co-authored-by: Harshul jain <harshulrobo@gmail.com>
|
|
|
|
|
|
|
|
| |
Adapt documentation for `copyright` and `credits` to reality. Previously, the documentation implied that all each of `copyright`,
`credits`, and `license`, would print a message to call the object in order to see the full text. In reality, only `license` exhibits this
behaviour, and `copyright` and `credit` print their full text either when printed, displayed, or called.
(cherry picked from commit 243d6d71265be1996a8326002deae429106a5fba)
Co-authored-by: Gerrit Holl <gerrit.holl@gmail.com>
|
|
|
|
|
|
|
| |
(GH-5712)
(cherry picked from commit 6887d86e9a04b9c5718b08e5d9e1ca3cc1f53721)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
|
|
|
|
|
|
|
|
| |
This note incorrectly stated that "Base64 has an expansion factor of 6
to 4" (it is actually 4 to 3). It was decided to remove the note.
(cherry picked from commit 88c38a4049ded0e1f197fec3e76be7c0c0e83d7a)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
|
|
|
|
|
|
|
|
| |
(GH-5547)
`arg_name` and `element_index` are defined as `digit`+ instead of `integer`.
(cherry picked from commit 7a561afd2c79f63a6008843b83733911d07f0119)
Co-authored-by: Mariatta <Mariatta@users.noreply.github.com>
|
|
|
|
|
|
| |
The new link is given in a red box on the old page.
(cherry picked from commit 8d1f2f40389c476d9240ec87a33da0373597c6af)
Co-authored-by: sblondon <sblondon@users.noreply.github.com>
|
|
|
|
|
|
|
|
| |
(GH-5564) (GH-5573)
Fixes the documentation for `subprocess.check_output()` not mentioning that the encoding and errors parameters were added in 3.6.
(cherry picked from commit fc1ce810f1da593648b4d19e7d582a235ec1dd37)
Co-authored-by: Brice Gros <brice-gros@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
|
| |
mini-language doc (GH-5482) (GH-5525)
Changed the definition of width and precision from "integer" to "digit+" in format mini-language doc.
(cherry picked from commit 8b5fa289fdb04b6b919cf95fa99246aa872e47a8)
Co-authored-by: nathankerr96 <nathankerr96@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Fix typos found by codespell in docs, docstrings, and comments.
Fixes for the following files were in post-3.6 code and not backported:
Lib/ctypes/_aix.py (new), Lib/test/test_concurrent_futures.py,
Modules/_asynciomodule.c, Modules/_pickle.c, Objects/obmalloc.c.
(cherry picked from commit c3d9508ff22ece9a96892b628dd5813e2fb0cd80)
|
|
|
|
|
| |
(cherry picked from commit 589c718a8e3bde017350f248f7f1c009240eb52b)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
| |
* Make sure ``__spec__.loader`` matches ``__loader__`` for namespace packages.
* Make sure ``__spec__.origin` matches ``__file__`` for namespace packages.
https://bugs.python.org/issue32303
https://bugs.python.org/issue32305.
(cherry picked from commit bbbcf8693b876daae4469765aa62f8924f39a7d2)
Co-authored-by: Barry Warsaw <barry@python.org>
|
|
|
|
|
|
|
|
|
| |
…rning (GH-5265) (GH-5500)
Modify RE examples in documentation to use raw strings to prevent DeprecationWarning.
Add text to REGEX HOWTO to highlight the deprecation. Approved by Serhiy Storchaka.
(cherry picked from commit 66771422d0541289d0b1287bc3c28e8b5609f6b4)
|
|
|
|
|
|
|
| |
(GH-5199). (GH-5471)
(cherry picked from commit 12e7cd8a51956a5ce373aac692ae6366c5f86584)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
|
|
| |
(GH-5438)
(cherry picked from commit 9424dcbb3e20a26dfdd81659303b989f7d3da044)
Co-authored-by: Julien Palard <julien@palard.fr>
|
|
|
| |
(cherry picked from commit 2a3260bb030b0d4620242110c0ee5abc379afa8d)
|
|
|
|
| |
* bpo-32651 - In the documentation for os.getlogin(), recommend getpass.getuser()
(cherry picked from commit d499031f5f33c3ef71be7c81ef52eee6b47c42e1)
|
|
|
|
|
| |
(GH-4056) (#5298)
(cherry picked from commit 131fd7f96c619bc7eaea956e45c6337175f4b27f)
|
|
|
|
|
|
|
|
|
|
| |
* Add _Py_GetLocaleconvNumeric() function: decode decimal_point and
thousands_sep fields of localeconv() from the LC_NUMERIC encoding,
rather than decoding from the LC_CTYPE encoding.
* Modify locale.localeconv() and "n" formatter of str.format() (for
int, float and complex to use _Py_GetLocaleconvNumeric()
internally.
(cherry picked from commit cb064fc2321ce8673fe365e9ef60445a27657f54)
|
|
|
|
|
| |
Clarify that on Windows, path must be a directory.
On Unix, path can be a file or a directory.
(cherry picked from commit ee3b83547c6b0cac1da2cb44aaaea533a1d1bbc8)
|
|
|
|
|
|
| |
`os.path.is*()` can return False if the file can't be accessed.
The behaviour is documented in details in `os.path.exists()`.
Link to `os.path.exists()` from `os.path.is*()`.
(cherry picked from commit b3dd18d4035803b50c65a434955966d1b3b1f363)
|
|
|
| |
(cherry picked from commit d37258dd2e189141906bd234385096cd8e885d8d)
|
|
|
|
|
| |
The code example that demonstrate how to use enum.Flag was missing
the import of enum.auto.
(cherry picked from commit 0f31c74fcfdec8f9e6157de2c366f2273de81677)
|
| |
|
|
|
| |
(cherry picked from commit a8d25a16452f7ee8dfc350cd028b3ae172d28ada)
|
|
|
|
| |
The built-in map() function collects function arguments lazily, but concurrent.futures.Executor.map() does so eagerly.
(cherry picked from commit a7a751dd7b08a5bb6cb399c1b2a6ca7b24aba51d)
|
|
|
| |
(cherry picked from commit 6693d7af6670f8bda331e0b63bb77fce2e3efe9c)
|
|
|
| |
(cherry picked from commit 297fd876aad8ef443d8992618de22c46dbda258b)
|
|
|
| |
(cherry picked from commit 4f29f3c84b74de8c208980a14bc56bffa6363121)
|
|
|
| |
(cherry picked from commit c3e070f84931c847d1b35e7fb36aa71edd6215f6)
|
|
|
|
|
| |
Sequence.index method (GH-4277) (#4811)
(cherry picked from commit 5ce0a2a100909104836f53a2c8823006ec46f8ad)
|
|
|
|
|
|
| |
(#4796)
Original patch written by Martin Panter, enhanced by Sanyam Khurana.
(cherry picked from commit 1b74f9b77a6fa1d7828986cb79d5b10942ff9141)
|
|
|
|
|
| |
consistent with source. (GH-4765) (GH-4767)
(cherry picked from commit a9f8df646aac7fc94ced0aefd1ed2c8566d14d10)
|
|
|
|
|
|
|
|
|
|
| |
* fix issue32208: update threading.Semaphore docs and add unit test to validate correct behavior
* add test for blocking
* Update threading.rst
* semaphore: remove documentation validation tests and move 'return value' test to BaseSemaphore
(cherry picked from commit a0374dd34aa25f0895195d388b5ceff43b121b00)
|
|
|
| |
(cherry picked from commit ae342cf7deebdcf2035f4064609b32b2102dadcf)
|
|
|
| |
(cherry picked from commit c615be5166ed338c052fa67fe781b9bfe0dfb78c)
|
|
|
| |
(cherry picked from commit c172fc5031a4035986bef0b2fcef906706d7abf3)
|
|
|
|
|
| |
- Add "version added: 3.5.2" note where it was missing.
- Remove the mention that Reversible is new in 3.5.2
(cherry picked from commit 0cd2e81bea639828d7c9a7afc61fb1da9699492c)
|
|
|
|
| |
`BUILD_MAP_UNPACK_WITH_CALL` was duplicated as the opcode for both var-positional and var-keyword arguments. The opcode for the former was updated as `BUILD_TUPLE_UNPACK_WITH_CALL`.
(cherry picked from commit 0c71653cb8231f176d02140fdef3706de2e93b9f)
|
|
|
|
| |
Mention that the lower the priority number, the higher priority it represents.
(cherry picked from commit 9d5ec808de2c1359f434cc2fa8378458e4339c96)
|
|
|
| |
(cherry picked from commit f8802d80b32dbc64f9e0e72270695d24ac50e246)
|
|
|
| |
(cherry picked from commit 3df02dbc8e197053105f9dffeae40b04ec66766e)
|
|
|
|
|
| |
(GH-1699)
(cherry picked from commit 26248ef58dcf49619930ffa2e050ffa687a88601)
|
|
|
|
|
| |
documentation. (GH-4491) (#4493)
(cherry picked from commit 431665bf1971e66c51f59abf0693f700ff7919e8)
|
|
|
| |
(cherry picked from commit 337cbbace0a43f50fcd33ea4d3b7cb30733237db)
|
|
|
|
|
|
| |
Since f299abdafa0f2b6eb7abae274861b19b361c96bc
the remove_pyc() method no longer tries to
remove .pyo files.
(cherry picked from commit b56becb373f01c7e285f028bde640f0864d0240e)
|
|
|
| |
(cherry picked from commit 7750bded92d908cbc422c57b97214f8eec615b0d)
|
|
|
|
| |
`kargs` -> `kwargs`
(cherry picked from commit d505a29a15a6f9315d8c46445b8a0cccfc2048b8)
|
|
|
| |
(cherry picked from commit 3bda02222aa3783bf85fc3ff8bc042aefd9c4fd3)
|