Message56886
I could not try Neal's patch since it does not seem to apply to the
3.0a1 source I have. But the Modules/_fileio.c patch works just fine on
my Linux and MacOS X. Here is the Linux result:
$ env LD_PRELOAD=./dlibtest4.so ~/Python-3dbg/python
*** ctor called in python ...
*** atexit OK in python ...
Python 3.0a1 (py3k, Oct 28 2007, 10:23:59)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
[36000 refs]
[21985 refs]
*** dtor called in python ...
$
Most interesting is that this Python build --with-pydebug now prints 2
lines in [..] brackets on exit. That 2nd line, [21985 refs] never
showed up before!
Also, attached is another version of my test case renamed to dlibtest4.
It includes 4 different use cases. More details inside. |
| File name |
Uploaded |
|
dlibtest4.c
|
MrJean1,
2007-10-28.17:44:19
|
|
| Date |
User |
Action |
Args |
| 2007-10-28 17:44:21 | MrJean1 | set | spambayes_score: 0.0150734 -> 0.0150734 recipients:
+ MrJean1, gvanrossum, nnorwitz, christian.heimes |
| 2007-10-28 17:44:21 | MrJean1 | set | spambayes_score: 0.0150734 -> 0.0150734 messageid: <1193593461.54.0.171548511462.issue1329@psf.upfronthosting.co.za> |
| 2007-10-28 17:44:21 | MrJean1 | link | issue1329 messages |
| 2007-10-28 17:44:21 | MrJean1 | create | |
|