[issue29712] --enable-optimizations does not work with --enable-shared

2019-02-15 Thread Stefan Ring
Stefan Ring added the comment: I was having the same problem, and I just found out what it was: Because of -Wl,-rpath=..., this path gets baked into the binary, and LD_LIBRARY_PATH is ignored. So if you have a previous build lying around there, it will mess up the build. -- nosy

[issue17094] sys._current_frames() reports too many/wrong stack frames

2013-03-04 Thread Stefan Ring
Stefan Ring added the comment: When I originally worked on this, I noticed that _PyThread_CurrentFrames also iterates over all interpreters. Because I have no experience with or use for multiple interpreters, I intentionally left it out of my patch, but shouldn't it be taken into account

[issue17094] sys._current_frames() reports too many/wrong stack frames

2013-03-04 Thread Stefan Ring
Stefan Ring added the comment: (Regarding your test) I have also noticed in the past that joining threads after a fork has caused hangs occasionally, although that might have resulted from the messed up _current_frames. -- ___ Python tracker rep

[issue17094] sys._current_frames() reports too many/wrong stack frames

2013-01-31 Thread Stefan Ring
New submission from Stefan Ring: After a fork, the list of thread states contains all the threads from before. It is especially unfortunate that, at least for me, it usually happens that threads created in the forked process reuse the same thread ids, and sys._current_frames will then return

[issue17094] sys._current_frames() reports too many/wrong stack frames

2013-01-31 Thread Stefan Ring
Changes by Stefan Ring stefan...@gmail.com: Added file: http://bugs.python.org/file28925/test-fork-frames.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17094

[issue8271] str.decode('utf8', 'replace') -- conformance with Unicode 5.2.0

2011-09-21 Thread Stefan Ring
Changes by Stefan Ring stefan...@gmail.com: -- nosy: +Ringding ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8271 ___ ___ Python-bugs-list mailing

[issue5322] Python 2.6 object.__new__ argument calling autodetection faulty

2009-05-06 Thread Stefan Ring
Changes by Stefan Ring stefan...@gmail.com: -- nosy: +Ringding ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5322 ___ ___ Python-bugs-list mailing

[issue5912] import deadlocks when using fork

2009-05-05 Thread Stefan Ring
Changes by Stefan Ring stefan...@gmail.com: -- nosy: +Ringding ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5912 ___ ___ Python-bugs-list mailing

[issue1540386] SocketServer.ForkingMixIn.collect_children() waits on pid 0

2009-04-23 Thread Stefan Ring
Stefan Ring stefan...@gmail.com added the comment: Jeffrey, this very commit broke it. See also issue 5814. The same happened for me last week. What makes it especially bad is that even once enough children terminate, the SocketServer won't be able to handle any more connections; it just throws