Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #37271
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!weretis.net!feeder4.news.weretis.net!nuzba.szn.dk!pnx.dk!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.003 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'exception': 0.03; 'chunk': 0.07; 'variable,': 0.07; 'python': 0.09; '22,': 0.09; 'declarations': 0.09; 'garbage': 0.09; 'high- level': 0.09; 'yeah,': 0.09; 'steve': 0.13; 'language': 0.14; 'exceptions.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:handling': 0.16; 'wrote:': 0.17; 'working.': 0.17; 'jan': 0.18; 'memory': 0.18; 'module': 0.19; 'fairly': 0.21; 'effort.': 0.22; 'own.': 0.22; 'work,': 0.22; 'work.': 0.23; "i've": 0.23; 'header:In-Reply-To:1': 0.25; 'looks': 0.26; 'wondering': 0.26; 'c++': 0.27; 'message- id:@mail.gmail.com': 0.27; 'objects': 0.29; "i'm": 0.29; 'usually': 0.30; 'code': 0.31; '(and': 0.32; 'more,': 0.32; 'getting': 0.33; 'strict': 0.33; 'traceback': 0.33; 'to:addr :python-list': 0.33; 'languages': 0.33; 'received:google.com': 0.34; 'thanks': 0.34; 'problem,': 0.35; 'pm,': 0.35; 'received:209.85': 0.35; 'but': 0.36; "i'll": 0.36; 'enough': 0.36; 'turn': 0.36; 'why': 0.37; 'ones': 0.37; 'previous': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'easier': 0.38; 'some': 0.38; 'things': 0.38; 'to:addr:python.org': 0.39; 'takes': 0.39; 'where': 0.40; 'think': 0.40; 'skip:u 10': 0.60; 'spending': 0.61; 'fire': 0.62; 'close': 0.63; 'worth': 0.63; 'love': 0.63; 'more': 0.63; 'management': 0.65; 'life': 0.66; '2013': 0.84; 'pike': 0.84; 'simmons': 0.84; '"it': 0.91; 'ages': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=l77YZsbpkpBv7duwvbOzSb53KleFaQazGViYzPR4kuA=; b=m3PhhuA/Ad2qZ6PCND4VEEB1LY9d8yPLedl39EPkme+Vzc0NC7/SgPAgc7Zv9du79v T/ykLxsVpiqTgFtD8t+NM510RHkEfovqhSvzqEO23Q+cSGIKbOXRCb6ztloc3Q3tmFlu YOhhHE8QNLb4ecTswkzY0CzXqMEE8K22Rik6h6t+g7fgQnHb7Lpo1z6q1TfMtJfgh8J0 rFtm6yxYnEgO1sa/RmEqkB4edtA7it0FsE7/lx7YhzDXnTTBuF1cO0hiG93xK/DbtwNG goZTUattFzqb0hE3ikAcasQC8v/UbupoUVk5NlfgjlcjmHWAYnMDcdycBenlq/ZKyKCG 9r9g== |
| MIME-Version | 1.0 |
| X-Received | by 10.52.20.50 with SMTP id k18mr20629837vde.91.1358860204436; Tue, 22 Jan 2013 05:10:04 -0800 (PST) |
| In-Reply-To | <50FE47AB.10700@gmail.com> |
| References | <mailman.736.1358765181.2939.python-list@python.org> <XnsA14F71C8BA4D1duncanbooth@127.0.0.1> <50FE47AB.10700@gmail.com> |
| Date | Wed, 23 Jan 2013 00:10:04 +1100 |
| Subject | Re: handling return codes from CTYPES |
| From | Chris Angelico <rosuav@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=ISO-8859-1 |
| 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.787.1358860212.2939.python-list@python.org> (permalink) |
| Lines | 26 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1358860212 news.xs4all.nl 6954 [2001:888:2000:d::a6]:60366 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:37271 |
Show key headers only | View raw
On Tue, Jan 22, 2013 at 7:02 PM, Steve Simmons <square.steve@gmail.com> wrote: > Thanks also for the clarification on discarding objects and Garbage > Collection. Looks like I'll have to turn a large chunk of my previous > understanding of (mainframe) languages 'inside out'. > > I'm just wondering how often I'll have to chant "it isn't a variable, it's a > name bound to an object" before I can write a chunk of code without spending > ages pondering why it isn't working. > > I already like Python for its clean design but I think it'll be a while > before I love it completely. Yeah, it takes some getting used to. I've spent the past couple of decades writing imperative code with strict declarations and fairly close to the metal, and I still have one C++ module at work - but more and more, I'm pushing to write code in a modern high-level language like Python, where memory management isn't my problem, and failings in the code result in easily-readable (and catchable!) exceptions. I often fire up gdb for the C++ code at work, but usually a Python or Pike exception traceback is enough on its own. Learning curve, rewarded with immensely easier work. So many things are like that; life is all about figuring out which ones are worth the curve's effort. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
handling return codes from CTYPES Steve Simmons <square.steve@gmail.com> - 2013-01-21 10:46 +0000
Re: handling return codes from CTYPES Duncan Booth <duncan.booth@invalid.invalid> - 2013-01-21 11:11 +0000
Re: handling return codes from CTYPES Steve Simmons <square.steve@gmail.com> - 2013-01-22 08:02 +0000
Re: handling return codes from CTYPES Chris Angelico <rosuav@gmail.com> - 2013-01-23 00:10 +1100
csiph-web