Staging
v0.8.1
https://github.com/python/cpython
Revision 5317e9cd8dc4bf1f02eb9144acb119673d537387 authored by R. David Murray on 16 December 2010, 19:08:51 UTC, committed by R. David Murray on 16 December 2010, 19:08:51 UTC
Before the introduction of filename arguments to compileall it gave semi useful
messages about not being able to 'list' names that weren't valid directories.
This fix restores that behavior.  In addition to the test for this case, the
patch also adds a test for the default behavior of compileall when no arguments
are provided, and fixes a bug in one of the previously added tests.
1 parent 20f0fb6
History
Tip revision: 5317e9cd8dc4bf1f02eb9144acb119673d537387 authored by R. David Murray on 16 December 2010, 19:08:51 UTC
#10719: restore messages generated on invalid compileall args
Tip revision: 5317e9c
File Mode Size
Python-ast.c -rw-r--r-- 266.2 KB
_warnings.c -rw-r--r-- 27.1 KB
asdl.c -rw-r--r-- 1.4 KB
ast.c -rw-r--r-- 101.3 KB
bltinmodule.c -rw-r--r-- 70.0 KB
ceval.c -rw-r--r-- 134.7 KB
ceval_gil.h -rw-r--r-- 13.9 KB
codecs.c -rw-r--r-- 30.6 KB
compile.c -rw-r--r-- 114.7 KB
dtoa.c -rw-r--r-- 79.2 KB
dup2.c -rw-r--r-- 705 bytes
dynamic_annotations.c -rw-r--r-- 6.6 KB
dynload_aix.c -rw-r--r-- 5.7 KB
dynload_dl.c -rw-r--r-- 564 bytes
dynload_hpux.c -rw-r--r-- 1.5 KB
dynload_next.c -rw-r--r-- 3.9 KB
dynload_os2.c -rw-r--r-- 1.2 KB
dynload_shlib.c -rw-r--r-- 4.2 KB
dynload_stub.c -rw-r--r-- 202 bytes
dynload_win.c -rw-r--r-- 9.6 KB
errors.c -rw-r--r-- 24.6 KB
fileutils.c -rw-r--r-- 11.6 KB
formatter_unicode.c -rw-r--r-- 506 bytes
frozen.c -rw-r--r-- 1.3 KB
frozenmain.c -rw-r--r-- 2.7 KB
future.c -rw-r--r-- 4.3 KB
getargs.c -rw-r--r-- 52.5 KB
getcompiler.c -rw-r--r-- 366 bytes
getcopyright.c -rw-r--r-- 502 bytes
getcwd.c -rw-r--r-- 1.5 KB
getopt.c -rw-r--r-- 3.3 KB
getplatform.c -rw-r--r-- 130 bytes
getversion.c -rw-r--r-- 289 bytes
graminit.c -rw-r--r-- 40.6 KB
import.c -rw-r--r-- 113.2 KB
importdl.c -rw-r--r-- 2.7 KB
importdl.h -rw-r--r-- 1.0 KB
makeopcodetargets.py -rwxr-xr-x 1.3 KB
marshal.c -rw-r--r-- 37.6 KB
modsupport.c -rw-r--r-- 14.2 KB
mysnprintf.c -rw-r--r-- 3.3 KB
mystrtoul.c -rw-r--r-- 8.1 KB
opcode_targets.h -rw-r--r-- 6.2 KB
peephole.c -rw-r--r-- 23.9 KB
pyarena.c -rw-r--r-- 5.8 KB
pyctype.c -rw-r--r-- 7.7 KB
pyfpe.c -rw-r--r-- 623 bytes
pymath.c -rw-r--r-- 1.5 KB
pystate.c -rw-r--r-- 20.8 KB
pystrcmp.c -rw-r--r-- 613 bytes
pystrtod.c -rw-r--r-- 37.6 KB
pythonrun.c -rw-r--r-- 66.4 KB
pytime.c -rw-r--r-- 1.7 KB
sigcheck.c -rw-r--r-- 529 bytes
strdup.c -rw-r--r-- 256 bytes
structmember.c -rw-r--r-- 8.8 KB
symtable.c -rw-r--r-- 53.1 KB
sysmodule.c -rw-r--r-- 58.8 KB
thread.c -rw-r--r-- 11.3 KB
thread_cthread.h -rw-r--r-- 2.3 KB
thread_foobar.h -rw-r--r-- 1.4 KB
thread_lwp.h -rw-r--r-- 2.8 KB
thread_nt.h -rw-r--r-- 9.6 KB
thread_os2.h -rw-r--r-- 5.7 KB
thread_pth.h -rw-r--r-- 4.6 KB
thread_pthread.h -rw-r--r-- 16.3 KB
thread_sgi.h -rw-r--r-- 8.0 KB
thread_solaris.h -rw-r--r-- 2.6 KB
thread_wince.h -rw-r--r-- 3.5 KB
traceback.c -rw-r--r-- 10.7 KB

back to top