| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
disutils2, and distutils is now feature-frozen.
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76956 | tarek.ziade | 2009-12-21 02:22:46 +0100 (Mon, 21 Dec 2009) | 1 line
massive import cleaning in Distutils
........
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74988 | tarek.ziade | 2009-09-21 14:19:07 +0200 (Mon, 21 Sep 2009) | 1 line
improved distutils test coverage: now the DEBUG mode is covered too (will help fix the issue #6954 in py3k branch)
........
|
|
|
|
| |
I like this because it makes the code shorter! :-)
|
| |
|
|
|
|
|
|
| |
wrong module?
Fix all remaining instances that did bad things with the new str.translate().
|
| |
|
|
|
|
|
|
|
|
| |
unicode, and a few other compensating changes, e.g. str <- unicode,
chr <- unichr, and repr() of a unicode string no longer starts
with 'u'. Lots of unit tests are broken, but some basic things
work, in particular distutils works so the extensions can be built,
and test_builtin.py works.
|
|
|
|
|
| |
* all calls to functions in the string module (except maketrans)
* everything from stropmodule except for maketrans() which is still used
|
|
|
|
|
|
|
|
|
| |
There's one major and one minor category still unfixed:
doctests are the major category (and I hope to be able to augment the
refactoring tool to refactor bona fide doctests soon);
other code generating print statements in strings is the minor category.
(Oh, and I don't know if the compiler package works.)
|
|
|
|
|
|
| |
(a) "except E, V" -> "except E as V"
(b) V is now limited to a simple name (local variable)
(c) V is now deleted at the end of the except block
|
|
|
|
|
|
| |
Not all code has been fixed yet; this is just a checkpoint...
The C API still has PyDict_HasKey() and _HasKeyString(); not sure
if I want to change those just yet.
|
| |
|
|
|
|
| |
- fix broken assert statement; should just raise
|
|
|
|
| |
From SF patch #852334.
|
|
|
|
| |
suggested by PEP 291.
|
|
|
|
| |
is often out of date
|
| |
|
| |
|
| |
|
|
|
|
| |
constant.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a conservative version of SF patch 504889. It uses the log
module instead of calling print in various places, and it ignores the
verbose argument passed to many functions and set as an attribute on
some objects. Instead, it uses the verbosity set on the logger via
the command line.
The log module is now preferred over announce() and warn() methods
that exist only for backwards compatibility.
XXX This checkin changes a lot of modules that have no test suite and
aren't exercised by the Python build process. It will need
substantial testing.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
(allows the same FancyGetopt object to be used multiple times with different
option tables).
|
|
|
|
| |
a short form and text that wraps onto multiple lines.
|
|
|
|
| |
after all -- turns out it doesn't buy us much after all...
|
|
|
|
|
| |
in the option list is an attribute of the OptionDummy that will be
initialized to None.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Added 'set_option_table()' method.
Added missing 'self' to 'get_option_order()'.
Cosmetic/comment/docstring tweaks.
|
|
|
|
|
| |
leaving in its place a tiny wrapper around the FancyGetopt class
for backwards compatibility.
|
|
|
|
|
|
|
|
| |
class. (Mainly this was to support the ability to go back after the
getopt operation is done and get extra information about the parse,
in particular the original order of options seen on the command line.
But it's a big improvement and should make it a lot easier to add
functionality in the future.)
|
| |
|
|
|
|
|
|
|
|
| |
'generate_help()', 'wrap_text()' functions, and a little tiny test
of 'wrap_text()'.
Changed how caller states that one option is the boolean opposite of
another: added 'negative_opt' parameter to 'fancy_getopt()', and changed
to use it instead of parsing long option name.
|
|
|
|
| |
-q/--quiet reasonably elegantly.
|
|
|
|
| |
Better error messages for bad entries in option table.
|
|
|