[New-bugs-announce] [issue8984] Python 3 doesn't register script arguments

Sworddragon report at bugs.python.org
Sat Jun 12 22:10:23 CEST 2010


New submission from Sworddragon <sworddragon2 at aol.com>:

Python 3.1.2 hasn't any arguments except the file name in sys.argv[0]. For example: build.py test
sys.argv[1] will be empty. I tried even the first example from the documentation 15.4 (optparse) but the filename is None. In Python 2.6.5 all is working fine.

----------
components: Library (Lib)
messages: 107690
nosy: Sworddragon
priority: normal
severity: normal
status: open
title: Python 3 doesn't register script arguments
type: behavior
versions: Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8984>
_______________________________________


More information about the New-bugs-announce mailing list