[Python-Dev] r85839 - python/branches/py3k/Python/sysmodule.c

Antoine Pitrou solipsis at pitrou.net
Mon Oct 25 19:47:16 CEST 2010


On Mon, 25 Oct 2010 19:37:23 +0200 (CEST)
victor.stinner <python-checkins at python.org> wrote:
>  
> -    if (argc == 0)
> -        return;
>      argv0 = argv[0];

Well, are you sure argv[0] is valid when argc is 0?

Regards

Antoine.




More information about the Python-Dev mailing list