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


Groups > comp.lang.python > #49789

Re: [SPOILERS] Python easter eggs

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed1.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; 'subject:: [': 0.04; 'subject:Python': 0.06; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; '\xe2\x80\x94': 0.09; 'python': 0.11; '__future__': 0.16; 'finney': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:] ': 0.20; 'import': 0.22; 'header:User-Agent:1': 0.23; 'header:X-Complaints-To:1': 0.27; 'wright': 0.31; 'writes:': 0.31; 'machine.': 0.36; 'ben': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'ian': 0.60; 'different': 0.65; 'between': 0.67; 'money': 0.72
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Ben Finney <ben+python@benfinney.id.au>
Subject Re: [SPOILERS] Python easter eggs
Date Thu, 04 Jul 2013 10:59:13 +1000
References <51d4272a$0$29999$c3e8da3$5496439d@news.astraweb.com> <51D42F22.7060300@feete.org> <CALwzidnQH=URYFPHNkk-NAyWJPGsAyo0yLkOm9-vW60+ToGTDQ@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Gmane-NNTP-Posting-Host rasputin.madmonks.org
X-Public-Key-ID 0xBD41714B
X-Public-Key-Fingerprint 9CFE 12B0 791A 4267 887F 520C B7AC 2E51 BD41 714B
X-Public-Key-URL http://www.benfinney.id.au/contact/bfinney-gpg.asc
X-Post-From Ben Finney <bignose+hates-spam@benfinney.id.au>
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)
Cancel-Lock sha1:21Rf2Qh7L+EAkvZzBJqJq/7fBmY=
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.4194.1372899576.3114.python-list@python.org> (permalink)
Lines 16
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1372899576 news.xs4all.nl 15903 [2001:888:2000:d::a6]:40432
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:49789

Show key headers only | View raw


Ian Kelly <ian.g.kelly@gmail.com> writes:

> from __future__ import barry_as_FLUFL

Only works in Python 3 (raises a SyntaxError in Python 2).

> import __hello__

Different between Python 2 and Python 3 — try it in both!

-- 
 \          “I spent all my money on a FAX machine. Now I can only FAX |
  `\                                          collect.” —Steven Wright |
_o__)                                                                  |
Ben Finney

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


Thread

[SPOILERS] Python easter eggs Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-07-03 13:29 +0000
  Re: [SPOILERS] Python easter eggs Ian Foote <ian@feete.org> - 2013-07-03 15:03 +0100
  Re: [SPOILERS] Python easter eggs Chris Angelico <rosuav@gmail.com> - 2013-07-04 00:11 +1000
  Re: [SPOILERS] Python easter eggs Ian Kelly <ian.g.kelly@gmail.com> - 2013-07-03 10:14 -0600
  Re: [SPOILERS] Python easter eggs Ian Kelly <ian.g.kelly@gmail.com> - 2013-07-03 10:15 -0600
    Re: [SPOILERS] Python easter eggs Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-07-03 17:22 +0000
  Re: [SPOILERS] Python easter eggs Ben Finney <ben+python@benfinney.id.au> - 2013-07-04 10:59 +1000
    Re: [SPOILERS] Python easter eggs alex23 <wuwei23@gmail.com> - 2013-07-04 11:35 +1000

csiph-web