On Mar 29, 2005, at 17:41, Terry Reedy wrote:
...
"Steve Holden" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Having to write
[x for x in seq]
to produce a copy of a list doesn't seem that outrageous to me,
Except for (currently) leaving the last value of sequence bound to 'x'
Patch / Bug Summary
___
Patches : 297 open (+11) / 2812 closed (+11) / 3109 total (+22)
Bugs: 871 open ( +1) / 4900 closed (+33) / 5771 total (+34)
RFE : 175 open ( +0) / 150 closed ( +0) / 325 total ( +0)
New / Reopened Patches
__
Decimal i
"Steve Holden" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Having to write
>
> [x for x in seq]
>
> to produce a copy of a list doesn't seem that outrageous to me,
Except for (currently) leaving the last value of sequence bound to 'x'
after making the copy, how is the abov
On Sun, 2005-03-27 at 20:55, Adam MacBeth wrote:
> Has anyone ever considered using SCons to build Python? SCons is a
> great build tool written in Python that provides some Autoconf-like
> functionality (http://www.scons.org). It seems like this type of
> self-hosting would be a great testament to
Walter Dörwald wrote:
For XML: 1) Those classes are the element types and the nested classes
are the attributes. 2) Being able to define those attributes as separate
classes makes it possible to implement custom functionality (e.g. for
validation or for handling certain attribute types like URLs, c
Walter Dörwald wrote:
So is this change wanted? useful? implementable with reasonable effort? Or
just not worth it?
I think it is just not worth it. This means I won't attempt to implement
it. I think I defined originally the __module__ attribute for classes to
support better pickling (and defined
Travis Oliphant wrote:
What is the opinion of people on this list about how to fix the
problem. I believe Martin was looking at the problem and had told
Perry Greenfield he was "fixing it." Apparently at the recent PyCon,
Perry and he talked and Martin said the problem is harder than he had
Adam MacBeth <[EMAIL PROTECTED]> writes:
> Has anyone ever considered using SCons to build Python?
Well, er, there's an obvious problem here somewhere...
> SCons is a great build tool written in Python that provides some
> Autoconf-like functionality (http://www.scons.org). It seems like
> this
Walter Dörwald wrote:
So can I have one setup.py for both Python 2.4 and Python 2.5 that does the
correct thing when creating a Windows installer for
Python 2.4 (I've used Unicode strings for that until now) and using the upload
command with Python CVS (which seems to require a
byte string now)?
On Mar 29, 2005, at 5:15 PM, Aahz wrote:
On Sun, Mar 27, 2005, Adam MacBeth wrote:
Has anyone ever considered using SCons to build Python? SCons is a
great build tool written in Python that provides some Autoconf-like
functionality (http://www.scons.org). It seems like this type of
self-hosting wou
On Sun, Mar 27, 2005, Adam MacBeth wrote:
>
> Has anyone ever considered using SCons to build Python? SCons is a
> great build tool written in Python that provides some Autoconf-like
> functionality (http://www.scons.org). It seems like this type of
> self-hosting would be a great testament to the
Currently instances of nested classes can't be pickled. For old style classes
unpickling fails to find the class:
>>> import cPickle
>>> class Foo:
...class Bar:
... pass
...
>>> cPickle.loads(cPickle.dumps(Foo.Bar()))
Traceback (most recent call last):
File "", line 1, in ?
AttributeE
Martin v. Löwis sagte:
> Walter Dörwald wrote:
>> I'm not sure if this is the right approach.
>
> I think the approach is right, but the implementation is wrong.
>
>> The encoding I specify in
>> setup.py should be independent of the encoding used between distutils and
>> PyPI to communicate on t
I'm posting to this list to again generate open discussion on the
problem in current Python that an int is used in both the Python
sequence protocol and the Python buffer protocol.
The problem is that a C-int is typically only 4 bytes long while there
are many applications (mmap for example),
Hi!
On Thu, Mar 24, 2005 at 11:36:41AM -0300, Rodrigo Dias Arruda Senra wrote:
> Edit libwebbrowser.tex as you see fit, then send it to me
> and I'll TeXify it back to you.
Uploaded to http://python.org/sf/754022 . I am not a native English
speaker, and this is the first time I've edited a Te
Has anyone ever considered using SCons to build Python? SCons is a
great build tool written in Python that provides some Autoconf-like
functionality (http://www.scons.org). It seems like this type of
self-hosting would be a great testament to the power of Python as well
as helping to reinforce the
I thought I had been clear already, but since this thread keeps going
maybe I need to reiterate that there's zero chance that this syntax
proposal (or anything like it) will be accepted. You all are of course
free to continue to discuss it, but as I've explained before it just
isn't worth it.
--
Steve Holden <[EMAIL PROTECTED]> wrote:
[...]
> Having to write
>
> [x for x in seq]
>
> to produce a copy of a list doesn't seem that outrageous to me, and I
> don't find the predicate-less case of your proposal that convincing:
>
> [x in seq]
>
> seems somehow too terse.
And is a
On Tue, Mar 29, 2005 at 06:46:09PM +0200, Reinhold Birkenfeld wrote:
> Rodrigo Dias Arruda Senra wrote:
> > Outstanding work Oleg. I read it through and wouldn't change a bit.
> > I have revised: libwebbrowser.tex.patch and webbrowser.py.patch.
> > They are Ok regarding grammar, TeX and ... what
Rodrigo Dias Arruda Senra wrote:
> | > On Thu, Mar 24, 2005 at 11:36:41AM -0300, Rodrigo Dias Arruda Senra
> wrote:
> | > > Edit libwebbrowser.tex as you see fit, then send it to me
> | > > and I'll TeXify it back to you.
> | >
> | >Uploaded to http://python.org/sf/754022 . I am not a n
Martin v. Löwis wrote:
Andrew MacIntyre wrote:
This change has broken the build on FreeBSD 4.x for me:
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -
I. -I./Include -DPy_BUILD_CORE -o Python/thread.o Python/thread.c
In file included from Python/thread.c:101:
Pyth
The release24-maint branch is FROZEN from 00:00 UTC, 2005-03-30
(in about 11 hours from now).
As usual, unless you're in the set (Anthony, MvL, Fred), please hold off
on checkins to the branch until I send a message unfreezing it. Once
we've had the appropriate brown-paper-bag time delay, the br
Hello!
On Mon, Mar 28, 2005 at 06:31:29PM -0300, Rodrigo Dias Arruda Senra wrote:
> Outstanding work Oleg. I read it through and wouldn't change a bit.
> I have revised: libwebbrowser.tex.patch and webbrowser.py.patch.
> They are Ok regarding grammar, TeX and ... whatever .
> I recommend to ap
23 matches
Mail list logo