python 2.7.12 on Linux behaving differently than on Windows

Gregory Ewing greg.ewing at canterbury.ac.nz
Tue Dec 6 16:28:03 EST 2016


BartC wrote:
> What, the convention of NOT assuming that any command parameter that 
> uses * or ? MUST refer to whatever set of filenames happen to match in 
> the current directory?

Yes.

> That's a pretty good convention, yes?!

That's a matter of opinion. It precludes the shell from
performing various services that Unix users like their
shells to provide.

> Or someone from Britain visiting the USA and saying OMG, everyone's got 
> a gun! Suppose someone runs amok and shoots everybody!

If you expect us to trust most Americans not to misuse
their guns, you will appreciate us asking you to trust
most Unix users not to misuse their wildcard patterns.

-- 
Greg


More information about the Python-list mailing list