summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* Fix documented signatures for C API functions. (GH-11236) (GH-11240)Miss Islington (bot)2018-12-202-5/+5
| | | | | (cherry picked from commit 57dd79e6f7f33bb4e6817ac58c9cb91de99675e0) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-35461: Document C API functions which suppress exceptions. (GH-11119) ↵Miss Islington (bot)2018-12-207-4/+35
| | | | | | | (GH-11210) (cherry picked from commit 3fcc1e08db6fb7e17acc4a8f63be3e42f52f094b) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-35475: Add more PyImport* functions in refcounts.dat. (GH-11142) (GH-11199)Miss Islington (bot)2018-12-201-0/+28
| | | | | (cherry picked from commit bdabb0737c631835b246c9823852d20331243315) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-35482: Fixes HTML escaping in CHM index and build location of NEWS file ↵Steve Dower2018-12-203-7/+29
| | | | (GH-11224) (GH-11251)
* bpo-35450: reflect in docs that venv module is not always creating a copy of ↵Miss Islington (bot)2018-12-141-3/+4
| | | | the Python binary (GH-11144) (GH-11168)
* Fix numbered lists in stdtypes.rst. (GH-10989)Miss Islington (bot)2018-12-101-14/+10
| | | | | (cherry picked from commit de9e9b476ec4abfb0b9161cff0e86bb7085ca8c6) Co-authored-by: Andre Delfino <adelfino@gmail.com>
* bpo-22005: Fixed unpickling instances of datetime classes pickled by Python ↵Miss Islington (bot)2018-12-071-0/+6
| | | | | | | | 2. (GH-11017) (GH-11022) (GH-11024) encoding='latin1' should be used for successful decoding. (cherry picked from commit 8452ca15f41061c8a6297d7956df22ab476d4df4) (cherry picked from commit 0d5730e6437b157f4aeaf5d2e67abca23448c29a)
* 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>
* [3.6] Fix typo in xml.dom.minidom documentation (GH-10956) (GH-10962)Mariatta2018-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>
* [3.6] Fix typos in concurrent.Futures documentation (GH-10920) (GH-10958)Mariatta2018-12-051-1/+7
| | | | | | | Add a missing word `as` in `as well as an`. Linkify `threading.Thread`.. (cherry picked from commit 40a61da40d252626f8b9ff524d76c1f0ccb3a4f7) Co-authored-by: Matt Wheeler <m@funkyhat.org>
* [3.6] Correct a couple of unbalanced parenthesis. (GH-10779). (GH-10945)Andre Delfino2018-12-0511-15/+15
| | | | | (cherry picked from commit 55f41e45b4318cbe19209f5144641344d0049fb8) Co-authored-by: Andre Delfino <adelfino@gmail.com>
* Move __missing__ after __delitem__ in Data model. (GH-10923)Miss Islington (bot)2018-12-051-8/+8
| | | | | (cherry picked from commit 1ce853f37783575e2b3aaa159ddcebc8660830ef) Co-authored-by: Andre Delfino <adelfino@gmail.com>
* bpo-35226: Fix equality for nested unittest.mock.call objects. (GH-10555)Miss Islington (bot)2018-12-032-0/+22
| | | | | | | Also refactor the call recording implementation and add some notes about its limitations. (cherry picked from commit 8ca0fa9d2f4de6e69f0902790432e0ab2f37ba68) Co-authored-by: Chris Withers <chris@withers.org>
* [3.6] Fix signature of xml.dom.minidom.Document.toprettyxml(). (GH-10814). ↵E Kawashima2018-12-011-1/+1
| | | | | | (GH-10825) (cherry picked from commit b7c2182604d5796b5af4c837991aa0b8c8a2d41f)
* bpo-16086: Fix PyType_GetFlags() documentation (GH-10758) (GH-10790)Miss Islington (bot)2018-11-291-1/+4
| | | | | | PyType_GetFlags() return type is unsigned long, not long. (cherry picked from commit 9fbcfc08e5814d7aa9287740187e461425a99f67) Co-authored-by: Eddie Elizondo <eduardo.elizondorueda@gmail.com>
* [3.6] Doc: Delete "how do I emulate os.kill" section in Windows FAQ ↵Julien Palard2018-11-281-21/+0
| | | | | | | | | | (GH-10487) (GH-10768) That section is a tip on how to kill process on Windows for Python prior to 2.7 and 3.2. 3.1 end of support was April 2012 and 2.6 was October 2013, so that hasn't been need for supported versions of Python for more than 5 years. Beside not being needed anymore for a long time, when I read it with the eyes of a Python profane, it makes Python looks bad, like a language from the parts with warts you need to circumvent. Let's delete that :). (cherry picked from commit a1c40014085d5cc6c12064577e8c10e7182ee9f9) Co-authored-by: Mathieu Dupuy <deronnax@users.noreply.github.com>
* [3.6] bpo-35255: Doc: Delete now useless Windows FAQ section (GH-10557) ↵Julien Palard2018-11-261-11/+0
| | | | | | | | | | | | | (GH-10725) (cherry picked from commit 5719f275b7153a00a800f5481271a6fc26659c65) Co-authored-by: Mathieu Dupuy <deronnax@users.noreply.github.com> https://bugs.python.org/issue35255
* bpo-35300: Add usage note to the lru_cache() docs (GH-10707) (GH-10709)Miss Islington (bot)2018-11-261-0/+5
|
* bpo-32035: Fix words about strings and bytes in zipfile documentation. ↵Miss Islington (bot)2018-11-251-14/+10
| | | | | | | (GH-10592) (cherry picked from commit 4bb186d7e253ad4def875305e06690181e923dfd) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* 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>
* 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>
* bpo-35035: Rename email.utils documentation to email.utils.rst (GH-10023)Miss Islington (bot)2018-11-212-1/+1
| | | | | | I'll watch for 404 on the old URL and will setup an HTTP redirection if needed. (cherry picked from commit 361e8683e7340c600b22f4a514b81448ccec66dc) Co-authored-by: Zhiming Wang <github@zmwang.pw>
* bpo-35221: Additional hint that the placeholder is to be replaced. ↵Miss Islington (bot)2018-11-211-1/+2
| | | | | | | (GH-10604) (GH-10630) (cherry picked from commit d936a8f8e0964de1147656f1435532f0170f8b6c) Co-authored-by: Julien Palard <julien@palard.fr>
* bpo-28604: Fix localeconv() for different LC_MONETARY (GH-10606) (GH-10619) ↵Victor Stinner2018-11-201-4/+2
| | | | | | | | | | | | | | | | | | (GH-10621) locale.localeconv() now sets temporarily the LC_CTYPE locale to the LC_MONETARY locale if the two locales are different and monetary strings are non-ASCII. This temporary change affects other threads. Changes: * locale.localeconv() can now set LC_CTYPE to LC_MONETARY to decode monetary fields. * Add LocaleInfo.grouping_buffer: copy localeconv() grouping string since it can be replaced anytime if a different thread calls localeconv(). (cherry picked from commit 02e6bf7f2025cddcbde6432f6b6396198ab313f4) (cherry picked from commit 6eff6b8eecd7a8eccad16419269fa18ec820922e)
* bpo-9842: Add references for using "..." as a placeholder to the index. ↵Miss Islington (bot)2018-11-203-0/+7
| | | | | | | (GH-10330) (cherry picked from commit 6c48bf2d9e1e18dfbfa35f7582ddd32f11f75129) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.6] bpo-25438: document what codec PyMemberDef T_STRING decodes the char * ↵Miss Islington (bot)2018-11-171-1/+2
| | | | | | | | | | | | | | | | | | as (GH-10580) (GH-10587) Source of T_STRING: https://github.com/python/cpython/blob/e42b705188271da108de42b55d9344642170aa2b/Python/structmember.cGH-L51 Source of PyUnicode_FromString https://github.com/python/cpython/blob/master/Include/unicodeobject.hGH-L702 https://bugs.python.org/issue25438 (cherry picked from commit 689d555ec135d4115574addd063c358ac4897cc4) Co-authored-by: Windson yang <wiwindson@outlook.com> https://bugs.python.org/issue25438
* bpo-35250: Correct argument name "num" -> "btn" in turtle docs. (GH-10565)Miss Islington (bot)2018-11-161-4/+4
| | | | | (cherry picked from commit 4edeaeac4c194ba5d09187640b5cfca5e03be617) Co-authored-by: Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి) <thatiparthysreenivas@gmail.com>
* bpo-33816: Remove outdated metaclass example (GH-7566)Miss Islington (bot)2018-11-161-34/+2
| | | | | (cherry picked from commit c2ccac7b9f9a1132ca36255b0ddfeecef4371aa3) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* bpo-35213: Where appropriate, use 'macOS' in idlelib. (GH-10478)Miss Islington (bot)2018-11-151-8/+8
| | | | | (cherry picked from commit b65413b497a07f521d835b799be7dd0afcedbd65) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* Fix typo in asynchronous generator iterator documentation (GH-10542)Miss Islington (bot)2018-11-151-2/+2
| | | | | | | Remove an unnecessary "that": ... will execute that the body ... -> ... will execute the body ... (cherry picked from commit 25221b328339fb1726b58742e91b6e49c178023a) Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
* [3.6] bpo-32613: Update window FAQ (GH-5552). (GH-10545)Julien Palard2018-11-142-45/+24
| | | | | | | | | (cherry picked from commit 64313478bcbd0a708c3ce5d4d14f977da56e4be9) Co-authored-by: Julien Palard <julien@palard.fr> https://bugs.python.org/issue32613
* Grammar corrections in abc.rst (GH-10525)Miss Islington (bot)2018-11-141-3/+3
| | | | | (cherry picked from commit 8e0b05e2f4b9fd703cbe1ae8d058852ef3781f44) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* Link to property built-in in abc.rst (GH-10526)Miss Islington (bot)2018-11-141-1/+1
| | | | | (cherry picked from commit bf1355b4240173a306dd46e720ae4b696277bb41) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* Fix doc typo: Window -> Windows (GH-10508)Miss Islington (bot)2018-11-141-1/+1
| | | | | (cherry picked from commit daeb3c4c58663c2e2a3ddf1c2fbbff9a06269961) Co-authored-by: l-n-s <supervillain@riseup.net>
* bpo-35229: Deprecate _PyObject_GC_TRACK() (GH-10511)Miss Islington (bot)2018-11-131-0/+6
| | | | | | | | Deprecate _PyObject_GC_TRACK() and _PyObject_GC_UNTRACK() in the documentation. These macros are removed from Python 3.8 by the commit 1a6be91e6fd65ce9cb88cbbbb193db7e92ec6076. (cherry picked from commit 55b4771d5d18d5ff7c095aa1ab750fe0c8bb5e67) Co-authored-by: Victor Stinner <vstinner@redhat.com>
* Improve grammar in Glossary. (GH-10474)Miss Islington (bot)2018-11-121-2/+2
| | | | | | a asynchronous generator -> an asynchronous generator (cherry picked from commit a9655b7f71b8976c369160ef362d0e706cfcd8c9) Co-authored-by: Windson yang <wiwindson@outlook.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>
* Minor grammar improvement to io documentation. (GH-10329)Miss Islington (bot)2018-11-121-1/+1
| | | | | | Independently of -> Independent of (cherry picked from commit cd449806fac1246cb7b4d392026fe6986ec01fb7) Co-authored-by: Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి) <thatiparthysreenivas@gmail.com>
* bpo-33878: Doc: Fix missing case by simplifying. (GH-7762)Miss Islington (bot)2018-11-121-6/+3
| | | | | | | | The documentation was not covering multiple targets enclosed by parenthesis nor multiple targets enclosed by brackets, adding them all would be heavy, an else cover them all and is lighter to read. (cherry picked from commit 082875dcd6d482558e5f1da97a1c801d60b3ed5b) Co-authored-by: Julien Palard <julien@palard.fr>
* bpo-33699: Describe try's else clause with the rest of the try clause (GH-7252)Miss Islington (bot)2018-11-111-7/+5
| | | | | | https://bugs.python.org/issue33699 (cherry picked from commit b086c8afdb8c862011e3e27d4c8f6833749f2c56) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* bpo-34864: Document two IDLE on MacOS issues. (GH-10456)Miss Islington (bot)2018-11-111-6/+17
| | | | | | | | The System Preferences Dock "prefer tabs always" setting disables some IDLE features. Menus are a bit different than as described for Windows and Linux. (cherry picked from commit 50ff02b43145f33f8e28ffbfcc6a9d15c4749a64) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* Correct a typo in the Unittest documentation (GH-10397)Miss Islington (bot)2018-11-091-1/+1
| | | | | | Co-Authored-By: maggyero <gery.ogam@gmail.com> (cherry picked from commit 009b2f02049eda3b29d4f4f743e51df106686375) Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
* [3.6] Doc: Make all versions sidebars the same for consistency. (GH-10288) ↵Miss Islington (bot)2018-11-091-2/+3
| | | | | | | | (GH-10404) (cherry picked from commit 556d50d03dd1d457c01ab552c8bc81f3431a0746) Co-authored-by: Julien Palard <julien@palard.fr>
* Cleanup and improve the regex tokenizer example. (GH-10426) (#10428)Miss Islington (bot)2018-11-091-36/+38
| | | | | | | | | | | | | | 1) Convert weird field name "typ" to the more standard "type". 2) For the NUMBER type, convert the value to an int() or float(). 3) Simplify ``group(kind)`` to the shorter and faster ``group()`` call. 4) Simplify logic go a single if-elif chain to make this easier to extend. 5) Reorder the tests to match the order the tokens are specified. This isn't necessary for correctness but does make the example easier to follow. 6) Move the "column" calculation before the if-elif chain so that users have the option of using this value in error messages. (cherry picked from commit b83942c755a78f6d917743b73ed87a8fd9f367de) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* 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>
* Add link to PEP 525 in Expressions. (GH-10333)Miss Islington (bot)2018-11-071-1/+5
| | | | | (cherry picked from commit bfe1839aa994f0d84471254418a4ecfa7c7c9b9c) 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>
* Mark len call as a code snippet in stdtypes.rst. (GH-9804)Miss Islington (bot)2018-11-071-1/+1
| | | | | (cherry picked from commit ca03f3b93ee5c2943a2b8cbf9447f99f835ec672) Co-authored-by: Andrés Delfino <adelfino@gmail.com>