| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
bugreport, just an IRC one by Marion Delgado.) These prototypes are
necessary because the functions are tossed around, not just called.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in_callback field that's set to true whenever a callback into an
event handler is true. Needed for:
set_error(): Add line number of offset information to the exception
as attributes, so users don't need to parse the text of the
message.
set_error_attr(): New helper function for set_error().
xmlparse_GetInputContext(): New function of the parser object;
returns the document source for an event during a callback, None
at all other times.
xmlparse_SetParamEntityParsing(): Make the signature consistent with
the other parser methods (use xmlparseobject* for self instead of
PyObject*).
initpyexpat(): Don't lose the reference to the exception class!
call_with_frame(),
getcode(): Re-indent to be consistent with the rest of the file.
|
|
|
|
|
|
|
|
| |
_testcapimodule.c
make sure PyList_Reverse doesn't blow up again
getargs.c
assert args isn't NULL at the top of vgetargs1 instead of
waiting for a NULL-pointer dereference at the end
|
|
|
|
|
|
|
|
| |
Fix the .binary() method of mpz objects for 64-bit systems.
[Also removed a lot of trailing whitespace elsewhere in the file. --FLD]
This closes SF patch #103547.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of nested functions. Either is allowed in a function if it contains
no defs or lambdas or the defs and lambdas it contains have no free
variables. If a function is itself nested and has free variables,
either is illegal.
Revise the symtable to use a PySymtableEntryObject, which holds all
the revelent information for a scope, rather than using a bunch of
st_cur_XXX pointers in the symtable struct. The changes simplify the
internal management of the current symtable scope and of the stack.
Added new C source file: Python/symtable.c. (Does the Windows build
process need to be updated?)
As part of these changes, the initial _symtable module interface
introduced in 2.1a2 is replaced. A dictionary of
PySymtableEntryObjects are returned.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
now carry a 'code' attribute that gives the Expat error
number.
Added support for additional handlers for Expat 1.95.*, including
XmlDeclHandler, EntityDeclHandler, ElementDeclHandler, and
AttlistDeclHandler. Associated constants are in the 'model'
sub-object.
Added two new attributes to the parser object: ordered_attributes and
specified_attributes. These are used to control how attributes are
reported and which attributes are reported.
|
|
|
|
| |
the entire string passed to it
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
STILL NEEDS UNIX BUILD CHANGES.
|
|
|
|
|
|
|
|
| |
Adds support for raw packets (AF_PACKET) under Linux. I haven't
tested this code thoroughly; it compiles and the basic calls all work
without crashing. Not sure what to actually do with raw sockets though.
Not sure what other platforms this might be useful for.
|
| |
|
|
|
|
|
|
| |
socket -- as suggested by Clarence Gardner.
Fix httplib to comply with the new ssl-socket interface.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This involves changing the zlib build process to build zlib itself from sources, then use that library. Also updated are the comments to reflect the new official home of zlib, and add Windows specific notes regarding the build process.
|
|
|
|
|
|
|
|
| |
finding w9xpopen.exe.
"Partial" as the code uses sys.prefix in an attempt to locate 'w9xpopen.exe', but sys.prefix is not set if Python can't find it itself. So this _still_ fails in Pythonwin, but I am committing the patch for 2 reasons:
* Embedded apps that set sys.prefix or use PYTHONHOME will work
* The exception raised on failure to find the executable is far more obvious
|
| |
|
|
|
|
| |
object. This avoids creation + decref if bogus arguments are passed.
|
|
|
|
| |
NetBSD
|
|
|
|
| |
in term.h
|
|
|
|
| |
commented out.
|
|
|
|
| |
(contributed by Paul Jackson)
|
|
|
|
|
| |
about the internal initialization of instance objects. Make the
dict parameter optional, and allow None as equivalent to omission.
|
| |
|
| |
|
| |
|
|
|
|
| |
- Put shared modules in the same place as object files.
|
| |
|
|
|
|
| |
arguments, which were based on an interim development API.
|
|
|
|
| |
Track changes to PyFrame_New() and PyFuntion_New().
|
|
|
|
| |
You can only use mult-line strings in C if each line ends in \.
|
|
|
|
| |
an eyeballing of the code.
|
|
|
|
|
| |
tp_flags. This will become important when I introduce
Py_TPFLAGS_HAVE_RICHCOMPARE (as I should have!).
|
|
|
|
|
|
|
| |
directory. Modify meaning of -s option to specify the Modules directory.
Add -l option to specify library source directory when building extension
modules. Perhaps these names should be switched to avoid breaking old
code. Add -c compiler option to when emitting rules to build object files.
|
|
|
|
| |
VPATH.
|
| |
|
| |
|
|
|
|
|
| |
crop of changes, the files are small enough to do this). Also
adds "name" and "lookup" functions to unicodedata.
|