Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Doc: Builtins functions: faster jump table (GH-21376) | Julien Palard | 2020-07-09 | 1 | -18/+32 |
| | |||||
* | Fix typo in functions.rst (GH-21131) | Ram Rachum | 2020-06-25 | 1 | -1/+1 |
| | |||||
* | bpo-40636: Documentation for zip-strict (#20961) | Ram Rachum | 2020-06-19 | 1 | -44/+84 |
| | |||||
* | Indicate that abs() method accept argument that implement __abs__(), just ↵ | Windson yang | 2020-05-29 | 1 | -3/+2 |
| | | | | like call() method in the docs (GH-20509) | ||||
* | Fix "versionchanged" for pow named arguments (GH-19042) | Mark Dickinson | 2020-03-19 | 1 | -1/+1 |
| | | | The ability to use named arguments in "pow" was introduced in Python 3.8, not Python 3.9. See https://bugs.python.org/issue38237 | ||||
* | bpo-38691: importlib ignores PYTHONCASEOK if -E is used (GH-18627) | idomic | 2020-03-09 | 1 | -0/+3 |
| | | | | | The importlib module now ignores the PYTHONCASEOK environment variable when the -E or -I command line options are being used. | ||||
* | bpo-39674: Revert "bpo-37330: open() no longer accept 'U' in file mode ↵ | Victor Stinner | 2020-03-04 | 1 | -4/+10 |
| | | | | | | | (GH-16959)" (GH-18767) This reverts commit e471e72977c83664f13d041c78549140c86c92de. The mode will be removed from Python 3.10. | ||||
* | Revert "bpo-38691 Added a switch to ignore PYTHONCASEOK when -E or -I flags ↵ | Victor Stinner | 2020-02-19 | 1 | -3/+0 |
| | | | | | passed (#18314)" (GH-18553) This reverts commit d83b6600b25487e4ebffd7949d0f478de9538875. | ||||
* | bpo-38691 Added a switch to ignore PYTHONCASEOK when -E or -I flags passed ↵ | idomic | 2020-02-17 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | | (#18314) * Hard reset + cherry piciking the changes. * 📜🤖 Added by blurb_it. * Added @vstinner News * Update Misc/NEWS.d/next/Library/2020-02-11-13-01-38.bpo-38691.oND8Sk.rst Co-Authored-By: Victor Stinner <vstinner@python.org> * Hard reset to master * Hard reset to master + latest changes Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Victor Stinner <vstinner@python.org> | ||||
* | bpo-12159: Document sys.maxsize limit in len() function reference (GH-17934) | Zac Hatfield-Dodds | 2020-01-12 | 1 | -0/+5 |
| | |||||
* | bpo-34118: memoryview, range, and tuple are classes (GH-17761) | Terry Jan Reedy | 2019-12-30 | 1 | -3/+3 |
| | | | | Tag memoryview, range, and tuple as classes, the same as list, etcetera, in the library manual built-in functions list. | ||||
* | Update functions.rst (GH-16468) | Géry Ogam | 2019-11-20 | 1 | -2/+2 |
| | | | | | | | This PR will make the following changes to the [_Built-in Functions_](https://docs.python.org/3/library/functions.html) chapter of the library documentation: - improve hyperlinks in Sphinx roles (trailing 's' belong to hyperlinks). Automerge-Triggered-By: @csabella | ||||
* | bpo-38738: Fix formatting of True and False. (GH-17083) | Serhiy Storchaka | 2019-11-12 | 1 | -6/+6 |
| | | | | | | | | | * "Return true/false" is replaced with "Return ``True``/``False``" if the function actually returns a bool. * Fixed formatting of some True and False literals (now in monospace). * Replaced "True/False" with "true/false" if it can be not only bool. * Replaced some 1/0 with True/False if it corresponds the code. * "Returns <bool>" is replaced with "Return <bool>". | ||||
* | bpo-37330: open() no longer accept 'U' in file mode (GH-16959) | Victor Stinner | 2019-10-28 | 1 | -10/+4 |
| | | | | | open(), io.open(), codecs.open() and fileinput.FileInput no longer accept "U" ("universal newline") in the file mode. This flag was deprecated since Python 3.3. | ||||
* | bpo-38255: super() can search attributes as well as methods (GH-16368) | Raymond Hettinger | 2019-09-25 | 1 | -0/+4 |
| | | | Improvement suggested by Géry Ogam. | ||||
* | bpo-38237: Make pow's arguments have more descriptive names and be keyword ↵ | Ammar Askar | 2019-09-20 | 1 | -9/+15 |
| | | | | | | | | | | | | passable (GH-16302) Edit: `math.pow` changes removed on Mark's request. https://bugs.python.org/issue38237 Automerge-Triggered-By: @rhettinger | ||||
* | bpo-25810: Clarify eval() docs, it does not keywords (GH-15173) | smokephil | 2019-09-11 | 1 | -1/+1 |
| | |||||
* | Correct minor grammatical mistake in open docs (GH-15865) | Andre Delfino | 2019-09-10 | 1 | -2/+2 |
| | |||||
* | Note regarding + mode truncation applies to both text and binary mode (#11314) | Andre Delfino | 2019-09-10 | 1 | -3/+3 |
| | | | | | | | | * Improve doc on open's mode + * Improve wording * Address comment from Rémi | ||||
* | bpo-23674: Clarify ambiguities in super() docs (#15564) | Raymond Hettinger | 2019-08-29 | 1 | -3/+10 |
| | |||||
* | bpo-19072: Make @classmethod support chained decorators (GH-8405) | Berker Peksag | 2019-08-24 | 1 | -2/+4 |
| | |||||
* | bpo-37646: Document that eval() cannot access nested scopes (GH-15117) | Raymond Hettinger | 2019-08-06 | 1 | -6/+10 |
| | |||||
* | bpo-37390: Add audit event table to documentations (GH-14406) | Steve Dower | 2019-06-27 | 1 | -7/+7 |
| | | | Also updates some (unreleased) event names to be consistent with the others. | ||||
* | bpo-37363: Add audit events for a range of modules (GH-14301) | Steve Dower | 2019-06-24 | 1 | -6/+8 |
| | |||||
* | bpo-37134: Use PEP570 syntax for sum() (GH-13851) | Pablo Galindo | 2019-06-06 | 1 | -3/+3 |
| | |||||
* | bpo-36027: Extend three-argument pow to negative second argument (GH-13266) | Mark Dickinson | 2019-06-02 | 1 | -3/+18 |
| | |||||
* | bpo-20092. Use __index__ in constructors of int, float and complex. (GH-13108) | Serhiy Storchaka | 2019-06-02 | 1 | -2/+19 |
| | |||||
* | bpo-31968: Documentation -- add clarification on the globals dict for exec() ↵ | Anthony Shaw | 2019-06-01 | 1 | -1/+2 |
| | | | | (GH-13140) | ||||
* | bpo-36842: Implement PEP 578 (GH-12613) | Steve Dower | 2019-05-23 | 1 | -0/+31 |
| | | | Adds sys.audit, sys.addaudithook, io.open_code, and associated C APIs. | ||||
* | bpo-34616: Add PyCF_ALLOW_TOP_LEVEL_AWAIT to allow top-level await (GH-13148) | Matthias Bussonnier | 2019-05-21 | 1 | -0/+10 |
| | | | Co-Authored-By: Yury Selivanov <yury@magic.io> | ||||
* | bpo-32413: Add documentation that at the module level, locals(), globals() ↵ | Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) | 2019-04-02 | 1 | -1/+2 |
| | | | | | are the same dictionary (GH-5004) https://bugs.python.org/issue32413 | ||||
* | bpo-34085: Improve wording on classmethod/staticmethod (#8228) | Andre Delfino | 2019-03-25 | 1 | -12/+10 |
| | | | | | | | | * bpo-34085: Improve wording on classmethod/staticmethod * Address comments from Éric * Address comments from Éric | ||||
* | bpo-21314: Add a FAQ entry about positional only parameters (GH-10641) | Lysandros Nikolaou | 2019-03-10 | 1 | -0/+5 |
| | |||||
* | Doc: fix example for iter() function. (GH-11959) | Cristian Ciupitu | 2019-02-21 | 1 | -1/+1 |
| | | | | | read() returns bytes for a file opened in binary mode, so b'' should be used as a sentinel instead of ''. Otherwise the loop will be infinite. | ||||
* | Clarify U-mode deprecation in open() (GH-11646) | Nick Coghlan | 2019-01-28 | 1 | -1/+8 |
| | | | | | | | | | | The previous wording could be read as saying that universal newlines mode itself was deprecated, when it's only the 'U' character in the mode field that should be avoided. The update also moves the description of the 'U' mode character out of the mode table, as the longer explanation was overly intrusive as a table entry and overshadowed the actually useful mode characters. | ||||
* | bpo-34764: improve docs example of iter() with sentinel value (GH-11222) | Chris Rands | 2018-12-23 | 1 | -7/+8 |
| | |||||
* | bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174) | Serhiy Storchaka | 2018-12-19 | 1 | -1/+1 |
| | |||||
* | fix dangling keyfunc examples in documentation of heapq and sorted (#1432) | Wolfgang Maier | 2018-10-15 | 1 | -2/+2 |
| | | | | | | * fix dangling mention of key=str.lower in heapq doc * Fix dangling mention of keyfunc example for sorted() | ||||
* | bpo-34637: Make the *start* argument for *sum()* visible as a keyword ↵ | Raymond Hettinger | 2018-09-12 | 1 | -0/+3 |
| | | | | argument. (GH-9208) | ||||
* | bpo-34434: Update doc for bool(), float() and int() arguments (GH-8834) | Louis Sautier | 2018-08-27 | 1 | -1/+9 |
| | |||||
* | bpo-22057: Clarify eval() documentation (GH-8812) | Berker Peksag | 2018-08-19 | 1 | -2/+4 |
| | | | | | | | | | | | | If a globals dictionary without a '__builtins__' key is passed to eval(), a '__builtins__' key will be inserted to the dictionary: >>> eval("print('__builtins__' in globals())", {}) True (As a result of this behavior, we can use the builtins print() and globals() even if we passed a dictionary without a '__builtins__' key to eval().) | ||||
* | bpo-34149: Behavior of the min/max with key=None (GH-8328) | Alexander Marshalov | 2018-07-23 | 1 | -0/+6 |
| | | | Improve consistency with the signature for sorted(), heapq.nsmallest(), heapq.nlargest(), and itertools.groupby(). | ||||
* | Doc: Point to Simple statements section instead of PEP (GH-8238) | Andrés Delfino | 2018-07-11 | 1 | -2/+2 |
| | |||||
* | classify abs() argument type (GH-8103) | Windson yang | 2018-07-05 | 1 | -1/+2 |
| | |||||
* | Fix the indentation in the documentation of bin() and hash() (GH-7998) | Andrés Delfino | 2018-06-29 | 1 | -5/+5 |
| | |||||
* | bpo-33943: Add references in the docs for logging.basicConfig (GH-7858) | Andrés Delfino | 2018-06-25 | 1 | -0/+5 |
| | | | | Adds references to info about file modes, `time.strftime()`, string formatting syntaxes, and logging levels. | ||||
* | bpo-30940: Updating round() docs. (GH-6342) | Lisa Roach | 2018-05-20 | 1 | -4/+5 |
| | |||||
* | bpo-26701: Tweak the documentation for special methods in int(). (GH-6741) | Serhiy Storchaka | 2018-05-10 | 1 | -8/+6 |
| | |||||
* | Fix superfluous if in documentation. (GH-6728) | Julien Palard | 2018-05-09 | 1 | -1/+1 |
| | |||||
* | bpo-26701: Add documentation for __trunc__ (GH-6022) | Eric Appelt | 2018-03-10 | 1 | -2/+5 |
| | | | | `int` fails back to `__trunc__` is `__int__` isn't defined, so cover that in the docs. |