Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #45530
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.002 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'method.': 0.07; 'pypy': 0.07; 'dan': 0.09; 'methods,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:instance': 0.09; 'subject:method': 0.09; 'python': 0.11; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject: \n ': 0.16; 'unbound': 0.16; 'wrote:': 0.18; '>>>': 0.22; 'example': 0.22; 'header:User- Agent:1': 0.23; 'header:X-Complaints-To:1': 0.27; 'header:In- Reply-To:1': 0.27; 'point': 0.28; "doesn't": 0.30; 'errors': 0.30; 'work.': 0.31; '3.x': 0.31; 'subject: (': 0.35; 'subject:with': 0.35; 'should': 0.36; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'received:173': 0.61; 'different': 0.65; 'otten': 0.84; 'received:fios.verizon.net': 0.84; 'subject:nothing': 0.84; 'subject:add': 0.91 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Terry Jan Reedy <tjreedy@udel.edu> |
| Subject | Re: TypeError: unbound method add() must be called with BinaryTree instance as first argument (got nothing instead) |
| Date | Sat, 18 May 2013 17:05:57 -0400 |
| References | <CAGGBd_q6AB8ARcotzu4QpS1N3BwKCOr=PGv6oUewsM=b-j=SEA@mail.gmail.com> <kn8lqn$sd$1@ger.gmane.org> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | pool-173-75-251-66.phlapa.fios.verizon.net |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 |
| In-Reply-To | <kn8lqn$sd$1@ger.gmane.org> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| 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.1819.1368911165.3114.python-list@python.org> (permalink) |
| Lines | 19 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1368911165 news.xs4all.nl 15948 [2001:888:2000:d::a6]:52749 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:45530 |
Show key headers only | View raw
On 5/18/2013 3:46 PM, Peter Otten wrote: > Dan Stromberg wrote: > >> python 2.x, python 3.x and pypy all give this same error, though jython >> errors out at a different point in the same method. > > By the way, 3.x doesn't have unbound methods, so that should work. It does for this example (3.3.1) >>> c = C() >>> c.m() <__main__.C object at 0x00000000033FC5F8> >>> C.m(c) <__main__.C object at 0x00000000033FC5F8> >>> C.m(self=c) <__main__.C object at 0x00000000033FC5F8>
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: TypeError: unbound method add() must be called with BinaryTree instance as first argument (got nothing instead) Terry Jan Reedy <tjreedy@udel.edu> - 2013-05-18 17:05 -0400
csiph-web