Re: [pypy-dev] gdbm

2010-11-16 Thread Antonio Cuni
Hi Dan, first: thanks for your help :-) On 16/11/10 03:17, Dan Stromberg wrote: Yes, the dbm module in pypy is basically like the bsddb module in cpython. cpython includes modules for bsddb, gdbm, and more. I tend to prefer gdbm over bsddb, because I've seen bsddb databases get corrupt too

Re: [pypy-dev] gdbm

2010-11-16 Thread Dan Stromberg
On Tue, Nov 16, 2010 at 4:17 AM, Antonio Cuni anto.c...@gmail.com wrote: On 16/11/10 03:17, Dan Stromberg wrote: Yes, the dbm module in pypy is basically like the bsddb module in cpython. cpython includes modules for bsddb, gdbm, and more. I tend to prefer gdbm over bsddb, because I've

Re: [pypy-dev] gdbm

2010-11-16 Thread Armin Rigo
Hi, On Tue, Nov 16, 2010 at 5:27 PM, Dan Stromberg drsali...@gmail.com wrote: So, if I understand correctly you are saying that we should rename our dbm.py to bsdb.py, and write a new dbm.py which can use either bsdb or gdbm? I think it's anydbm that can use whatever among dbm, bsddb, gdbm

Re: [pypy-dev] gdbm

2010-11-16 Thread exarkun
On 04:27 pm, drsali...@gmail.com wrote: On Tue, Nov 16, 2010 at 4:17 AM, Antonio Cuni anto.c...@gmail.com wrote: Sounds fine, do you feel like implementing it? :-) Moreover, I also agree with amaury that your code is very similar to the one in the current dbm.py, so we should maybe try to

Re: [pypy-dev] Release 1.4

2010-11-16 Thread Armin Rigo
Hi Phyo, On Fri, Nov 12, 2010 at 9:18 PM, Phyo Arkar phyo.arkarl...@gmail.com wrote: Is python-mysql gonna work in 1.4 ? i cant wait to run my webserver via pypy-jit Yes, you can use the CPython C extension module. It's a feature that already worked more or less since PyPy 1.3. See

Re: [pypy-dev] gdbm

2010-11-16 Thread Dan Stromberg
On Tue, Nov 16, 2010 at 8:47 AM, Armin Rigo ar...@tunes.org wrote: Hi, On Tue, Nov 16, 2010 at 5:27 PM, Dan Stromberg drsali...@gmail.com wrote: So, if I understand correctly you are saying that we should rename our dbm.py to bsdb.py, and write a new dbm.py which can use either bsdb or

Re: [pypy-dev] gdbm

2010-11-16 Thread Dan Stromberg
On Tue, Nov 16, 2010 at 8:38 AM, exar...@twistedmatrix.com wrote: On 04:27 pm, drsali...@gmail.com wrote: On Tue, Nov 16, 2010 at 4:17 AM, Antonio Cuni anto.c...@gmail.com wrote: Sounds fine, do you feel like implementing it? :-) Moreover, I also agree with amaury that your code is very

Re: [pypy-dev] gdbm

2010-11-16 Thread Paolo Giarrusso
On Wed, Nov 17, 2010 at 00:24, Dan Stromberg drsali...@gmail.com wrote: On Tue, Nov 16, 2010 at 8:38 AM, exar...@twistedmatrix.com wrote: On 04:27 pm, drsali...@gmail.com wrote: On Tue, Nov 16, 2010 at 4:17 AM, Antonio Cuni anto.c...@gmail.com wrote: Sounds fine, do you feel like

Re: [pypy-dev] Release 1.4

2010-11-16 Thread Phyo Arkar
Oh thats cool ! THanks a lot i will try! On 11/17/10, Armin Rigo ar...@tunes.org wrote: Hi Phyo, On Fri, Nov 12, 2010 at 9:18 PM, Phyo Arkar phyo.arkarl...@gmail.com wrote: Is python-mysql gonna work in 1.4 ? i cant wait to run my webserver via pypy-jit Yes, you can use the CPython C

Re: [pypy-dev] gdbm

2010-11-16 Thread Maciej Fijalkowski
On Wed, Nov 17, 2010 at 1:24 AM, Dan Stromberg drsali...@gmail.com wrote: On Tue, Nov 16, 2010 at 8:38 AM, exar...@twistedmatrix.com wrote: On 04:27 pm, drsali...@gmail.com wrote: On Tue, Nov 16, 2010 at 4:17 AM, Antonio Cuni anto.c...@gmail.com wrote: Sounds fine, do you feel like