Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #36353
| Path | csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <d@davea.name> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.028 |
| X-Spam-Evidence | '*H*': 0.95; '*S*': 0.00; '(except': 0.05; 'c++,': 0.07; 'python': 0.09; 'derived': 0.09; 'variables,': 0.09; 'void*': 0.09; 'subject:python': 0.11; 'classes)': 0.16; 'old- style': 0.16; 'wrote:': 0.17; 'variables': 0.17; 'object.': 0.22; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'am,': 0.27; 'guess': 0.27; 'actual': 0.28; 'subject: ?': 0.30; 'could': 0.32; 'to:addr:python-list': 0.33; 'something': 0.35; 'except': 0.36; 'wanted': 0.36; 'compare': 0.36; 'does': 0.37; 'data': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'you.': 0.61; 'header:Reply-To:1': 0.68; 'received:74.208': 0.71; 'reply-to:no real name:2**0': 0.72; '*really*': 0.84; 'casting': 0.84; 'received:74.208.4.194': 0.84; 'subject:available': 0.96 |
| Date | Mon, 07 Jan 2013 09:45:28 -0500 |
| From | Dave Angel <d@davea.name> |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121011 Thunderbird/16.0.1 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | Re: Over 30 types of variables available in python ? |
| References | <1357513931.54941.YahooMailNeo@web125504.mail.ne1.yahoo.com> <kcd5sg$dtq$1@ger.gmane.org> <mailman.209.1357548954.2939.python-list@python.org> <50ea9ac2$0$21851$c3e8da3$76491128@news.astraweb.com> <1357569153.3330.140661174432761.5D8246E9@webmail.messagingengine.com> |
| In-Reply-To | <1357569153.3330.140661174432761.5D8246E9@webmail.messagingengine.com> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | 7bit |
| X-Provags-ID | V02:K0:jg1LD0MbTmeFaoKeMRDLD5jLNQmvo5zfo3ePzZEcy22 AHIEUChuBwucoiPhikGjzDIdwswi5kpQaU8kqVYSG0cdyKTac1 Hxs2p1Eh8+YMxzjhs3c0emirxWw0HyNy11lw1cxVpyNzMJOqaV sgUHyDOonSzkoXuJnI8sUFTRpWasFAeljSEAxV9YMcXIbYGcCj gXGxgS8rut0OE0BXEnQNE+YRlljWOkXOqkeJvkw7HkFZ0/ug9+ OxvDUtdza4ntLuws8jK4TRIFcYaCl3N2kGmx8BACnERIWGPeKO elsLro6q1iIWJivP+SBzlpcxraALV2WYdwTF8Kx2Q/iHr1iFQ= = |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| Reply-To | d@davea.name |
| 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.221.1357569950.2939.python-list@python.org> (permalink) |
| Lines | 17 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1357569950 news.xs4all.nl 6889 [2001:888:2000:d::a6]:59530 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:36353 |
Show key headers only | View raw
On 01/07/2013 09:32 AM, marduk wrote: > So I guess if one *really* wanted to compare C variables to Python > variables, you could say that all python variables are of type void* > except Python does all mallocs/frees and the casting for you. A better analogy would be to C++, and all names would be something like shared_ptr<object*>. And (except for old-style classes) all actual data is of a type derived from object. -- DaveA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Over 30 types of variables available in python ? chaouche yacine <yacinechaouche@yahoo.com> - 2013-01-07 00:53 -0800
Re: Over 30 types of variables available in python ? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-07 09:52 +0000
Re: Over 30 types of variables available in python ? marduk <marduk@python.net> - 2013-01-07 09:32 -0500
Re: Over 30 types of variables available in python ? Dave Angel <d@davea.name> - 2013-01-07 09:45 -0500
Re: Over 30 types of variables available in python ? Chris Angelico <rosuav@gmail.com> - 2013-01-08 01:59 +1100
Re: Over 30 types of variables available in python ? Rick Johnson <rantingrickjohnson@gmail.com> - 2013-01-10 21:20 -0800
Re: Over 30 types of variables available in python ? Rick Johnson <rantingrickjohnson@gmail.com> - 2013-01-10 21:20 -0800
csiph-web