Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #63249
| References | <lablra$1mc$2@ger.gmane.org> <lacmi3$kfq$1@ger.gmane.org> |
|---|---|
| Date | 2014-01-05 16:39 -0800 |
| Subject | Re: "More About Unicode in Python 2 and 3" |
| From | Dan Stromberg <drsalists@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4992.1388968803.18130.python-list@python.org> (permalink) |
On Sun, Jan 5, 2014 at 2:32 PM, Serhiy Storchaka <storchaka@gmail.com> wrote: > I wonder why nobody complains about the absent of implicit conversion > between int and str. In PHP you can write 2 + "3" and got 5, but in Python > this is an error. So sad! I like Python strongly typed, thank you very much. Please don't break it. Not raising an exception when implicitly converting types tends to lead to hard-to-track-down bugs.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: "More About Unicode in Python 2 and 3" Dan Stromberg <drsalists@gmail.com> - 2014-01-05 16:39 -0800
csiph-web