Re: [Python-Dev] [RELEASED] Python 3.1.2 release candidate

2010-03-07 Thread Brad Miller
I download the source snapshot ./configure --enable-framework make ... /usr/bin/install -c -d -m 755 Python.framework/Versions/3.1 if test ""; then \ gcc -o Python.framework/Versions/3.1/Python -dynamiclib \ -isysroot "" \ -all_loa

Re: [Python-Dev] draft 3.1 release schedule

2009-03-05 Thread Brad Miller
before 3.1. > > Regards, > Martin > ___ > Python-Dev mailing list > Python-Dev@python.org > http://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > http://mail.python.org/mailman/options/python-dev/bmiller%40luther.edu >

Re: [Python-Dev] Instructions on using git mirror

2009-02-27 Thread Brad Miller
; Stories of success or failure welcome. > > Neil > ___ > Python-Dev mailing list > Python-Dev@python.org > http://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > http://mail.python.org/mailman/options/python-dev/bmil

[Python-Dev] teaching the new urllib

2009-02-03 Thread Brad Miller
line.find('www') TypeError: expected an object with the buffer interface >>> line.find(b'www') 11 Why couldn't find take string as a parameter? If folks have advice on which, if any, of these are bugs please let me know and I'll file them, and if possib

[Python-Dev] teaching the new urllib

2009-02-03 Thread Brad Miller
line.find('www') TypeError: expected an object with the buffer interface >>> line.find(b'www') 11 Why couldn't find take string as a parameter? If folks have advice on which, if any, of these are bugs please let me know and I'll file th

[Python-Dev] Error building python3.0 under OS X

2008-06-17 Thread Brad Miller
I have been updating the 3.0 source using bzr and after my latest bzr pull I get an error on make install. I'm running 10.5.3. ./configure --enable-framework make make install ... running install_egg_info Writing /Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0/lib-dynload/Pyt

[Python-Dev] Error building 3.0 on OS-X

2008-06-17 Thread Brad Miller
I have been updating the 3.0 source using bzr and after my latest bzr pull I get an error on make install. I'm running 10.5.3. ./configure --enable-framework make make install ... running install_egg_info Writing /Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0/lib-dynload/Pyt

Re: [Python-Dev] string representation of range in 3.0

2008-04-16 Thread Brad Miller
I worked up prototype implementation for dict_keys, dict_values, and dict_items Here's an example of what the output looks like: >>> x = {chr(i):i for i in range(68,90)} >>> x.keys() >>> x.values() >>> x.items() >>> comments? Are there other objects in this family that I should look at?

Re: [Python-Dev] string representation of range in 3.0

2008-04-16 Thread Brad Miller
On Apr 16, 2008, at 5:15 AM, Armin Rigo wrote: > Hi Greg, > > On Wed, Apr 16, 2008 at 03:34:44PM +1200, Greg Ewing wrote: >>> That's why I proposed <0, 1, ..., 9> for repr(range(10)). >> >> My worry is that this will lead a newcomer into thinking >> this is some kind of valid expression syntax. >

Re: [Python-Dev] string representation of range in 3.0

2008-04-14 Thread Brad Miller
omputed so that '...' always represents at least 2 values. On Mon, Apr 7, 2008 at 4:14 PM, Brad Miller <[EMAIL PROTECTED]> wrote: Hi, I use Python in my CS1 and CS2 curriculum and I have a question. As I've been using the Python 3.0 alphas one of the things that I am bothered

[Python-Dev] string representation of range in 3.0

2008-04-07 Thread Brad Miller
Hi, I use Python in my CS1 and CS2 curriculum and I have a question. As I've been using the Python 3.0 alphas one of the things that I am bothered by is that I cannot see the sequence produced by range without introducing students to the list() function. I typically introduce range on day 1 o