oyed five years ago :-(. Could be a
bit rude, but maybe a maintaner change would be in order. I would rather
prefer to talk to current maintainer, but I rather apply for maintaner
position than dropping bsddb from the python stdlib!!.
- --
Jesus Cea Avion _/_/ _/_/_/
#x27;t think that ZODB is the only persistence system built on
> pickle, but perhaps I'm wrong.
>
> I suspect ZODB is also the primary user of the pickle module.
Durus, another (excellent) persistence system for Python also uses thi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Guido van Rossum wrote:
| On Jan 10, 2008 4:52 AM, Jesus Cea <[EMAIL PROTECTED]> wrote:
|> I'm very dependent of bsddb support in python. I'm very sorry also of
|> the maintainer support of it: he is slow and doesn't imple
s or MacOS platforms.
But I need bsddb and I would really like to see "old" BerkeleyDB
features accesible from Python, like replication. So would volunteer if
there is nobody else to take the gauntlet and "somebody" could tell me
what *exactly* would be my demanded responsabilit
orge access
and such.
- --
Jesus Cea Avion _/_/ _/_/_/_/_/_/
[EMAIL PROTECTED] http://www.argo.es/~jcea/ _/_/_/_/ _/_/_/_/ _/_/
jabber / xmpp:[EMAIL PROTECTED] _/_/_/_/ _/_/_/_/_/
~ _/_/ _/_/_/_/
faster that cPickle. Yes, "bencode" can't encode arbitrary
objects, but still...
- --
Jesus Cea Avion _/_/ _/_/_/_/_/_/
[EMAIL PROTECTED] http://www.argo.es/~jcea/ _/_/
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
M.-A. Lemburg wrote:
| If you use PyBytes APIs, you expect to find PyBytes functions in
| the libs and also set breakpoints on these.
Very good point.
- --
Jesus Cea Avion _/_/ _/_/_/_/_/_/
[EMAIL PROTECTED
n the morning, in Spain.
bsddb will be ready for python 3.0.
(writting this while compiling new 2.6 and 3.0 beta2 :-) )
- --
Jesus Cea Avion _/_/ _/_/_/_/_/_/
[EMAIL PROTECTED] - http://www.jcea.es/ _/_/_/_/ _/_/_/_/ _/_/
jabber / xmpp:[
otherwise, I will add it to PEP 3108.
03:31 AM in the morning in Spain. Just working in porting bsddb to
python3000. I have a lot of issues compiling the C code and with the
2to3 automated conversion, but I'm pretty sure can get it ready for
october release.
I'm still loooking for a *GOOD
ject, in_weakreflist),/*tp_weaklistoffset*/
+0, /*tp_iter*/
+0, /*tp_iternext*/
+DBSequence_methods, /*tp_methods*/
+0, /*tp_members*/
~ };
~ #endif
"""
What am I doing wrong?.
Thanks in advance.
PS: Four hours of hard working and b
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jesus Cea wrote:
| Good night everybody!.
|
| Working on the Python3.0 support for bsddb I see that "Py_FindMethod"
| was just removed in Python last beta.
Nevermind. I just reviewed the recent changes in the SVN and I can see
your patches
;ImportError: __build_class__ not found" thing.
You can look at the code at svn://svn.argo.es/jcea/pybsddb/trunk/Modules
, revision 523. This code compiles under Python 2.[3-6] and 3.0. Under
2.6 it pases all the 303 tests. On 3.0 it compiles, but fails to import,
with the given error. A
, you can use the already in stdlib "gdbm"
module. Just remember it is not transactional, so beware diskfulls,
application crashes, etc.
- --
Jesus Cea Avion _/_/ _/_/_/_/_/_/
[EMAIL PROTECTED] - http://www.jcea.es/ _/_/_/_/ _/_/_/_
e issue is. Past mistakes and maintenance
nightmares WILL NOT be repeated.
- --
Jesus Cea Avion _/_/ _/_/_/_/_/_/
[EMAIL PROTECTED] - http://www.jcea.es/ _/_/_/_/ _/_/_/_/ _/_/
j
efer written documentation, use cases, examples and such.
- --
Jesus Cea Avion _/_/ _/_/_/_/_/_/
[EMAIL PROTECTED] - http://www.jcea.es/ _/_/
| How and where can we kick this off?
I would contribute, because I *NEED* this information myself.
- --
Jesus Cea Avion _/_/ _/_/_/_/_/_/
[EMAIL PROTECTED] - http://www.jcea.es/ _/_/_/_/ _/_/_/_/ _/_/
jabber / xmpp:[EMAIL
.
PS: Googling around, I see that Python 2.5 allows a tuple being used as
base for exception creation. Is this available in Python3.0?. Searching
for "PyErr_NewException" in 3.0 documentation online shows no results.
Ok, the index show the function. It should work.
I'm still inte
eption is better in any case.
Your are right.
| But didn't you try svnmerge? there are other py3k changes you may want
to keep.
The source has diverged so much, no hope for an automated merge.
In any case, 3.0 compatibility is on the works.
- --
Jesus Cea Avion
.
My doubt now is how do write a *clever* "getattr" routine without
"Py_FindMethod".
- --
Jesus Cea Avion _/_/ _/_/_/_/_/_/
[EMAIL PROTECTED] - http://www.jcea.es/ _/_/_/_/ _/_/_/_/ _/_/
jabbe
; a=dbm.open("z","c")
|>> a
<_gdbm.gdbm object at 0x82fb560>
|>> a["a"]="b"
|>> a["b"]="c"
|>> a.sy
usable
when the data is "static" and available, while "tp_getattr" and friends
are used when you need to execute some code in the lookup. But I read
somewhere that "tp_getattr" was deprecated :-? ...
- --
Jesus Cea Avion _/_/
s are rejected.
To easy testsuite porting, I've defined some minimal proxy/adapter
objects to facade unicode strings from/to "bytes". So, current testsuite
works for every supported python release, with the minimal conditional
code. These adapter objects ARE NOT INTENTED to b
ite and
basecode between all pybsddb supported platforms.
Not the nicest thing to do, but the the bulk of code is unchanged and
fully shared in any supported python version. The adapter code is big,
but isolated.
Some code would be simplest if pybsddb classes allowed subclassing. This
is in m
uld do the conversion directly, so
paying for this work in a way or another.
- --
Jesus Cea Avion _/_/ _/_/_/_/_/_/
[EMAIL PROTECTED] - http://www.jcea.es/ _/_/_/_/ _/_/_/_/ _/_/
jabber / xmpp:[EMAIL
subclassing or adding new attibutes to
a given instance. I will (probably) work on this for a future pybsddb
version. Pointers to references to do this kind of magic welcomed :-)
- --
Jesus Cea Avion _/_/ _/_/_/_/_/_/
[EMAIL PROTECTED] - htt
any
list/contact info out there.
I already updated my mailman subscriptions months ago. My old email can
vanish without warning.
- --
Jesus Cea Avion _/_/ _/_/_/_/_/_/
[EMAIL PROTECTED] - http://www.jcea.es/ _/_/_/_/ _/_/_/_/
ersion: 4.7.25). I guess we should update some buildbots,
also... (I already test the code privately against all Berkeley DB
versions 4.0-4.7).
- --
Jesus Cea Avion _/_/ _/_/_/_/_/_/
[EMAIL PROTECTED] - ht
, so the hardware
growing is under control :)... barely.
- --
Jesus Cea Avion _/_/ _/_/_/_/_/_/
[EMAIL PROTECTED] - http://www.jcea.es/ _/_/_/_/ _/_/_/_/ _/_/
jabber / xmpp
.0b3+ (py3k:66121, Sep 1 2008, 22:25:14)
[GCC 4.2.3] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> b=b'some string...'
>>> b
b'some string...'
>>> str(b)
"b'some
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Christian Heimes wrote:
> Jesus Cea wrote:
>> I can't reproduce the issue in my local Python3.0 development version
>> (here, all tests passes fine). Any suggestion?.
>
> Yeah, use my byte warning mode of Python 3.0. Befo
3.0 branch:
http://www.python.org/dev/buildbot/3.0.stable/changes/2687
Can I do anything to revert this decision?. If not, what can I do to be
reconsidered in 3.1?.
- --
Jesus Cea Avion _/_/ _/_/_/_/_/_/
[EMAIL PROTECTED] - http://www.jcea.es/ _/_/_/_/ _/_/_
explaining the situation and letting me argue back :). Thanks
to all of you (python-dev) for the time you wasted teaching me and
suffering builtbots crashes O:-)
PS: I will battle for bsddb readmission. If any of you can provide
positive rationals for it, please, let me know.
- --
Jesus C
or redo the class to avoid
new attribute creation, maybe via some "thread.__setattr__()" magic.
Sorry if this issue is already discussed. I don't find any previous
thread about this.
PS: If you mistype the method name, you get an error. If you mistype the
attribute as
that sawchain
down! :-P
- --
Jesus Cea Avion _/_/ _/_/_/_/_/_/
[EMAIL PROTECTED] - http://www.jcea.es/ _/_/_/_/ _/_/_/_/ _/_/
jabber / xmpp:[EMAIL PROTECTED] _/_/_/_/ _/_/_/_/_/
. _/_/ _/_/_/_/
cision.
>
> Put in my vote for restoration, deprecation, and thought-out
> removal/replacement in 3.1.
> The ensuing discussions have made it clear that immediate removal is
> controversial and problematic.
> Also, part of the original motivation disappeared when Jesus Cea
> stepp
to me, to fully
honor my commit privileges.
- --
Jesus Cea Avion _/_/ _/_/_/_/_/_/
[EMAIL PROTECTED] - http://www.jcea.es/ _/_/_/_/ _/_/_/_/ _/_/
jabber / xmpp:[EMAIL PROTEC
nstead of bytes would
> need fixing if we waited until 3.1 to fix it.
+1. Release Blocker.
- --
Jesus Cea Avion _/_/ _/_/_/_/_/_/
[EMAIL PROTECTED] - http://www.jcea.es/ _/_/_/_/ _/_/
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nick Coghlan wrote:
> Guido van Rossum wrote:
>> On Thu, Sep 4, 2008 at 8:47 AM, Antoine Pitrou <[EMAIL PROTECTED]> wrote:
>>> Jesus Cea jcea.es> writes:
>>>> First we had "thread.setDaemon()". Th
wild.
Of course I'm +1 to re-adding bsddb, moreover with 3.0 slipping the
original 1st October release. But note than Guido in person "rather
prefer" to drop bsddb in 3.0.
I have a conflict talking about sqlite dbm module in 3.0. So
quot;
PEP 3110: Catching exceptions. You must now use :keyword:`except`
SomeException as variable instead of :keyword:`except` *SomeException,
variable*. Moreover, the variable is explicitly deleted when the except
block is left.
"""
I guess tha
40 matches
Mail list logo