Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.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.029 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'mrab': 0.05; 'record.': 0.09; 'subject:command': 0.09; 'stored': 0.10; '12:57': 0.16; 'pythonic': 0.16; 'received:corp': 0.16; 'tables,': 0.16; 'wrote:': 0.17; "shouldn't": 0.17; 'module': 0.19; 'header:In- Reply-To:1': 0.25; 'decide': 0.28; 'record': 0.28; 'attempting': 0.29; 'probably': 0.29; 'on,': 0.30; 'code': 0.31; 'to:addr :python-list': 0.33; 'pm,': 0.35; 'should': 0.36; 'charset:us- ascii': 0.36; 'data': 0.37; 'subject:: ': 0.38; 'possible.': 0.38; 'to:addr:python.org': 0.39; 'think': 0.40; 'your': 0.60; 'most': 0.61; 'header:Message-Id:1': 0.62; 'jul': 0.65; 'approach.': 0.91; 'subject:records': 0.91 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1278) Subject: Re: Foxpro goto command and deleted records From: Ed Leafe In-Reply-To: <5006F91D.6030306@mrabarnett.plus.com> Date: Wed, 18 Jul 2012 14:13:40 -0500 Content-Transfer-Encoding: quoted-printable References: <5005EDC0.6050608@stoneleaf.us> <8416AFAF-E201-4F89-B306-D89F920A00FE@leafe.com> <5006F0F7.8030004@stoneleaf.us> <485D3051-777B-49DA-8FD9-383F5807F827@leafe.com> <5006F91D.6030306@mrabarnett.plus.com> To: python-list@python.org X-Mailer: Apple Mail (2.1278) 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: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1342638823 news.xs4all.nl 6907 [2001:888:2000:d::a6]:58091 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:25586 On Jul 18, 2012, at 12:57 PM, MRAB wrote: >> #4 is probably the most Pythonic approach. The calling code can = then decide how to react to attempting to access a deleted record. Even = if you're accessing data stored in VFP tables, your module should be as = Pythonic as possible. >>=20 > I disagree. I think that if you can see it should be able to go to it. The use case was a deleted record with SET DELETED ON, which = means you shouldn't "see" it.=20 -- Ed Leafe