Daniel Diniz aja...@gmail.com added the comment:
Closing, the message does currently include the problematic text. The
output in both 2.5 and trunk is:
Pythonlib's error message: expected name token at '!img src=image/at'
--
nosy: +ajaksu2
resolution: - out of date
stage: test needed -
Changes by Daniel Diniz aja...@gmail.com:
--
stage: - test needed
type: - feature request
versions: +Python 2.7 -Python 2.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1063229
___
On Mar 3, 10:34 pm, Dennis Lee Bieber [EMAIL PROTECTED] wrote:
On Mon, 3 Mar 2008 07:00:55 -0800 (PST), [EMAIL PROTECTED] declaimed
the following in comp.lang.python:
What's the API call for it?
I'd suspect one of the win32event.WaitFor..., when combined with
Dennis Lee Bieber [EMAIL PROTECTED] writes:
On Mon, 3 Mar 2008 08:11:43 -0500, Jean-Paul Calderone
[EMAIL PROTECTED] declaimed the following in comp.lang.python:
I'm not sure, but you seem to be implying that the only way to use Windows'
asynchronous I/O APIs is with threads. Actually, it
On Mar 4, 5:59 pm, David Bolen [EMAIL PROTECTED] wrote:
Dennis Lee Bieber [EMAIL PROTECTED] writes:
On Mon, 3 Mar 2008 08:11:43 -0500, Jean-Paul Calderone
[EMAIL PROTECTED] declaimed the following in comp.lang.python:
I'm not sure, but you seem to be implying that the only way to use
How does it work? From reading threading.py, _Condition.wait()
acquires self.lock() too many times-- that is, once to call wait
(cannot wait on un-aquired lock), and once after--- are all
waiters waiting back at self.acquire, just to make it to
self.notify... and only one at a time at that!?
Speak not of Wendy's -- they moved into town in my college days...
The hot and juicy was commonly taken to mean: patty dipped in pan
drippings, then nuked in microwave... And any CompSci person could
figure out that the 256 different ways meant one had access to a tray
of 8 condiments,
On Tue, 26 Feb 2008 21:45:24 -0800, Dennis Lee Bieber [EMAIL PROTECTED] wrote:
[snip]
Threads, in Python, are good for parallel processing of items that
tend to be I/O bound -- that is, stuff that blocks on lots of I/O calls
allowing other threads to execute until they block too. Due to
On Mar 3, 7:11 am, Jean-Paul Calderone [EMAIL PROTECTED] wrote:
On Tue, 26 Feb 2008 21:45:24 -0800, Dennis Lee Bieber [EMAIL PROTECTED]
wrote:
[snip]
Threads, in Python, are good for parallel processing of items that
tend to be I/O bound -- that is, stuff that blocks on lots of I/O
On Feb 29, 12:55 am, Dennis Lee Bieber [EMAIL PROTECTED] wrote:
On Thu, 28 Feb 2008 00:54:44 -0800 (PST), [EMAIL PROTECTED] declaimed
the following in comp.lang.python:
On Feb 28, 2:30 am, Dennis Lee Bieber [EMAIL PROTECTED] wrote:
It is time to show your cards or fold
Here. Run it.
On Feb 29, 7:55 am, Dennis Lee Bieber [EMAIL PROTECTED] wrote:
On Thu, 28 Feb 2008 00:54:44 -0800 (PST), [EMAIL PROTECTED] declaimed
the following in comp.lang.python:
On Feb 28, 2:30 am, Dennis Lee Bieber [EMAIL PROTECTED] wrote:
### I smell Java burning...
+1 QOTW
Mistah Kurtz - he
On Feb 28, 2:30 am, Dennis Lee Bieber [EMAIL PROTECTED] wrote:
It is time to show your cards or fold
Here. Run it. Download Python 3.0a2.
from thread import start_new_thread as launch
from threading import Lock
import time
from functools import partial
class WithObj:
def __init__( self,
En Wed, 27 Feb 2008 21:06:56 -0200, Micah Cowan [EMAIL PROTECTED]
escribi�:
Gabriel Genellina wrote:
Speak not of Wendy's -- they moved into town in my college days...
The hot and juicy was commonly taken to mean: patty dipped in pan
drippings, then nuked in microwave... And any CompSci
En Wed, 27 Feb 2008 06:25:25 -0200, Dennis Lee Bieber
[EMAIL PROTECTED] escribió:
On Wed, 27 Feb 2008 05:46:56 -0200, Gabriel Genellina
[EMAIL PROTECTED] declaimed the following in comp.lang.python:
It's like a McDonalds: three guys (the producers) are taking orders from
the customers,
' is an
instance exists. That was my very first question. Specify 'acq'
only, and does a Steps class have enough information, from only the
details given and no more, to release each of its individual locks all
and only in the order of the indices? Regardless, here is how
thread_loop shapes up. Once
Gabriel Genellina wrote:
Speak not of Wendy's -- they moved into town in my college days...
The hot and juicy was commonly taken to mean: patty dipped in pan
drippings, then nuked in microwave... And any CompSci person could
figure out that the 256 different ways meant one had access to a
Create a class which will ensure
turn-taking of events, using a get method with and integer index, by
waiting for the prior index to complete before starting the next.
from thread import start_new_thread as launch
from threading import Lock
import time
from functools import partial
class
On Feb 26, 1:45 am, [EMAIL PROTECTED] wrote:
Two options occurred to me, which the first showed up in the earlier
extremely skeletal and cryptic post:
Perhaps you would be more likely to get the kind of help you seem to
want
if you refrained from posting cryptic and skeletal messages. The
fact
On Feb 26, 10:59 am, Preston Landers [EMAIL PROTECTED] wrote:
On Feb 26, 1:45 am, [EMAIL PROTECTED] wrote:
Two options occurred to me, which the first showed up in the earlier
extremely skeletal and cryptic post:
Perhaps you would be more likely to get the kind of help you seem to
want
On Feb 26, 11:13 am, [EMAIL PROTECTED] wrote:
All I asked for was, ideas.
Nope, you didn't. You said exactly this: Specify {...} Is it
enough? and included a snipped of code that was not standalone,
provided no context or explanatory information, and gave us no clue
what you might be trying to
On Tue, 26 Feb 2008 09:13:35 -0800, castironpi wrote:
Back home, the original post would be interesting, so I wrote it.
So you think of this group as your personal notepad. That explains a lot. :-/
Ciao,
Marc 'BlackJack' Rintsch
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
On Feb 26, 10:59 am, Preston Landers [EMAIL PROTECTED] wrote:
On Feb 26, 1:45 am, [EMAIL PROTECTED] wrote:
Two options occurred to me, which the first showed up in the earlier
extremely skeletal and cryptic post:
Perhaps you would be more likely to get the kind of
[EMAIL PROTECTED] wrote:
On Feb 26, 11:37 am, Jeff Schwab [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
On Feb 26, 10:59 am, Preston Landers [EMAIL PROTECTED] wrote:
On Feb 26, 1:45 am, [EMAIL PROTECTED] wrote:
Two options occurred to me, which the first showed up in the earlier
On Feb 26, 11:37 am, Jeff Schwab [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
On Feb 26, 10:59 am, Preston Landers [EMAIL PROTECTED] wrote:
On Feb 26, 1:45 am, [EMAIL PROTECTED] wrote:
Two options occurred to me, which the first showed up in the earlier
extremely skeletal and
demonstrate that
interface.
Newsgroups: comp.lang.python
From: [EMAIL PROTECTED]
Date: Tue, 26 Feb 2008 05:07:48 -0800 (PST)
Local: Tues, Feb 26 2008 7:07 am
Subject: Re: is there enough information?
The interface is an awesome place to start.
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
On Feb 26, 12:04 pm, Jeff Schwab [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
On Feb 26, 11:37 am, Jeff Schwab [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
On Feb 26, 10:59 am, Preston Landers [EMAIL PROTECTED] wrote:
On Feb 26, 1:45 am, [EMAIL PROTECTED]
On Feb 26, 12:37 pm, Jeff Schwab [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
On Feb 26, 12:04 pm, Jeff Schwab [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
On Feb 26, 11:37 am, Jeff Schwab [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
On Feb 26, 10:59 am, Preston Landers
[EMAIL PROTECTED] wrote:
On Feb 26, 12:37 pm, Jeff Schwab [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
On Feb 26, 12:04 pm, Jeff Schwab [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
On Feb 26, 11:37 am, Jeff Schwab [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
On Feb 26, 10:59
On Feb 26, 12:42 pm, Jeff Schwab [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
On Feb 26, 12:37 pm, Jeff Schwab [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
On Feb 26, 12:04 pm, Jeff Schwab [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
On Feb 26, 11:37 am, Jeff Schwab
On Feb 26, 1:11 pm, Dennis Lee Bieber [EMAIL PROTECTED] wrote:
On Tue, 26 Feb 2008 09:49:00 -0800 (PST), [EMAIL PROTECTED] declaimed
the following in comp.lang.python:
I am not a troll. I want a sustainable, healthy, productive,
educational, informative relationship with frequenters
[EMAIL PROTECTED] wrote:
On Feb 26, 12:42 pm, Jeff Schwab [EMAIL PROTECTED] wrote:
...
th1 th2
set cmd
run cmd
get result
acknowledge
continue continue
th2 won't -run cmd- until th1 completes -set cmd-. th1 won't -get
result- until th2 completes -run cmd-.
En Tue, 26 Feb 2008 15:49:00 -0200, [EMAIL PROTECTED] escribió:
I'm not quite sure a semaphore is exactly the synchronization object
I'm looking for, but I'm a little new to concurrency myself.
The easiest way to implement a producer-consumer model in Python, is using
a Queue.Queue object.
On Feb 26, 8:31 pm, Gabriel Genellina [EMAIL PROTECTED]
wrote:
En Tue, 26 Feb 2008 15:49:00 -0200, [EMAIL PROTECTED] escribió:
I'm not quite sure a semaphore is exactly the synchronization object
I'm looking for, but I'm a little new to concurrency myself.
The easiest way to implement a
On Feb 26, 4:15 pm, Jeff Schwab [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
On Feb 26, 12:42 pm, Jeff Schwab [EMAIL PROTECTED] wrote:
...
th1 th2
set cmd
run cmd
get result
acknowledge
continue continue
th2 won't -run cmd- until th1 completes -set
On Feb 26, 2:17 pm, Dennis Lee Bieber [EMAIL PROTECTED] wrote:
On Tue, 26 Feb 2008 10:39:04 -0800 (PST), [EMAIL PROTECTED] declaimed
the following in comp.lang.python:
The relevant snippet is:
def thloop( thd ):
while thd.cont:
with thd.step[1]:
if not
En Wed, 27 Feb 2008 00:50:19 -0200, [EMAIL PROTECTED] escribió:
On Feb 26, 8:31 pm, Gabriel Genellina [EMAIL PROTECTED]
wrote:
En Tue, 26 Feb 2008 15:49:00 -0200, [EMAIL PROTECTED] escribió:
I'm not quite sure a semaphore is exactly the synchronization object
I'm looking for, but I'm a
On Feb 26, 8:50 pm, [EMAIL PROTECTED] wrote:
Doesn't Queue.Queue operate by side effect?
Are you sure you aren't a Turing testbot? What does that question
even *mean*?
Wait! Don't bother answering, I'm already bored with this thread.
I agree with Gabriel. Instead of randomly sprinkling locks
Specify
def thloop( th ):
while th.cont:
with th.step[2]:
th.ret= th.cmd+ 1
def acq( th ):
with th.step[1]:
th.cmd= 100
with th.step[3]:
ret1= th.ret
th.step.reset()
assert ret1== 101
Is it enough?
--
On Feb 25, 9:30 pm, [EMAIL PROTECTED] wrote:
Is it enough?
(Reminds me of the movie Marathon Man, in which Dustin Hoffman is
repeatedly asked by Laurence Olivier, Is it safe? Hoffman had no
idea what Olivier was talking about. So Olivier tortured Hoffman some
more to get the answer.)
Enough
On Feb 25, 11:52 pm, Paul McGuire [EMAIL PROTECTED] wrote:
On Feb 25, 9:30 pm, [EMAIL PROTECTED] wrote:
Is it enough?
(Reminds me of the movie Marathon Man, in which Dustin Hoffman is
repeatedly asked by Laurence Olivier, Is it safe? Hoffman had no
idea what Olivier was talking about.
Clarify:
def thdloop( thd ):
while thd.cont:
thd.sig1event.wait()
ret= thd.cmd()
thd.result= ret
thd.sig2event.set()
thd.seg3event.wait()
and
def consumer( thd ):
thd.cmd= function
thd.sig1event.set()
thd.sig2event.wait()
ret= thd.result
41 matches
Mail list logo