Re: [Python-Dev] Distutils2 scripts

2010-10-09 Thread Gisle Aas
On Oct 9, 2010, at 1:07 , James Y Knight wrote: On Oct 8, 2010, at 5:24 PM, Gisle Aas wrote: On Oct 8, 2010, at 9:22 , Jeroen Ruigrok van der Werven wrote: +1 from me. I sincerely dislike the Perl-esque -m stuff. As a Perl/Python guy I have to object to calling the -m stuff Perl-esque

Re: [Python-Dev] Distutils2 scripts

2010-10-08 Thread Gisle Aas
On Oct 8, 2010, at 9:22 , Jeroen Ruigrok van der Werven wrote: +1 from me. I sincerely dislike the Perl-esque -m stuff. As a Perl/Python guy I have to object to calling the -m stuff Perl-esque. This is a very Pythonish thing. In the Perl world we never treat modules as scripts; they are

Re: [Python-Dev] Ext4 data loss

2009-03-12 Thread Gisle Aas
On Mar 11, 2009, at 22:43 , Cameron Simpson wrote: On 11Mar2009 10:09, Joachim K?nig h...@online.de wrote: Guido van Rossum wrote: On Tue, Mar 10, 2009 at 1:11 PM, Christian Heimes li...@cheimes.de wrote: [...] https://bugs.edge.launchpad.net/ubuntu/+source/linux/+bug/317781/comments/54 .

Re: [Python-Dev] PEP 372 -- Adding an ordered directory to collections ready for pronouncement

2009-03-04 Thread Gisle Aas
On Mar 4, 2009, at 9:01 , Glenn Linderman wrote: On approximately 3/3/2009 11:22 PM, came the following characters from the keyboard of Raymond Hettinger: Perhaps the terminology should be ordereddict -- what we have here sorteddict -- hypothetical future type that keeps

Re: [Python-Dev] CVE tracking

2008-11-20 Thread Gisle Aas
Perl had a few CVE because of its rmtree implementation. Removing trees is risky business if root runs the function while other users have access to manipulate the tree. Python's shutils.rmtree seems to have many of the same issues. For instance http://bugs.debian.org/286922 shows how to

Re: [Python-Dev] Assignment to None

2008-06-09 Thread Gisle Aas
On Jun 9, 2008, at 17:12, Alex Martelli wrote: The problem is more general: what if a member (of some external object we're proxying one way or another) is named print (in Python 3), or class, or...? To allow foo.print or bar.class would require pretty big changes to Python's parser I

Re: [Python-Dev] str with base

2006-01-17 Thread Gisle Aas
Jack Diederich [EMAIL PROTECTED] writes: However... if %b were to represent arbitrary bases, I think that's backwards. It should be %[pad][.base]b, which would do this: '%08b %08o %08d %08x' % 12 '1100 0014 0012 000C' Were I BDFAD (not to be confused

Re: [Python-Dev] and and or operators in Py3.0

2005-09-20 Thread Gisle Aas
Raymond Hettinger [EMAIL PROTECTED] writes: 2) When going back and forth between languages, it is easy to forget that only Python returns something other than a boolean. Perl certainly works the same way and I've never heared anybody have problems with that, but that might be because Perl do