Guido van Rossum wrote:
On 3/28/06, Charles Cazabon [EMAIL PROTECTED] wrote:
It might be worth instead adding an option flag to the executable that
implies
from the loaded module, run __main__() with sys.argv as its argument(s), so
the user can get this behaviour with `python -X
Die, thread.
Do I personally have to go into svn and reject this PEP?
--
--Guido van Rossum (home page: http://www.python.org/~guido/)
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
Guido van Rossum wrote:
Die, thread.
Do I personally have to go into svn and reject this PEP?
After my latest channeling disaster, I was cautious about this one ;)
I'll reject it now.
Georg
___
Python-Dev mailing list
Python-Dev@python.org
On 3/29/06, Guido van Rossum [EMAIL PROTECTED] wrote:
Die, thread.
Do I personally have to go into svn and reject this PEP?
No, just get a procrastinating student to do it.
-Brett
___
Python-Dev mailing list
Python-Dev@python.org
At 09:22 PM 3/28/2006 +0200, Georg Brandl wrote:
Hi,
since I found myself writing if __name__ == '__main__'
often these days, I wondered whether PEP 299 could be pronounced
upon. I'm not proposing putting it into 2.5, but it should be
relatively small a change.
A couple of issues that the PEP
On 3/28/06, Georg Brandl [EMAIL PROTECTED] wrote:
since I found myself writing if __name__ == '__main__'
often these days, I wondered whether PEP 299 could be pronounced
upon. I'm not proposing putting it into 2.5, but it should be
relatively small a change.
If you're asking for a quick
Guido van Rossum [EMAIL PROTECTED] wrote:
On 3/28/06, Georg Brandl [EMAIL PROTECTED] wrote:
since I found myself writing if __name__ == '__main__'
often these days, I wondered whether PEP 299 could be pronounced
upon. I'm not proposing putting it into 2.5, but it should be
relatively
On 3/28/06, Charles Cazabon [EMAIL PROTECTED] wrote:
It might be worth instead adding an option flag to the executable that implies
from the loaded module, run __main__() with sys.argv as its argument(s), so
the user can get this behaviour with `python -X somemodule.py`.
You can do python -x
Sorry, I meant python -m somemodule.
On 3/28/06, Guido van Rossum [EMAIL PROTECTED] wrote:
On 3/28/06, Charles Cazabon [EMAIL PROTECTED] wrote:
It might be worth instead adding an option flag to the executable that
implies
from the loaded module, run __main__() with sys.argv as its
Guido van Rossum [EMAIL PROTECTED] wrote:
On 3/28/06, Charles Cazabon [EMAIL PROTECTED] wrote:
It might be worth instead adding an option flag to the executable that
implies
from the loaded module, run __main__() with sys.argv as its argument(s),
so
the user can get this behaviour
OK. -1 on PEP 299 it is.
On 3/28/06, Charles Cazabon [EMAIL PROTECTED] wrote:
Guido van Rossum [EMAIL PROTECTED] wrote:
On 3/28/06, Charles Cazabon [EMAIL PROTECTED] wrote:
It might be worth instead adding an option flag to the executable that
implies
from the loaded module, run
11 matches
Mail list logo