Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Wrap a bunch of long lines. | Fred Drake | 2001-02-19 | 1 | -13/+23 |
| | |||||
* | renamed internal functions to avoid name clashes under OpenVMS | Fredrik Lundh | 2001-02-18 | 1 | -17/+18 |
| | | | | (fixes bug #132815) | ||||
* | stupid typo (for some reason, this only caused problems on OpenVMS). | Fredrik Lundh | 2001-02-18 | 1 | -1/+1 |
| | |||||
* | Move docstrings out of function table to constants defined near the | Fred Drake | 2001-02-18 | 1 | -11/+23 |
| | | | | function implementations. | ||||
* | Bug #132816: Compiler warning in PYEXPAT.C for extra ';' | Tim Peters | 2001-02-17 | 1 | -5/+5 |
| | | | | Removed trailing ";" in instances of "};" closing code blocks. | ||||
* | Remove the old version of my_StartElementHandler(). This was conditionally | Fred Drake | 2001-02-16 | 1 | -17/+0 |
| | | | | | | compiled only for some versions of Expat, but was no longer needed as the new implementation works for all versions. Keeping it created multiple definitions for Expat 1.2, which caused compilation to fail. | ||||
* | Remove a hard coded Python version, and a now incorrect relative path. Closes | Neil Schemenauer | 2001-02-16 | 1 | -2/+1 |
| | | | | SF patch #103680. | ||||
* | Moved BeOS/ar-fake and BeOS/linkmodule to Modules/ar_beos and | Neil Schemenauer | 2001-02-16 | 2 | -0/+152 |
| | | | | Modules/ld_so_beos. Closes SF patch #103679. | ||||
* | Add a few more missing prototypes to the SunOS 4.1.4 section (no SF | Thomas Wouters | 2001-02-15 | 1 | -0/+3 |
| | | | | | bugreport, just an IRC one by Marion Delgado.) These prototypes are necessary because the functions are tossed around, not just called. | ||||
* | xmlparseobject: Remove the unused conv_attrs field, added an | Fred Drake | 2001-02-14 | 1 | -87/+156 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | Related to SF bug 132008 (PyList_Reverse blows up). | Tim Peters | 2001-02-12 | 1 | -0/+46 |
| | | | | | | | | _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 | ||||
* | Richard Fish <rfish@users.sourceforge.net>: | Fred Drake | 2001-02-12 | 1 | -33/+39 |
| | | | | | | | | 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. | ||||
* | In O_writelines: Replace use of string.joinfields with "".join. | Jeremy Hylton | 2001-02-09 | 1 | -8/+11 |
| | |||||
* | Relax the rules for using 'from ... import *' and exec in the presence | Jeremy Hylton | 2001-02-09 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | 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. | ||||
* | set_error(): Handle construction of pyexpat.error exceptions. They | Fred Drake | 2001-02-08 | 1 | -153/+456 |
| | | | | | | | | | | | | | | 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. | ||||
* | Remove the optional integer argument to SSL_write; now it will always send | Andrew M. Kuchling | 2001-02-07 | 1 | -5/+2 |
| | | | | the entire string passed to it | ||||
* | Patch #103636: Allow writing strings containing null bytes to an SSL socket | Andrew M. Kuchling | 2001-02-06 | 1 | -1/+1 |
| | |||||
* | Patch #103523, to make mpz module compile with Cygwin | Andrew M. Kuchling | 2001-02-06 | 1 | -1/+2 |
| | |||||
* | Support older PYTHON_API_VERSIONs for backwards compatibility. | Martin v. Löwis | 2001-02-06 | 2 | -5/+8 |
| | |||||
* | Another _testXXX -> _testcapiXXX renaming. | Tim Peters | 2001-02-04 | 1 | -1/+1 |
| | |||||
* | Renamed _testXXX to _testcapiXXX. Jack is my hero -- good call! | Tim Peters | 2001-02-04 | 1 | -3/+3 |
| | |||||
* | Superseded by $(srcdir)/Makefile.pre.in. | Neil Schemenauer | 2001-02-03 | 1 | -266/+0 |
| | |||||
* | Repair legit compiler warning. | Tim Peters | 2001-02-02 | 1 | -1/+1 |
| | |||||
* | fix a couple last-minute bugs in the raw socket support | Jeremy Hylton | 2001-02-02 | 1 | -24/+24 |
| | |||||
* | Add minimal interface to symtable: _symtable module. | Jeremy Hylton | 2001-02-02 | 1 | -0/+72 |
| | |||||
* | Added new Python C API _test module to the build mechanism on Unix. | Marc-André Lemburg | 2001-02-02 | 1 | -0/+1 |
| | |||||
* | Patch derived from Trent's 101162: a Python/C API testing framework. | Tim Peters | 2001-02-02 | 1 | -0/+68 |
| | | | | STILL NEEDS UNIX BUILD CHANGES. | ||||
* | SF patch 101137 from Grant Edwards | Jeremy Hylton | 2001-02-02 | 1 | -3/+93 |
| | | | | | | | | 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. | ||||
* | Teach Windows build about the _weakref module. | Tim Peters | 2001-02-02 | 1 | -1/+1 |
| | |||||
* | An ssl-wrapped socket now returns '' on EOF, just like a regular | Jeremy Hylton | 2001-02-01 | 1 | -7/+4 |
| | | | | | | socket -- as suggested by Clarence Gardner. Fix httplib to comply with the new ssl-socket interface. | ||||
* | move extra arguments to the back of the new.code() arglist | Jeremy Hylton | 2001-02-01 | 1 | -7/+24 |
| | |||||
* | PEP 205, Weak References -- initial checkin. | Fred Drake | 2001-02-01 | 1 | -0/+757 |
| | |||||
* | Add entries for the weakref module to the build control. | Fred Drake | 2001-02-01 | 1 | -0/+1 |
| | |||||
* | Docs for new Windows zlib build procedure. | Tim Peters | 2001-01-31 | 1 | -8/+1 |
| | |||||
* | Fix [ Bug #129293 ] zlib library used for binary win32 distribution can crash | Mark Hammond | 2001-01-31 | 1 | -2/+11 |
| | | | | 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. | ||||
* | Partial fix to [ Bug #128685 ] popen on Win9x isnt smart enough about ↵ | Mark Hammond | 2001-01-31 | 1 | -9/+45 |
| | | | | | | | | 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 | ||||
* | Fix Bug #125891 - os.popen2,3 and 4 leaked file objects on Windows. | Mark Hammond | 2001-01-31 | 1 | -0/+5 |
| | |||||
* | Cleanup logic a little. Check args first, then try to create the | Jeremy Hylton | 2001-01-29 | 1 | -4/+3 |
| | | | | object. This avoids creation + decref if bogus arguments are passed. | ||||
* | Patch #103485 from Donn Cave: patches to make the module compile on AIX and | Andrew M. Kuchling | 2001-01-29 | 1 | -0/+36 |
| | | | | NetBSD | ||||
* | Rename 'lines' variable to 'nlines' to avoid conflict with a macro defined | Andrew M. Kuchling | 2001-01-29 | 1 | -7/+7 |
| | | | | in term.h | ||||
* | Add back most of the old contents of Setup.dist, with all the modules | Andrew M. Kuchling | 2001-01-29 | 1 | -2/+368 |
| | | | | commented out. | ||||
* | Bug #130117: add a prototype required to compile cleanly on IRIX | Andrew M. Kuchling | 2001-01-28 | 1 | -0/+1 |
| | | | | (contributed by Paul Jackson) | ||||
* | new_instance(): Use PyInstance_NewRaw() instead of knowing too much | Fred Drake | 2001-01-28 | 1 | -15/+17 |
| | | | | | about the internal initialization of instance objects. Make the dict parameter optional, and allow None as equivalent to omission. | ||||
* | Fix a typo. | Neil Schemenauer | 2001-01-27 | 1 | -1/+1 |
| | |||||
* | init_curses_panel(): Be more consistent with indentation and blank lines. | Fred Drake | 2001-01-27 | 1 | -5/+3 |
| | |||||
* | Bug #129904: Put back the path component for the Tkinter modules | Andrew M. Kuchling | 2001-01-27 | 1 | -0/+3 |
| | |||||
* | - Use PY_CFLAGS when compile modules that will be part of the interpreter. | Neil Schemenauer | 2001-01-26 | 1 | -3/+5 |
| | | | | - Put shared modules in the same place as object files. | ||||
* | Correct one-line typo, reported by yole @ SF, bug 130077. | Guido van Rossum | 2001-01-25 | 1 | -1/+1 |
| | |||||
* | Fix arguments for PyFrame_New(). The previous checkin used the wrong | Jeremy Hylton | 2001-01-25 | 1 | -1/+0 |
| | | | | arguments, which were based on an interim development API. | ||||
* | PEP 227 implementation | Jeremy Hylton | 2001-01-25 | 2 | -4/+13 |
| | | | | Track changes to PyFrame_New() and PyFuntion_New(). |