Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #52013
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <joshua.landau.ws@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.005 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'static': 0.04; 'attributes': 0.09; 'freedom,': 0.09; 'type,': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'times,': 0.14; 'pythonic': 0.16; 'stepping': 0.16; 'flexibility': 0.16; 'language': 0.16; 'sender:addr:gmail.com': 0.17; 'wrote:': 0.18; 'typing': 0.19; 'cc:addr:python.org': 0.22; "aren't": 0.24; 'cc:2**0': 0.24; 'certain': 0.27; 'header:In-Reply-To:1': 0.27; 'function': 0.29; '(like': 0.30; 'message-id:@mail.gmail.com': 0.30; 'gary': 0.31; 'actual': 0.34; 'problem': 0.35; 'objects': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'subject:?': 0.36; 'half': 0.37; 'step': 0.37; 'being': 0.38; 'august': 0.61; "you're": 0.61; 'to:addr:gmail.com': 0.65; 'power': 0.76; 'bite': 0.84; 'embrace': 0.84; '2013': 0.98 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=BG+0LU54ihdb4S06QptJX5jg/4i3ggbqdxWSpesznfk=; b=upj3hKtfFfI+R/6uJsVQgtHWhBTymK82AN2+mtYjn9T/WdYkDczbZ1C2O0OVvuKkrB u+JFmuXptjVDG7LGTU5Hk8y+ljGg8GYRcbyLXEUrpsd6GM+nerfsckaG0QO4ICPzWCHh ponE47ruvnudN0PHLzvZBku+3T6J19SDQFjXNUNuglN9abjsXNuzTYTlrdhYMuXJhjUH rctbjT3iJIoCMtDYGsMC6/x6S1lZKTVwmakyU7U76jGWz/JOtYFGu/Ri8lp7s46fkdn+ oSA6mDKbAkUndsJJETWDy6fJE8I2L7xd+NRiY1p0rFgouvxXFzOvC0xImqAvKpDr2qLN bvrQ== |
| X-Received | by 10.112.5.199 with SMTP id u7mr807235lbu.67.1375781393337; Tue, 06 Aug 2013 02:29:53 -0700 (PDT) |
| MIME-Version | 1.0 |
| Sender | joshua.landau.ws@gmail.com |
| In-Reply-To | <ktqdt2$v3k$3@dont-email.me> |
| References | <ktp2jh$3a3$1@dont-email.me> <mailman.218.1375737396.1251.python-list@python.org> <ktqdt2$v3k$3@dont-email.me> |
| From | Joshua Landau <joshua@landau.ws> |
| Date | Tue, 6 Aug 2013 10:29:13 +0100 |
| X-Google-Sender-Auth | _b1LWJ6Vm9UoBnW8xWasRLzEe2U |
| Subject | Re: Newbie: static typing? |
| To | rui.maciel@gmail.com |
| Content-Type | text/plain; charset=UTF-8 |
| Cc | python-list <python-list@python.org> |
| 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.234.1375781395.1251.python-list@python.org> (permalink) |
| Lines | 15 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1375781395 news.xs4all.nl 15906 [2001:888:2000:d::a6]:36214 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:52013 |
Show key headers only | View raw
On 6 August 2013 10:05, Rui Maciel <rui.maciel@gmail.com> wrote: > Gary Herron wrote: > >> The Pythonic way is to *enjoy* the freedom and flexibility and power of >> dynamic typing. If you are stepping out of a static typing language >> into Python, don't step just half way. Embrace dynamic typing. (Like >> any freedom, it can bite you at times, but that's no reason to hobble >> Python with static typing.) > > What's the Python way of dealing with objects being passed to a function > that aren't of a certain type, have specific attributes of a specific type, > nor support a specific interface? What's the actual problem you're facing? Where do you feel that you need to verify types?
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Newbie: static typing? Rui Maciel <rui.maciel@gmail.com> - 2013-08-05 21:46 +0100
Re: Newbie: static typing? Gary Herron <gary.herron@islandtraining.com> - 2013-08-05 14:07 -0700
Re: Newbie: static typing? Rui Maciel <rui.maciel@gmail.com> - 2013-08-06 10:05 +0100
Re: Newbie: static typing? Steven D'Aprano <steve@pearwood.info> - 2013-08-06 09:26 +0000
Re: Newbie: static typing? Joshua Landau <joshua@landau.ws> - 2013-08-06 10:29 +0100
Re: Newbie: static typing? Rui Maciel <rui.maciel@gmail.com> - 2013-08-06 11:12 +0100
Re: Newbie: static typing? Burak Arslan <burak.arslan@arskom.com.tr> - 2013-08-06 16:27 +0300
Re: Newbie: static typing? Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-08-06 15:57 +0200
Re: Newbie: static typing? Chris Angelico <rosuav@gmail.com> - 2013-08-06 15:06 +0100
Re: Newbie: static typing? "Eric S. Johansson" <esj@harvee.org> - 2013-08-06 09:58 -0400
Re: Newbie: static typing? Chris Angelico <rosuav@gmail.com> - 2013-08-06 15:38 +0100
Easier to Ask Forgiveness than Permission (was: Newbie: static typing?) Ben Finney <ben+python@benfinney.id.au> - 2013-08-07 08:23 +1000
Re: Newbie: static typing? Ian Kelly <ian.g.kelly@gmail.com> - 2013-08-05 17:38 -0600
Re: Newbie: static typing? Ben Finney <ben+python@benfinney.id.au> - 2013-08-06 10:35 +1000
Re: Newbie: static typing? Rui Maciel <rui.maciel@gmail.com> - 2013-08-06 10:01 +0100
Re: Newbie: static typing? Joshua Landau <joshua@landau.ws> - 2013-08-06 10:19 +0100
Re: Newbie: static typing? Rui Maciel <rui.maciel@gmail.com> - 2013-08-06 11:07 +0100
Re: Newbie: static typing? Rotwang <sg552@hotmail.co.uk> - 2013-08-06 15:25 +0100
Re: Newbie: static typing? Ben Finney <ben+python@benfinney.id.au> - 2013-08-07 08:34 +1000
Re: Newbie: static typing? Chris Angelico <rosuav@gmail.com> - 2013-08-06 10:29 +0100
Re: Newbie: static typing? Rui Maciel <rui.maciel@gmail.com> - 2013-08-06 11:28 +0100
Re: Newbie: static typing? Chris Angelico <rosuav@gmail.com> - 2013-08-06 11:50 +0100
Re: Newbie: static typing? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-08-06 18:54 -0400
Re: Newbie: static typing? Terry Reedy <tjreedy@udel.edu> - 2013-08-06 19:02 -0400
Re: Newbie: static typing? Chris Angelico <rosuav@gmail.com> - 2013-08-07 01:16 +0100
RE: Newbie: static typing? "Prasad, Ramit" <ramit.prasad@jpmorgan.com.dmarc.invalid> - 2013-08-08 16:46 +0000
Re: Newbie: static typing? Steven D'Aprano <steve@pearwood.info> - 2013-08-06 05:21 +0000
Re: Newbie: static typing? Rui Maciel <rui.maciel@gmail.com> - 2013-08-06 10:04 +0100
Re: Newbie: static typing? Grant Edwards <invalid@invalid.invalid> - 2013-08-06 15:05 +0000
csiph-web