Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #21185

Jython callable. How?

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!tudelft.nl!txtfeed1.tudelft.nl!multikabel.net!newsfeed20.multikabel.net!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <web.elektro.net@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.017
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'cpython': 0.05; 'interpreter': 0.05; 'callable': 0.09; 'callable.': 0.09; 'not?': 0.09; 'jython': 0.16; 'received:74.125.82.44': 0.16; 'received :mail-ww0-f44.google.com': 0.16; 'btw,': 0.23; 'defined': 0.24; 'code': 0.26; 'says': 0.27; 'message-id:@mail.gmail.com': 0.29; 'subject:?': 0.31; 'object': 0.33; 'to:addr:python-list': 0.35; 'subject:How': 0.35; 'received:74.125.82': 0.36; 'but': 0.37; 'received:google.com': 0.37; 'received:74.125': 0.38; 'to:addr:python.org': 0.40; 'header:Received:6': 0.61; 'subject:. ': 0.63; '__call__': 0.84; 'received:10.180': 0.84
Received-SPF pass (google.com: domain of web.elektro.net@gmail.com designates 10.180.92.34 as permitted sender) client-ip=10.180.92.34;
Authentication-Results mr.google.com; spf=pass (google.com: domain of web.elektro.net@gmail.com designates 10.180.92.34 as permitted sender) smtp.mail=web.elektro.net@gmail.com; dkim=pass header.i=web.elektro.net@gmail.com
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=CIBTNMkk7YIYgoa9uXKiJ+PvQLGqUBUm29zNC/WzbUA=; b=CYx5wBJBy2dRX1FkdsMCm086BKkfkUfL2SOZRfvrHQlzG+7KlmiABn/LtqE74QyOrp vr2sMJh4uN+GtBozqSahvEnIFu1bIbGXCpyV4nNg+FcbQrhzxULKnSphs3mqdop97UPf s3xAhDenKjaEBuX+P9IxzRGnpNg6F9idQHT8HFkKf9O1ZG8Qi6WdwlmZDMiRh3iDXnMv tqUkcoZaYLv7GfrR4NHraMV5E/Vh1KzUIl9PH9dhR1MxF1gvfEWEjrbyDdIKaG6nHlQL nabZ8LZsFz9D4iOxlysSEw1qkJCvF4JB3l9BEbbX676H1l7c9HrEQa9O4zWqpgDgraHC SanQ==
MIME-Version 1.0
Date Sun, 4 Mar 2012 16:03:56 +0700
Subject Jython callable. How?
From Sirotin Roman <web.elektro.net@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.373.1330851839.3037.python-list@python.org> (permalink)
Lines 4
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1330851839 news.xs4all.nl 6866 [2001:888:2000:d::a6]:44885
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:21185

Show key headers only | View raw


Hi.
How exactly jython decides is object callable or not? I defined
__call__ method but interpreter says it's still not callable.
BTW, my code works in cpython

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Jython callable. How? Sirotin Roman <web.elektro.net@gmail.com> - 2012-03-04 16:03 +0700
  Re: Jython callable. How? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-03-04 10:26 +0000
    Re: Jython callable. How? Sirotin Roman <web.elektro.net@gmail.com> - 2012-03-04 21:14 +0700

csiph-web