New submission from Florian Ludwig flor...@leijuna.de:
The documentation states:
In non-blocking mode, if a recv() call doesn’t find any data, [...], a error
exception is raised; [0]
Which is wrong. If no data is available recv() does not raise an exception but
returns an empty string.
[0
before by psyco:
http://psyco.sourceforge.net/
No need for a decorator though.
--
Florian Ludwig d...@phidev.org
--
http://mail.python.org/mailman/listinfo/python-list
python
# -*- coding: utf-8 -*-
def foo():
Some ütf-8 docstring ∑ g⊙f (x)
return False
EOF
help(test)
Help on module test:
NAME
test - # -*- coding: utf-8 -*-
FILE
/tmp/test.py
FUNCTIONS
foo()
Some ütf-8 docstring ∑ g⊙f (x)
--
Florian Ludwig d...@phidev.org
On Tue, 2010-02-16 at 19:20 +0100, Diez B. Roggisch wrote:
Am 15.02.10 23:12, schrieb Florian Ludwig:
On Sun, 2010-02-14 at 18:47 +0100, Diez B. Roggisch wrote:
Here there problem with the trac (and other plugin systems I've
seen)
approach:
You need to define something like
On Tue, 2010-02-16 at 16:14 +0100, Paul Kölle wrote:
Am 15.02.2010 23:12, schrieb Florian Ludwig:
On Sun, 2010-02-14 at 18:47 +0100, Diez B. Roggisch wrote:
[...]
And then of course, this is not really needed. In Python, behavior
counts, not type-information. So you can get away without
? Any obvious pitfalls (besides reinventing something)?
Please keep in mind that syntax/api is not done or anything its just
an concept presentation.
Thanks,
Florian
--
Florian Ludwig d...@phidev.org
signature.asc
Description: This is a digitally signed message part
--
http://mail.python.org
a similar topic. Maybe some of the thoughts expressed there might
help you as well:
http://groups.google.com/group/comp.lang.python/browse_thread/thread/0a210267753919b0/5add7bc93789b418
Florian
--
Florian Ludwig d...@phidev.org
signature.asc
Description: This is a digitally signed message
On Sun, 2010-02-14 at 10:16 +0100, Paul Kölle wrote:
Am 13.02.2010 10:50, schrieb Florian Ludwig:
Hi,
I'm looking for a module/plugin/intra-process-communication/hook system
for python. Maybe someone here could point me to some project I missed
or might have some good ideas if I end up
Hi,
I'm looking for a module/plugin/intra-process-communication/hook system
for python. Maybe someone here could point me to some project I missed
or might have some good ideas if I end up implementing it myself.
Most systems I have found are one to many communications but I would
like many to