Re: [Python-Dev] how to easily consume just the parts of eggs that are good for you

2008-03-26 Thread Chris McDonough
zooko wrote: > Folks: > > Here is a simple proposal: make the standard Python "import" > mechanism notice eggs on the PYTHONPATH and insert them (into the > *same* location) on the sys.path. > > This eliminates the #1 problem with eggs -- that they don't easily > work when installing them

Re: [Python-Dev] Decimal(unicode)

2008-03-26 Thread Nick Coghlan
Greg Ewing wrote: > Nick Coghlan wrote: >> Greg Ewing wrote: >> >>> I thought Decimal was going to be replaced by a C >>> implementation soon anyway. >> I believe that was found to be more trouble than it was worth. > > That's very disappointing. Was there any discussion of > the problems that kil

Re: [Python-Dev] Decimal(unicode)

2008-03-26 Thread Greg Ewing
Nick Coghlan wrote: > Yeah, this thread has convinced me that it would be better to start > rejecting bytes in int() and float() as well rather than implicitly > assuming an ASCII encoding. I had another thought -- would it be feasible to have some kind of wrapper object that would make a byte

Re: [Python-Dev] Decimal(unicode)

2008-03-26 Thread Greg Ewing
Nick Coghlan wrote: > Greg Ewing wrote: > >> I thought Decimal was going to be replaced by a C >> implementation soon anyway. > > I believe that was found to be more trouble than it was worth. That's very disappointing. Was there any discussion of the problems that killed it? I don't remember se

Re: [Python-Dev] [Python-3000] the release gods are angry at python

2008-03-26 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mar 26, 2008, at 5:10 PM, Benjamin Peterson wrote: > There are also some backporting issues in that pile. Should those > hold up > betas? (when we get there) Yes, but I would simply release the monthly alpha and push the beta back a month. -

Re: [Python-Dev] httplib &c. timeouts and global state

2008-03-26 Thread Alan Kennedy
[This message will not be threaded properly since I wasn't subscribed at the time the original was sent] [John] > What I found in the archive is this thread (sorry for the > non-python.org URL): > > http://www.gossamer-threads.com/lists/python/dev/555039?do=post_view_threaded#555039 > > In that di

Re: [Python-Dev] [Python-3000] the release gods are angry at python

2008-03-26 Thread Benjamin Peterson
On Wed, Mar 26, 2008 at 1:21 AM, Neal Norwitz <[EMAIL PROTECTED]> wrote: > The next releases of 2.6/3.0 are planned for April 2, just over a week > from now. There is much work that needs to be done. The buildbots > are in a pretty sad state and the gods are seeing too much red. > > http://www.

Re: [Python-Dev] how to easily consume just the parts of eggs that are good for you

2008-03-26 Thread Lennart Regebro
Has somebody made a list of the problems with eggs? Because I use them all the time and hasn't encountered any problems whatsoever, myself... :) So I am a bit surprised at the various discussions about them. ___ Python-Dev mailing list Python-Dev@python.o

[Python-Dev] how to easily consume just the parts of eggs that are good for you

2008-03-26 Thread zooko
Folks: Here is a simple proposal: make the standard Python "import" mechanism notice eggs on the PYTHONPATH and insert them (into the *same* location) on the sys.path. This eliminates the #1 problem with eggs -- that they don't easily work when installing them into places other than your s

Re: [Python-Dev] Backport of bytearray type and io module

2008-03-26 Thread Christian Heimes
Guido van Rossum schrieb: > Yay indeed! Of course the new I/O module will undergo changes (Ping is > working on it still I believe). Try to keep an eye on it so the > improvements can be backported. Could somebody (perhaps me *g*) create a 3to2 fixer that removes the function annotations? IIRC I o

Re: [Python-Dev] Backport of bytearray type and io module

2008-03-26 Thread Guido van Rossum
Yay indeed! Of course the new I/O module will undergo changes (Ping is working on it still I believe). Try to keep an eye on it so the improvements can be backported. On Wed, Mar 26, 2008 at 6:00 AM, Facundo Batista <[EMAIL PROTECTED]> wrote: > 2008/3/26, Christian Heimes <[EMAIL PROTECTED]>: > >

Re: [Python-Dev] stable buildbots

2008-03-26 Thread Neal Norwitz
On Wed, Mar 26, 2008 at 9:04 AM, Barry Warsaw <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > On Mar 26, 2008, at 8:14 AM, Facundo Batista wrote: > > 2008/3/26, Neal Norwitz <[EMAIL PROTECTED]>: > > > >> We need to get the tests for Python to be more stable s

Re: [Python-Dev] stable buildbots

2008-03-26 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mar 26, 2008, at 8:14 AM, Facundo Batista wrote: > 2008/3/26, Neal Norwitz <[EMAIL PROTECTED]>: > >> We need to get the tests for Python to be more stable so we can push >> out solid releases. In order to achieve this result, we need tests >> that

Re: [Python-Dev] [Python-3000] the release gods are angry at python

2008-03-26 Thread Paul Moore
On 26/03/2008, Thomas Heller <[EMAIL PROTECTED]> wrote: > What I would like to see is a way to disable certain tests on certain > machines; > maybe by setting environment variables? Could this be done by something like the following (completely untested no time at the moment) change to regrte

Re: [Python-Dev] the release gods are angry at python

2008-03-26 Thread Christian Heimes
Georg Brandl schrieb: > Perhaps make it an optional resource? In the py3k branch I've assigned the audio resource to the winsound tests. Only regrtest.py -uall or -uaudio runs the winsound test. Reason: the test sound was freaking out my poor cat. :/ Christian

Re: [Python-Dev] the release gods are angry at python

2008-03-26 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mar 26, 2008, at 2:21 AM, Neal Norwitz wrote: > The next releases of 2.6/3.0 are planned for April 2, just over a week > from now. There is much work that needs to be done. The buildbots > are in a pretty sad state and the gods are seeing too much

Re: [Python-Dev] Decimal(unicode)

2008-03-26 Thread Nick Coghlan
Mark Dickinson wrote: > On Wed, Mar 26, 2008 at 2:57 AM, Nick Coghlan <[EMAIL PROTECTED] > > wrote: > > Greg Ewing wrote: > > I thought Decimal was going to be replaced by a C > > implementation soon anyway. If so, is it worth going > > to much trouble

Re: [Python-Dev] Decimal(unicode)

2008-03-26 Thread Facundo Batista
2008/3/26, Mark Dickinson <[EMAIL PROTECTED]>: > I think it's still worth considering a hybrid implementation of Decimal: > C code for the basic integer arithmetic (that is, supply a long int > replacement whose underlying implementation works in base a > power of 10), and Python for all the comp

Re: [Python-Dev] Decimal(unicode)

2008-03-26 Thread Mark Dickinson
On Wed, Mar 26, 2008 at 2:57 AM, Nick Coghlan <[EMAIL PROTECTED]> wrote: > Greg Ewing wrote: > > I thought Decimal was going to be replaced by a C > > implementation soon anyway. If so, is it worth going > > to much trouble over this? > > > > I believe that was found to be more trouble than it was

Re: [Python-Dev] Backport of bytearray type and io module

2008-03-26 Thread Facundo Batista
2008/3/26, Christian Heimes <[EMAIL PROTECTED]>: > Correct! > > The bytearray type and the new IO system are now backported to Python 2.6. Thank you very much for this effort! Regards, -- .Facundo Blog: http://www.taniquetil.com.ar/plog/ PyAr: http://www.python.org/ar/ __

Re: [Python-Dev] Backport of bytearray type and io module

2008-03-26 Thread Christian Heimes
Facundo Batista schrieb: > So, now the byte object behaves equal in 2.6 and 3.0, right? > > Thanks! Correct! The bytearray type and the new IO system are now backported to Python 2.6. Christian ___ Python-Dev mailing list Python-Dev@python.org http://

Re: [Python-Dev] Backport of bytearray type and io module

2008-03-26 Thread Facundo Batista
2008/3/26, Christian Heimes <[EMAIL PROTECTED]>: > > I'm okay with bytearray not being subclassable in 2.6 as a temporary > > measure. I wouldn't want that to leak into 3.0 though, and I'd rather > > have it subclassable in 2.6 as well. I wonder why it doesn't work in > > 2.6 but does work in 3

Re: [Python-Dev] Backport of bytearray type and io module

2008-03-26 Thread Christian Heimes
Guido van Rossum schrieb: > I'm okay with bytearray not being subclassable in 2.6 as a temporary > measure. I wouldn't want that to leak into 3.0 though, and I'd rather > have it subclassable in 2.6 as well. I wonder why it doesn't work in > 2.6 but does work in 3.0? This fix for the issue was eas

Re: [Python-Dev] stable buildbots

2008-03-26 Thread Facundo Batista
2008/3/26, Neal Norwitz <[EMAIL PROTECTED]>: > We need to get the tests for Python to be more stable so we can push > out solid releases. In order to achieve this result, we need tests > that are *100% reliable* and fail _only when there is a problem with +1 > Python_. While we aren't near

Re: [Python-Dev] Decimal(unicode)

2008-03-26 Thread M.-A. Lemburg
On 2008-03-26 07:11, Martin v. Löwis wrote: >> For binary representations, we already have the struct module to handle >> the parsing, but for byte sequences with embedded ASCII digits it's >> reasonably common practice to use strings along with the respective type >> constructors. > > Sure, bu

Re: [Python-Dev] Py3k and asyncore/asynchat

2008-03-26 Thread Josiah Carlson
On Tue, Mar 25, 2008 at 11:26 PM, Neal Norwitz <[EMAIL PROTECTED]> wrote: > Any reason this was sent just to me and not the list? Because gmail only replies to the sender by default. I need to remember to cc python-dev when I reply (I used the same email client for 8 1/2 years, remembering the qu

Re: [Python-Dev] Decimal(unicode)

2008-03-26 Thread Nick Coghlan
Martin v. Löwis wrote: >> For binary representations, we already have the struct module to handle >> the parsing, but for byte sequences with embedded ASCII digits it's >> reasonably common practice to use strings along with the respective type >> constructors. > > Sure, but why can't you write