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


Groups > comp.lang.python > #66100

Re: Simple Object assignment giving me errors

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.052
X-Spam-Evidence '*H*': 0.90; '*S*': 0.00; 'typed': 0.09; 'cc:addr :python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:Object': 0.16; 'userdict': 0.16; 'wrote:': 0.18; 'library': 0.18; 'thu,': 0.19; 'feb': 0.22; 'import': 0.22; 'cc:addr:python.org': 0.22; 'error': 0.23; 'cc:2**0': 0.24; 'post': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'statement': 0.30; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'that.': 0.31; '13,': 0.31; 'time:': 0.31; 'actual': 0.34; 'copying': 0.34; 'skip:d 20': 0.34; 'message.': 0.35; 'something': 0.35; 'definition': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'module.': 0.36; 'subject:Simple': 0.36; 'next': 0.36; 'minimum': 0.38; 'does': 0.39; 'simply': 0.61; "you're": 0.61; 'show': 0.63; 'useful.': 0.68; 'cut': 0.74; 'mean.': 0.91; 'to:none': 0.92
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=J18nQqDpDiLNK8gdRPe2MciVAwGMvVBLhWWuzKrQ/b8=; b=ht7ExrLC4bO3qYGKyq0GyVsrpTLTZWNpD4htbwHwwU7OwLOqVDlYY5vT0HEdqFKWFX EXoDbNhoQnMrRl3MflKGJfrDtHQEagN+ZJIWpPBE4EwK/IoIi+3RpG126v4/AJm72NFC Qglo9vm4kBUtJ2MoChlMHumFLFC2ZwCDAl940Oj9YIiOJ00FrUXugaHwcguCBcSDkyk4 RLIAYb9FGzhg/PaSqrSAOSiqG1MwGNpqpv4UtAAV2N9hjBCrW8DoGaDUfylGbh/MdhiC 4jNlHnwUvCyJhieONtGRO7HlfgUMpQ9pQXqqseGLbMOeK+fZHylOuZgPZBEuZI3iOKv/ NcaQ==
MIME-Version 1.0
X-Received by 10.68.200.74 with SMTP id jq10mr6307971pbc.169.1392241711353; Wed, 12 Feb 2014 13:48:31 -0800 (PST)
In-Reply-To <5697d584-28ba-44e6-a60a-cb5ff9ae19aa@googlegroups.com>
References <d7d2865e-4184-4c05-b1bd-b4f16547b2f2@googlegroups.com> <5697d584-28ba-44e6-a60a-cb5ff9ae19aa@googlegroups.com>
Date Thu, 13 Feb 2014 08:48:31 +1100
Subject Re: Simple Object assignment giving me errors
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
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 <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.6796.1392241714.18130.python-list@python.org> (permalink)
Lines 13
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1392241714 news.xs4all.nl 2861 [2001:888:2000:d::a6]:43250
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:66100

Show key headers only | View raw


On Thu, Feb 13, 2014 at 8:42 AM, Nir <nirchernia@gmail.com> wrote:
> Also, UserDict is a built in module. I just typed it out so as to give reference or any clue as to why I cant instantiate jeez.

Recommendation for next time: Don't type it out, copy and paste it.
Show the actual code you ran, and the actual error message.

As a debugging/exploration technique, btw, copying in the definition
of something from the standard library is often useful. You can then
cut it down to the barest minimum that does what you want, and post
that. But if you're using UserDict exactly as it is in the stdlib, you
can simply show your import statement and we'll know what you mean.

ChrisA

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


Thread

Simple Object assignment giving me errors Nir <nirchernia@gmail.com> - 2014-02-12 13:18 -0800
  Re: Simple Object assignment giving me errors Chris Angelico <rosuav@gmail.com> - 2014-02-13 08:26 +1100
  Re:Simple Object assignment giving me errors Dave Angel <davea@davea.name> - 2014-02-12 16:41 -0500
  Re: Simple Object assignment giving me errors Nir <nirchernia@gmail.com> - 2014-02-12 13:42 -0800
    Re: Simple Object assignment giving me errors Chris Angelico <rosuav@gmail.com> - 2014-02-13 08:48 +1100
    Re: Simple Object assignment giving me errors Jerry Hill <malaclypse2@gmail.com> - 2014-02-12 17:09 -0500
  Re: Simple Object assignment giving me errors Nir <nirchernia@gmail.com> - 2014-02-12 14:25 -0800

csiph-web