matches the (fully-qualified) module name; this
match is case-sensitive. The line field matches the line num-
ber, where zero matches all line numbers and is thus equivalent
to an omitted line number.
--
Martin Geisler
VIFF (Virtual Ideal Functionality Framework
Steven D'Aprano [EMAIL PROTECTED] writes:
On Sat, 04 Oct 2008 17:07:14 +0200, Martin Geisler wrote:
A somewhat related question: do I pay a performance penalty when I
let a function define an inner function like this:
def foo():
def bar()
...
bar()
compared
Steven D'Aprano [EMAIL PROTECTED] writes:
On Sat, 04 Oct 2008 22:57:23 +0200, Martin Geisler wrote:
Here's another alternative. Compare:
x = (2, 3)
(lambda (a,b): a*b)(x)
6
with this:
(lambda a,b: a*b)(*x)
6
Letting the callbacks take several arguments would definitely be the
nicest
of foo.
--
Martin Geisler
VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multi-Party Computation) to Python. See: http://viff.dk/.
pgp8h0HQCkWkD.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
to say
that it matters to me.
--
Martin Geisler
VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multi-Party Computation) to Python. See: http://viff.dk/.
pgpd5Qp426xvo.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
feature is a big plus since it makes the code more readable.
--
Martin Geisler
VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multi-Party Computation) to Python. See: http://viff.dk/.
pgp2apNYlyOtF.pgp
Description: PGP signature
--
http://mail.python.org/mailman
outputs.
--
Martin Geisler
VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multi-Party Computation) to Python. See: http://viff.dk/.
pgpMRPSpF4lWj.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support
/index.cgi/WhatsNew
--
Martin Geisler
pgpjhPE6nm0hq.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations.html
.
--
Martin Geisler
VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multi-Party Computation) to Python. See: http://viff.dk/.
pgpyIQdHNYY11.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python
New submission from Martin Geisler [EMAIL PROTECTED]:
The traceback message given when trying to hash unhashable objects has
changed from Python 2.5 to 2.6:
Python 2.5.2a0 (r251:54863, Feb 10 2008, 01:31:28)
hash([])
Traceback (most recent call last):
File stdin, line 1, in module
TypeError
a cryptographic
protocol which allows them to obtain a correct answer without
revealing their inputs. Operations supported include addition,
multiplication, and comparison, all with Shamir secret shared outputs.
--
Martin Geisler
VIFF (Virtual Ideal Functionality Framework) brings easy
11 matches
Mail list logo