Staging
v0.5.1
v0.5.1
https://github.com/python/cpython
Revision ced699b4c7e79e0a53e3ca7f2d789b761d4a9e76 authored by R David Murray on 05 December 2015, 03:54:38 UTC, committed by R David Murray on 05 December 2015, 03:54:38 UTC
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.
1 parent afdd513
Tip revision: ced699b4c7e79e0a53e3ca7f2d789b761d4a9e76 authored by R David Murray on 05 December 2015, 03:54:38 UTC
#24903: Remove misleading error message to fix regression.
#24903: Remove misleading error message to fix regression.
Tip revision: ced699b
File | Mode | Size |
---|---|---|
Python.asdl | -rw-r--r-- | 4.4 KB |
acceler.c | -rw-r--r-- | 3.3 KB |
asdl.py | -rw-r--r-- | 11.5 KB |
asdl_c.py | -rwxr-xr-x | 42.7 KB |
bitset.c | -rw-r--r-- | 1.0 KB |
firstsets.c | -rw-r--r-- | 2.8 KB |
grammar.c | -rw-r--r-- | 6.8 KB |
grammar1.c | -rw-r--r-- | 1.3 KB |
listnode.c | -rw-r--r-- | 1.2 KB |
metagrammar.c | -rw-r--r-- | 2.4 KB |
myreadline.c | -rw-r--r-- | 6.1 KB |
node.c | -rw-r--r-- | 4.4 KB |
parser.c | -rw-r--r-- | 11.6 KB |
parser.h | -rw-r--r-- | 1.0 KB |
parsetok.c | -rw-r--r-- | 10.5 KB |
parsetok_pgen.c | -rw-r--r-- | 35 bytes |
pgen.c | -rw-r--r-- | 17.5 KB |
pgenmain.c | -rw-r--r-- | 3.8 KB |
printgrammar.c | -rw-r--r-- | 2.9 KB |
spark.py | -rw-r--r-- | 26.5 KB |
tokenizer.c | -rw-r--r-- | 49.7 KB |
tokenizer.h | -rw-r--r-- | 3.4 KB |
tokenizer_pgen.c | -rw-r--r-- | 36 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...