Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #89735
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2015-05-01 06:37 -0700 |
| References | <f46cdd6e-5c94-4370-a368-cce0bd68c997@googlegroups.com> <mailman.6.1430475067.3347.python-list@python.org> <c8a5569c-66aa-4b96-829e-36307d6947cb@googlegroups.com> <mailman.8.1430481980.3347.python-list@python.org> |
| Message-ID | <8a3d28f9-52d4-48e3-9da3-dc64dd773d16@googlegroups.com> (permalink) |
| Subject | Re: Am I missing something here? ipaddress vs socket |
| From | Ronald van Zantvoort <the.loeki@gmail.com> |
On Friday, 1 May 2015 14:06:34 UTC+2, Chris Angelico wrote: > On Fri, May 1, 2015 at 8:41 PM, Ronald van Zantvoort wrote: > > mystring is already an IP address, sorry for not mentioning that. > > The point is that ternary if; I've been scouring around the internet and there's a million different variations on the same idea. > > I'm completely flabberghasted it's not a simple property within the object though, e.g. ip.sock_family. > > > > Was this a deliberate decision by the Python devs or can I try an RFE for that? > > You could ask. At very worst, you'll find someone explain to you why > it shouldn't be done. I suggest using the python-ideas mailing list; > people there are usually reasonably friendly, though occasionally you > find a caustic response to a dumb idea like "Python should use braces > for indentation" :) There are no dumb ideas, just dumb people ;) But seriously, I'll go see over there, thanks :) It's just that I'm amazed that this isn't in there yet; it's 2 simple properties added in for convenience and IMHO very Pythonic to be able to do aforementioned code. Thanks again pplz :)
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Am I missing something here? ipaddress vs socket the.loeki@gmail.com - 2015-05-01 02:42 -0700
Re: Am I missing something here? ipaddress vs socket Chris Angelico <rosuav@gmail.com> - 2015-05-01 20:11 +1000
Re: Am I missing something here? ipaddress vs socket Ronald van Zantvoort <the.loeki@gmail.com> - 2015-05-01 03:41 -0700
Re: Am I missing something here? ipaddress vs socket Chris Angelico <rosuav@gmail.com> - 2015-05-01 22:06 +1000
Re: Am I missing something here? ipaddress vs socket Ronald van Zantvoort <the.loeki@gmail.com> - 2015-05-01 06:37 -0700
Re: Am I missing something here? ipaddress vs socket Chris Angelico <rosuav@gmail.com> - 2015-05-01 23:46 +1000
Re: Am I missing something here? ipaddress vs socket Ronald van Zantvoort <the.loeki@gmail.com> - 2015-05-01 06:48 -0700
Re: Am I missing something here? ipaddress vs socket Alain Ketterlin <alain@dpt-info.u-strasbg.fr> - 2015-05-01 12:31 +0200
csiph-web