| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
to 'msvc_prelink_hack()', adding the parameters that it actually needs,
and only calling it for MSVC compiler objects. Generally gave up on the
idea of a general "hook" mechanism: deleted the empty 'precompile_hook()'.
|
| |
|
| |
|
|
|
|
|
| |
experimental and untested.)
Call 'customize_compiler()' after getting CCompiler object.
|
|
|
|
|
|
| |
information about building Python extensions that we discovered in
Python's makefile. Currently only needed on Unix, so does nothing on
other systems.
|
|
|
|
|
|
|
|
|
|
|
| |
that a particular compiler system depends on. This consists of the
'set_executables()' and 'set_executable()' methods, and a few lines in
the constructor that expect implementation classes to provide an
'executables' attribute, which we use to initialize several instance
attributes. The default implementation is somewhat biased in favour of
a Unix/DOS "command-line" view of the world, but it shouldn't be too
hard to override this for operating systems with a more sophisticated
way of representing programs-to-execute.
|
|
|
|
|
|
|
|
| |
meant playing along with the new "dictionary of executables" scheme
added to CCompiler by adding the 'executables' class attribute, and
changing all the compile/link/etc. methods to use the new attributes
(which encapsulate both the program to run and its standard arguments,
so it was a *little* bit more than just changing some names).
|
|
|
|
|
| |
Unix shell-like syntax (eg. in Python's Makefile, for one thing -- now that
I have this function, I'll probably allow quoted strings in config files too.
|
|
|
|
| |
Fixed a few comments.
|
|
|
|
| |
Tweaked help text.
|
|
|
|
|
|
| |
the "install_data" command to the installation base, which is usually just
sys.prefix. (Any setup scripts out there that specify data files will have
to set the installation directory, relative to the base, explicitly.)
|
|
|
|
| |
on if it sees a filename with unknown extension.
|
|
|
|
|
|
|
| |
in the module of the command classes that have command-specific
help options. This lets us keep the principle of lazily importing
the ccompiler module, and also gets away from defining non-methods
at class level.
|
| |
|
| |
|
| |
|
|
|
|
| |
accomodate SWIG interface files, resource files, etc.).
|
|
|
|
| |
than a boolean indicating whether it did the copy.
|
|
|
|
| |
Made codecs.open() default to 'rb' as file mode.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These two fixes were approved by me.
Peter Kropf:
There's a problem with the xmllib module when used with JPython. Specifically,
the JPython re module has trouble with the () characters in strings passed into
re.compile.
Spiros Papadimitriou:
I just downloaded xmllib.py ver. 0.3 from python.org and there
seems to be a slight typo: Line 654 ("tag = self.stack[-1][0]"
in parse_endtag), is indented one level more than it should be.
I just thought I'd let you know...
|
|
|
|
|
|
| |
major ports of GCC to Windows. Contributed by Rene Liebscher, and quite
untested by me. Apparently requires tweaking Python's installed config.h
and adding a libpython.a to build extensions.
|
|
|
|
| |
manifest, regenerate the manifest.
|
| |
|
|
|
|
| |
(Bug spotted and originally fixed by Rene Liebscher; fix redone by me.)
|
|
|
|
| |
'install_headers'.
|
|
|
|
|
|
| |
'try_cpp()', 'search_cpp()', and 'check_header()'. This is enough that
the base config is actually useful for implementing a real config
command, specifically one for mxDateTime.
|
| |
|
|
|
|
|
|
| |
it in UnixCCompiler. Still needs to be implemented in MSVCCompiler (and
whatever other compiler classes are lurking out there, waiting to be
checked in).
|
| |
|
|
|
|
| |
raised, caught, and converted to a string.
|
|
|
|
|
| |
Patch to add support for sip: (Session Initiation Protocol, RFC2543)
URLs.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
this patch adds a fast _flatten function to the _tkinter
module, and imports it from Tkinter.py (if available).
this speeds up canvas operations like create_line and
create_polygon. for example, a create_line with 5000
vertices runs about 50 times faster with this patch in
place.
|
| |
|
| |
|
|
|
|
|
|
| |
and added (empty) 'precompile_hook()' for symmetry. One can envision
a much more elaborate hook mechanism, but this looks like it'll do for
now.
|
|
|
|
| |
mutable, rather than public and constant.
|
|
|
|
| |
instead of muddling through IOError and OSError exception objects itself.
|
|
|
|
| |
muddling through IOError and OSError exception objects right here.
|
|
|
|
| |
forms that IOError and OSError can take (taken from core.py).
|
|
|
|
|
|
|
|
|
| |
'remove_tree()' can cooperate with 'mkpath()' in the maintenance of
the PATH_CREATED cache: specifically, if a directory is created
with 'mkpath()', later removed with 'remove_tree()', and 'mkpath()'
is again requested to create it, then it would erroneously think
the directory already existed, because it was in the PATH_CREATED
cache. The patch (slightly tweaked by me) fixes that.
|
| |
|
|
|
|
|
| |
Removed a test which can fail when the default locale setting
uses a Latin-1 encoding. The test case is not applicable anymore.
|
|
|
|
| |
Thanks to Hubert Hoegl <hubert.hoegl@dlr.de> for finding this bug.
|
|
|
|
|
|
|
|
| |
Fixed some tests to not cause the script to fail, but rather
output a warning (which then is caught by regrtest.py as wrong
output). This is needed to make test_unicode.py run through
on JPython.
Thanks to Finn Bock.
|
|
|
|
|
| |
Removed import of string module -- use string methods directly.
Thanks to Finn Bock.
|
| |
|
| |
|
|
|
|
|
| |
test. Someone with more Linux audio knowledge should at least take a
brief look at it.
|
| |
|