[issue20408] memoryview() constructor documentation error

2021-05-25 Thread Berker Peksag
Change by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.11 -Python 3.8 ___ Python tracker ___

[issue20408] memoryview() constructor documentation error

2021-05-25 Thread Berker Peksag
Berker Peksag added the comment: New changeset 8accb8c8ccf371021cba5a2b91f5b7c711fa8149 by Miss Islington (bot) in branch '3.9': bpo-20408: Fix memoryview() signature in docs (GH-24431) https://github.com/python/cpython/commit/8accb8c8ccf371021cba5a2b91f5b7c711fa8149 --

[issue20408] memoryview() constructor documentation error

2021-05-25 Thread Berker Peksag
Berker Peksag added the comment: New changeset 05f8ad0c745016cd8b5bdbda4336688b80f45fd7 by Miss Islington (bot) in branch '3.10': bpo-20408: Fix memoryview() signature in docs (GH-24431) https://github.com/python/cpython/commit/05f8ad0c745016cd8b5bdbda4336688b80f45fd7 --

[issue20408] memoryview() constructor documentation error

2021-05-25 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +24947 pull_request: https://github.com/python/cpython/pull/26355 ___ Python tracker

[issue20408] memoryview() constructor documentation error

2021-05-25 Thread Berker Peksag
Berker Peksag added the comment: New changeset d18e5dae914b1db49b25ed7729c07a535d1f0c52 by Mariusz Felisiak in branch 'main': bpo-20408: Fix memoryview() signature in docs (GH-24431) https://github.com/python/cpython/commit/d18e5dae914b1db49b25ed7729c07a535d1f0c52 --

[issue20408] memoryview() constructor documentation error

2021-05-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +24948 pull_request: https://github.com/python/cpython/pull/26356 ___ Python tracker ___

[issue20408] memoryview() constructor documentation error

2021-03-12 Thread Larry Hastings
Change by Larry Hastings : -- nosy: -larry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20408] memoryview() constructor documentation error

2021-03-12 Thread Mariusz Felisiak
Change by Mariusz Felisiak : -- versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.5, Python 3.6 ___ Python tracker ___ ___

[issue20408] memoryview() constructor documentation error

2021-02-03 Thread Mariusz Felisiak
Change by Mariusz Felisiak : -- nosy: +felixxm nosy_count: 6.0 -> 7.0 pull_requests: +23241 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/24431 ___ Python tracker

[issue20408] memoryview() constructor documentation error

2016-06-03 Thread Stefan Krah
Stefan Krah added the comment: Sorry, I meant *Demian*. -- ___ Python tracker ___ ___ Python-bugs-list

[issue20408] memoryview() constructor documentation error

2016-06-03 Thread Stefan Krah
Stefan Krah added the comment: Or pretend in the documentation that it's a positional arg and make it one later. There is a slight performance difference. I agree with Damien that probably no one uses the keyword arg. -- ___ Python tracker

[issue20408] memoryview() constructor documentation error

2016-06-03 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___

[issue20408] memoryview() constructor documentation error

2016-06-02 Thread Berker Peksag
Berker Peksag added the comment: I think the safest solution is to change 'obj' to 'object' in memoryview documentation. -- assignee: -> docs@python components: +Documentation -Interpreter Core keywords: +easy nosy: +berker.peksag, docs@python stage: patch review -> needs patch

[issue20408] memoryview() constructor documentation error

2015-03-01 Thread Stefan Krah
Stefan Krah added the comment: I agree that obj would be nicer. On the other hand we explicitly test for object in the tests, help(memoryview) says object and pypy accepts object. Also, I think there may be other instances in the tree where reserved names are used for parameters. --

[issue20408] memoryview() constructor documentation error

2015-02-25 Thread Mark Lawrence
Mark Lawrence added the comment: I think it's plain daft having object as a keyword argument. Is it too late to do anything about this, or could we go through a deprecation period, or what? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.3

[issue20408] memoryview() constructor documentation error

2015-02-25 Thread Demian Brecht
Demian Brecht added the comment: Oddly, memoryview accepts keyword arguments (for its one required value), and the name of the argument is object, not obj. Positional parameters can also be treated as named arguments. I think it's plain daft having object as a keyword argument. True, it's

[issue20408] memoryview() constructor documentation error

2014-01-27 Thread Larry Hastings
New submission from Larry Hastings: The documentation for the memoryview constructor says it takes memoryview(obj). Oddly, memoryview accepts keyword arguments (for its one required value), and the name of the argument is object, not obj. -- messages: 209436 nosy: georg.brandl, larry