python 2.7.12 on Linux behaving differently than on Windows

Gene Heskett gheskett at shentel.net
Mon Dec 5 13:37:39 EST 2016


On Monday 05 December 2016 12:23:31 Marko Rauhamaa wrote:

> Chris Angelico <rosuav at gmail.com>:
> > On Tue, Dec 6, 2016 at 3:53 AM, Marko Rauhamaa <marko at pacujo.net> 
wrote:
> >> In recent years, I've been disillusioned with bash and started
> >> using Python more and more where I would previously have used bash.
> >> Python's explicit syntax does automatically give you a level of
> >> security, but I must say the subprocess.Popen.communicate syntax is
> >> painful as hell. Your traditional one-liners turn into five-liners,
> >> and a casual observer will have a slightly hard time understanding
> >> what's going on.
> >
> > Congratulations. You've just discovered why bash is useful.
>
> Bash is nice, too nice. It makes it easy to write code that's riddled
> with security holes. The glorious Unix tradition is to ignore the
> pitfalls and forge ahead come what may.
>
>
> Marko

I like bash, use it a lot.  But the ultimate language (damn the security 
considerations real or imagined) is still ARexx. The *nixes have not, 20 
years later, a do it all language that can play on the same field with 
ARexx.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>



More information about the Python-list mailing list