summaryrefslogtreecommitdiff
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2015-12-04 22:54:38 -0500
committerR David Murray <rdmurray@bitdance.com>2015-12-04 22:54:38 -0500
commit7ef15412efa3fd0e9ef1969e3099bb0a6311e1e5 (patch)
treeb7928b33f895d4369e1306029f170bbe2d12cc52 /Python/Python-ast.c
parent9488ab30e2796ff48340e5dc0fe18adb11e15f0b (diff)
downloadcpython-7ef15412efa3fd0e9ef1969e3099bb0a6311e1e5.tar.gz
#24903: Remove misleading error message to fix regression.
Before the argparse conversion, compileall would (sometimes) accept multiple paths when -d was specified. Afterward, it does not. The corresponding check in the original code claimed to prevent multiple *directories* from being specified...but it didn't really work even to do that. So this patch fixes the regression by invoking the consenting adults rule: if you specify a combination of arguments to compileall that produces files with inconsistent destdirs (which you could do before), it is on you. Patch by Jake Garver.
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions