Thanks for your replies.
In article <[EMAIL PROTECTED]>,
Arnaud Delobelle <[EMAIL PROTECTED]> writes:
arnodel> def f1():
arnodel> print "f1 start"
arnodel> yield f2,
arnodel> print "f1 foo"
arnodel> v = yield f2,
arnodel> print "f1 v=%s world" % v
arnodel> yield f2, "OK"
Hi all.
I found cooperative multi-threading(only one thread runs at once,
explicit thread switching) is useful for writing some simulators.
With it, I'm able to be free from annoying mutual exclusion, and make
results deterministic.
For this purpose, and inspired by Ruby(1.9) fiber, I wrote my o
Hi Ross.
Thanks a lot for your clarifying. I didn't think my post could be an
Unicode frame.
I don't know this mailing list is the right place talking about
Unicode issue, but as for me, a million codespace which UTF-16 brings
is not enough. It presume that same characters has a same codepoint
Hi Steve.
In article <[EMAIL PROTECTED]>,
Steve Holden <[EMAIL PROTECTED]> writes:
steve> Akihiro KAYAMA wrote:
steve> > Hi all.
steve> >
steve> > I would like to ask how I can implement string-like class using tuple
steve> > or list. Does anyone know
Hi And.
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] writes:
and-google> Akihiro KAYAMA wrote:
and-google> > As the character set is wider than UTF-16(U+10), I can't use
and-google> > Python's native unicode string class.
and-google>
and-google> Ha
Hi bearophile.
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] writes:
bearophileHUGS> Maybe you can create your class using an array of 'L' with the
array
bearophileHUGS> standard module.
Thanks for your suggestion. I'm currently using an usual list as a
internal representation. According to
Hi all.
I would like to ask how I can implement string-like class using tuple
or list. Does anyone know about some example codes of pure python
implementation of string-like class?
Because I am trying to use Python for a text processing which is
composed of a large character set. As the characte