Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: 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; 'binary': 0.05; 'things.': 0.05; 'subject:Python': 0.05; 'indicated': 0.07; 'indeed,': 0.09; 'received:209.85.213.46': 0.09; 'received:mail- yw0-f46.google.com': 0.09; 'systems.': 0.12; 'fix': 0.14; 'dec': 0.14; 'assembler': 0.16; 'awesome.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'function?': 0.16; 'reboot': 0.16; 'trap': 0.16; 'wed,': 0.18; 'wrote:': 0.19; 'expanded': 0.21; 'header:In-Reply-To:1': 0.22; "i've": 0.24; 'message-id:@mail.gmail.com': 0.24; 'function': 0.26; 'subject: [': 0.28; 'especially': 0.28; 'source': 0.29; 'assistance,': 0.30; 'initial': 0.30; 'practical': 0.30; 'received:209.85': 0.32; 'received:google.com': 0.32; 'code': 0.32; 'running': 0.33; 'am,': 0.34; 'to:addr:python-list': 0.35; 'received:209': 0.35; 'heard': 0.35; 'grant': 0.36; 'but': 0.37; 'subject:: ': 0.37; 'unable': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'quite': 0.40; '2012': 0.62; 'computers': 0.66; 'edwards': 0.91 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:to :content-type:content-transfer-encoding; bh=mvnIVvFx/OUbA0lsJz0IGAy/1dBP0DXvEuKgEh/Zt1s=; b=EMd5ye0ccx3CN2EiYA5yco7MO9D0zid6AnwnQBCF/SqibKHrQoPNH8SmpTTlIMukom TyRSFqgubuRo5nNwNpZsbHWnWSxnGwdjlrh+BpA5eSeSdqhlRw3nJWIJs+k/rnNXiym7 ZDPpTFPbHzWv4X3HlC9WrRZXvOrEUvNebKXeQuBwc7PRk307+vxI4jTHlGT/kPQxBPHA MLq5EXYvwg5uAI7Vim2EyZTzuO70ifoqL2SvWX9U9A4mX3J5sbezfderXHXRYokYyyDf Bh8LiVPHsGZoPD1IIMNB8Bpe8mfjkZ+MBxyLP12szcREOyH+L2qiCFWKqUV2p5BH9xQA aLDA== MIME-Version: 1.0 In-Reply-To: References: <4f7512db$0$29981$c3e8da3$5496439d@news.astraweb.com> <78a6d2f8-23de-496a-afb7-943b60e57c88@mq9g2000pbb.googlegroups.com> <94c6033a-26e7-4b49-911c-b63ca01d13ea@wj4g2000pbc.googlegroups.com> <0f1ead89-f0f1-4179-904d-ec1efda38809@t2g2000pbg.googlegroups.com> Date: Wed, 4 Apr 2012 00:56:07 +1000 Subject: Re: Number of languages known [was Re: Python is readable] - somewhat OT From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1333464971 news.xs4all.nl 6953 [2001:888:2000:d::a6]:60565 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:22603 On Wed, Apr 4, 2012 at 12:46 AM, Grant Edwards wr= ote: > Anybody remember DEC's VAX/VMS "patch" utility? =A0Apparently, DEC > thought it was a practical way to fix things. =A0It had a built-in > assembler and let you "insert" new code into a function by > auto-allocating a location for the new code an hooking it into the > indicated spot with jump instructions. > > The mind wobbled. Not specifically, but I _have_ heard of various systems whose source code and binary were multiple years divergent. It's actually not a difficult trap to fall into, especially once you start patching running systems. I've had quite a few computers that have been unable to reboot without assistance, because they go for months or years without ever having to go through that initial program load. (I've had _programs_ that were unable to load, for the same reason.) But auto-allocating a new spot for your expanded function? That's just... awesome. My mind is, indeed, wobbling. ChrisA