- 11 Nov, 2000 1 commit
-
-
Greg Ward authored
use it to generate a dialog for users to specify the command-line (because providing a command-line with MacPython is so awkward).
-
- 10 Nov, 2000 2 commits
-
-
Jack Jansen authored
-
Tim Peters authored
unfortunate consequence of somebody switching from PyArg_Parse to PyArg_ParseTuple but without changing the argument from a NULL to a tuple.
-
- 09 Nov, 2000 2 commits
-
-
Guido van Rossum authored
Fred.
-
Guido van Rossum authored
try/except.
-
- 08 Nov, 2000 6 commits
-
-
Barry Warsaw authored
to call self.close() to reclaim some file descriptors, the reraise the exception. Closes SF patch #102185 and SF bug #119833.
-
Fred Drake authored
occurs in the Python sources appears to be as text in comments. We do not want to interfere with C++ keywords! This closes bug #119851.
-
Fred Drake authored
-
Fred Drake authored
*really* closes bug #121965. Added three attributes to the xrange object: start, stop, and step. These are the same as for the slice objects.
-
Fred Drake authored
where ">=" should have been. This closes bug #121965.
-
Guido van Rossum authored
-
- 07 Nov, 2000 4 commits
-
-
Jack Jansen authored
-
Fred Drake authored
-
Greg Ward authored
- when compiling with GCC on Solaris, use "$(CC) -shared" instead of "$(CC) -G" to generate .so files - when compiling with GCC on any platform, add "-fPIC" to OPT (without this, "$(CC) -shared" dies horribly)
-
Andrew M. Kuchling authored
-
- 06 Nov, 2000 7 commits
-
-
Fred Drake authored
files; error reported by Ng Pheng Siong <ngps@post1.com>. Make sure that various special object attributes are properly indexed.
-
Barry Warsaw authored
file uploads. In response to SF bugs 110674 and 119806, and discussions on python-dev, we are removing the self.lines attribute from the FieldStorage class. Specifically touched where methods __init__(), read_lines_to_eof(), and skip_lines(). No one can remember why self.lines was added. Technically, it's part of the public interface for the class, but it was never documented. It's possible clever or nosy code will break because of this, but it was decided to remove it and see who complains. This resolution also closes the second half of the cgi.py entry in PEP 42. The first half of that PEP concerns specifically binary file uploads, where there may be no end-of-line marker for a very long time. This patch does not address that issue.
-
Jeremy Hylton authored
further optimization of com_node makes the most difference.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
embedded code objects (e.g. functions) rather than the generated code object. This change means that the compiler generates code for everything at the end, rather then generating code for each function as it finds it. Implementation note: _convert_LOAD_CONST in pyassem.py must be change to call getCode(). Other changes follow. Several changes creates extra edges between basic blocks to reflect control flow for loops and exceptions. These missing edges had gone unnoticed because they do not affect the current compilation process. pyassem.py: Add _enable_debug() and _disable_debug() methods that print instructions and blocks to stdout as they are generated. Add edges between blocks for instructions like SETUP_LOOP, FOR_LOOP, etc. Add pruneNext to get rid of bogus edges remaining after unconditional transfer ops (e.g. JUMP_FORWARD) Change repr of Block to omit block length. pycodegen.py: Make sure a new block is started after FOR_LOOP, etc. Change assert implementation to use RAISE_VARARGS 1 when there is no user-specified failure output. misc.py: Implement __contains__ and copy for Set.
-
Jeremy Hylton authored
the function's body. If assert is used without an error message, make the AST node None rather than Name('None').
-
Mark Hammond authored
-
- 03 Nov, 2000 4 commits
-
-
Fredrik Lundh authored
ranges) -- but thanks to the 2.0 compression scheme, this doesn't add a single byte to the resulting binaries (!) Closes bug #117524
-
Guido van Rossum authored
box on Linux.
-
Thomas Wouters authored
regardless of whether the system getopt() does what we want. This avoids the hassle with prototypes and externs, and the check to see if the system getopt() does what we want. Prefix optind, optarg and opterr with _PyOS_ to avoid name clashes. Add new include file to define the right symbols. Fix Demo/pyserv/pyserv.c to include getopt.h itself, instead of relying on Python to provide it.
-
Fred Drake authored
-
- 02 Nov, 2000 3 commits
-
-
Fred Drake authored
two [bug #119729]. Update use of distutils.sysconfig that "broke" when Greg W. changed the API [bug #119645].
-
Guido van Rossum authored
-
Fred Drake authored
-
- 01 Nov, 2000 3 commits
-
-
Andrew M. Kuchling authored
build on SGI": * Check for 'sgi' preprocessor symbol, not '__sgi__' * Surround individual character macros with #ifdef's, instead of making them all rely on STRICT_SYSV_CURSES
-
Fred Drake authored
Reported by Erno Kuusela <erno@iki.fi>.
-
Tim Peters authored
ndiff w/ a custom version I made for Guido during the pre-2.0 freeze.
-
- 30 Oct, 2000 5 commits
-
-
Jeremy Hylton authored
-
Guido van Rossum authored
Jocham. Philipp asks: "Are there any success stories with HP-UX 11.00 and -lcma? Maybe libcma is broken."
-
Jeremy Hylton authored
When a method is called with no regular arguments and * args, defer the first arg is subclass check until after the * args have been expanded. N.B. The CALL_FUNCTION implementation is getting really hairy; should review it to see if it can be simplified.
-
Fred Drake authored
scope to be " (in module <name>)" instead of " (in <name>)" to be consistent with \withsubitem usage throughout the documentation. This achieves consistency in indexing throughout the documentation.
-
Fred Drake authored
the content body is the \ttindex macro, which seems to match actual usage. Adjust \funcline to restore the "index sub-item" for functions to be " (in module <name>)" instead of " (in <name>)". This is need to match uses of \withsubitem throughout the documentation. (Not ideal, but gets achieves consistency.)
-
- 29 Oct, 2000 3 commits
-
-
Fred Drake authored
Have the mail sent to the python-dev and Doc-SIG lists.
-
Fred Drake authored
to be very robust. Using \index directly fixes a lot of entries in the index that had to be specifically read to determine that they had the wrong parenthesized description.
-
Fred Drake authored
and to provide more consistent indexing. Added an index entry. Added documentation for the error and XMLParserType objects.
-