| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
latest public snapshot.""
|
|
|
|
|
| |
Updated to the fix in %c formatting: it now always checks for
a one character argument.
|
|
|
|
|
|
| |
Added emulations of the C APIs in _locale to be used when the
_locale module is not enabled. They return the correct values
assuming the 'C' locale.
|
|
|
|
| |
passed None.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
template into a new method 'prune_file_list()', called from
'get_file_list()' rather than 'read_manifest()' -- this keeps
'read_manifest()' more general.
Deleted the redundant call to 'exclude_pattern()' in 'make_distribution()'
-- this had the same intention as 'prune_file_list()', but was incomplete
(only pruned the release tree, not the build tree) and in the wrong
place (the prune wouldn't be reflected in the manifest file).
|
|
|
|
| |
Deleted old, commented-out 'exclude_pattern()' method.
|
| |
|
|
|
|
| |
a short form and text that wraps onto multiple lines.
|
| |
|
|
|
|
| |
'help_options' list; also added an editorial comment.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
directly printing to stdout. This was a bit more work than it sounds like
it should have been:
* turned 'select_pattern()' and 'exclude_pattern()' from functions into
methods, so they can refer to 'self' to access the method
* commented out the *other* 'exclude_pattern()' method, which appears
to be vestigial code that was never cleaned up when the
'exclude_pattern()' function was created
* changed the one use of the old 'exclude_pattern()' method to use the
new 'exclude_pattern()' (same behaviour, slightly different args)
* some code and docstring reformatting
* and, of course, changed all the debugging prints to 'debug_print()' calls
Added/tweaked some regular ('self.announce()') output for better runtime
feedback.
|
| |
|
|
|
|
|
| |
Added some more codec aliases. Some of them are needed by the
new locale.py encoding support.
|
|
|
|
|
|
|
|
|
|
| |
Added support to set the default encoding of strings
at startup time to the values defined by the C locale.
The sys.setdefaultencoding() API is deleted after having
set up the encoding, so that user code cannot subsequentely
change the setting. This effectively means that only site.py
may alter the default setting.
|
|
|
|
|
|
| |
Added a new locale name aliasing engine which also supports
locale encodings, a feature which is used by the new default
encoding support in site.py.
|
|
|
|
|
| |
codec can be used to effectively switch off string coercion
to Unicode.
|
|
|
|
|
|
|
|
|
|
| |
values that "--foo" can take for various commands: eg. what formats for
"sdist" and "bdist", what compilers for "build_ext" and "build_clib".
I have *not* reviewed this patch; I'm checking it in as-is because it also
fixes a paper-bag-over-head bug in bdist.py, and because I won't have
time to review it properly for several days: so someone else can
test it for me, instead!
|
|
|
|
|
| |
and call it "distutils.cfg" instead of "pydistutils.cfg" (personal
config files are still ".pydistutils.cfg" or "pydistutils.cfg", though).
|
|
|
|
|
|
|
|
| |
Look for personal config file in /home/greg on Windows, too: users will have
to set /home/greg to use this, so it's not something that many people will
use. But if python-dev comes up with the "right way" to divine a
home directory on Windows, we can use that to set /home/greg and poof! --
personal Distutils config files on Windows.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
one doesn't *do* anything by default; it's just there as a conduit for data
(eg. include dirs, libraries) from the user to the "build" commands.
However, it provides a couple of Autoconf-ish methods ('try_compile()',
'try_link()', 'try_run()') that derived, per-distribution "config" commands
can use to poke around the target system and see what's available.
Initial experimenst with mxDateTime indicate that higher-level methods are
necessary: analogs of Autoconf's AC_CHECK_HEADER, AC_CHECK_LIB will be
needed too (and that's just to probe the C/C++ system: how to probe the
Python system is wide open, and someday we'll have to worry about probing a
Java system too).
|
|
|
|
| |
command being reinitialized to false.
|
| |
|
| |
|
|
|
|
|
|
| |
Half-fixed RPM 2 compatibility:added 'rpm_base' option, which must be set
(to eg. /usr/src/redhat on a stock Red Hat system) if rpm2_mode is on.
Still not quite working, though.
|
|
|
|
| |
spelled sensibly in a config file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fills in question marks in help
Reads scripts in from files rather than strings
Adds RPM 2 compatibility mode (untested). Use of this mode requires that
--bdist-base be specified because bdist_rpm has no way of detecting where
RPM wants to find spec files and source files. An unmodified RedHat 5.0
system would require '--bdist-base=/usr/src/RedHat'. (You would also have
to be root.) If the rpmrc file has been modified to allow RPMs to be built
by normal users then --build-base would need to be changed accordingly.
Formats the changelog.
GPW: tweaked formatting, added some editorial comments.
|
|
|
|
| |
and added 'ensure_dirname()'.
|