[3.7] bpo-32573: sys.argv always exists and is non-empty by vstinner · Pull Request #13553 · python/cpython

Conversation

Ensure that sys.argv always exists and is non-empty.

When Python is embedded in an application and ``argv`` is not set,
use [''].

@vstinner

@ned-deily

I don't think we should change this behavior in a maintenance release unless it were a regression in 3.7. It's not, though, right?

@vstinner

I don't think we should change this behavior in a maintenance release unless it were a regression in 3.7. It's not, though, right?

Ok. I close my PR.

Labels