[issue18997] Crash when using pickle and ElementTree

2013-09-18 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 111a74819192 by doko in branch '3.3':
- followup for issue #18997, make _clear_joined_ptr static.
http://hg.python.org/cpython/rev/111a74819192

New changeset 269be4aacb8e by doko in branch 'default':
- followup for issue #18997, make _clear_joined_ptr static.
http://hg.python.org/cpython/rev/269be4aacb8e

--

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



[issue18997] Crash when using pickle and ElementTree

2013-09-13 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 39823ebfc731 by Eli Bendersky in branch '3.3':
Issue #18997: fix ElementTree crash with using pickle and __getstate__.
http://hg.python.org/cpython/rev/39823ebfc731

New changeset bda5a87df1c8 by Eli Bendersky in branch 'default':
Merge for Issue #18997: Issue #18997: fix ElementTree crash with using pickle 
and __getstate__.
http://hg.python.org/cpython/rev/bda5a87df1c8

--
nosy: +python-dev

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



[issue18997] Crash when using pickle and ElementTree

2013-09-13 Thread Eli Bendersky

Eli Bendersky added the comment:

Fixed the patch and committed. Thanks.

--
resolution:  - fixed
stage: patch review - committed/rejected
status: open - closed

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



[issue18997] Crash when using pickle and ElementTree

2013-09-10 Thread Germán M . Bravo

New submission from Germán M. Bravo:

On the tip of 3.3, I've found `Element.__getstate__` doesn't work and neither 
as `pickle.dumps(Element)` under certain circumstances.

This crashes:
  e1 = ElementTree().parse('houses.xml')
  e1.__getstate__()

This doesn't crash:
  e2 = ElementTree().parse('houses.xml')
  e2.text = 'some'
  e2.__getstate__()

But still, both of these crash:
  pickle.dumps(e1)
  pickle.dumps(e2)

--
components: Extension Modules
files: houses.xml
messages: 197440
nosy: Kronuz, eli.bendersky, scoder
priority: normal
severity: normal
status: open
title: Crash when using pickle and ElementTree
versions: Python 3.3
Added file: http://bugs.python.org/file31719/houses.xml

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



[issue18997] Crash when using pickle and ElementTree

2013-09-10 Thread Germán M . Bravo

Germán M. Bravo added the comment:

The attached patch fixes the problem (there were some missing JOIN_OBJ())

--
keywords: +patch
Added file: http://bugs.python.org/file31723/join_obj.diff

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



[issue18997] Crash when using pickle and ElementTree

2013-09-10 Thread Germán M . Bravo

Changes by Germán M. Bravo german...@gmail.com:


Removed file: http://bugs.python.org/file31723/join_obj.diff

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



[issue18997] Crash when using pickle and ElementTree

2013-09-10 Thread Germán M . Bravo

Changes by Germán M. Bravo german...@gmail.com:


Added file: http://bugs.python.org/file31725/join_obj.diff

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



[issue18997] Crash when using pickle and ElementTree

2013-09-10 Thread Eli Bendersky

Eli Bendersky added the comment:

Thanks for this report, Germán (and the other issue as well). I'll do my best 
to take a look later this week.

--
assignee:  - eli.bendersky
stage:  - patch review
type:  - behavior
versions: +Python 3.4

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



[issue18997] Crash when using pickle and ElementTree

2013-09-10 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/issue18997
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com