Re: How do you get rid of useless warnings?

2008-10-07 Thread Martin Geisler
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

Re: Tuple parameter unpacking in 3.x

2008-10-05 Thread Martin Geisler
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

Re: Tuple parameter unpacking in 3.x

2008-10-05 Thread Martin Geisler
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

Re: Tuple parameter unpacking in 3.x

2008-10-04 Thread Martin Geisler
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

Re: Tuple parameter unpacking in 3.x

2008-10-04 Thread Martin Geisler
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

Tuple parameter unpacking in 3.x

2008-10-02 Thread Martin Geisler
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

VIFF 0.7

2008-09-21 Thread Martin Geisler
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

ANN: Mercurial 1.0.2

2008-08-15 Thread Martin Geisler
/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

VIFF 0.5

2008-04-29 Thread Martin Geisler
. -- 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

[issue2485] Traceback changed in 2.6 for unhashable objects

2008-03-25 Thread Martin Geisler
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

VIFF 0.4

2008-03-13 Thread Martin Geisler
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