summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Version updated to 1.6; API version to 1009.Guido van Rossum2000-03-292-7/+9
|
* The Tcl_Obj patch discussed on the patches list.Guido van Rossum2000-03-291-82/+77
| | | | | | | This was originally submitted by Martin von Loewis as part of his Unicode patch; all I did was add special cases for Python int and float objects and rearrange the object type tests somewhat to speed up the common cases (string, int, float, tuple, unicode, object).
* remove reference (vestigal) to CALL_FUNCTION_STARJeremy Hylton2000-03-291-1/+1
|
* remove reference to CALL_FUNCTION_STAR in commentJeremy Hylton2000-03-291-1/+1
|
* fix previous checkinJeremy Hylton2000-03-283-24/+8
|
* add test cases for Greg Ewing's extended call syntax patchJeremy Hylton2000-03-284-2/+174
|
* slightly modified version of Greg Ewing's extended call syntax patchJeremy Hylton2000-03-287-148/+241
| | | | | | | | | | | | | | | | | | | | | | | executive summary: Instead of typing 'apply(f, args, kwargs)' you can type 'f(*arg, **kwargs)'. Some file-by-file details follow. Grammar/Grammar: simplify varargslist, replacing '*' '*' with '**' add * & ** options to arglist Include/opcode.h & Lib/dis.py: define three new opcodes CALL_FUNCTION_VAR CALL_FUNCTION_KW CALL_FUNCTION_VAR_KW Python/ceval.c: extend TypeError "keyword parameter redefined" message to include the name of the offending keyword reindent CALL_FUNCTION using four spaces add handling of sequences and dictionaries using extend calls fix function import_from to use PyErr_Format
* Fredrik Lundh:Guido van Rossum2000-03-287-9/+9
| | | | | This fixes a bunch of socket.connect(host, post) calls. Note that I haven't tested all modules -- I don't have enough servers here...
* Fredrik Lundh:Guido van Rossum2000-03-281-10/+21
| | | | | | | | | | The new filecmp module has an optional argument called use_statcache which is documented as a true/false value, but used as an tuple index. This patches replaces the tuple stuff with a good old if- statement, and also removes a few other tuple pack/unpack constructs (if not else, this saves a few bytes in the PYC file, and a few microseconds when using the module ;-).
* Updated NetPresenz URL. Still needs update in the light of the new ↵Just van Rossum2000-03-281-2/+2
| | | | :Mac:Tools:CGI: stuff. Later. (jvr)
* added PythonCGISlave and BuildCGIApplet to the list of applets to build (jvr)Just van Rossum2000-03-281-0/+2
|
* Mark Hammond: add winreg module as new subproject.Guido van Rossum2000-03-282-7/+144
|
* Mark Hammond: new winreg module; updated dllbase file.Guido van Rossum2000-03-283-8/+2954
|
* Mark Hammond: test suite for new winreg module.Guido van Rossum2000-03-282-0/+151
|
* Marc-Andre Lemburg:Guido van Rossum2000-03-289-56/+116
| | | | | | | | | | | | | | | The attached patch set includes a workaround to get Python with Unicode compile on BSDI 4.x (courtesy Thomas Wouters; the cause is a bug in the BSDI wchar.h header file) and Python interfaces for the MBCS codec donated by Mark Hammond. Also included are some minor corrections w/r to the docs of the new "es" and "es#" parser markers (use PyMem_Free() instead of free(); thanks to Mark Hammond for finding these). The unicodedata tests are now in a separate file (test_unicodedata.py) to avoid problems if the module cannot be found.
* Piers Lauder:Guido van Rossum2000-03-281-26/+49
| | | | | | | | | This patch fixes the "search" command in imaplib. The problem was that a search can take multiple arguments, but as defined, would only accept one. I have also made changes to the test code at the end to be less verbose by default, but to accept a verbosity argument.
* Fix suggested by Magnus Kessler: in class Page, it is possible forGuido van Rossum2000-03-281-1/+4
| | | | | self.parser to be None; in that case don't dereference it in getnames().
* Patch by Neil Schemenauer to remove support for Tcl/Tk versions beforeGuido van Rossum2000-03-281-111/+21
| | | | | 8.0. There really is no excuse, and for who really still wants those, they can go back to Python 1.5.2.
* small fix: don't depend on the exact location of PythonCGISlave within the ↵Just van Rossum2000-03-281-1/+3
| | | | Python tree. (jvr)
* Added getaboutmenutext() method. (jvr)Just van Rossum2000-03-281-1/+4
|
* - new version of PythonCGISlaveJust van Rossum2000-03-285-0/+383
| | | | | | | - new script/applet BuildCGIApplet This largely supercedes :Mac:Demos:cgi, except for the html doc file. Should it move here? Merged with CGI_README.txt? Todo: fullbuild support. (jvr)
* MBCS codecs. (Win32 only.) By Mark Hammond.Guido van Rossum2000-03-281-0/+59
|
* Prototypes added for MBCS codecs. (Win32 only.)Guido van Rossum2000-03-281-0/+20
|
* Typo fixed by Mark Hammond.Guido van Rossum2000-03-281-2/+2
|
* MBCS codecs for Windows. Contributed by Mark Hammond.Guido van Rossum2000-03-281-0/+37
|
* Add a call to Tcl_FindExecutable(). This was inspired by a patch byGuido van Rossum2000-03-271-0/+6
| | | | | Martin von Loewis (whose more elaborate patch to use objects is still under review).
* Skip Montanaro:Guido van Rossum2000-03-272-34/+34
| | | | | | | | | | | | The robotparser.py module currently lives in Tools/webchecker. In preparation for its migration to Lib, I made the following changes: * renamed the test() function _test * corrected the URLs in _test() so they refer to actual documents * added an "if __name__ == '__main__'" catcher to invoke _test() when run as a main program * added doc strings for the two main methods, parse and can_fetch * replaced usage of regsub and regex with corresponding re code
* my previous patch didn't give enough events to SIOUX, this one fixes that (jvr)Just van Rossum2000-03-271-3/+4
|
* fixed several event handling buglets, added command Q support, added a new ↵Just van Rossum2000-03-271-23/+37
| | | | module doc string, some formatting nits. (jvr)
* Beefed up error-handling in 'setup()' a smidge:Greg Ward2000-03-261-1/+3
| | | | handle OSError and DistutilsExecError now.
* Duh, it helps if '_nt_quote_args()' actually returns the mutated list,Greg Ward2000-03-261-1/+1
| | | | rather than None.
* Fixed a bunch of screwed-up logic and inconsistent terminology.Greg Ward2000-03-261-19/+33
| | | | | Fixed 'build_extensions()' to pay attention to the 'rpath' element of the 'build_info' dictionary.
* Added 'runtime_library_dirs' parameter to 'link_*()' methods, and warn thatGreg Ward2000-03-261-6/+11
| | | | | | we don't know what to do with it when we see it. Call '_fix_object_args()' and/or '_fix_lib_args()' as appropriate, rather than just '_fix_link_args()'.
* Added 'runtime_library_dirs' parameter to 'link_*()' methods, and changed toGreg Ward2000-03-261-9/+13
| | | | | | use it when linking. Call '_fix_object_args()' and/or '_fix_lib_args()' as appropriate, rather than just '_fix_link_args()'.
* Added 'runtime_library_dirs' parameter to 'link_*()' methods.Greg Ward2000-03-261-28/+43
| | | | | | Split '_fix_link_args()' up into '_fix_object_args()' (for use of 'create_static_lib() and link methods) and '_fix_lib_args()' (for the link methods only).
* realcgitest.py: added import MacOS, it now works again. Removed NetPresenz ↵Just van Rossum2000-03-262-1/+2
| | | | | | reference. cgitest.cgi.rsrc: disable argv emulation; this is essential for the first time the cgi applet starts up
* Christian Tismer:Guido van Rossum2000-03-251-2/+8
| | | | | | Added "better safe than sorry" patch to the new trashcan code in object.c, to ensure that tstate is not touched when it might be undefined.
* Marc-Andre Lemburg:Guido van Rossum2000-03-245-6/+259
| | | | | | | | | | Attached you find the latest update of the Unicode implementation. The patch is against the current CVS version. It includes the fix I posted yesterday for the core dump problem in codecs.c (was introduced by my previous patch set -- sorry), adds more tests for the codecs and two new parser markers "es" and "es#".
* Fix all routines to use PyArg_ParseTuple(), and add ":name" to theGuido van Rossum2000-03-241-58/+71
| | | | | | | | argument format strings. THIS WILL PROBABLY BREAK LOTS OF CODE!!! Also fixed a bogus string in an error message in getsockaddrlen().
* Fix the test so that connect() and bind() are called with a singleGuido van Rossum2000-03-241-2/+2
| | | | | | argument: a (host, port) tuple. Like multi-arg append(), multi-arg connect() and bind() may be ruled out!
* Marc-Andre Lemburg:Guido van Rossum2000-03-241-8/+6
| | | | | | Andy Robinson noted a core dump in the codecs.c file. This was introduced by my latest patch which fixed a memory leak in codecs.c. The bug causes all successful codec lookups to fail.
* Regenerated with test for 'contains'.Guido van Rossum2000-03-241-0/+1
|
* Fix probable bug; if errno == EINTR, floatsleep() doesn't break out ofAndrew M. Kuchling2000-03-241-1/+1
| | | | | | | a Py_BEGIN_ALLOW_THREADS/Py_END_ALLOW_THREADS block, but it calls Py_BLOCK_THREADS anyway. The change moves Py_BLOCK_THREADS to inside the if, so it's only executed when the function actually returns unexpectedly.
* From Sjoerd Mullender <sjoerd@oratrix.nl>:Fred Drake2000-03-231-1/+0
| | | | | cmp is not used in freeze, but is imported anyway. What's worse, cmp is no longer in the library, so freeze won't work like this.
* Import fix.Greg Ward2000-03-231-1/+1
|
* Fixed '_nt_quote_args()': backwards logic reversed, and now it actuallyGreg Ward2000-03-231-2/+2
| | | | returns a value.
* Fixed the class name.Greg Ward2000-03-231-1/+1
|
* Data of type Point is passed by value, not by reference.Jack Jansen2000-03-224-10/+10
|
* Fix small errors in description of Mac, Windows installation schemes.Greg Ward2000-03-221-4/+4
| | | | Added comment about "--help" (no value) not working.
* Revised tons of comments to reflect the current state of affairs better.Greg Ward2000-03-221-72/+39
| | | | Deleted some crufty code.