| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
BeOS headers live in various non-standard places;
luckily, there's an environment variable that lists them all.
|
| |
|
|
|
|
|
| |
This fixes a bug that can cause core dumps when doing seeks in input
StringIO objects. This has a number of other clean-ups.
|
|
|
|
| |
(This only applies when COUNT_ALLOCS is defined.)
|
|
|
|
|
| |
When printing missing modules, also print the module they were
imported from.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
string we find ourselves in, based on the passed in delimiter.
(py-compute-indentation): Fixes for indentation errors when we land
inside a triple quoted string. For example:
def foo():
if os.path.isfile(o_pri_mbox_file) and os.path.isfile(o_pub_mbox_file):
print """\
I found both a private and a public mbox archive file
private: %s
public : %s
I won't move either file, but you should choose one and move it to
%s
You may want to merge them manually, but be careful about exposing private
correspondences to the public.""" % (
o_pri_mbox_file, o_pub_mbox_file, mbox_file)
*----indentation would be wrong on this line.
|
|
|
|
|
|
|
|
| |
to color constants (i.e. red constant, green constant, blue
constant). But I haven't hooked this up yet because the UI gets more
crowded and the arrows don't reflect the correct values.
Added "Go to Black" and "Go to White" buttons.
|
|
|
|
| |
"Author" => "Contact"
|
| |
|
| |
|
|
|
|
|
|
|
| |
> mpz.mpz('\xff') should return mpz(255). Instead it returns
> mpz(4294967295L). Looks like the constructor doesn't work with strings
> containing characters above chr(128).
Caused by using just 'char' where 'unsigned char' should have been used.
|
|
|
|
|
|
|
| |
buffer increment, and sometimes the new buffer size. Make it do what
its name says, and fix the one place where this matters to the caller.
Also add a comment explaining why we call lseek() and then ftell().
|
|
|
|
|
| |
from the fast free list -- the type (at least) is reset by
_Py_Dealloc().
|
|
|
|
| |
in early dealloc. Patch by Andrew Dalke.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
But IMHO, this problem really reveals an annoyance in Python's
makesetup. makesetup puts the global include directories "$(INCLUDEPY)
$(EXECINCLUDEPY)" in front of the directories defined by the module in
Setup. Therefore global (potentially older) header files are preferred
over the ones set by the module, which makes it hard to compile new
versions of modules when the old versions are installed. AFAIK, the
other way around is common practice for most other software.
This patch to makesetup would be an potential fix for this problem,
though I don't know if it breaks anything else.
|
|
|
|
|
|
|
|
|
| |
<moduleinfo> element based on various meta information, and
strip some cruftiness. This is more usable for information
extraction, and organizes the information more clearly.
cleanup_synopses(): Rewrite to use create_module_info(), so this
will work with multi-rooted "documents".
|
|
|
|
| |
Sheesh, where do these things come from?
|
|
|
|
| |
contains "e" events for them. This wasn't used anyway.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
little; more thinking is needed about what we really want.
|
| |
|
|
|
|
| |
likely to be used.
|
|
|
|
| |
says Chris Herborth.
|
|
|
|
|
|
| |
when we create a recursive instance, by setting the class variable
'FieldStorageClass' to the desired class. By default, this is set to
None, in which case we use self.__class__ (as before).
|
| |
|
|
|
|
|
|
| |
The example Makefile.pre.in should also look at Setup.thread and
Setup.local. Otherwise modules such as thread don't get incorporated
in extensions.
|
| |
|
|
|
|
| |
confusion, and describe what the "directives" are about.
|
| |
|
|
|
|
| |
with it.
|
| |
|
|
|
|
| |
A. Koren <pkoren@hex.net>.
|
|
|
|
|
| |
In literal mode, also don't do anything about entity and character
references, or about closing CDATA elements.
|
|
|
|
| |
function as DL_IMPORT()!
|
|
|
|
|
|
| |
When literal mode is entered it should exit automatically when the
matching close tag of the last unclosed open tag is encountered. This
patch fixes this.
|
| |
|
|
|
|
| |
Noticed by Andrew MacIntyre <andymac@bullseye.apana.org.au>.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
In SimpleHTTPServer.py, the server specified in test() should
be BaseHTTPServer.HTTPServer, in case the request handler should
want to reference the two attributes added by
BaseHTTPServer.server_bind:
self.server_name = hostname
self.server_port = port
There was some Bobo CGI code that wanted access to those attributes.
|
|
|
|
|
|
|
|
|
| |
In CGIHTTPServer.py, the list of acceptable formats is -split-
on spaces but -joined- on commas, resulting in double commas
in the joined text. It appears harmless to my browser but
ought to be fixed anyway.
'A, B, C' -> 'A,', 'B,', 'C,' -> 'A,,B,,C'
|
|
|
|
| |
might actually work.
|
| |
|
| |
|
| |
|