Re: Python Worst Practices

2015-03-01 Thread Dave Angel
On 03/01/2015 08:59 PM, MRAB wrote: On 2015-03-02 01:37, Dennis Lee Bieber wrote You'd be able to run it on a TI99/4 (in which the BASIC interpreter, itself, was run on an interpreter... nothing like taking the first "16-bit" home computer and shackling it with an interpreted language that

Re: Python Worst Practices

2015-03-01 Thread Marko Rauhamaa
Rustom Mody : >> However, when I exhange software engineering ideas with you, I wish >> both of us could stick to American English. > > [...] > > I would say it is wrong side of the ledger because the amount of > culture' invested into a Brit is more than into someone who just > poorly learned the

Re: Python Worst Practices

2015-03-01 Thread Rustom Mody
On Sunday, March 1, 2015 at 10:32:00 PM UTC+5:30, Marko Rauhamaa wrote: > Mark Lawrence : > > > Are you suggesting that we Brits have a single "home accent"? If you > > are, you need to stand up as your voice is rather muffled. That by the > > way is a British expression that may or may not be u

Re: (Still OT) It's not the size of the vocabulary that matters, but what you do with it [was Re: Python Worst Practices]

2015-03-01 Thread Chris Angelico
On Mon, Mar 2, 2015 at 2:18 PM, Paul Rubin wrote: > Steven D'Aprano writes: >> The Aussie replies “Ah yes, I had a car like that once. American-made, is >> it?” > > Is it true that in Australia, the number of the beast is 999? Wouldn't know. Out here, we're not afraid of the beast - why should w

Re: (Still OT) It's not the size of the vocabulary that matters, but what you do with it [was Re: Python Worst Practices]

2015-03-01 Thread Paul Rubin
Steven D'Aprano writes: > The Aussie replies “Ah yes, I had a car like that once. American-made, is > it?” Is it true that in Australia, the number of the beast is 999? -- https://mail.python.org/mailman/listinfo/python-list

(Still OT) It's not the size of the vocabulary that matters, but what you do with it [was Re: Python Worst Practices]

2015-03-01 Thread Steven D'Aprano
Dennis Lee Bieber wrote: > Well... when we've got states bigger than some countries... A Texan farmer goes to Australia on vacation. There he meets an Aussie farmer and gets to talking. They walk around the farm a little, and the Aussie shows off his herd of cattle. The Texan immediately replie

Re: Python Worst Practices

2015-03-01 Thread MRAB
On 2015-03-02 01:37, Dennis Lee Bieber wrote: On Sun, 1 Mar 2015 13:43:50 +1100, Chris Angelico declaimed the following: losing performance. Conversely, I'm sure Python could also have been implemented on top of BASIC if someone felt like it, though what the advantages might be I have no idea.

Re: An injury when I was a sbhoolboy; I was bitten by a bat.

2015-03-01 Thread Ben Finney
Ben Finney writes: > (See https://www.youtube.com/watch?v=Yz2LaJOVAiA> if you have no > idea what this is all about.) I was sloppy with my pronouns there. I'm pretty sure Roy knows what he's referring to; that “you” was directed to anyone who is not aware. -- \ “Some people have a probl

An injury when I was a sbhoolboy; I was bitten by a bat. (was: Python Worst Practices)

2015-03-01 Thread Ben Finney
Roy Smith writes: > In article , > Gregory Ewing wrote: > > > But in documentation, in contexts where it's not critical, I'm more > > likely to use the spelling I'm most familiar with, which is > > "colour". I can't imagine any English speaker, native or otherwise, > > being unable to cope with

OT Accents [was Re: Python Worst Practices]

2015-03-01 Thread Steven D'Aprano
Michael Torrie wrote: > If you want a bit of fun, listen to Patrick Stewart reciting a poem in > his native northern accent.  In school they drilled it out of him, I > guess. And then you have people like Alexis Denisof, husband to Alyson Hannigan, best known for playing Wesley Wyndam-Pryce in Bu

Re: Question about python package numpy

2015-03-01 Thread fl
On Sunday, March 1, 2015 at 1:25:59 PM UTC-8, Andrea D'Amore wrote: > On 2015-03-01 20:32:34 +, fl said: > > > import numpy > > it succeeds. On http://wiki.scipy.org/Cookbook, it shows some interesting > > code example snippet, such as Cookbook / ParticleFilter, Markov chain etc. > > > I don'

Re: Python Worst Practices

2015-03-01 Thread BartC
On 01/03/2015 16:16, Marko Rauhamaa wrote: Steven D'Aprano : Marko Rauhamaa wrote: Learn it like everybody else has to. Stockholm Syndrome :-) "I learned English, and so everyone else should too." No, the point is that if everybody else has taken the trouble of learning American English,

Re: Python Worst Practices

2015-03-01 Thread Mark Lawrence
On 01/03/2015 21:47, Roy Smith wrote: In article , Gregory Ewing wrote: But in documentation, in contexts where it's not critical, I'm more likely to use the spelling I'm most familiar with, which is "colour". I can't imagine any English speaker, native or otherwise, being unable to cope wit

Re: Python Worst Practices

2015-03-01 Thread Roy Smith
In article , Gregory Ewing wrote: > But in documentation, in contexts where it's not critical, > I'm more likely to use the spelling I'm most familiar > with, which is "colour". I can't imagine any English > speaker, native or otherwise, being unable to cope with > that. What abut people who ca

Re: Python Worst Practices

2015-03-01 Thread Gregory Ewing
Mario Figueiredo wrote: But could you please point us to the ISO that details the international standard for variable names? Or failing that, to the public discussion that took place and decided American-English is the de-facto language for variable names? American became the standard for varia

Re: Question about python package numpy

2015-03-01 Thread Andrea D'Amore
On 2015-03-01 20:32:34 +, fl said: import numpy it succeeds. On http://wiki.scipy.org/Cookbook, it shows some interesting code example snippet, such as Cookbook / ParticleFilter, Markov chain etc. I don't know how I can access these code examples, because I don't know where Enthought Cano

Re: Python Worst Practices

2015-03-01 Thread alister
On Mon, 02 Mar 2015 07:26:22 +1100, Chris Angelico wrote: > On Mon, Mar 2, 2015 at 7:16 AM, alister > wrote: >> Last time I was is the USA I had a local ask me which state London was >> in! (heck I know they only bother with their own history but I though >> we played quite an important role in t

Re: Python Worst Practices

2015-03-01 Thread Mario Figueiredo
On Sun, 01 Mar 2015 22:45:12 +0200, Marko Rauhamaa wrote: > >Fact remains I can easily understand what Chinese, Mexican, Italian, >Russian or Malay colleagues say in English. For some reason, Australian >and Indian speakers don't give me trouble, either. The Irish accent is >borderline, but the Br

Re: Python Worst Practices

2015-03-01 Thread Marko Rauhamaa
alister : > The language is called English, the clue is in the name. I don't care what you call it as long as you use the Hollywoodese accent and spelling. > interestingly most 'Brits' can switch between American English & > English without too much trouble I wish they actually did. Not to pic

Question about python package numpy

2015-03-01 Thread fl
Hi, It is difficult to install numpy package for my PC Windows 7, 64-bit OS. In the end, I install Enthought Canopy, which is recommended on line because it does install numpy automatically. Now, I can test it with import numpy it succeeds. On http://wiki.scipy.org/Cookbook, it shows some inter

Re: Python Worst Practices

2015-03-01 Thread Chris Angelico
On Mon, Mar 2, 2015 at 7:16 AM, alister wrote: > Last time I was is the USA I had a local ask me which state London was > in! (heck I know they only bother with their own history but I though we > played quite an important role in that) See, that wasn't a geographic question, it was one of securi

Re: Python Worst Practices

2015-03-01 Thread alister
On Sun, 01 Mar 2015 18:16:05 +0200, Marko Rauhamaa wrote: > Steven D'Aprano : > >> Marko Rauhamaa wrote: >>> Learn it like everybody else has to. >> >> Stockholm Syndrome :-) >> >> "I learned English, and so everyone else should too." > > No, the point is that if everybody else has taken the tro

Re: Python Worst Practices

2015-03-01 Thread Mario Figueiredo
On Sun, 1 Mar 2015 11:23:51 -0800 (PST), wxjmfa...@gmail.com wrote: > >http://www.unicode.org/reports/tr31/ > >Python is doing very on that sile. > >jmf > I'm glad Annex 31 agrees that I can name identifiers even in hebrew if I really want to. For a moment there I was shaking when I opened the li

Re: Python Worst Practices

2015-03-01 Thread Marko Rauhamaa
Michael Torrie : > On 03/01/2015 09:58 AM, Marko Rauhamaa wrote: >> Well, every nonnative strives for the standard Hollywoodese and does >> a decent job at that. But when I hear a Brit speak their native >> tongue, I just "smile and wave, smile and wave" because I usually >> have little idea what

Re: iPython 3 released

2015-03-01 Thread Fabien
On 01.03.2015 19:24, Mark Lawrence wrote: This seemed to be a low key affair, at least from my perspective True, no messages yet on the scientific python mailing lists either. I am wondering if avoiding a massive switch to a *.0 release was the reason for this (relative) silence. Fabien -

Re: Python Worst Practices

2015-03-01 Thread Mario Figueiredo
On Sun, 01 Mar 2015 19:52:32 +0200, Marko Rauhamaa wrote: > >I mean, nobody's taking away your native language. It's just that >everybody's got to learn a foreign language. The learning curve >shouldn't be too steep for a native Brit. That's fine. But could you please point us to the ISO that det

Re: Python Worst Practices

2015-03-01 Thread Michael Torrie
On 03/01/2015 09:58 AM, Marko Rauhamaa wrote: > Well, every nonnative strives for the standard Hollywoodese and does a > decent job at that. But when I hear a Brit speak their native tongue, I > just "smile and wave, smile and wave" because I usually have little idea > what they are trying to expla

Re: suggestions for functional style (singleton pattern?)

2015-03-01 Thread Mario Figueiredo
On Mon, 02 Mar 2015 02:04:40 +1100, Steven D'Aprano wrote: >Mario Figueiredo wrote: > >> (warning: Didn't bother prove-reading and spell chocking. Sorry...) > >Warning: didn't bother reading. Not sorry at all. Ohh.. how hurtful of you. It was 4:45 am when I posted that, after long hours trying

iPython 3 released

2015-03-01 Thread Mark Lawrence
This seemed to be a low key affair, at least from my perspective, but I'm fairly certain that people here will be interested. http://ipython.org/ipython-doc/3/whatsnew/version3.html http://ipython.org/install.html -- My fellow Pythonistas, ask not what our language can do for you, ask what you

Re: Python Worst Practices

2015-03-01 Thread Mark Lawrence
On 01/03/2015 17:52, Marko Rauhamaa wrote: Mark Lawrence : On 01/03/2015 17:01, Marko Rauhamaa wrote: What you (or I) speak in our native surroundings is up to you (and me). However, when I exhange software engineering ideas with you, I wish both of us could stick to American English. Well

Re: Python Worst Practices

2015-03-01 Thread Marko Rauhamaa
Mark Lawrence : > On 01/03/2015 17:01, Marko Rauhamaa wrote: >> What you (or I) speak in our native surroundings is up to you (and >> me). >> >> However, when I exhange software engineering ideas with you, I wish >> both of us could stick to American English. > > Well I'm not going to, so tough, o

Re: Python Worst Practices

2015-03-01 Thread Mark Lawrence
On 01/03/2015 17:01, Marko Rauhamaa wrote: Mark Lawrence : Are you suggesting that we Brits have a single "home accent"? If you are, you need to stand up as your voice is rather muffled. That by the way is a British expression that may or may not be used around the Commonwealth. Should we un

Re: Python Worst Practices

2015-03-01 Thread Marko Rauhamaa
Mark Lawrence : > Are you suggesting that we Brits have a single "home accent"? If you > are, you need to stand up as your voice is rather muffled. That by the > way is a British expression that may or may not be used around the > Commonwealth. Should we unlearn it to fit in with American Engli

Re: Python Worst Practices

2015-03-01 Thread Marko Rauhamaa
Chris Angelico : > On Mon, Mar 2, 2015 at 3:16 AM, Marko Rauhamaa wrote: >> (Spelling deviations are actually minor nuisances. A bigger problem >> is when a Brit thinks they can use their home accent in international >> contexts.) > > Of course, because there's one "international accent" that eve

Re: Python Worst Practices

2015-03-01 Thread Mark Lawrence
On 01/03/2015 16:42, Chris Angelico wrote: On Mon, Mar 2, 2015 at 3:38 AM, Mark Lawrence wrote: Are you suggesting that we Brits have a single "home accent"? If you are, you need to stand up as your voice is rather muffled. That by the way is a British expression that may or may not be used a

Re: Python Worst Practices

2015-03-01 Thread Chris Angelico
On Mon, Mar 2, 2015 at 3:38 AM, Mark Lawrence wrote: > Are you suggesting that we Brits have a single "home accent"? If you are, > you need to stand up as your voice is rather muffled. That by the way is a > British expression that may or may not be used around the Commonwealth. > Should we unle

Re: Python Worst Practices

2015-03-01 Thread Mark Lawrence
On 01/03/2015 16:16, Marko Rauhamaa wrote: Steven D'Aprano : Marko Rauhamaa wrote: Learn it like everybody else has to. Stockholm Syndrome :-) "I learned English, and so everyone else should too." No, the point is that if everybody else has taken the trouble of learning American English,

Re: Python Worst Practices

2015-03-01 Thread Chris Angelico
On Mon, Mar 2, 2015 at 3:16 AM, Marko Rauhamaa wrote: > No, the point is that if everybody else has taken the trouble of > learning American English, it shouldn't be too much to ask for the > British to make an effort as well. > > You can watch TV programmes at home, but in the office, you should

Re: Python Worst Practices

2015-03-01 Thread Marko Rauhamaa
Steven D'Aprano : > Marko Rauhamaa wrote: >> Learn it like everybody else has to. > > Stockholm Syndrome :-) > > "I learned English, and so everyone else should too." No, the point is that if everybody else has taken the trouble of learning American English, it shouldn't be too much to ask for th

Re: suggestions for functional style (singleton pattern?)

2015-03-01 Thread Steven D'Aprano
Michael Torrie wrote: > Is not "only one object is ever created from a given class" the same as > "could not be [instantiated] more than once?" Not really. A class which you merely happen to only instantiate once is not a singleton class. It's just a class that you instantiate N times, where so

Re: suggestions for functional style (singleton pattern?)

2015-03-01 Thread Steven D'Aprano
Mario Figueiredo wrote: > (warning: Didn't bother prove-reading and spell chocking. Sorry...) Warning: didn't bother reading. Not sorry at all. -- Steven -- https://mail.python.org/mailman/listinfo/python-list

Re: Python Worst Practices

2015-03-01 Thread BartC
On 01/03/2015 02:08, Steven D'Aprano wrote: BartC wrote: On 28/02/2015 15:33, Mark Lawrence wrote: It also makes me wonder what idiot decided to use C as the language for the first Python implementation? Or was it written in something else and then ported? Python was already slow enough eve

ANN: grc 1.7 released

2015-03-01 Thread garabik-news-2005-05
This is generic colouriser, version 1.7. grc is a colouriser configured by regular expressions, including a simple command line wrapper for some commonly used unix commands. Notable changes in this version: - add the possibility to replace text in addition to colouring - add several configurat

Re: PIL installation fails; registration problem

2015-03-01 Thread GerritM
Some more searching brought me to Pillow. That seems to work! No answer needed anymore on previous question. On Saturday, February 28, 2015 at 9:51:53 PM UTC+1, GerritM wrote: > I am reinstalling everything on my new Windows 7 laptop. I run into a problem > when installing PIL 1.1.7, in combina

Re: Python Worst Practices

2015-03-01 Thread Steven D'Aprano
Marko Rauhamaa wrote: > The language of science and technology is American English. Not so. Despite claims that "99% of science publishing is done in English", there are still significant amounts of science and technology published in non-English languages. And the majority which is published in