summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
...
* [2.7] bpo-35126: Fix a mistake in FAQ about converting number to string ↵Stéphane Wirtel2019-02-191-3/+21
| | | | | (GH-11911) https://bugs.python.org/issue35126
* [2.7] bpo-32947: Fixes for TLS 1.3 and OpenSSL 1.1.1 (GH-8761) (GH-11876)stratakis2019-02-151-0/+9
| | | | | | | | | | | | | | | Backport of TLS 1.3 related fixes from 3.7. Misc fixes and workarounds for compatibility with OpenSSL 1.1.1 from git master and TLS 1.3 support. With OpenSSL 1.1.1, Python negotiates TLS 1.3 by default. Some test cases only apply to TLS 1.2. OpenSSL 1.1.1 has added a new option OP_ENABLE_MIDDLEBOX_COMPAT for TLS 1.3. The feature is enabled by default for maximum compatibility with broken middle boxes. Users should be able to disable the hack and CPython's test suite needs it to verify default options Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit 2a4ee8aa01d61b6a9c8e9c65c211e61bdb471826)
* [2.7] bpo-28043: improved default settings for SSLContext (GH-10608)stratakis2019-02-151-0/+11
| | | | | | | | | The options OP_NO_COMPRESSION, OP_CIPHER_SERVER_PREFERENCE, OP_SINGLE_DH_USE, OP_SINGLE_ECDH_USE, OP_NO_SSLv2 (except for PROTOCOL_SSLv2), and OP_NO_SSLv3 (except for PROTOCOL_SSLv3) are set by default. The initial cipher suite list contains only HIGH ciphers, no NULL ciphers and MD5 ciphers (except for PROTOCOL_SSLv2). (cherry picked from commit 358cfd426ccc0fcd6a7940d306602138e76420ae)
* [2.7] bpo-33570: TLS 1.3 ciphers for OpenSSL 1.1.1 (GH-6976) (GH-8760) ↵stratakis2019-02-151-5/+3
| | | | | | | | | | | | | (GH-10607) Change TLS 1.3 cipher suite settings for compatibility with OpenSSL 1.1.1-pre6 and newer. OpenSSL 1.1.1 will have TLS 1.3 cipers enabled by default. Also update multissltests to test with latest OpenSSL. Signed-off-by: Christian Heimes <christian@python.org>. (cherry picked from commit 3e630c541b35c96bfe5619165255e559f577ee71) Co-authored-by: Christian Heimes <christian@python.org>
* Doc sidebar: 3.6 has moved to security-fix mode. (GH-11810)Miss Islington (bot)2019-02-101-1/+1
| | | | | (cherry picked from commit 9db56fb8faaa3cd66e7fe82740a4ae4d786bb27f) Co-authored-by: Julien Palard <julien@palard.fr>
* [2.7] Fix url to core-mentorship mailing list (GH-11775). (GH-11778)Mariatta2019-02-061-2/+2
| | | | | (cherry picked from commit e9bc4172d18db9c182d8e04dd7b033097a994c06) Co-authored-by: Mariatta <Mariatta@users.noreply.github.com>
* bpo-25592: Improve documentation of distutils data_files (GH-9767) (GH-11734)Miss Islington (bot)2019-02-021-11/+14
| | | | | (cherry picked from commit 598e15d4feaee3849a91d92c9ca51f17baafe19c) Co-authored-by: jdemeyer <J.Demeyer@UGent.be>
* bpo-34512: Document platform-specific strftime() behavior for non-ASCII ↵Miss Islington (bot)2019-01-121-0/+6
| | | | | | | format strings (GH-8948) (cherry picked from commit 1cffd0eed313011c0c2bb071c8affeb4a7ed05c7) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
* Update bugs.rst (GH-11487)Miss Islington (bot)2019-01-091-1/+1
| | | | | (cherry picked from commit 91c6158dbc5d70fcd91993b4e62c7bae926c2ea2) Co-authored-by: Andre Delfino <adelfino@gmail.com>
* [2.7] Bump copyright years to 2019. (GH-11408)Benjamin Peterson2019-01-022-2/+2
| | | (cherry picked from commit 9a69ae8a78785105ded02b083b2e5cd2dd939307)
* Add missing period in distutils.dep_util.newer_group doc (GH-11003)Miss Islington (bot)2018-12-061-1/+1
| | | | | (cherry picked from commit c9566b8c454120e3d0ddb5ab970f262a6cd80077) Co-authored-by: Andre Delfino <adelfino@gmail.com>
* [2.7] Correct a couple of unbalanced parenthesis. (GH-10779). (GH-10963)Andre Delfino2018-12-063-3/+3
| | | | (cherry picked from commit 55f41e45b4318cbe19209f5144641344d0049fb8)
* Fix typo in xml.dom.minidom documentation (GH-10956)Miss Islington (bot)2018-12-051-1/+1
| | | | | | | Escape the \t and \n. Follow up from https://github.com/python/cpython/pull/10814. (cherry picked from commit 2d8f976cde4794d174b44ff7d5fd970aa89c65e8) Co-authored-by: E Kawashima <e-kwsm@users.noreply.github.com>
* [2.7] bpo-35250: Correct argument name "num" -> "btn" in turtle docs. ↵Serhiy Storchaka2018-12-051-4/+4
| | | | | | | (GH-10565). (GH-10943) (cherry picked from commit 4edeaeac4c194ba5d09187640b5cfca5e03be617) Co-authored-by: Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి) <thatiparthysreenivas@gmail.com>
* [2.7] Move __missing__ after __delitem__ in Data model. (GH-10923). (GH-10944)Andre Delfino2018-12-051-6/+6
| | | | | (cherry picked from commit 1ce853f37783575e2b3aaa159ddcebc8660830ef) Co-authored-by: Andre Delfino <adelfino@gmail.com>
* [2.7] Fix signature of xml.dom.minidom.Document.toprettyxml(). (GH-10814). ↵E Kawashima2018-12-011-1/+1
| | | | | | (GH-10827) (cherry picked from commit b7c2182604d5796b5af4c837991aa0b8c8a2d41f)
* Linkify SMTP.quit() in smtplib documentation. (GH-9785)Miss Islington (bot)2018-11-231-1/+1
| | | | | (cherry picked from commit ba57963a95a994947b8bec6869e810a74a751278) Co-authored-by: takey <taketakeyyy@gmail.com>
* [2.7] bpo-35035: Rename email.utils documentation to email.utils.rst ↵Julien Palard2018-11-222-1/+1
| | | | | (GH-10023) (GH-10667) https://bugs.python.org/issue35035
* bpo-31146: Don't fallback switcher to english on not-yet pusblished ↵Miss Islington (bot)2018-11-211-0/+6
| | | | | | | languages. (GH-10558) (cherry picked from commit 6b73bb523a176123a819e4ebac3727d31d861515) Co-authored-by: Julien Palard <julien@palard.fr>
* [2.7] Grammar corrections in abc.rst (GH-10525). (GH-10535)Andrés Delfino2018-11-141-3/+3
| | | | | (cherry picked from commit 8e0b05e2f4b9fd703cbe1ae8d058852ef3781f44) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* Linkify PEP 8 in unix.rst (GH-10482)Miss Islington (bot)2018-11-121-1/+1
| | | | | (cherry picked from commit 9404e7737bd09bc1df154e1216d721e5168e4c68) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* [2.7] bpo-33699: Describe try's else clause with the rest of the try clause ↵Andrés Delfino2018-11-111-7/+5
| | | | | | | | | | (GH-7252) (GH-10469) https://bugs.python.org/issue33699 (cherry picked from commit b086c8afdb8c862011e3e27d4c8f6833749f2c56) https://bugs.python.org/issue33699
* [2.7] Doc: Make all versions sidebars the same for consistency. (GH-10288) ↵Julien Palard2018-11-081-2/+3
| | | | (GH-10410)
* Add future_stmt to simple_stmt production list. (GH-8239)Miss Islington (bot)2018-11-081-0/+1
| | | | | (cherry picked from commit cdb96f45b61a40a7e7c4c83b4b1f14ef6f5cf4fa) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* glob uses fnmatch.filter instead of fnmatch since 2001. (GH-10102)Miss Islington (bot)2018-11-071-1/+1
| | | | | (cherry picked from commit ae31e3fbf4e7def772fc1c94342d1011424fdc99) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* Add a reference to the name mangling description in the tutorial to the ↵Miss Islington (bot)2018-11-071-0/+3
| | | | | | | index. (GH-10138) (cherry picked from commit c5eec4426d9144b2255500217d0e3ff9463d2770) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* Correct grammar mistakes in string.rst. (GH-9752)Miss Islington (bot)2018-11-071-2/+2
| | | | | (cherry picked from commit d64991031e4c86ce0331caac16770757511dd025) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* Fix a typo about a comma. (GH-10306)Miss Islington (bot)2018-11-031-1/+1
| | | | | (cherry picked from commit fe62d877e300e1ee4145fff8f2bdba498b685f91) Co-authored-by: İsmail Arılık <arilik.ismail@gmail.com>
* [2.7] bpo-32804: Include the context parameter in urlretrieve documentation ↵Lysandros Nikolaou2018-11-011-2/+15
| | | | | | (GH-10203)
* bpo-34866: Add max_num_fields to cgi.FieldStorage (GH-9660) (GH-9969)matthewbelisle-wf2018-10-302-4/+16
| | | | | | Adding `max_num_fields` to `cgi.FieldStorage` to make DOS attacks harder by limiting the number of `MiniFieldStorage` objects created by `FieldStorage`. (cherry picked from commit 209144831b0a19715bda3bd72b14a3e6192d9cc1)
* bpo-27741: Better wording for datetime.strptime() (GH-9994)Miss Islington (bot)2018-10-291-1/+3
| | | | | (cherry picked from commit c0799ec973530ad2492bb1d6c7287ffc428f0348) Co-authored-by: Gus Goulart <augusto@goulart.me>
* [2.7] unittest documentation: Spell pytest without the dot (GH-9820) (GH-10157)Mariatta2018-10-271-1/+1
| | | | | | Referring to ``pytest`` as ``py.test`` is deprecated.. (cherry picked from commit d855f2fdbd73016ece9b58e6f6ac26cf986fabf6) Co-authored-by: Andreas Pelme <andreas@pelme.se>
* bpo-35079: Revise difflib.SequenceManager.get_matching_blocks doc (GH-10144)Miss Islington (bot)2018-10-271-3/+4
| | | | | | Specify that blocks are non-overlapping. Change '!=' to '<'. (cherry picked from commit d9bff4e81b8ca36fe6c4e90c0b9cf02bc020e713) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.7] bpo-34789: xml.sax.make_parser expects a list not just any sequence ↵Miss Islington (bot)2018-10-261-1/+1
| | | | | | | (GH-9542) (cherry picked from commit 1487b651caa62647f8f8c9e8432e475e3566130c) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* [2.7] bpo-34576 : Backport eeab510 2.7 (#10115)Senthil Kumaran2018-10-261-0/+4
| | | | | | | | | * bpo-34576 - Fix the formatting for security considerations in http.server.rst (#10005) * Address review comment.. (cherry picked from commit eeab510bb7e51802c18b3770cbb23ae0ca91da6b) Co-authored-by: Senthil Kumaran <skumaran@gatech.edu>
* [2.7] bpo-34260, shutil: fix copy2 and copystat documentation (GH-8523) ↵Zsolt Cserna2018-10-241-3/+5
| | | | | | | | | | | | | | (GH-10071) Fix the documentation of copy2, as it does not copy file ownership (user and group), only mode, mtime, atime and flags. The original text was confusing to developers as it suggested that this command is the same as 'cp -p', but according to cp(1), '-p' copies file ownership as well. Clarify which metadata is copied by shutil.copystat in its docstring. (cherry picked from commit 4f399be0e70d8b5516b6213568b7665765bb3114)
* [2.7] bpo-34748: link to :ref:`partial-objects` in functools.partial doc. ↵Xiang Zhang2018-10-231-3/+3
| | | | | | | (GH-9809) (cherry picked from commit 83a0765) Co-authored-by: Andrei Petre p31andrei@gmail.com
* bpo-35032: Remove inaccessible videos from faq/Windows (GH-10004)Miss Islington (bot)2018-10-201-24/+0
| | | | | | https://bugs.python.org/issue35032 (cherry picked from commit d262250d0732bdf36cb92091e37360cf8ff40f7c) Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
* bpo-32798: Add restriction on the offset parameter for mmap.flush in the ↵Miss Islington (bot)2018-10-201-4/+5
| | | | | | | | | | docs (GH-5621) Add restriction on the offset parameter for mmap.flush. Explain that ALLOCATIONGRANULARITY is the same as PAGESIZE in Unix. (cherry picked from commit 027664a3d5ebad575aafe5fcc572e3b05f7f24e5) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
* bpo-21196: Clarify name mangling rules in tutorial (GH-5667)Miss Islington (bot)2018-10-201-0/+5
| | | | | | Initial patch by Chandan Kumar. (cherry picked from commit 13ae4d44381a647aadd09b70b24833052659be41) Co-authored-by: Berker Peksag <berker.peksag@gmail.com>
* bpo-34967: Sphinx is deprecating add_description_unit, use add_object_type ↵Miss Islington (bot)2018-10-161-5/+3
| | | | | | | (GH-9827) (cherry picked from commit e385d0661ecf8bc9ba95c4395d9a11262c2cbfec) Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
* bpo-34203: FAQ now recommends python 3.x over 2.x (GH-9796)Miss Islington (bot)2018-10-121-6/+8
| | | | | (cherry picked from commit 4505f65ae7807f2420ed14d4f060e7cd5c4039d3) Co-authored-by: Gus Goulart <augusto@goulart.me>
* [2.7] bpo-13407: Mention that bz2/tarfile doesn't support multi-stream bzip2 ↵Andrés Delfino2018-09-292-0/+8
| | | | | | | | files (GH-8428) * bpo-13407: Mention that tarfile doesn't support multistream bzip2 files * Add mention to bz2 module also
* [2.7] bpo-33216: Clarify the documentation for CALL_FUNCTION_* (GH-8338) ↵Serhiy Storchaka2018-09-171-20/+53
| | | | | | | | (GH-8783) (cherry picked from commit 76aa2c0a9a8dd3ac90b91e7342c8ce8125bf21f9) Co-authored-by: larryhastings <larry@hastings.org>
* bpo-34500: Fix ResourceWarning in difflib.py (GH-8926)Mickaël Schoentgen2018-09-031-2/+4
| | | | | The change to Tools/scripts/diff.py effectively backports part of a2637729f23dc993e820fd92f0d1759ad714c9b2. The test code changed in Doc/library/difflib.rst is not present in current 3.x.
* [2.7] Fix struct sequence glossary entry grammar (GH-9030)Zachary Ware2018-09-021-1/+1
| | | | | | | ... by removing a superfluous "either". Reported by Никита Люшненко on docs@ (cherry picked from commit 98b976a2f82ba5f50cf6846338f644ca6c64f47d)
* Make it more clear that setUpClass runs before each class, not "class run" ↵Miss Islington (bot)2018-08-231-1/+1
| | | | | | | (GH-8844) (cherry picked from commit c33bb5d4016fb2fc8f3b6d4b0c14b73b33cdb3cf) Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>
* [2.7] bpo-34273: Change 'Fixed point' to 'Fixed-point notation'. (GH-8673)Terry Jan Reedy2018-08-061-3/+3
| | | | | | | The change in the mini language floating point and decimal table is consistent with 'Exponential notation' and clarifies that we are referring to the output notation, not an object type. (cherry picked from commit 28c7f8c8ce34a0cb848822a252a9d0a761fb42d5)
* bpo-27671: Update FAQ about why len is function (GH-8432)Miss Islington (bot)2018-07-311-18/+19
| | | | | (cherry picked from commit c48e26dcadbff8620bb5881d3bd148fc8894d0ef) Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
* [2.7] Use 'for example' instead of 'in other words' in compound statement ↵Andrés Delfino2018-07-301-1/+1
| | | | | | | doc (GH-8401) (cherry picked from commit 6921ef7bef4eab3819b3d0fda5fa3e3b2a8c0613) Co-authored-by: Andrés Delfino <adelfino@gmail.com>