[issue11640] Shelve references globals in its __del__ method

2016-09-11 Thread Berker Peksag
Berker Peksag added the comment: Since PEP 442 has been implemented in 3.4 and e826940911c8 made Shelve.close() more robust, I think this is no longer an issue. -- nosy: +berker.peksag resolution: -> out of date stage: patch review -> resolved status: open -> closed

[issue11640] Shelve references globals in its __del__ method

2013-02-06 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11640 ___ ___

[issue11640] Shelve references globals in its __del__ method

2011-08-01 Thread Daniel Stutzbach
Daniel Stutzbach stutzb...@google.com added the comment: Could you add a comment above the lines defining self._BytesIO, describing why they're being set? Someone else might see them as unnecessary and rip them out if there's no explanation. Can a test launch Python in a subprocess, set up

[issue11640] Shelve references globals in its __del__ method

2011-07-30 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org added the comment: The patch looks good to me. Is there any way this could be tested in the test suite? How to simulate interpreter shutdown? -- keywords: +needs review -patch nosy: +petri.lehtinen stage: - patch review

[issue11640] Shelve references globals in its __del__ method

2011-03-25 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +durban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11640 ___ ___ Python-bugs-list

[issue11640] Shelve references globals in its __del__ method

2011-03-22 Thread Peter Davies
New submission from Peter Davies ultra...@gmail.com: Shelf.__setitem__ (which is called from __del__ when writeback is enabled) references globals. This was causing exceptions on interpreter shutdown (due to another exception) for me. I have attached a patch which stores the relevant globals

[issue11640] Shelve references globals in its __del__ method

2011-03-22 Thread Daniel Stutzbach
Changes by Daniel Stutzbach stutzb...@google.com: -- nosy: +stutzbach versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11640 ___