[issue34118] Fix some class entries in 'Built-in Functions'

2019-12-30 Thread miss-islington
miss-islington added the comment: New changeset ec941568bdb25e164a87a23cf1b8870ac047b4e3 by Miss Islington (bot) in branch '3.8': bpo-34118: memoryview, range, and tuple are classes (GH-17761) https://github.com/python/cpython/commit/ec941568bdb25e164a87a23cf1b8870ac047b4e3 --

[issue34118] Fix some class entries in 'Built-in Functions'

2019-12-30 Thread miss-islington
miss-islington added the comment: New changeset c9c17cc933dcffb9ed7f03e3f791d8cfd7acc54a by Miss Islington (bot) in branch '3.7': bpo-34118: memoryview, range, and tuple are classes (GH-17761) https://github.com/python/cpython/commit/c9c17cc933dcffb9ed7f03e3f791d8cfd7acc54a --

[issue34118] Fix some class entries in 'Built-in Functions'

2019-12-30 Thread miss-islington
Change by miss-islington : -- pull_requests: +17199 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/17763 ___ Python tracker ___

[issue34118] Fix some class entries in 'Built-in Functions'

2019-12-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: I started with the agreed-on 'function' => 'class' changes and intend to follow with a PR for text changes. -- stage: patch review -> needs patch ___ Python tracker

[issue34118] Fix some class entries in 'Built-in Functions'

2019-12-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset ee9ff05ec22ecd47dbffdd361967ccd55963dad2 by Terry Jan Reedy in branch 'master': bpo-34118: memoryview, range, and tuple are classes (GH-17761) https://github.com/python/cpython/commit/ee9ff05ec22ecd47dbffdd361967ccd55963dad2 --

[issue34118] Fix some class entries in 'Built-in Functions'

2019-12-30 Thread miss-islington
Change by miss-islington : -- pull_requests: +17198 pull_request: https://github.com/python/cpython/pull/17762 ___ Python tracker ___

[issue34118] Fix some class entries in 'Built-in Functions'

2019-12-30 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +17197 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/17761 ___ Python tracker ___

[issue34118] Fix some class entries in 'Built-in Functions'

2019-12-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: I closed #39112, about tuple only, as a duplicate of this. -- keywords: +patch versions: +Python 3.9 -Python 3.6 ___ Python tracker ___

[issue34118] Fix some class entries in 'Built-in Functions'

2018-07-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: I will write a PR only touching the collection class entries. -- ___ Python tracker ___ ___

[issue34118] Fix some class entries in 'Built-in Functions'

2018-07-20 Thread Nick Coghlan
Nick Coghlan added the comment: Note that an alternative option for clarifying the status of the "Are they types or factory functions?" builtins would be for someone to review https://docs.python.org/3/reference/datamodel.html#the-standard-type-hierarchy and compare it to the builtins

[issue34118] Fix some class entries in 'Built-in Functions'

2018-07-20 Thread Nick Coghlan
Nick Coghlan added the comment: Marking memoryview, range, and tuple explicitly as classes, and making the initial phrasing in the docs consistent across all the builtin collection/container types sounds like a good improvement to me. I agree with Raymond that we should leave whether or not

[issue34118] Fix some class entries in 'Built-in Functions'

2018-07-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: > How about a note under the index table: > Functions that must be classes are tagged *class*. < The iterator functions enumerate, filter, map, reversed, and zip > are classes in CPython, but they are not tagged because they > could be implemented as

[issue34118] Fix some class entries in 'Built-in Functions'

2018-07-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: SO user abarnert, who I presume is bpo abarnert (Andrew Barnert) claims that "Create a new dictionary. The dict object is the dictionary class." sounds a bit like dict returns the dictionary class. It is different from "Return a new set object, ... . set

[issue34118] Fix some class entries in 'Built-in Functions'

2018-07-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: I was forgetting that this is a Python, not CPython doc. So I agree to not tag the iterator classes as such. For all I know, PyPy might use (compiled?) generator functions. And if we were to allow use of Cython, say, for CPython, we might try that. How

[issue34118] Fix some class entries in 'Built-in Functions'

2018-07-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: > I propose that the 2nd 3 follow the model of the 1st 3, This makes sense and would read a little better. > Classes enumerate, filter, map, memoryview, range, reversed, > tuple, and zip are untagged. I think, to be consistent, > that they should all

[issue34118] Fix some class entries in 'Built-in Functions'

2018-07-14 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- title: Fix some class entries entries in 'Built-in Functions' -> Fix some class entries in 'Built-in Functions' ___ Python tracker ___