Re: [Python-3000] Is pickle's persistent_id worth keeping?

2008-01-10 Thread Jesus Cea
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Guido van Rossum wrote: > pickle should definitely remain part of the core; it is timed in lots > of ways to core datatypes. It is also something that I expect nobody > would be thrilled to maintain if it was separate. And there is a lot > to say for h

Re: [Python-3000] Is pickle's persistent_id worth keeping?

2008-01-10 Thread Jesus Cea
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Fulton wrote: > Pickle always memoized objects. persistent_id is useful for > separating data over multiple pickles as is done in a database. IOW, > as its name implies, it is primarily useful for persistence systems. > I don't think that

Re: [Python-3000] Is pickle's persistent_id worth keeping?

2008-01-10 Thread Guido van Rossum
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 implement python > bindings for berkeleydb features deployed five years ago :-(. Could be a > bit rude, but ma

[Python-3000] compiler module

2008-01-10 Thread Joe Angell
My apologies if this has been asked before, but are there any plans to add the compiler module back in to py3k? If so, any idea on a timeline? If help is needed I may be able to put in some time on this. I've already back ported some of the py3k grammar (function parameter annotations) to python

Re: [Python-3000] compiler module

2008-01-10 Thread Guido van Rossum
On Jan 10, 2008 8:39 AM, Joe Angell <[EMAIL PROTECTED]> wrote: > My apologies if this has been asked before, but are there any plans to > add the compiler module back in to py3k? If so, any idea on a > timeline? If help is needed I may be able to put in some time on > this. I've already back por

Re: [Python-3000] Is pickle's persistent_id worth keeping?

2008-01-10 Thread Gregory P. Smith
On 1/10/08, Guido van Rossum <[EMAIL PROTECTED]> 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 implement python > > bindings for berkeleydb f

[Python-3000] pep 3119 question (ABC)

2008-01-10 Thread Neal Becker
On reading this pep, I was not clear on one issue. In some interface proposals (zope?), as well as in c++0x concept proposal, there is a mechanism to specify how to adapt a given class to satisfy given interface requirements. For example, suppose container ABC requires a 'size'. Suppose I have a

Re: [Python-3000] pep 3119 question (ABC)

2008-01-10 Thread Guido van Rossum
On Jan 10, 2008 11:20 AM, Neal Becker <[EMAIL PROTECTED]> wrote: > On reading this pep, I was not clear on one issue. > > In some interface proposals (zope?), as well as in c++0x concept proposal, > there is a mechanism to specify how to adapt a given class to satisfy given > interface requirements

Re: [Python-3000] pep 3119 question (ABC)

2008-01-10 Thread Neal Becker
Guido van Rossum wrote: > On Jan 10, 2008 11:20 AM, Neal Becker <[EMAIL PROTECTED]> wrote: >> On reading this pep, I was not clear on one issue. >> >> In some interface proposals (zope?), as well as in c++0x concept >> proposal, there is a mechanism to specify how to adapt a given class to >> sati

Re: [Python-3000] pep 3119 question (ABC)

2008-01-10 Thread Guido van Rossum
On Jan 10, 2008 11:54 AM, Neal Becker <[EMAIL PROTECTED]> wrote: > > Guido van Rossum wrote: > > > On Jan 10, 2008 11:20 AM, Neal Becker <[EMAIL PROTECTED]> wrote: > >> On reading this pep, I was not clear on one issue. > >> > >> In some interface proposals (zope?), as well as in c++0x concept > >>

Re: [Python-3000] compiler module

2008-01-10 Thread Brett Cannon
On Jan 10, 2008 8:39 AM, Joe Angell <[EMAIL PROTECTED]> wrote: > My apologies if this has been asked before, but are there any plans to > add the compiler module back in to py3k? If so, any idea on a > timeline? If help is needed I may be able to put in some time on > this. I've already back por

Re: [Python-3000] compiler module

2008-01-10 Thread Joe Angell
How do you plan on letting third party tools utilize the new grammar? Will they have to write their own parser then, or is there some kind of plugin architecture? Thanks, joe On Jan 10, 2008 10:34 AM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > On Jan 10, 2008 8:39 AM, Joe Angell <[EMAIL PRO

Re: [Python-3000] compiler module

2008-01-10 Thread Brett Cannon
On Jan 10, 2008 1:50 PM, Joe Angell <[EMAIL PROTECTED]> wrote: > How do you plan on letting third party tools utilize the new grammar? Don't need to plan anything; people are already using the AST that Python's compiler uses since 2.5 came out. > Will they have to write their own parser then, or

Re: [Python-3000] compiler module

2008-01-10 Thread Joe Angell
Oh I see... forgive my ignorance but could you point me at some documentation or a project that uses the c AST as you mentioned? Is that done through some part of the C-API? I cannot find that in the documentation at the moment. Thank you, joe On Jan 10, 2008 2:56 PM, Brett Cannon <[EMAIL PROT

Re: [Python-3000] compiler module

2008-01-10 Thread Brett Cannon
On Jan 10, 2008 2:08 PM, Joe Angell <[EMAIL PROTECTED]> wrote: > Oh I see... forgive my ignorance but could you point me at some > documentation or a project that uses the c AST as you mentioned? Is > that done through some part of the C-API? I cannot find that in the > documentation at the momen