Terry Reedy wrote:
> Steven D'Aprano wrote:
>> Is that Xah Lee? It sounds like the sort of thing he'd say.
>
> It was the thread he started, but not him. He contributed other idiocies.
Xah Lee is still around? I would have expected him to get bored and go
away years ago...
Cheers,
Nick.
--
Ni
Cameron Simpson wrote:
> On 21Jan2009 14:02, Tres Seaver wrote:
> | Vitor Bosshard wrote:
> | > BTW, there is already an "until" keyword in python, it's called "while
> not" ;)
> |
> | 'until' is used at least in some languages (Pascal, Modula*, maybe Ada?)
> | for a "terminate at bottom" loop (
Gerald Britton wrote:
> OK then, what is the feeling out there about extending the "for"
> syntax in general (and by extension list comprehensions and generator
> expressions) by adding an optional while clause like this:
>
> for in [while [ | not ]:
>
>
> The predicate would be tested aft
On Wed, Jan 21, 2009, Benjamin Peterson wrote:
>>> On Wed, Jan 21, 2009 at 12:48 PM, Guido van Rossum wrote:
On Wed, Jan 21, 2009 at 10:00 AM, Aahz wrote:
>
> In comp.lang.python, there has been some discussion of the fact that
> there are no guidelines in PEP 8 for constants:
>>
On Wed, Jan 21, 2009 at 12:48 PM, Guido van Rossum wrote:
> On Wed, Jan 21, 2009 at 10:00 AM, Aahz wrote:
>> In comp.lang.python, there has been some discussion of the fact that
>> there are no guidelines in PEP 8 for constants:
>>
>> http://groups.google.com/group/comp.lang.python/browse_thread/
>> On Wed, Jan 21, 2009 at 12:48 PM, Guido van Rossum wrote:
>>> On Wed, Jan 21, 2009 at 10:00 AM, Aahz wrote:
In comp.lang.python, there has been some discussion of the fact that
there are no guidelines in PEP 8 for constants:
http://groups.google.com/group/comp.lang.python/b
Cameron Simpson wrote:
Back at uni we had to implement a small language in our compilers class
and the lecturer had specified a proper generic while loop, thus:
loop:
suite
while invariant
suite
endloop
In Python, that is spelled
while True:
suite
if not invariant: break
Yes, that's what I commonly see.
On Wed, Jan 21, 2009 at 6:42 PM, Benjamin Peterson wrote:
> On Wed, Jan 21, 2009 at 12:48 PM, Guido van Rossum wrote:
>> On Wed, Jan 21, 2009 at 10:00 AM, Aahz wrote:
>>> In comp.lang.python, there has been some discussion of the fact that
>>> there are no guide
On 21Jan2009 14:02, Tres Seaver wrote:
| Vitor Bosshard wrote:
| > BTW, there is already an "until" keyword in python, it's called "while not"
;)
|
| 'until' is used at least in some languages (Pascal, Modula*, maybe Ada?)
| for a "terminate at bottom" loop (one guaranteed to run at least once):
On Wed, Jan 21, 2009 at 6:39 PM, Aahz wrote:
> Mail to fdr...@acm.org is bouncing; I don't know whether it's a
> temporary failure. Does anyone have another address for him?
/me channels Fred: Use freddr...@verizon.net until the acm.org account
is back up.
--
Benji York
On Wed, Jan 21, 2009 at 13:53, Georg Brandl wrote:
> Brett Cannon schrieb:
>> I have been writing up the initial docs for importlib and four things struck
>> me:
>>
>> 1. Why is three space indents the preferred indentation level?
>
> As said, it matches directive content with directive headers n
Mail to fdr...@acm.org is bouncing; I don't know whether it's a
temporary failure. Does anyone have another address for him?
- Forwarded message from Mail Delivery System
-
> Date: Wed, 21 Jan 2009 22:48:49 +0100 (CET)
> From: Mail Delivery System
> Subject: Undelivered Mail Returned
Terry Reedy wrote:
Luke Kenneth Casson Leighton wrote:
i look forward to seeing the same incremental improvement applied to
the development of python, evidence of which would be clearly seen by
the acceptance of one of the following patches, one of which is dated
2003:
http://bugs.python.org
Brett Cannon schrieb:
> I have been writing up the initial docs for importlib and four things struck
> me:
>
> 1. Why is three space indents the preferred indentation level?
As said, it matches directive content with directive headers nicely.
Ben's solution is nice as well, but now that we have
Have you made some benchmarks like pystone?
Cheers,
Cesare
On Wed, Jan 21, 2009 08:50PM, Luke Kenneth Casson Leighton wrote:
> this is a progress report on compiling python using entirely free
> software tools, no proprietary compilers or operating systems
> involved, yet still linking and succes
> ok, so - different from what's being generated by ./configure under
> msys under wine or native win32 - what's being generated (libpython 2
> . 5 . a and libpython 2 . 5 . dll . a) is more akin to the cygwin
> environment.
>
> therefore, there's absolutely no doubt that the two are completely d
On Wed, Jan 21, 2009 at 7:42 PM, "Martin v. Löwis" wrote:
>> sorry, martin - i thought the win32 builds generated python25.lib,
>> python25.dll
>
> Correct.
>
>> and python25.def
>
> No.
>
>> so as to fit into the 8.3 filename convention.
>
> No. It generates python25.lib because that's the impor
Steven D'Aprano wrote:
On Wed, 21 Jan 2009 03:10:24 pm Terry Reedy wrote:
Steven D'Aprano wrote:
The three clauses are neither in the same order, nor are they in
reverse order.
They are in the same order but rotated, with the last brought around
to the front to emphasize it. Did you really
> http://bugs.python.org/issue5010
correction: that's http://bugs.python.org/issue5026 apologies for the mix-up.
also,for the msvcrt80 build, it is _essential_ that you use a patched
version of mingw32-runtime, see:
https://sourceforge.net/tracker/index.php?func=detail&aid=2134161&group_id=2435&a
this is a progress report on compiling python using entirely free
software tools, no proprietary compilers or operating systems
involved, yet still linking and successfully running with msvcr80
assemblies. manifests and rc files, which are compiled to internal
resources, have been added.
various s
In article ,
rdmur...@bitdance.com wrote:
>...
> I understand that you are saying that 'while x' is used in the same
> logical sense ("take a different action when x is no longer true"),
> but that I don't feel that that is enough to say that it has similar
> semantics. Or, perhaps more accurate
> sorry, martin - i thought the win32 builds generated python25.lib,
> python25.dll
Correct.
> and python25.def
No.
> so as to fit into the 8.3 filename convention.
No. It generates python25.lib because that's the import library
for python25.dll. It calls it python25.dll because the lib prefi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Vitor Bosshard wrote:
>> Some also allow for an "until" keyword. I'm not suggesting that we
>> need to do this in Python; it's just interesting to note that there is
>> some precedent for this approach.
>>
>
> Well, you could propose changing the fo
On Wed, Jan 21, 2009 at 10:00 AM, Aahz wrote:
> In comp.lang.python, there has been some discussion of the fact that
> there are no guidelines in PEP 8 for constants:
>
> http://groups.google.com/group/comp.lang.python/browse_thread/thread/ed964fe8ad6da7b7
>
> Is there any sentiment that PEP 8 sho
On Tue, Jan 20, 2009 at 11:01 PM, Terry Reedy wrote:
> Guido van Rossum wrote:
>>
>> 2009/1/20 Raymond Hettinger :
>>>
>>> I'm at a loss of why the notice needs to be there at all.
>>
>> There's a difference between contributing a whole file and
>> contributing a patch. Patches do not require copy
In comp.lang.python, there has been some discussion of the fact that
there are no guidelines in PEP 8 for constants:
http://groups.google.com/group/comp.lang.python/browse_thread/thread/ed964fe8ad6da7b7
Is there any sentiment that PEP 8 should be updated to reflect the common
usage of ALL_CAPS fo
On Wed, Jan 21, 2009, Gerald Britton wrote:
>
> OK then, what is the feeling out there about extending the "for"
> syntax in general (and by extension list comprehensions and generator
> expressions) by adding an optional while clause like this:
>
> for in [while [ | not ]:
>
What I sugges
The following was supposed to go to the list:
18:29 Gerald Britton:
Yes you could have long lines, but you wouldn't have to use it. You
could still code it up as you would today. It might be convenient for
shorter expressions though.
12:12 PM Ludvig Ericson:
On Jan 21, 2009, at 16:51, Gera
OK then, what is the feeling out there about extending the "for"
syntax in general (and by extension list comprehensions and generator
expressions) by adding an optional while clause like this:
for in [while [ | not ]:
The predicate would be tested after an is taken from
and before execu
- Mensaje original
> De: Gerald Britton
> Para: rdmur...@bitdance.com
> CC: python-dev@python.org
> Enviado: miércoles, 21 de enero, 2009 11:38:01
> Asunto: Re: [Python-Dev] PEP 3142: Add a "while" clause to generator
> expressions
>
> FWIW, there are a few historic languages that imple
FWIW, there are a few historic languages that implement a compound
for-loop: Algol 68, PL/I, SAS et al allow constructs that, if
translated to an equivalent (currently invalid) Python-style syntax
would look like this"
for in while :
Some also allow for an "until" keyword. I'm not suggest
On Wed, 21 Jan 2009 at 21:46, Steven D'Aprano wrote:
On Wed, 21 Jan 2009 03:10:24 pm Terry Reedy wrote:
It is a carefully designed 1 to
1 transformation between multiple nested statements and a single
expression.
I'm sure that correspondence is obvious to some, but it wasn't obvious
to me, and
> next task: beat the crap out of libmsvcr80.a and /mingw/include/*.h,
> repeat until success.
https://sourceforge.net/tracker/index.php?func=detail&aid=2134161&group_id=2435&atid=352435
roumen, it looks like you've been and done that, already - thank you!
_
On Tue, Jan 20, 2009 at 9:19 PM, "Martin v. Löwis" wrote:
>>> That's a non-starter for anyone who incorporates Python in an existing
>>> MSVC-based development environment.
>>
>> surely incorporating libpython2.5.dll.a or libpython2.6.dll.a, along
>> with the .def and the importlib that's generate
> It only becomes a problem when someone wants to both support Windows
> users of their extension modules with pre-built binaries, but *also*
> doesn't want to set up the appropriate environment for building such
> binaries (currently a minimum bar of Visual Studio Express on a Windows
> VM instanc
On Wed, 21 Jan 2009 03:10:24 pm Terry Reedy wrote:
> Steven D'Aprano wrote:
...
> > In a generator expression, we have:
> >
> > yielded-expr for-clause if-clause
> >
> > while the corresponding nested statements are:
> >
> > for-clause if-clause yielded-expr
> >
> > The three clauses are neither
Hello there.
I recently reactivated http://bugs.python.org/issue4448 because of the need to
port http://bugs.python.org/issue4879 to 3.1
This isn't a straightforward port because of the changes in the IO library.
I'd appreciate if someone could shed some light on the comment in line 268 in
Lib/h
37 matches
Mail list logo