[issue7334] ElementTree: file locking in Jython 2.5 (OSError on Windows)

2015-01-22 Thread Berker Peksag

Berker Peksag added the comment:

> Should a new issue be opened or should this ticket be re-opened?

It's a 3 years old backport, I'd say open a new issue.

--
nosy: +berker.peksag

___
Python tracker 

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



[issue7334] ElementTree: file locking in Jython 2.5 (OSError on Windows)

2015-01-22 Thread Martijn Pieters

Martijn Pieters added the comment:

Indeed, the 2.7 backport was not correctly applied for _elementtree.c, leaving 
files open because the close_source flag is set to False *again* when opening a 
filename.

Should a new issue be opened or should this ticket be re-opened?

--
nosy: +mjpieters

___
Python tracker 

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



[issue7334] ElementTree: file locking in Jython 2.5 (OSError on Windows)

2014-08-04 Thread Brian Curtin

Changes by Brian Curtin :


--
nosy:  -brian.curtin

___
Python tracker 

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



[issue7334] ElementTree: file locking in Jython 2.5 (OSError on Windows)

2014-08-04 Thread Christian Henz

Christian Henz added the comment:

I think the cElementTree portion of the applied changes is incorrect. 
`close_source` is never actually set to `True`.

http://hg.python.org/cpython/file/50722d2f08c7/Modules/_elementtree.c#l2926

--
nosy: +Christian.Henz

___
Python tracker 

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



[issue7334] ElementTree: file locking in Jython 2.5 (OSError on Windows)

2011-10-28 Thread Roundup Robot

Roundup Robot  added the comment:

New changeset eceaa31252b3 by Florent Xicluna in branch '2.7':
Closes #7334: close source files on ElementTree.parse and iterparse (partial 
backport of issue #10093 from 3.2).
http://hg.python.org/cpython/rev/eceaa31252b3

--
nosy: +python-dev
stage: patch review -> committed/rejected
status: open -> closed

___
Python tracker 

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



[issue7334] ElementTree: file locking in Jython 2.5 (OSError on Windows)

2011-10-28 Thread Florent Xicluna

Florent Xicluna  added the comment:

Changeset cff78ffb932a fixed the issue for 3.2.
I will consider backporting.

--
resolution:  -> fixed
stage: needs patch -> patch review
versions:  -Python 3.2

___
Python tracker 

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



[issue7334] ElementTree: file locking in Jython 2.5 (OSError on Windows)

2010-12-24 Thread Philip Jenvey

Philip Jenvey  added the comment:

Florent, any chance of signing off on this for 3.2? I was waiting for the patch 
to go through your authorized elementtree fork

--
assignee: pjenvey -> flox

___
Python tracker 

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



[issue7334] ElementTree: file locking in Jython 2.5 (OSError on Windows)

2010-04-09 Thread Brian Curtin

Changes by Brian Curtin :


--
nosy: +brian.curtin

___
Python tracker 

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



[issue7334] ElementTree: file locking in Jython 2.5 (OSError on Windows)

2010-04-09 Thread Philip Jenvey

Philip Jenvey  added the comment:

Patch with tests (which can only really test it on Windows) here

http://bitbucket.org/pjenvey/et-2009-provolone/changeset/8292a06090a3/

--

___
Python tracker 

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



[issue7334] ElementTree: file locking in Jython 2.5 (OSError on Windows)

2010-02-16 Thread Florent Xicluna

Florent Xicluna  added the comment:

The patch proposed on msg95349:
 * need tests
 * not reviewed (yet)

--
keywords: +patch
nosy: +flox
priority:  -> normal
stage:  -> needs patch
title: XML file locking in Jython 2.5 (OSError on Windows) -> ElementTree: file 
locking in Jython 2.5 (OSError on Windows)
Added file: http://bugs.python.org/file16231/issue7334_etree_patch.diff

___
Python tracker 

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