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


Groups > comp.lang.python > #82549

Re: Python console rejects an object reference, having made an object with that reference as its name in previous line

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <zachary.ware@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.018
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'win32': 0.03; 'subject:Python': 0.06; 'python': 0.11; '(1,': 0.16; '__future__': 0.16; 'subject: \n ': 0.16; 'subject:object': 0.16; 'sender:addr:gmail.com': 0.17; 'wrote:': 0.18; 'bit': 0.19; '>>>': 0.22; 'import': 0.22; 'to:name:python-list@python.org': 0.22; 'header:In-Reply-To:1': 0.27; 'michael': 0.29; 'dec': 0.30; 'message-id:@mail.gmail.com': 0.30; 'subject:that': 0.31; 'guess': 0.33; 'subject:with': 0.35; "can't": 0.35; 'received:google.com': 0.35; '14,': 0.36; 'keyword': 0.36; 'error.': 0.37; 'nov': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'future': 0.60; 'more': 0.64; '2014,': 0.84; 'subject:made': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=HlZ2qYWXLErWEMFvtbh/csonlC7rptBlUMP18FJeiL8=; b=h3I/DEmW8NSE6M2n01IEx1g9QDUNT0STmAPh2JnXD+gBzBj3C0vedOHgYw8+JcZqUY 1kLlZ+f+hI4WdhJ4zdfZG1XpQ9/kpQxRUfk81J68J4scUHdxaYmWpxPBQ114WH4tCFMN aO1sX6ghS0/of8nVA8qFXTb8cdpJ1IFtWmJ7aZRYH6b/Snbrh+3+LymhEyd02v7opJ08 k//Ph077TXbK6K+J7oPYx12Z3cJJIHBSaZIqgtL5R1P55NQwLaBE+tY1amdG4ebLkl4r AxiY8hf/k32RvxZTuUz5juaE6x6PUjuDtj+M4qgbBVj14dQS1+VPxm5AeMMI+6c4HwxI EHpg==
X-Received by 10.202.204.208 with SMTP id c199mr17111241oig.42.1418622708461; Sun, 14 Dec 2014 21:51:48 -0800 (PST)
MIME-Version 1.0
Sender zachary.ware@gmail.com
In-Reply-To <548E73C2.1040006@gmail.com>
References <01937423-e700-4825-a502-568dcb2d5324@googlegroups.com> <41c32aed-315a-43df-9dc6-380d0ecc3425@googlegroups.com> <548e4837$0$13012$c3e8da3$5496439d@news.astraweb.com> <m6li43$spf$1@ger.gmane.org> <548E7129.1000807@gmail.com> <CAPTjJmqgk737UgsUAeg5JzA5E3QcfLW1bV0_yO0RHcPU60AEhg@mail.gmail.com> <548E73C2.1040006@gmail.com>
From Zachary Ware <zachary.ware+pylist@gmail.com>
Date Sun, 14 Dec 2014 23:51:28 -0600
X-Google-Sender-Auth XXMpM0TDhyXmcFxyDeKFxDPJl_E
Subject Re: Python console rejects an object reference, having made an object with that reference as its name in previous line
To "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.16972.1418622717.18130.python-list@python.org> (permalink)
Lines 17
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1418622717 news.xs4all.nl 2948 [2001:888:2000:d::a6]:41470
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:82549

Show key headers only | View raw


On Sun, Dec 14, 2014 at 11:38 PM, Michael Torrie <torriem@gmail.com> wrote:
> Guess the future import is only to make not having parens and error.

Python 2.7.8+ (default, Nov  2 2014, 00:32:19) [MSC v.1500 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> print(1, 2)
(1, 2)
>>> from __future__ import print_function
>>> print(1, 2)
1 2

Also, without the future import you can't use the 'sep', 'end', and
'file' keyword arguments.

-- 
Zach

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


Thread

Python console rejects an object reference, having made an object with that reference as its name in previous line Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-12-14 08:15 -0800
  Re: Python console rejects an object reference, having made an object with that reference as its name in previous line Ned Batchelder <ned@nedbatchelder.com> - 2014-12-14 11:36 -0500
  Re: Python console rejects an object reference, having made an object with that reference as its name in previous line Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-12-14 10:37 -0800
    Re: Python console rejects an object reference, having made an object with that reference as its name in previous line Jussi Piitulainen <jpiitula@ling.helsinki.fi> - 2014-12-14 20:51 +0200
  Re: Python console rejects an object reference, having made an object with that reference as its name in previous line Billy Earney <billy.earney@gmail.com> - 2014-12-14 10:43 -0600
  Re: Python console rejects an object reference, having made an object with that reference as its name in previous line Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-12-14 15:21 -0800
    Re: Python console rejects an object reference, having made an object with that reference as its name in previous line Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-12-15 11:36 +1100
    Re: Python console rejects an object reference, having made an object with that reference as its name in previous line Chris Roy-Smith <chris_roysmith@internode.on.net> - 2014-12-15 13:32 +1100
      Re: Python console rejects an object reference, having made an object with that reference as its name in previous line Chris Angelico <rosuav@gmail.com> - 2014-12-15 13:42 +1100
      Re: Python console rejects an object reference, having made an object with that reference as its name in previous line Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-12-15 02:47 +0000
      Re: Python console rejects an object reference, having made an object with that reference as its name in previous line Michael Torrie <torriem@gmail.com> - 2014-12-14 22:27 -0700
      Re: Python console rejects an object reference, having made an object with that reference as its name in previous line Chris Angelico <rosuav@gmail.com> - 2014-12-15 16:32 +1100
      Re: Python console rejects an object reference, having made an object with that reference as its name in previous line Michael Torrie <torriem@gmail.com> - 2014-12-14 22:38 -0700
      Re: Python console rejects an object reference, having made an object with that reference as its name in previous line Zachary Ware <zachary.ware+pylist@gmail.com> - 2014-12-14 23:51 -0600
      Re: Python console rejects an object reference, having made an object with that reference as its name in previous line Chris Angelico <rosuav@gmail.com> - 2014-12-15 16:52 +1100
  Re: Python console rejects an object reference, having made an object with that reference as its name in previous line Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-12-18 08:19 -0800
    Re: Python console rejects an object reference, having made an object with that reference as its name in previous line Michael Torrie <torriem@gmail.com> - 2014-12-18 09:35 -0700
  Re: Python console rejects an object reference, having made an object with that reference as its name in previous line Simon Evans <musicalhacksaw@yahoo.co.uk> - 2015-01-04 04:49 -0800
    Re: Python console rejects an object reference, having made an object with that reference as its name in previous line Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-01-04 13:11 +0000
    Re: Python console rejects an object reference, having made an object with that reference as its name in previous line Dave Angel <davea@davea.name> - 2015-01-04 09:14 -0500

csiph-web