| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
files; error reported by Ng Pheng Siong <ngps@post1.com>.
Make sure that various special object attributes are properly indexed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
further optimization of com_node makes the most difference.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
the function's body.
If assert is used without an error message, make the AST node None
rather than Name('None').
|
|
|
|
| |
not win32api
|
|
|
|
|
|
|
| |
ranges) -- but thanks to the 2.0 compression scheme, this doesn't add
a single byte to the resulting binaries (!)
Closes bug #117524
|
|
|
|
| |
box on Linux.
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
two [bug #119729].
Update use of distutils.sysconfig that "broke" when Greg W. changed the API
[bug #119645].
|
| |
|
| |
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Reported by Erno Kuusela <erno@iki.fi>.
|
|
|
|
| |
ndiff w/ a custom version I made for Guido during the pre-2.0 freeze.
|
| |
|
|
|
|
|
| |
Jocham. Philipp asks: "Are there any success stories with HP-UX 11.00
and -lcma? Maybe libcma is broken."
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.)
|
|
|
|
| |
Have the mail sent to the python-dev and Doc-SIG lists.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
and to provide more consistent indexing.
Added an index entry.
Added documentation for the error and XMLParserType objects.
|
|
|
|
|
|
|
| |
has the required length.
initpyexpat(): Provide the type object for the ParserCreate() return
value as XMLParserType.
|
|
|
|
| |
may be out of date.
|
| |
|
|
|
|
|
|
|
|
| |
-- fixed negative lookbehind to work correctly at the beginning
of the target string (bug #117242)
-- improved syntax check; you can no longer refer to a group
inside itself (bug #110866)
|
| |
|
|
|
|
|
|
| |
delimiter, watch out for backslash escaped delimiters. Also use =
instead of eq for character comparison (because a character is = to
it's integer value, but not eq to it).
|
|
|
|
| |
class, method, and function docstrings.
|
|
|
|
|
|
| |
basename program, as suggested by Gregor Hoffleit <gregor@hoffleit.de>.
This closes bug #119485.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
as much of this as possible. Avoids propogating information about how
various outputs relate (or don't!).
|
|
|
|
| |
and provided instructions for getting it installed.
|
|
|
|
|
|
|
| |
Adjusted to reflect the rename of Setup.in to Setup.dist.
Added pointer to the "Distributing Python Modules" manual in the
appropriate place.
|
|
|
|
|
|
|
| |
Clarify when this file is created automatically and do not advocate
creating it unless needed.
Explain that Setup never gets overwritten.
|
|
|
|
| |
already exist.
|
|
|
|
| |
Setup (instead of creating it from the Makefile).
|
|
|
|
| |
documentation.
|
| |
|
|
|
|
| |
augmented print statement instead.
|
|
|
|
| |
augmented print statement instead.
|
|
|
|
| |
This closes bug #117706.
|
|
|
|
| |
BSDs) you need a leading underscore in the dlsym() lookup name.
|
| |
|