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


Groups > comp.lang.python > #25586

Re: Foxpro goto command and deleted records

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 <ed@leafe.com>
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 <ed@leafe.com>
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 <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.2277.1342638823.4697.python-list@python.org> (permalink)
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

Show key headers only | View raw


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.
>> 
> 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. 


-- Ed Leafe


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


Thread

Re: Foxpro goto command and deleted records Ed Leafe <ed@leafe.com> - 2012-07-18 14:13 -0500

csiph-web