Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #20379
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <lists.eckel@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.032 |
| X-Spam-Evidence | '*H*': 0.94; '*S*': 0.00; 'seemed': 0.07; 'path.': 0.09; 'str,': 0.09; 'subclass': 0.09; 'to:addr:comp.lang.python': 0.09; 'subject:String': 0.16; 'cc:addr:python-list': 0.16; 'converted': 0.18; 'cc:no real name:2**0': 0.21; 'header:In-Reply- To:1': 0.22; 'suspect': 0.24; 'received:209.85.220': 0.25; 'tried': 0.27; 'cc:addr:gmail.com': 0.28; "i'm": 0.28; 'cc:addr:python.org': 0.29; 'str': 0.30; 'thanks': 0.32; 'assigned': 0.32; 'header:User-Agent:1': 0.33; 'object': 0.33; 'mostly': 0.34; 'rather': 0.34; '...': 0.35; 'cc:2**1': 0.36; 'but': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.38; 'doing': 0.38; 'think': 0.38; 'received:209': 0.39; 'became': 0.67; 'anytime': 0.74; 'hints?': 0.84; 'idiom': 0.84; 'subject:Automatic': 0.91 |
| Newsgroups | comp.lang.python |
| Date | Mon, 13 Feb 2012 15:18:55 -0800 (PST) |
| In-Reply-To | <mailman.5782.1329172035.27778.python-list@python.org> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=63.251.186.252; posting-account=8KgxxAkAAAC-_0mFYDme17S5oyHM521t |
| References | <090e2893-7a1c-4b11-9e45-974ed33e7b77@i18g2000yqf.googlegroups.com> <mailman.5782.1329172035.27778.python-list@python.org> |
| User-Agent | G2/1.0 |
| X-Google-Web-Client | true |
| MIME-Version | 1.0 |
| Subject | Re: Automatic Type Conversion to String |
| From | Bruce Eckel <lists.eckel@gmail.com> |
| To | comp.lang.python@googlegroups.com |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| Cc | python-list@python.org, Bruce Eckel <lists.eckel@gmail.com> |
| 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> |
| Message-ID | <mailman.5785.1329175143.27778.python-list@python.org> (permalink) |
| Lines | 4 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1329175143 news.xs4all.nl 6949 [2001:888:2000:d::a6]:37306 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:20379 |
Show key headers only | View raw
I'm willing to subclass str, but when I tried it before it became a little confusing -- I think mostly because anytime I assigned to self it seemed like it converted the whole object to a str rather than a Path. I suspect I don't know the proper idiom for doing this -- any hints? Thanks ...
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Automatic Type Conversion to String Bruce Eckel <lists.eckel@gmail.com> - 2012-02-13 14:01 -0800
Re: Automatic Type Conversion to String Chris Rebert <clp2@rebertia.com> - 2012-02-13 14:27 -0800
Re: Automatic Type Conversion to String Bruce Eckel <lists.eckel@gmail.com> - 2012-02-13 15:18 -0800
Re: Automatic Type Conversion to String Bruce Eckel <lists.eckel@gmail.com> - 2012-02-13 15:18 -0800
Re: Automatic Type Conversion to String Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2012-02-14 15:26 +0100
Re: Automatic Type Conversion to String Bruce Eckel <lists.eckel@gmail.com> - 2012-02-15 06:58 -0800
Re: Automatic Type Conversion to String Ned Deily <nad@acm.org> - 2012-02-15 19:21 +0100
csiph-web