This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Colin Dick
Recipients Colin Dick, SilentGhost, ronaldoussoren
Date 2019-04-03.10:49:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAO+=vZaaqfZ-V9XntbUmHftnnUNJT__JsprFU8=cAED+y+eXTQ@mail.gmail.com>
In-reply-to <1554288162.91.0.0897038643497.issue36514@roundup.psfhosted.org>
Content
No, the first example is expected,
BUT the middle two work
HENCE the last should NOT have a problem either...
No?
Because the middle two work,
so should the last complete without any errors.
There were no code changes,
Therefore the problem is with python

On Wed, 3 Apr 2019, 23:42 Ronald Oussoren <report@bugs.python.org> wrote:

>
> Ronald Oussoren <ronaldoussoren@mac.com> added the comment:
>
> This is not a bug:
>
> * "python -m NAME" runs module (or package) NAME as a script, NAME should
> therefore be a module name and not a filename (and hence not have a .py
> suffix)
>
> * "python NAME" runs a script in file NAME and should therefore by a
> complete file name, including a suffix when the file name has a suffix.
>
> In your examples "python -m vixsd.py" and "python vixsd" correctly raise
> an error.
>
> ----------
> nosy: +ronaldoussoren
> resolution:  -> not a bug
> stage:  -> resolved
> status: open -> closed
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <https://bugs.python.org/issue36514>
> _______________________________________
>
History
Date User Action Args
2019-04-03 10:49:09Colin Dicksetrecipients: + Colin Dick, ronaldoussoren, SilentGhost
2019-04-03 10:49:09Colin Dicklinkissue36514 messages
2019-04-03 10:49:09Colin Dickcreate