Re: Strange bug doesn't occur in Pydb

2008-06-12 Thread Diez B. Roggisch
kj wrote: > In <[EMAIL PROTECTED]> "Diez B. Roggisch" > <[EMAIL PROTECTED]> writes: > >>kj schrieb: >>> I'm running into a strange seg fault with the module cjson. The >>> strange part is that it does not occur when I run the code under >>> Emacs' Pydb. >>> >>> Here's an example: >>> >>> >>>

Re: Strange bug doesn't occur in Pydb

2008-06-12 Thread kj
In <[EMAIL PROTECTED]> "Diez B. Roggisch" <[EMAIL PROTECTED]> writes: >kj schrieb: >> I'm running into a strange seg fault with the module cjson. The >> strange part is that it does not occur when I run the code under >> Emacs' Pydb. >> >> Here's an example: >> >> >> import sys, cjson >> >>

Re: Strange bug doesn't occur in Pydb

2008-06-11 Thread Diez B. Roggisch
kj schrieb: I'm running into a strange seg fault with the module cjson. The strange part is that it does not occur when I run the code under Emacs' Pydb. Here's an example: import sys, cjson d1 = {'a': 1, 'b': 2, 'c': 3} print sys.version j1 = cjson.encode(d1) print j1 # should print the