[Python-checkins] r85839 - python/branches/py3k/Python/sysmodule.c
victor.stinner
python-checkins at python.org
Mon Oct 25 19:37:23 CEST 2010
Author: victor.stinner
Date: Mon Oct 25 19:37:23 2010
New Revision: 85839
Log:
sys_update_path(): update sys.path even if argc==0
Modified:
python/branches/py3k/Python/sysmodule.c
Modified: python/branches/py3k/Python/sysmodule.c
==============================================================================
--- python/branches/py3k/Python/sysmodule.c (original)
+++ python/branches/py3k/Python/sysmodule.c Mon Oct 25 19:37:23 2010
@@ -1748,8 +1748,6 @@
if (path == NULL)
return;
- if (argc == 0)
- return;
argv0 = argv[0];
#ifdef HAVE_READLINK
More information about the Python-checkins
mailing list