summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Oops: 'build_extensions()' no longer takes an 'extensions' list.Greg Ward2000-03-301-1/+1
|
* Revamped path access again, by Mark Hammond, to be more robust in theGuido van Rossum2000-03-301-91/+193
| | | | | | | | | | | light of three different situations: (1) running from build; (2) running from installed; (3) running without being able to find an installation (e.g. as a COM object). The system paths in the repository are only used for (3); the path deduced from the installation location are used otherwise. PYTHONHOME overrides in all cases. Read the comments for more details.
* Michael Hudson: With the (cool!) new call syntax, the longest opcodeGuido van Rossum2000-03-301-1/+1
| | | | | name is much longer, which fouls up dis's formatting slightly; this is a "fix" for that.
* Lawrence Kesteloot noted: Lib/user.py has a comment that says that theGuido van Rossum2000-03-301-1/+1
| | | | | script pointed to by PYTHONPATH will be executed on startup. That should say PYTHONSTARTUP.
* Changes from 1.5.2p2, plus fix a couple of errors noted by HernanFred Drake2000-03-291-5/+11
| | | | Martinez Foffani <hfoffani@sofrecom.com.ar>.
* __pushtodev(): Ignore transient sunaudiodev.errors when setting theBarry Warsaw2000-03-291-1/+5
| | | | | device info. I don't know why these occur, but they seem to be shortlived and harmless.
* eval_code2(): Oops, in the last checkin, we shouldn't check forBarry Warsaw2000-03-291-6/+2
| | | | | PyErr_Occurred(), just set x=NULL and break. Oh, and make Jeremy stop nagging me about the "special" indentation for this block.
* eval_code2(): In the extended calling syntax opcodes, you must checkBarry Warsaw2000-03-291-0/+8
| | | | | | the return value of PySequence_Length(). If an exception occurred, the returned length will be -1. Make sure this doesn't get obscurred, and that the bogus length isn't used.
* Moved robotparser.py to the Lib directory.Guido van Rossum2000-03-291-97/+0
| | | | If you do a "cvs update" in the Lib directory, it will pop up there.
* Put the Python "system" include dir last, rather than first.Greg Ward2000-03-291-1/+3
|
* Call 'find_exe()', not '_find_exe()'.Greg Ward2000-03-291-3/+3
|
* Patch inspired by Bastian Kleineidam <calvin@cs.uni-sb.de>:Greg Ward2000-03-291-12/+7
| | | | | use global __debug__ flag to determine if compiled files will be ".pyc" or ".pyo". Tweaked compilation output messages too.
* Changed 'copy_tree()' so it returns the list of all files that were copied orGreg Ward2000-03-291-11/+12
| | | | might have been copied, regardless of the 'update' flag.
* Documented Bastian's patch.Greg Ward2000-03-291-7/+9
| | | | Made handling OSError in 'mkpath()' more standard.
* Patch from Bastian Kleineidam <calvin@cs.uni-sb.de>:Greg Ward2000-03-291-3/+5
| | | | make 'mkdir()' return list of directories created.
* Added 'make_tarball()' and 'make_zipfile()' functions in preparationGreg Ward2000-03-291-2/+90
| | | | | for the 'bdist_dumb' command. Adapted, with tweakage, from the 'sdist' command.
* Moved the guts of 'make_tarball()' and 'make_zipfile()' to distutils.utilGreg Ward2000-03-291-53/+4
| | | | | in preparation for the 'bdist_dumb' command; these methods remain as trivial wrappers around the versions in distutils.util.
* Added the "distribution query" methods: 'has_pure_modules()',Greg Ward2000-03-291-2/+22
| | | | 'has_ext_modules()', 'has_c_libraries()', 'has_modules()', and 'is_pure()'.
* Added 'build_clib'; replaced 'install_py' and 'install_ext' with 'install_lib'.Greg Ward2000-03-291-2/+2
|
* Be sure to run both 'build_py' and 'build_ext', now that this commandGreg Ward2000-03-291-5/+47
| | | | | | is responsible for installing all Python modules (pure and extensions). Added 'get_outputs()' in preparation for the 'bdist' command, and '_mutate_outputs()' to support 'get_outputs()'.
* Changed so the sub-commands we rely on to do the real work is specifiedGreg Ward2000-03-291-4/+24
| | | | | | | in a class attribute 'sub_commands', rather than hard-coded in 'run()'. This should make it easier to subclass 'install', and also makes it easier to keep 'run()' and the new 'get_outputs()' consistent. Added 'get_outputs()' in preparation for the 'bdist' command.
* Use the new 'has_pure_modules()', 'has_ext_modules()', 'has_c_libraries()'Greg Ward2000-03-291-3/+3
| | | | methods of Distribution instead of grovelling directly in self.distribution.
* Added 'get_outputs()' in prepartion for the 'bdist' command.Greg Ward2000-03-291-8/+29
| | | | | | | Changed signature of 'build_extensions()': no longer takes the extension list, but uses 'self.extensions' (just like 'get_outputs()' has to) Moved call to 'check_extensions_list()' from 'run()' to 'build_extensions()', again for consistency with 'get_outputs()'.
* Deleted some crufty comments and code.Greg Ward2000-03-291-36/+49
| | | | | | | | | | | | | A host of improvements in preparation for the 'bdist' command: - added 'get_outputs()' method (all the other improvements were to support this addition) - made 'find_package_modules()' and 'find_modules()' return similar values (list of (package, module, module_filename) tuples) - factored 'find_all_modules()' out of 'get_source_files()' (needed by 'get_outputs()') - factored 'get_module_outfile()' out of 'build_module()' (also needed by 'get_outputs()') - various little tweaks, improvements, comment/doc updates
* Update for creating and linking with python16.dll.Guido van Rossum2000-03-297-85/+3163
| | | | Also, _tkinter is linked with Tcl 8.3.
* Updated for Python 1.6 and VC++ 6.0.Guido van Rossum2000-03-291-5/+6
|
* Version -> 1.6.Guido van Rossum2000-03-291-2/+2
|
* Changes to completely ignore the registry when it detects that you areGuido van Rossum2000-03-291-25/+30
| | | | | | running out of the build directory. This means that it will no longer try to use an older version of the library when an older version has been installed.
* Change the pragmas to use python16.lib instead of python15.lib. (TookGuido van Rossum2000-03-291-2/+2
| | | | me half an hour to find why it was still linking with python15.dll!)
* 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)