summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Mention setup.py in the instructionsAndrew M. Kuchling2001-02-271-2/+5
| | | | Add note about linuxaudiodev possibly working on BSD
* cleanup_helper(): Added missing "void" type for the function, updatedFred Drake2001-02-261-6/+3
| | | | comments to reflect reality.
* The return value from PyObject_ClearWeakRefs() is no longer meaningful,Fred Drake2001-02-261-3/+3
| | | | so make it void.
* Py_Main(): When compiled by Insure (i.e. __INSURE__ is defined), callBarry Warsaw2001-02-231-0/+14
| | | | | | | | | the internal API function to release the interned strings as the very last thing before returning status. This aids in memory use debugging because it eliminates a huge source of noise from the reports. This is never called during normal (non-debugging) use because releasing the interned strings slows Python's shutdown and isn't necessary anyway because the system will always reclaim the memory.
* asin micro-optimization suggested in email.Tim Peters2001-02-221-2/+3
|
* Patch #103926: fix two warnings from Tru64's compilerAndrew M. Kuchling2001-02-222-2/+4
|
* Remove soundex module, as stated by GvR.Andrew M. Kuchling2001-02-222-182/+0
| | | | | | | (Fred, I'll leave the doc changes to you, because I don't know if you want to delete libsoundex.tex or leave it in. Someone else will have to tweak PC/os2vacpp/{config.c,makefile} and PCbuild/pythoncore.dsp, both of which refer to soundex.c)
* Add a line to "python -h" output about PYTHONCASEOK.Tim Peters2001-02-221-0/+1
|
* Move the signal module back into Setup.config.in so it can be enabledAndrew M. Kuchling2001-02-212-3/+3
| | | | and disabled from the configure script.
* Bug #133297: cmath.asin is the same as cmath.asinh.Tim Peters2001-02-211-8/+9
| | | | | | | | | | | | | The bug report title isn't correct, but was on the right track. Rev 2.13 applied a patch intended to improve asinh and acosh, but the author mistakenly replaced the body of asin with their new code for asinh. See bug report for all the gory details. This patch: (a) puts the "new" (as of 2.13) asinh code into the asinh function; and, (b) repairs asin via what Abramowitz & Stegun say it should be (which is probably the same as what 2.12 did for asin, although I got tired of matching parentheses before being 100% sure of that -- and I don't care! The source of the old code is a mystery, and I *know* why I picked the new code.).
* Patch #103373 from Donovan Baarda: This patch:Andrew M. Kuchling2001-02-211-194/+131
| | | | | | | | | | | | * fixes the zlib decompress sync flush bug as reported in bug #124981 * avoids repeat calls to (in|de)flateEnd when destroying (de)compression objects * raises exception when allocating unused_data fails * fixes memory leak when allocating unused_data fails * raises exception when allocating decompress data fails * removes vestigial code from decompress flush now that decompression returns all available data * tidies code so object compress/decompress/flush routines are consistent
* Rename some constants for easier readability.Tim Peters2001-02-201-8/+8
|
* Mechanical edits just so I can read it.Tim Peters2001-02-201-142/+138
|
* Wrap a bunch of long lines.Fred Drake2001-02-191-13/+23
|
* renamed internal functions to avoid name clashes under OpenVMSFredrik Lundh2001-02-181-17/+18
| | | | (fixes bug #132815)
* stupid typo (for some reason, this only caused problems on OpenVMS).Fredrik Lundh2001-02-181-1/+1
|
* Move docstrings out of function table to constants defined near theFred Drake2001-02-181-11/+23
| | | | function implementations.
* Bug #132816: Compiler warning in PYEXPAT.C for extra ';'Tim Peters2001-02-171-5/+5
| | | | Removed trailing ";" in instances of "};" closing code blocks.
* Remove the old version of my_StartElementHandler(). This was conditionallyFred Drake2001-02-161-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. ClosesNeil Schemenauer2001-02-161-2/+1
| | | | SF patch #103680.
* Moved BeOS/ar-fake and BeOS/linkmodule to Modules/ar_beos andNeil Schemenauer2001-02-162-0/+152
| | | | Modules/ld_so_beos. Closes SF patch #103679.
* Add a few more missing prototypes to the SunOS 4.1.4 section (no SFThomas Wouters2001-02-151-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 anFred Drake2001-02-141-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 Peters2001-02-121-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 Drake2001-02-121-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 Hylton2001-02-091-8/+11
|
* Relax the rules for using 'from ... import *' and exec in the presenceJeremy Hylton2001-02-091-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. TheyFred Drake2001-02-081-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 sendAndrew M. Kuchling2001-02-071-5/+2
| | | | the entire string passed to it
* Patch #103636: Allow writing strings containing null bytes to an SSL socketAndrew M. Kuchling2001-02-061-1/+1
|
* Patch #103523, to make mpz module compile with CygwinAndrew M. Kuchling2001-02-061-1/+2
|
* Support older PYTHON_API_VERSIONs for backwards compatibility.Martin v. Löwis2001-02-062-5/+8
|
* Another _testXXX -> _testcapiXXX renaming.Tim Peters2001-02-041-1/+1
|
* Renamed _testXXX to _testcapiXXX. Jack is my hero -- good call!Tim Peters2001-02-041-3/+3
|
* Superseded by $(srcdir)/Makefile.pre.in.Neil Schemenauer2001-02-031-266/+0
|
* Repair legit compiler warning.Tim Peters2001-02-021-1/+1
|
* fix a couple last-minute bugs in the raw socket supportJeremy Hylton2001-02-021-24/+24
|
* Add minimal interface to symtable: _symtable module.Jeremy Hylton2001-02-021-0/+72
|
* Added new Python C API _test module to the build mechanism on Unix.Marc-André Lemburg2001-02-021-0/+1
|
* Patch derived from Trent's 101162: a Python/C API testing framework.Tim Peters2001-02-021-0/+68
| | | | STILL NEEDS UNIX BUILD CHANGES.
* SF patch 101137 from Grant EdwardsJeremy Hylton2001-02-021-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 Peters2001-02-021-1/+1
|
* An ssl-wrapped socket now returns '' on EOF, just like a regularJeremy Hylton2001-02-011-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() arglistJeremy Hylton2001-02-011-7/+24
|
* PEP 205, Weak References -- initial checkin.Fred Drake2001-02-011-0/+757
|
* Add entries for the weakref module to the build control.Fred Drake2001-02-011-0/+1
|
* Docs for new Windows zlib build procedure.Tim Peters2001-01-311-8/+1
|
* Fix [ Bug #129293 ] zlib library used for binary win32 distribution can crashMark Hammond2001-01-311-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 Hammond2001-01-311-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 Hammond2001-01-311-0/+5
|