On Jul 1, 2006, at 10:45 AM, Ronald Oussoren wrote:
>
> On Jul 1, 2006, at 6:57 PM, [EMAIL PROTECTED] wrote:
>
>>
>> Ronald> Are you sure you're building on a 10.4 box? Both the
>> Ronald> macosx-10.3 thingy and lack of inflateCopy seem to
>> indicate that
>> Ronald> you're running
On Jul 6, 2006, at 5:04 PM, Ka-Ping Yee wrote:
> On Thu, 6 Jul 2006, Phillip J. Eby wrote:
>> As much as I'd love to have the nested scope feature, I think it's
>> only
>> right to point out that the above can be rewritten as something
>> like this
>> in Python 2.5:
>>
>> def spam():
>>
On Jul 7, 2006, at 1:08 PM, Guido van Rossum wrote:
> On 7/7/06, Ka-Ping Yee <[EMAIL PROTECTED]> wrote:
>> I've been doing a bunch of Firefox extension programming in
>> Javascript
>> and suddenly a few of the recent topics here came together in my head
>> in a silent kapow of thoughts. This i
On Jun 23, 2005, at 10:11 PM, Greg Ewing wrote:
> Skip Montanaro wrote:
>
>> I wrote PEP 304, "Controlling Generation of Bytecode Files":
>>
>> http://www.python.org/peps/pep-0304.html
>>
>
> I would like to see some way of having bytecode files put
> into platform/version dependent subdirecto
On Jun 26, 2005, at 8:54 PM, Phillip J. Eby wrote:
> At 12:22 AM 6/27/2005 +0200, Dörwald Walter wrote:
>
>> Phillip J. Eby wrote:
>>
>>> [...]
>>> I'm also not keen on the fact that it makes certain things
>>> properties whose value can change over time; i.e. ctime/mtime/atime
>>> and
>>> size r
On Jun 27, 2005, at 6:48 PM, Delaney, Timothy (Tim) wrote:
> Gary Robinson wrote:
>
>
>> It's been around 7 years since I've used C, I've forgotten virtually
>> everything I may have known about gdb, I've never worked with the
>> C-python API before... meanwhile there is intense time pressure to
On Jul 10, 2005, at 6:39 PM, Josiah Carlson wrote:
>
> Andrew Durdin <[EMAIL PROTECTED]> wrote:
>
>>
>> On 7/11/05, Josiah Carlson <[EMAIL PROTECTED]> wrote:
>>
>>>
>>> You are wrong. Current string literals are explicit. They are
>>> what you
>>> type.
>>>
>>
>> No they are not:
>>
>
> Appar
On Jul 28, 2005, at 3:19 PM, Barry Warsaw wrote:
> On Thu, 2005-07-28 at 20:15, Leif Hedstrom wrote:
>
>
>> I'm definitely positive to a migration to Subversion, but I'd be
>> really
>> concerned about using plain text authentication mechanisms.
>>
>
> We won't use plain text, but we may (or, w
On Aug 7, 2005, at 7:37 PM, Martin v. Löwis wrote:
> Guido van Rossum wrote:
>
>>> If stdin, stdout and stderr go to a terminal, there already is a
>>> default encoding (actually, there always is a default encoding on
>>> these, as it falls back to the system encoding if its not a
>>> terminal,
On Aug 11, 2005, at 3:02 PM, Anthony Baxter wrote:
> On Monday 08 August 2005 20:13, Ilya Sandler wrote:
>
>>> At OSCON, Anthony Baxter made the point that pdb is currently one
>>> of the
>>> more unPythonic modules.
>>>
>>
>> What is unpythonic about pdb? Is this part of Anthony's presentation
On Aug 20, 2005, at 6:14 AM, Guido van Rossum wrote:
> I'm ready to accept te general idea of moving to subversion and away
> from SourceForge.
>
> On the hosting issue, I'm still neutral -- I expect we'll be able to
> support the current developer crowd easily on svn.python.org, but if
> we ever
On Sep 1, 2005, at 2:27 PM, Jack Diederich wrote:
> On Thu, Sep 01, 2005 at 11:12:57PM +0200, Fredrik Lundh wrote:
>
>> Charles Cazabon wrote:
>>
>>
>>> in fact, it does nothing for the program but merely has the
>>> interesting
>>> side-effect of writing to stdout.
>>>
>>
>> yeah, real program
On Sep 6, 2005, at 12:13 PM, Steve Holden wrote:
> Nick Jacobson wrote:
>
>> While we're on the subject of Python 3000, what's the
>> chance that reference counting when calling C
>> functions from Python will go away?
>>
>> To me this is one of the few annoyances I have with
>> Python. I know t
On Sep 7, 2005, at 7:11 AM, Guido van Rossum wrote:
> On 9/7/05, Barry Warsaw <[EMAIL PROTECTED]> wrote:
>
>> On Wed, 2005-09-07 at 05:23, Stephen J. Turnbull wrote:
>>
>>
>>> But print-ng looks
>>> like becoming the OOWTDI for a lot of applications. IMO it's
>>> just too
>>> early to give up
On Sep 8, 2005, at 5:42 AM, Barry Warsaw wrote:
> On Wed, 2005-09-07 at 15:07, Bob Ippolito wrote:
>
>
>> I was also able to easily automate the process of extracting strings
>> to create that spreadsheet. I wrote a simple script that parsed the
>> Python modules an
On Sep 20, 2005, at 5:43 PM, Guido van Rossum wrote:
> On 9/20/05, John J Lee <[EMAIL PROTECTED]> wrote:
>
>> threading is not the only, nor the best, concurrency model.
>> But maybe these chips designed with threading in mind blow that
>> argument
>> out of the water. I don't know enough to k
On Sep 21, 2005, at 11:26 PM, Guido van Rossum wrote:
> The platform module has a way to map system names such as returned by
> uname() to marketing names. It maps SunOS to Solaris, for example. But
> it doesn't map Darwin to Mac OS X. I think I know how to map Darwin
> version numbers to OS X ver
/usr/bin/sw_vers technically calls a private (at least undocumented)
CoreFoundation API, it doesn't parse that plist directly :)
On further inspection, it looks like parsing the plist directly is
supported API these days (see the bottom of ):
import plistlib
dct = plistlib.Plist.fromFile('/Sy
On Sep 22, 2005, at 3:56 PM, Phillip J. Eby wrote:
> At 12:04 PM 9/22/2005 -0700, Rich Burridge wrote:
>
>> Phillip J. Eby wrote:
>>
Recently I asked about the inclusion of a "vendor-packages"
directory for Python on the Python mailing list.
See the thread started at:
>>>
On Sep 22, 2005, at 3:04 PM, Rich Burridge wrote:
> Phillip J. Eby wrote:
>
>>> Recently I asked about the inclusion of a "vendor-packages"
>>> directory for Python on the Python mailing list.
>>>
>>> See the thread started at:
>>>
>>>
>>> http://mail.python.org/pipermail/python-list/2005-Septemb
On Sep 22, 2005, at 8:58 PM, Trent Mick wrote:
> [richard barran wrote]
>
>> So I have a question: do the previous mails mean that a relpath
>> function might possibly be a usefull addition to os.path?
>>
>
> Yes, it seems to have support.
I'd like to throw in another late +1 here, I've written
On Sep 29, 2005, at 3:53 PM, M.-A. Lemburg wrote:
> Perhaps a flag that fires up Python and runs platform.py
> would help too.
python -mplatform
-bob
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
On Oct 23, 2005, at 3:10 PM, Jason Orendorff wrote:
> -1 on decoding implicitly "as needed". This causes decoding to happen
> late, in unpredictable places. Decodes can fail; they should happen
> as early and as close to the data source as possible.
That's not necessarily true... Some codecs c
On Oct 23, 2005, at 6:06 PM, Guido van Rossum wrote:
> Folks, please focus on what Python 3000 should do.
>
> I'm thinking about making all character strings Unicode (possibly with
> different internal representations a la NSString in Apple's Objective
> C) and introduce a separate mutable bytes a
On Oct 27, 2005, at 4:32 PM, Neal Becker wrote:
> "Martin v. Löwis" wrote:
>
>> I see. Python is making up the EISDIR, looking at the stat result.
>> In Objects/fileobject.c:dircheck generates the EISDIR error, which
>> apparently comes from posix_fdopen, PyFile_FromFile,
>> fill_file_fields.
>>
On Oct 27, 2005, at 4:58 PM, Neal Becker wrote:
> Bob Ippolito wrote:
>
>
>>
>> On Oct 27, 2005, at 4:32 PM, Neal Becker wrote:
>>
>>
>>> "Martin v. Löwis" wrote:
>>>
>>>
>>>> I see. Python is making up the EISDI
On Nov 9, 2005, at 1:22 PM, Bill Janssen wrote:
> It's a shame that
>
> 1) there's no equivalent of "java -jar", i.e., "python -z
> FILE.ZIP", and
This should work on a few platforms:
env PYTHONPATH=FILE.zip python -m some_module_in_the_zip
-bob
_
On Nov 9, 2005, at 1:48 PM, Thomas Heller wrote:
> Bob Ippolito <[EMAIL PROTECTED]> writes:
>
>> On Nov 9, 2005, at 1:22 PM, Bill Janssen wrote:
>>
>>> It's a shame that
>>>
>>> 1) there's no equivalent of "java -jar&quo
On Nov 10, 2005, at 1:26 AM, Avi Kivity wrote:
> Python's longstring facility is very useful, but unhappily breaks
> indentation. I find myself writing code like
http://docs.python.org/lib/module-textwrap.html
-bob
___
Python-Dev mailing list
Python-
On Dec 14, 2005, at 5:31 PM, Alex Martelli wrote:
> On 12/14/05, Chris Lambacher <[EMAIL PROTECTED]> wrote:
>> Py2exe manages to load .pyd files and dlls from zip. Apparently
>> they have
>> written an alternate dll loader that does not need the file to be
>> on the file
>> system. This is
On Dec 27, 2005, at 5:48 PM, Valentino Volonghi aka Dialtone wrote:
> On Tue, Dec 27, 2005 at 01:50:37PM -0800, Alex Martelli wrote:
>
> I'll answer here for all the people who kindly answered.
>
>> Why would that be better than
>> any(o.some_attribute for o in some_objects)
>> ?
>
> I think it's
On Dec 27, 2005, at 9:05 AM, Andrea Arcangeli wrote:
> I run into a problem recently with a reconnectingclientfactory with
> twisted while write some spare time software, that turned out to be
> a gc
> inefficiency.
>
> In short the protocol memory wasn't released after the reconnect
> and th
On Jan 2, 2006, at 10:30 PM, Neal Norwitz wrote:
> On 1/2/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>
>> The G5 *was* working. I changed nothing at my end. Got a mail
>> yesterday
>> from Martin. It looks like PATH lost /usr/local/bin (where the
>> Metissian
>> installer puts the s
On Jan 3, 2006, at 7:46 AM, [EMAIL PROTECTED] wrote:
> Bob> The easy fix is to upgrade your OS. I don't think anyone
> is going
> Bob> to bother with the preprocessor hackery necessary to make
> that
> Bob> (harmless) warning go away on older versions of the OS.
>
> Excuse me, but
On Jan 3, 2006, at 3:12 PM, Martin v. Löwis wrote:
> Bob Ippolito wrote:
>> Who's going to bother?
>
> It violates PEP 7, unless you argue that OS X/gcc is not
> a "major compiler".
Clearly, but that still doesn't answer the question of who's goi
On Jan 5, 2006, at 1:08 PM, Anthony Baxter wrote:
> On Friday 06 January 2006 07:44, Martin v. Löwis wrote:
>> With the gentoo installation, I think we have "enough" linux for
>> the moment. Somebody noticed that the Waterfall view of buildbot
>> quickly becomes unreadable if there are too many b
On Jan 16, 2006, at 8:18 PM, Barry Warsaw wrote:
> On Tue, 2006-01-17 at 15:08 +1100, Andrew Bennetts wrote:
>
>> My reaction having read this far was "huh?". It took some time
>> (several
>> seconds) before it occurred to me what you wanted str(5,2) to
>> mean, and why it
>> should give '10
On Jan 16, 2006, at 9:12 PM, Andrew Bennetts wrote:
> On Mon, Jan 16, 2006 at 11:54:05PM -0500, Raymond Hettinger wrote:
> [...]
>> That suggests that it would be better to simply add an int method:
>>
>> x.convert_to_base(7)
>
> This seems clear and simple to me. I like it. I strongly sus
On Jan 17, 2006, at 2:36 AM, Ian Bicking wrote:
> Bob Ippolito wrote:
>> On Jan 16, 2006, at 9:12 PM, Andrew Bennetts wrote:
>>> On Mon, Jan 16, 2006 at 11:54:05PM -0500, Raymond Hettinger wrote:
>>> [...]
>>>
>>>> That suggests tha
On Jan 17, 2006, at 2:48 AM, Fredrik Lundh wrote:
> Bob Ippolito wrote:
>
>> I want binary all the time when I'm dealing with bitflags and such.
>> Of course, I'm trained to be able to read bits in hex format, but it
>> would be nicer to see the flags as-is. E
On Jan 17, 2006, at 10:17 AM, Thomas Heller wrote:
> Building the readline on OS X 10.4 fails, is this known, or am I doing
> something wrong?
Mac OS X doesn't ship with readline. It ships with BSD libedit
symlinked to readline. Not good enough for Python. You need a third
party copy.
I
On Jan 17, 2006, at 4:09 PM, Adam Olsen wrote:
> On 1/17/06, Guido van Rossum <[EMAIL PROTECTED]> wrote:
>> On 1/17/06, Adam Olsen <[EMAIL PROTECTED]> wrote:
In-favour-of-%2b-ly y'rs,
>>>
>>> My only opposition to this is that the byte type may want to use it.
>>> I'd rather wait until byte
On Jan 17, 2006, at 3:38 PM, Adam Olsen wrote:
> On 1/17/06, Thomas Wouters <[EMAIL PROTECTED]> wrote:
>> On Tue, Jan 17, 2006 at 09:23:29AM -0500, Jason Orendorff wrote:
>>
>>> I think a method 5664400.to_base(13) sounds nice.
>> [And others suggested int-methods too]
>>
>> I would like to point
On Jan 17, 2006, at 4:17 PM, Anthony Baxter wrote:
> On Wednesday 18 January 2006 06:19, Barry Warsaw wrote:
>> On Tue, 2006-01-17 at 19:17 +0100, Thomas Heller wrote:
>>> Building the readline on OS X 10.4 fails, is this known, or am I
>>> doing something wrong?
>>
>> There are definitely seriou
On Jan 17, 2006, at 5:01 PM, Jack Diederich wrote:
> On Tue, Jan 17, 2006 at 04:02:43PM -0800, Guido van Rossum wrote:
>> On 1/17/06, Adam Olsen <[EMAIL PROTECTED]> wrote:
In-favour-of-%2b-ly y'rs,
>>>
>>> My only opposition to this is that the byte type may want to use it.
>>> I'd rather wa
On Jan 17, 2006, at 7:12 PM, Jack Diederich wrote:
> On Tue, Jan 17, 2006 at 06:11:36PM -0800, Bob Ippolito wrote:
>>
>> On Jan 17, 2006, at 5:01 PM, Jack Diederich wrote:
>>
>>> On Tue, Jan 17, 2006 at 04:02:43PM -0800, Guido van Rossum wrote:
>>>>
On Jan 18, 2006, at 1:31 AM, Anthony Baxter wrote:
> On Wednesday 18 January 2006 16:25, Stephen J. Turnbull wrote:
>> Unless rms has changed his position on this, or there has been
>> relevant legislation or a court decision in the meantime,
>> explicitly requiring or checking for "real" libread
On Jan 18, 2006, at 8:47 PM, James Y Knight wrote:
>
> On Jan 18, 2006, at 11:40 PM, Aahz wrote:
>
>> On Wed, Jan 18, 2006, Guido van Rossum wrote:
>>>
>>> Can we just all agree that RMS is an asshole now? Bah.
>>
>> "Citing RMS's insanity is a great way to get my blood steaming." --
>> GvR
>
>
On Jan 18, 2006, at 11:37 PM, Neal Norwitz wrote:
> On 1/18/06, Raymond Hettinger <[EMAIL PROTECTED]> wrote:
>> Guido, we may be converging on a consensus for my proposal:
>>
>> base(value, radix=2)
>>
>> So far no one has shot at it, and it has gathered +1's from Steven,
>> Alex, Brett, and
On Jan 19, 2006, at 11:12 AM, Guido van Rossum wrote:
> On 1/19/06, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
>> Guido van Rossum wrote:
>>
>>> I think we ought to let this sit for a while and come back to it
>>> in a
>>> few week's time. Is 'base' really the right name? It could just as
>>> wel
On Jan 19, 2006, at 4:17 PM, Thomas Wouters wrote:
> On Fri, Jan 20, 2006 at 06:56:23AM +1000, Nick Coghlan wrote:
>
>> I'm not aware of anyone that would miss octal literals,
>
> Except anyone who uses os.chmod. I would be mighty sad if we
> removed octal
> and hexadecimal literals for 'cleanl
On Jan 25, 2006, at 3:42 PM, Tony Meyer wrote:
> [Ian Bicking]
>> If it were possible to use .join() for joining paths, I think I
>> wouldn't mind so much. But reusing a string method for something
>> very different seems like a bad idea. So we're left with .joinpath
>> (). Still better than os
On Jan 31, 2006, at 3:09 PM, Tim Parkin wrote:
> Georg Brandl wrote:
>> Guido van Rossum wrote:
>>> Ah. This definitely isn't what ConfigParser was meant to do. I'd
>>> think
>>> for this you should use some kind of XML pickle though. That's
>>> horrible if end users must edit it, but great for
On Feb 3, 2006, at 2:07 AM, Nick Coghlan wrote:
> Bengt Richter wrote:
>> On Fri, 3 Feb 2006 10:16:17 +1100, "Delaney, Timothy (Tim)"
>> <[EMAIL PROTECTED]> wrote:
>>
>>> Andrew Koenig wrote:
>>>
> I definately agree with the 0c664 octal literal. Seems rather more
> intuitive.
I st
On Feb 5, 2006, at 10:48 AM, Raymond Hettinger wrote:
>>> So I was wondering if module math (and
>>> perhaps by symmetry module cmath, too) shouldn't grow a function
>>> 'areclose' (calling it just 'close' seems likely to engender
>>> confusion, since 'close' is more often used as a verb than as
On Feb 5, 2006, at 11:31 AM, Raymond Hettinger wrote:
> [Bob Ipppolito]
>> For those of us that already know what we're doing with floating
>> point, areclose would be very convenient to have.
>
> Do you agree that the original proposed use (helping newbs ignore
> floating
> point realities)
On Feb 8, 2006, at 11:02 AM, Ronald Oussoren wrote:
>
> On 8-feb-2006, at 19:55, Martin v. Löwis wrote:
>
>> Gustavo J. A. M. Carneiro wrote:
>>> Any thoughts? Should I go ahead and open a bug report (maybe with
>>> patch), or is this controversial?
>>
>> I can accept that the Mac does it diff
201 - 257 of 257 matches
Mail list logo