[issue22517] BufferedRWpair doesn't clear weakrefs

2014-10-15 Thread paul

paul added the comment:

Why did the type changed from security to crash?

--

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



[issue22517] BufferedRWpair doesn't clear weakrefs

2014-09-30 Thread Arfrever Frehtes Taifersar Arahesis

Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:


--
versions: +Python 3.3, Python 3.5

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



[issue22517] BufferedRWpair doesn't clear weakrefs

2014-09-30 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 4fa5239624b8 by Georg Brandl in branch '3.2':
Issue #22517: When a io.BufferedRWPair object is deallocated, clear its
https://hg.python.org/cpython/rev/4fa5239624b8

--

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



[issue22517] BufferedRWpair doesn't clear weakrefs

2014-09-30 Thread STINNER Victor

Changes by STINNER Victor victor.stin...@gmail.com:


--
type: crash - security

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



[issue22517] BufferedRWpair doesn't clear weakrefs

2014-09-30 Thread Antoine Pitrou

Antoine Pitrou added the comment:

It's an actual crash, AFAIK.

--
type: security - crash

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



[issue22517] BufferedRWpair doesn't clear weakrefs

2014-09-29 Thread paul

New submission from paul:

# static void
# bufferedrwpair_dealloc(rwpair *self)
# {
# _PyObject_GC_UNTRACK(self);
# Py_CLEAR(self-reader);
# Py_CLEAR(self-writer);
# Py_CLEAR(self-dict);
# Py_TYPE(self)-tp_free((PyObject *) self);
# }
# 
# Weakrefs to this object contain stale pointer after BufferedRWPair is freed.

--
files: poc_brwpair_weakref.py
messages: 227835
nosy: pkt
priority: normal
severity: normal
status: open
title: BufferedRWpair doesn't clear weakrefs
type: crash
versions: Python 3.4
Added file: http://bugs.python.org/file36753/poc_brwpair_weakref.py

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



[issue22517] BufferedRWpair doesn't clear weakrefs

2014-09-29 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
nosy: +benjamin.peterson, pitrou, stutzbach
versions: +Python 2.7

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



[issue22517] BufferedRWpair doesn't clear weakrefs

2014-09-29 Thread Arfrever Frehtes Taifersar Arahesis

Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:


--
nosy: +Arfrever

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



[issue22517] BufferedRWpair doesn't clear weakrefs

2014-09-29 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 9b4673d7b046 by Benjamin Peterson in branch '2.7':
clear BufferedRWPair weakrefs on deallocation (closes #22517)
https://hg.python.org/cpython/rev/9b4673d7b046

New changeset e834b32f0422 by Benjamin Peterson in branch '3.3':
clear BufferedRWPair weakrefs on deallocation (closes #22517)
https://hg.python.org/cpython/rev/e834b32f0422

New changeset e54da75100f6 by Benjamin Peterson in branch '3.4':
merge 3.3 (#22517)
https://hg.python.org/cpython/rev/e54da75100f6

New changeset a2add97e28b9 by Benjamin Peterson in branch 'default':
merge 3.4 (#22517)
https://hg.python.org/cpython/rev/a2add97e28b9

--
nosy: +python-dev
resolution:  - fixed
stage:  - resolved
status: open - closed

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