[issue15695] Correct __sizeof__ support for StgDict

2017-03-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 8999caeb003ed292011e98b8a30746cce787a125 by Serhiy Storchaka in branch 'master': bpo-15695: Implemented StgDict.__sizeof__(). (#509) https://github.com/python/cpython/commit/8999caeb003ed292011e98b8a30746cce787a125 --

[issue15695] Correct __sizeof__ support for StgDict

2017-03-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset bc44f045e6a801903bd7530a4fc5474e657832da by Serhiy Storchaka in branch 'master': bpo-15695: Add PyAPI_FUNC() to _PyDict_SizeOf() declaration. (#639) https://github.com/python/cpython/commit/bc44f045e6a801903bd7530a4fc5474e657832da --

[issue15695] Correct __sizeof__ support for StgDict

2017-03-12 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: test needed -> resolved status: open -> closed ___ Python tracker

[issue15695] Correct __sizeof__ support for StgDict

2017-03-12 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +528 ___ Python tracker ___ ___

[issue15695] Correct __sizeof__ support for StgDict

2017-03-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Now changes are simpler since _PyDict_SizeOf() already was implemented. -- priority: normal -> low ___ Python tracker

[issue15695] Correct __sizeof__ support for StgDict

2017-03-06 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +418 ___ Python tracker ___ ___

[issue15695] Correct __sizeof__ support for StgDict

2017-03-06 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- versions: +Python 3.7 -Python 2.7, Python 3.2, Python 3.3 ___ Python tracker ___

[issue15695] Correct __sizeof__ support for StgDict

2013-01-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15695 ___ ___

[issue15695] Correct __sizeof__ support for StgDict

2012-09-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I don't know where StgDict used. Probably need to provide the correct __sizeof__ method for a mapping proxy behind which StgDict hidden. -- ___ Python tracker rep...@bugs.python.org

[issue15695] Correct __sizeof__ support for StgDict

2012-09-09 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15695 ___ ___ Python-bugs-list mailing list

[issue15695] Correct __sizeof__ support for StgDict

2012-09-09 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: What is the point of providing a __sizeof__ method to a purely internal type? I don't think it is possible to expose StgDict at the python level. It is always hidden behind a mapping proxy. Furthemore, StgDict is only used inside type objects and the

[issue15695] Correct __sizeof__ support for StgDict

2012-08-29 Thread Aaron Iles
Changes by Aaron Iles aaron.i...@gmail.com: -- nosy: +aliles ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15695 ___ ___ Python-bugs-list mailing

[issue15695] Correct __sizeof__ support for StgDict

2012-08-16 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Here is a patch that implements correct __sizeof__ for StgDict (a dictionary subclass used in ctypes). There are no tests because I don't know how to create and use StgDict. So I'm not sure that the code works correctly. Please help me with tests.

[issue15695] Correct __sizeof__ support for StgDict

2012-08-16 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file26855/stgdict_sizeof-3.2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15695 ___

[issue15695] Correct __sizeof__ support for StgDict

2012-08-16 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- stage: patch review - test needed Added file: http://bugs.python.org/file26856/stgdict_sizeof-2.7.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15695