[issue29916] No explicit documentation for PyGetSetDef and getter and setter C-API

2017-09-16 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Thank you Michael for your contribution.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29916] No explicit documentation for PyGetSetDef and getter and setter C-API

2017-09-16 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
assignee: docs@python -> serhiy.storchaka
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
type:  -> enhancement
versions: +Python 2.7, Python 3.6, Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29916] No explicit documentation for PyGetSetDef and getter and setter C-API

2017-09-16 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:


New changeset 41376241e364e4f84cd14631634604edbd105da0 by Serhiy Storchaka 
(Michael Seifert) in branch '2.7':
bpo-29916: Include PyGetSetDef in C API extension documentation. (#831) (#3609)
https://github.com/python/cpython/commit/41376241e364e4f84cd14631634604edbd105da0


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29916] No explicit documentation for PyGetSetDef and getter and setter C-API

2017-09-16 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:


New changeset 51ea80697b023595cdd79c7696589a04cc581693 by Serhiy Storchaka 
(Michael Seifert) in branch '3.6':
bpo-29916: Include PyGetSetDef in C API extension documentation. (#831) (#3607)
https://github.com/python/cpython/commit/51ea80697b023595cdd79c7696589a04cc581693


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29916] No explicit documentation for PyGetSetDef and getter and setter C-API

2017-09-15 Thread Michael Seifert

Changes by Michael Seifert :


--
pull_requests: +3600

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29916] No explicit documentation for PyGetSetDef and getter and setter C-API

2017-09-15 Thread Michael Seifert

Changes by Michael Seifert :


--
keywords: +patch
pull_requests: +3598
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29916] No explicit documentation for PyGetSetDef and getter and setter C-API

2017-09-15 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:


New changeset da67e0d644bd3185efdaa4d15cc2ac0828ca83f9 by Serhiy Storchaka 
(Michael Seifert) in branch 'master':
bpo-29916: Include PyGetSetDef in C API extension documentation. (#831)
https://github.com/python/cpython/commit/da67e0d644bd3185efdaa4d15cc2ac0828ca83f9


--
nosy: +serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29916] No explicit documentation for PyGetSetDef and getter and setter C-API

2017-03-27 Thread Michael Seifert

New submission from Michael Seifert:

A copy of the struct definition can be found in the typeobject documentation 
[1]. There is also some explanation of the "closure" function pointer in the 
extending tutorial [2].

However the struct isn't explicitly defined as "c:type" so the 6 links to it in 
the documentations go nowhere.

I also submitted a pull request.

[1] https://docs.python.org/3.6/c-api/typeobj.html#c.PyTypeObject.tp_getset
[2] https://docs.python.org/3/extending/newtypes.html

--
assignee: docs@python
components: Documentation
messages: 290574
nosy: MSeifert, docs@python
priority: normal
pull_requests: 742
severity: normal
status: open
title: No explicit documentation for PyGetSetDef and getter and setter C-API

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com