[Python-3000] Py3k-buffer branch merged back to py3k branch

2007-08-18 Thread Travis E. Oliphant
Hello all, I'm sorry I won't be attending the Google sprints next week. I'm going to be moving from Utah to Texas next week and will be offline for several days. In preparation for the sprints, I have converted all Python objects to use the new buffer protocol PEP and implemented most of the

[Python-3000] Bus error after updating this morning

2007-08-18 Thread skip
After reading Travis's email about the py3k-buffer merge this morning I updated my sandbox on my Mac and rebuilt. I got a bus error when trying to run the tests. (gdb) run -E -tt ./Lib/test/regrtest.py -l Starting program: /Users/skip/src/python-svn/py3k/python.exe -E -tt ./Lib/test/reg

Re: [Python-3000] Bus error after updating this morning

2007-08-18 Thread skip
Thinking maybe something didn't get rebuilt that should have I am rebuilding from scratch after a make distclean. make test is actually getting to the point where it's actually running tests, so the make distclean seems to have solved the problem. Perhaps there's a missing Makefile depen

Re: [Python-3000] bytes: compare bytes to integer

2007-08-18 Thread Nick Coghlan
Victor Stinner wrote: > Hi, > > I don't like the behaviour of Python 3000 when we compare a bytes strings > with length=1: >>>> b'xyz'[0] == b'x' >False > > The code can be see as: >>>> ord(b'x') == b'x' >False This seems to suggest its own solution: bytes_obj[0] == ord('x')

Re: [Python-3000] Bus error after updating this morning

2007-08-18 Thread Guido van Rossum
On 8/18/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Thinking maybe something didn't get rebuilt that should have I am > rebuilding from scratch after a make distclean. > > make test is actually getting to the point where it's actually running > tests, so the make distclean seems to h

[Python-3000] Wanted: tasks for Py3k Sprint next week

2007-08-18 Thread Guido van Rossum
I'm soliciting ideas for things that need to be done for the 3.0 release that would make good sprint topics. Assume we'll have a mix of more and less experienced developers on hand. (See wiki.python.org/moin/GoogleSprint .) -- --Guido van Rossum (home page: http://www.python.org/~guido/) ___

Re: [Python-3000] AtheOS?

2007-08-18 Thread Brett Cannon
On 8/17/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Brett> On 8/17/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > >> I just got rid of BeOS and RiscOS. > > Brett> Just so you know, Skip, BeOS still has a maintainer on the 2.x > Brett> branch. Whether we want to continu

Re: [Python-3000] AtheOS?

2007-08-18 Thread skip
Brett> Well, the maintainer of the current port said he has been moving Brett> away from BeOS. He guessed the Haiku developers didn't need the Brett> special support (but that's a guess). What does poetry have to do with BeOS? Brett> Looks like this can probably be removed from

Re: [Python-3000] AtheOS?

2007-08-18 Thread Brett Cannon
On 8/18/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Brett> Well, the maintainer of the current port said he has been moving > Brett> away from BeOS. He guessed the Haiku developers didn't need the > Brett> special support (but that's a guess). > > What does poetry have to do w

Re: [Python-3000] bytes: compare bytes to integer

2007-08-18 Thread Guido van Rossum
On 8/18/07, Nick Coghlan <[EMAIL PROTECTED]> wrote: > Victor Stinner wrote: > > Hi, > > > > I don't like the behaviour of Python 3000 when we compare a bytes strings > > with length=1: > >>>> b'xyz'[0] == b'x' > >False > > > > The code can be see as: > >>>> ord(b'x') == b'x' > >Fals

Re: [Python-3000] Py3k-buffer branch merged back to py3k branch

2007-08-18 Thread Guido van Rossum
Wow. Thanks for a great job, Travis! I'll accept your PEP now. :-) We'll attend to the details at the sprint. --Guido On 8/18/07, Travis E. Oliphant <[EMAIL PROTECTED]> wrote: > > Hello all, > > I'm sorry I won't be attending the Google sprints next week. I'm going > to be moving from Utah to T

Re: [Python-3000] Please don't kill the % operator...

2007-08-18 Thread Aahz
On Thu, Aug 16, 2007, Guido van Rossum wrote: > > I don't know what percentage of %-formatting uses a string literal on > the left; if it's a really high number (high 90s), I'd like to kill > %-formatting and go with mechanical translation; otherwise, I think > we'll have to phase out %-formatting

[Python-3000] PEP 11 update - Call for port maintainers to step forward

2007-08-18 Thread skip
I made a quick update to PEP 11, "Removing support for little used platforms". I added details about ending support for AtheOS/Syllable and BeOS. I also added a yet-to-be-fleshed out section entitled "Platform Maintainers". I intend that to the extent possible we document the responsible parties

Re: [Python-3000] bytes: compare bytes to integer

2007-08-18 Thread Greg Ewing
Nick Coghlan wrote: >bytes_obj[0] == ord('x') That's a rather expensive way of comparing an integer with a constant, though. -- Greg ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe:

Re: [Python-3000] Py3k-buffer branch merged back to py3k branch

2007-08-18 Thread Christian Heimes
Travis E. Oliphant wrote: > Left to do: > > 1) Finish the MemoryViewObject (getitem/setitem needs work). > 2) Finish the struct module changes (I've started, but have not checked > the changes in). > 3) Add tests > > Possible problems: > > It seems that whenever a PyExc_BufferError is rais

Re: [Python-3000] Py3k-buffer branch merged back to py3k branch

2007-08-18 Thread Neal Norwitz
On 8/18/07, Travis E. Oliphant <[EMAIL PROTECTED]> wrote: > > In preparation for the sprints, I have converted all Python objects to > use the new buffer protocol PEP and implemented most of the C-API. This > work took place in the py3k-buffer branch which now passes all the tests > that py3k does

Re: [Python-3000] Py3k-buffer branch merged back to py3k branch

2007-08-18 Thread Guido van Rossum
On 8/18/07, Neal Norwitz <[EMAIL PROTECTED]> wrote: > When I ran the test suite test_xmlrpc failed. I'm not sure if this > was from your checkin, my checkin, or something else. This was already failing before; I think I reported it Friday or Thursday night. This started happening after a merge fr

Re: [Python-3000] Wanted: tasks for Py3k Sprint next week

2007-08-18 Thread Adam Olsen
On 8/18/07, Guido van Rossum <[EMAIL PROTECTED]> wrote: > I'm soliciting ideas for things that need to be done for the 3.0 > release that would make good sprint topics. Assume we'll have a mix of > more and less experienced developers on hand. > > (See wiki.python.org/moin/GoogleSprint .) Would ri