Re: [Python-Dev] Initial attempt to PyCon sprint tutorial slides are up

2008-02-09 Thread Giampaolo Rodola'
On 4 Feb, 22:29, "Brett Cannon" <[EMAIL PROTECTED]> wrote:
> The 1 MB PDF can be found 
> athttp://www.cs.ubc.ca/~drifty/pycon/sprint_tutorial.pdf. If you find
> any bad info or some info that is really lacking, let me know. But
> please realize that my slides are never really meant to be read on
> their own as it just goes against my presentation style. So don't
> think that some slide doesn't go into enough detail unless there is
> some URL I am missing. Every slide will be discussed more during the
> presentation than what is on the slide.
>
> -Brett

- Page 61 (Fix flaky tests). Add:
test_al
test_cd
test_cl
test_crypt
test_ftplib

...Some of them are inobtrusive tests testing for the existence of the
module's attributes.
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] int/float freelists vs pymalloc

2008-02-09 Thread Martin v. Löwis
> Well, yes, it doesn't run out of memory, but if pymalloc needs
> to allocate lots of objects of the same size, then performance
> degrades due to the management overhead involved for checking
> the free pools as well as creating new arenas as needed.
> 
> To reduce this overhead, it may be a good idea to preallocate
> pools for common sizes and make sure they don't drop under a
> certain threshold.

I still can't see why this could speed up anything. The total
time will be the same - whether you allocate them in advance
or on demand should make no difference.

In any case, if you think that you can improve things, please
submit a patch.

Regards,
Martin
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] trunc()

2008-02-09 Thread Armin Rigo
Hi Raymond,

On Thu, Jan 24, 2008 at 01:36:14PM -0500, Raymond Hettinger wrote:
> Also, it seems that ABC is starting to evolve from an optional
> tool into something embedded in the language in a way that you
> can't escape it.  
>
> I would prefer that it not be on the list of concepts that a
> beginner *must* know in order to be functional in the language.

I can't resist to mention some private discussions I've had at the time,
with people that could see this coming.

Maybe this might be used as an argument against adding optional type
annotations...?  Ok, I'm not optimistic about it.  Sorry, I don't mean
to start yet another endless thread, and will shut up again after this
note.  I'm no longer a regular python-dev contributor anyway; the fact
is that I quite like the language as it is, and I'm a bit concerned
about its evolution - in my humble opinion it seems to become each
release a bit less accessible to beginners.


A bientot,

Armin
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Initial attempt to PyCon sprint tutorial slides are up

2008-02-09 Thread Brett Cannon
On Feb 9, 2008 7:14 AM, Giampaolo Rodola' <[EMAIL PROTECTED]> wrote:
> On 4 Feb, 22:29, "Brett Cannon" <[EMAIL PROTECTED]> wrote:
> > The 1 MB PDF can be found 
> > athttp://www.cs.ubc.ca/~drifty/pycon/sprint_tutorial.pdf. If you find
>
> > any bad info or some info that is really lacking, let me know. But
> > please realize that my slides are never really meant to be read on
> > their own as it just goes against my presentation style. So don't
> > think that some slide doesn't go into enough detail unless there is
> > some URL I am missing. Every slide will be discussed more during the
> > presentation than what is on the slide.
> >
> > -Brett
>
> - Page 61 (Fix flaky tests). Add:
> test_al
> test_cd
> test_cl
> test_crypt
> test_ftplib

The tests listed as flaky have a tendency to fail on the buildbots
because some resource is lacking. I have not seen any of these tests
fail like that.

-Brett
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Error from SVN commit

2008-02-09 Thread Christian Heimes
Nick Coghlan wrote:
> I'm getting an error from SVN when trying to commit a NEWS entry for r60695:
> 
> --
> SendingMisc/NEWS
> Transmitting file data .svn: Commit failed (details follow):
> svn: Can't create directory 
> '/data/repos/projects/db/transactions/60708-1.txn': No space left on device
> --

I tried myself. It's failing with the same error message. Somebody has
to call janitor; the hard disk needs some cleaning. ;)

Christian

___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] Error from SVN commit

2008-02-09 Thread Nick Coghlan
I'm getting an error from SVN when trying to commit a NEWS entry for r60695:

--
SendingMisc/NEWS
Transmitting file data .svn: Commit failed (details follow):
svn: Can't create directory 
'/data/repos/projects/db/transactions/60708-1.txn': No space left on device
--

I've tried it a few times over the last 5-10 minutes and got the same 
error each time.

I checked r60695 in last night from that same checkout, so I wouldn't 
expect it to be a local problem. Could the repository drive on 
svn.python.org just be full? Or is something else going on?

Cheers,
Nick.

-- 
Nick Coghlan   |   [EMAIL PROTECTED]   |   Brisbane, Australia
---
 http://www.boredomandlaziness.org
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Error from SVN commit

2008-02-09 Thread Raymond Hettinger
[Nick]
> I'm getting an error from SVN when trying to commit a NEWS entry for r60695:
> 
> --
> SendingMisc/NEWS
> Transmitting file data .svn: Commit failed (details follow):
> svn: Can't create directory 
> '/data/repos/projects/db/transactions/60708-1.txn': No space left on device
> --
> 
> I've tried it a few times over the last 5-10 minutes and got the same 
> error each time.

I got the same a few times last night.


Raymond
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Error from SVN commit

2008-02-09 Thread Martin v. Löwis
> I checked r60695 in last night from that same checkout, so I wouldn't 
> expect it to be a local problem. Could the repository drive on 
> svn.python.org just be full? Or is something else going on?

The hard disk was full. I have deleted some files.

Regards,
Martin
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com