- 08 Jun, 2000 12 commits
-
-
Marc-André Lemburg authored
Updated to the fix in %c formatting: it now always checks for a one character argument.
-
Marc-André Lemburg authored
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.
-
Greg Ward authored
passed None.
-
Greg Ward authored
-
Greg Ward authored
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).
-
Greg Ward authored
Deleted old, commented-out 'exclude_pattern()' method.
-
Greg Ward authored
-
Greg Ward authored
a short form and text that wraps onto multiple lines.
-
Greg Ward authored
-
Greg Ward authored
'help_options' list; also added an editorial comment.
-
Greg Ward authored
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.
-
Greg Ward authored
-
- 07 Jun, 2000 19 commits
-
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
Nav and AE have been moved to core toolbox modules: fixup dependent modules, export symbol list, etc.
-
Jack Jansen authored
Modified for new builtin exceptions.c.
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Marc-André Lemburg authored
Changed the API names for setting the default encoding. These are now in line with the other hooks API names (no underscores).
-
Marc-André Lemburg authored
Change the default encoding to 'ascii' (it was previously defined as UTF-8). Note: The implementation still uses UTF-8 to implement the buffer protocol, so C APIs will still see UTF-8. This is on purpose: rather than fixing the Unicode implementation, the C APIs should be made Unicode aware.
-
Marc-André Lemburg authored
The locale module is turned on per default.
-
Marc-André Lemburg authored
Added some more codec aliases. Some of them are needed by the new locale.py encoding support.
-
Marc-André Lemburg authored
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.
-
Marc-André Lemburg authored
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.
-
Marc-André Lemburg authored
codec can be used to effectively switch off string coercion to Unicode.
-
Fred Drake authored
by Mark Hammond <markh@activestate.com>. Limited markup & consistency revisions by FLD.
-
Greg Ward authored
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!
-
Greg Ward authored
and call it "distutils.cfg" instead of "pydistutils.cfg" (personal config files are still ".pydistutils.cfg" or "pydistutils.cfg", though).
-
Greg Ward authored
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.
-
- 06 Jun, 2000 6 commits
-
-
Trent Mick authored
-
Andrew M. Kuchling authored
Fix a small bug in posixmodule.c where a char* is being dereferenced where it should not be.
-
Greg Ward authored
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).
-
Greg Ward authored
command being reinitialized to false.
-
Greg Ward authored
-
Greg Ward authored
-
- 05 Jun, 2000 1 commit
-
-
Jack Jansen authored
-
- 04 Jun, 2000 2 commits
-
-
Jack Jansen authored
-
Jack Jansen authored
-