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


Groups > comp.lang.python > #10782

Re: Early binding as an option

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.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.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'arguments': 0.05; 'type,': 0.07; '(those': 0.09; 'arguments.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'bieber': 0.16; 'declaimed': 0.16; 'email addr:ix.netcom.com': 0.16; 'email name:wlfraed': 0.16; 'from:addr:ix.netcom.com': 0.16; 'from:addr:wlfraed': 0.16; 'from:name:dennis lee bieber': 0.16; 'len': 0.16; 'lot;': 0.16; 'privilege': 0.16; 'received:66.245': 0.16; 'received:dsl.mindspring.com': 0.16; 'received:mindspring.com': 0.16; 'received:wlfraed': 0.16; 'subject:Early': 0.16; 'url:netcom': 0.16; 'url:wlfraed': 0.16; 'wulfraed': 0.16; 'object,': 0.16; 'aug': 0.19; 'operations.': 0.19; 'input': 0.21; 'assume': 0.23; '+0100,': 0.23; 'tue,': 0.23; 'code': 0.24; 'url:home': 0.25; 'parameters': 0.25; 'string': 0.26; 'function': 0.26; 'lee': 0.28; 'all,': 0.28; 'correct': 0.29; 'accessible': 0.29; 'replaced': 0.29; 'object': 0.30; 'characters,': 0.30; "it'd": 0.30; 'looks': 0.30; 'chris': 0.32; 'done,': 0.32; 'it.': 0.33; "i've": 0.33; 'to:addr:python-list': 0.34; 'header:X -Complaints-To:1': 0.34; 'normally': 0.34; 'that,': 0.35; 'flag': 0.35; "isn't": 0.35; 'actual': 0.35; 'charset:us-ascii': 0.36; 'operations': 0.36; 'similar': 0.37; 'some': 0.37; 'doing': 0.37; 'could': 0.37; 'using': 0.37; 'received:org': 0.38; 'user': 0.38; 'subject:: ': 0.38; 'header:Mime-Version:1': 0.39; 'help': 0.39; 'to:addr:python.org': 0.39; 'where': 0.40; 'address': 0.61; 'straight': 0.66; 'dennis': 0.77; 'programs,': 0.80
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: Early binding as an option
Date Tue, 02 Aug 2011 21:46:02 -0700
Organization > Bestiaria Support Staff <
References <CAPTjJmpWN1Tq-46UoHjh_-q9ahkivTWmLJR3_eF9iThHwXQnhA@mail.gmail.com> <4E38315C.1000102@jollybox.de> <CAPTjJmqfi8YfSYU8wHMZCxQ-3iYim+TOfq9qwn3MOq695R2Cgw@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host user-11fa6p9.dsl.mindspring.com
X-Newsreader Forte Agent 3.3/32.846
X-No-Archive YES
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.1820.1312346772.1164.python-list@python.org> (permalink)
Lines 24
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1312346772 news.xs4all.nl 23961 [2001:888:2000:d::a6]:34293
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:10782

Show key headers only | View raw


On Tue, 2 Aug 2011 18:42:01 +0100, Chris Angelico <rosuav@gmail.com>
declaimed the following in gmane.comp.python.general:

> Surely it must help a lot; looking up names is string operations. If
> "len" could be replaced with "@10794928" where 10794928 is the actual
> address of the len object, then it'd be doing no work that isn't
> normally done, and would go straight to the object and call it.
>
	Horrors... That looks like some MUF code I've seen (I never had a
MUF flag on my old characters, so had no privilege to write in MUF --
MPI was available to all, and even it had some links to MUF operations
using similar magic numbers).

	That, or attempts to use SYSTEM RPL on an HP calculator. Normal
"user" programs, using user commands (those accessible via
keyboard/menu) all include validation calls on their input arguments.
Using system RPL one can write programs/functions that check the
arguments once at the beginning, then assume all parameters will be of
the correct type, and bypass the validation on function internal
operations.
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
        wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

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


Thread

Re: Early binding as an option Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-08-02 21:46 -0700

csiph-web