summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-02-21 20:08:51 (GMT)
committerBenjamin Peterson <benjamin@python.org>2012-02-21 20:08:51 (GMT)
commit4e171d12da0e75ddcf5e019d5ca4553ca86265cd (patch)
treeb10caaf4fd0177cfe00ed586676ee83d1ca3c422
parent776af4002bb6edf6071f0b82f0354ed7b218695e (diff)
downloadcpython-4e171d12da0e75ddcf5e019d5ca4553ca86265cd.zip
cpython-4e171d12da0e75ddcf5e019d5ca4553ca86265cd.tar.gz
cpython-4e171d12da0e75ddcf5e019d5ca4553ca86265cd.tar.bz2
don't need this hack anymore
-rw-r--r--Modules/main.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/Modules/main.c b/Modules/main.c
index 929991a..12376ae 100644
--- a/Modules/main.c
+++ b/Modules/main.c
@@ -422,12 +422,6 @@ Py_Main(int argc, char **argv)
case 'W':
PySys_AddWarnOption(_PyOS_optarg);
- /* Extremely obscure hack: if _PyOS_optarg was one character,
- PyString_FromString in PySys_AddWarnOption will try to intern
- it. This is bad because hash randomization has not been setup
- yet, so the string will get the wrong hash. The following call
- will cause all the cached characters to be released. */
- PyString_Fini();
break;
case 'R':