Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue13903] New shared-keys dictionary implementation

 

 

First page Previous page 1 2 Next page Last page  View All Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Apr 27, 2012, 12:07 PM

Post #26 of 32 (62 views)
Permalink
[issue13903] New shared-keys dictionary implementation [In reply to]

Roundup Robot <devnull [at] psf> added the comment:

New changeset a3beae842f13 by Benjamin Peterson in branch 'default':
decref cached keys on type deallocation (#13903)
http://hg.python.org/cpython/rev/a3beae842f13

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue13903>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Apr 27, 2012, 12:08 PM

Post #27 of 32 (58 views)
Permalink
[issue13903] New shared-keys dictionary implementation [In reply to]

Antoine Pitrou <pitrou [at] free> added the comment:

> New changeset a3beae842f13 by Benjamin Peterson in branch 'default':
> decref cached keys on type deallocation (#13903)
> http://hg.python.org/cpython/rev/a3beae842f13

Is there any way to detect / avoid leaks on this separate refcounting
scheme?

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue13903>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Apr 27, 2012, 1:00 PM

Post #28 of 32 (59 views)
Permalink
[issue13903] New shared-keys dictionary implementation [In reply to]

Antoine Pitrou <pitrou [at] free> added the comment:

This patch integrates the dictkeys' refcounting into the refcount checking framework. Seems to work ok, but it would be better if someone more acquainted with the code could confirm it.

----------
Added file: http://bugs.python.org/file25385/dkdebug.patch

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue13903>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Apr 30, 2012, 2:14 AM

Post #29 of 32 (65 views)
Permalink
[issue13903] New shared-keys dictionary implementation [In reply to]

Mark Shannon <mark [at] hotpy> added the comment:

Change insertdict to follow normal (non-stealing) ref-counting behaviour which fixes possible leakage.

Patch attached.

----------
Added file: http://bugs.python.org/file25422/insertdict.patch

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue13903>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Apr 30, 2012, 7:23 AM

Post #30 of 32 (60 views)
Permalink
[issue13903] New shared-keys dictionary implementation [In reply to]

Roundup Robot <devnull [at] psf> added the comment:

New changeset c5fd332e5857 by Benjamin Peterson in branch 'default':
change insertdict to not steal references (#13903)
http://hg.python.org/cpython/rev/c5fd332e5857

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue13903>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

May 2, 2012, 10:09 AM

Post #31 of 32 (61 views)
Permalink
[issue13903] New shared-keys dictionary implementation [In reply to]

Changes by Benjamin Peterson <benjamin [at] python>:


----------
resolution: -> fixed
status: open -> closed

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue13903>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

May 12, 2012, 2:52 PM

Post #32 of 32 (47 views)
Permalink
[issue13903] New shared-keys dictionary implementation [In reply to]

Roundup Robot <devnull [at] psf> added the comment:

New changeset 10e8b97d0fd7 by Antoine Pitrou in branch 'default':
Make the reference counting of dictkeys objects participate in refleak hunting
http://hg.python.org/cpython/rev/10e8b97d0fd7

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue13903>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

First page Previous page 1 2 Next page Last page  View All Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.