| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
fix imports
remove parse functions and visitor code
track name change: Classdef to Class
add some comments and tweak order of visitXXX methods
get rid of if __name__ == "__main__ section
|
|
|
|
| |
import some useful functions from contained modules
|
| |
|
|
|
|
| |
that are internally converted to chars, rather than taking a string.
|
|
|
|
|
|
|
| |
add doc string to transformer module
add two helper functions:
parse(buf) -> AST
parseFile(path) -> AST
|
| |
|
|
|
|
| |
complicated to copy in-line here.
|
|
|
|
| |
used for delta-t values by quicktime).
|
|
|
|
| |
few other paths through the function that leaked).
|
| |
|
|
|
|
| |
before 1.6 is out so it has to be compatible with 1.5.2.
|
|
|
|
| |
simpler implementation.
|
|
|
|
|
|
|
|
|
|
|
|
| |
implement it (so far):
* moved filename generation methods into CCompiler base class,
driven by data supplied by implementation classes
* moved a bunch of common code from UnixCCompiler to convenience
methods in CCompiler
* overhauled MSVCCompiler's compile/link methods to look and act
as much as possible like UnixCCompiler's, in order to regularize
both interface and behaviour (especially by using those new
convenience methods)
|
| |
|
|
|
|
|
| |
Don't assume that the 'libraries' and 'library_dirs' elements of the
build info dict are always lists.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
idle.py:
Load the config files before anything else happens
XXX Need to define standard way to get files relative to the
IDLE install dir
PyShell.py:
ColorDelegator.py:
Get color defns out of IdleConf instead of IdlePrefs
EditorWindow.py:
Replace hard-coded font & window size with config options
Get extension names via IdleConf.getextensions
extend.py:
Obsolete. Extensions defined in config file.
ParenMatch.py:
Use config file for extension options.
Revise comment about parser requirements.
Simplify logic on find returning None.
|
| |
|
| |
|
| |
|
|
|
|
| |
inadvertantly seen as out-only.
|
|
|
|
|
|
| |
pixmap data.
Added an as_GrafPort() method to be able to use a GWorld as argument to
routines that expect a GrafPort.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changes the one regexp in PyParse capable of making the re module blow the C
stack when passed unreasonable <0.9 wink> program text. Jeremy Hylton
provoked this with a program of the form:
x = (1,
2,
... # 9997 lines deleted here
10000,
)
Programs "like this" will no longer (no matter how many lines they contain)
trigger re death. OTOH, you can now make another class of unreasonable
program that will take much longer to parse.
|
| |
|
|
|
|
| |
Fixed all DistutilsFileError messages to wrap file/dir names in quotes.
|
|
|
|
| |
not run this extension and CallTips extension at the same time.
|
|
|
|
| |
generic, video and audio implemented for now.
|
|
|
|
| |
in PyErr_SetFromWindowsErrWithFilename() like he intended to... :-)
|
|
|
|
|
|
| |
* replaced build_lib.py with build_clib.py
* renamed the class in build_clib.py
* changed all references to 'build_lib' command in other command classes
|
| |
|
|
|
|
|
|
|
| |
when building extensions (uses build_lib's 'get_library_names()' method).
Ensure that the relative structure of source filenames is preserved in
the temporary build tree, eg. foo/bar.c compiles to
build/temp.<plat>/foo/bar.o.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added 'build_clib' and 'build_temp' options (where to put C libraries
and where to put temporary compiler by-products, ie. object files).
Moved the call to 'check_library_list()' from 'run()' to 'finalize_options()'
-- that way, if we're going to crash we do so earlier, and we guarantee
that the library list is valid before we do anything (not just run).
Disallow directory separators in library names -- the compiled library
always goes right in 'build_clib'.
Added 'get_library_names()', so the "build_ext" command knows what
libraries to link every extension with.
|
|
|
|
|
|
| |
filenames when constructing object filenames, even if output_dir given --
eg. "foo/bar.c" will compile to "foo/bar.o" without an output_dir, and to
"temp/foo/bar.o" if output_dir is "temp".
|
|
|
|
|
| |
and USE_TMPNAM_R at the top of the file and refer to them later; this
catches a second reference to 'tmpnam_r' that I didn't spot first time around.
|
|
|
|
| |
building a threaded Python.
|
| |
|
|
|
|
| |
exists before calling the compiler/linker.
|
|
|
|
| |
the compiler objects 'verbose' and 'dry_run' flags.
|
|
|
|
| |
'Distribution.find_command_obj()'.
|
|
|
|
| |
platform, using 'os.uname()' or 'sys.platform'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 'build_dir' -> 'build_lib', which by default takes its value
straight from 'build_lib' in the 'build' command
* added 'build_temp' and 'inplace' options
* change 'build_extensions()' to put object files (compiler turds) in
'build_temp' dir
* complicated the name-of-extension-file shenanigans in
'build_extensions()' to support "in-place" extension building, i.e.
put the extension right into the source tree (handy for developers)
* added 'get_ext_fullname()', renamed 'extension_filename()' to
'get_ext_filename()', and tweaked the latter a bit -- all to support
the new filename shenanigans
|
|
|
|
|
|
| |
* 'build_lib' -> 'build_purelib'
* new 'build_lib' and 'build_temp' options
* use 'get_platform()' to initialize 'build_platlib' and 'build_temp'
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This patch fixes 3 small problems.
1) If a map is used which is generated with 'makedbm -a',
the trailing '\0' is now handled correctely.
2) The nis.maps() function skipped the first map in the output list.
3) The library '-lnsl' is added in Setup.in (needed on Linux glibc2 and
Solaris systems. Maybe on other systems too?)
[I note that this still doesn't work when you are using NIS+ --GvR]
|
|
|
|
| |
PyArg_ParseTuple() format string arguments as possible.
|
|
|
|
| |
for "." and "..", since listdir() no longer returns those.
|
| |
|
| |
|