Staging
v0.5.1
https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
426e39f Deleting Python 1.5 project and Wise file. 30 March 2000, 21:22:08 UTC
a35be2f Output for simple test case for mmap on Unix; someone needs to write a Win32 test case. 30 March 2000, 21:15:46 UTC
e81b9cf Added simple test case for mmap on Unix; someone needs to write a Win32 test case 30 March 2000, 21:15:29 UTC
1ed7d2d Added mmap module -- map a view of a file into memory on Win32 and Unix. (Needs testing on Win32.) 30 March 2000, 21:14:30 UTC
e0dd301 Removed two files that were added temporarily. 30 March 2000, 20:34:56 UTC
b8f512b Bump version to 0.6 for the event of the Python 1.6 alpha 1 release. 30 March 2000, 20:30:34 UTC
71d5583 Oops: 'build_extensions()' no longer takes an 'extensions' list. 30 March 2000, 19:47:22 UTC
88716bb Revamped path access again, by Mark Hammond, to be more robust in the 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. 30 March 2000, 19:45:39 UTC
d30dedc Michael Hudson: With the (cool!) new call syntax, the longest opcode name is much longer, which fouls up dis's formatting slightly; this is a "fix" for that. 30 March 2000, 15:02:11 UTC
bf45322 Lawrence Kesteloot noted: Lib/user.py has a comment that says that the script pointed to by PYTHONPATH will be executed on startup. That should say PYTHONSTARTUP. 30 March 2000, 15:00:33 UTC
bdcc96c Changes from 1.5.2p2, plus fix a couple of errors noted by Hernan Martinez Foffani <hfoffani@sofrecom.com.ar>. 29 March 2000, 22:41:52 UTC
bc9476e __pushtodev(): Ignore transient sunaudiodev.errors when setting the device info. I don't know why these occur, but they seem to be shortlived and harmless. 29 March 2000, 21:05:53 UTC
b2ba9d8 eval_code2(): Oops, in the last checkin, we shouldn't check for PyErr_Occurred(), just set x=NULL and break. Oh, and make Jeremy stop nagging me about the "special" indentation for this block. 29 March 2000, 18:36:49 UTC
4961ef7 eval_code2(): In the extended calling syntax opcodes, you must check 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. 29 March 2000, 18:30:03 UTC
918429b Moved robotparser.py to the Lib directory. If you do a "cvs update" in the Lib directory, it will pop up there. 29 March 2000, 16:02:45 UTC
1d16a9f Put the Python "system" include dir last, rather than first. 29 March 2000, 04:13:49 UTC
41b4dd6 Call 'find_exe()', not '_find_exe()'. 29 March 2000, 04:13:00 UTC
ed8a0e0 Patch inspired by Bastian Kleineidam <calvin@cs.uni-sb.de>: use global __debug__ flag to determine if compiled files will be ".pyc" or ".pyo". Tweaked compilation output messages too. 29 March 2000, 03:29:34 UTC
044b7c1 Changed 'copy_tree()' so it returns the list of all files that were copied or might have been copied, regardless of the 'update' flag. 29 March 2000, 03:27:45 UTC
739d066 Documented Bastian's patch. Made handling OSError in 'mkpath()' more standard. 29 March 2000, 02:56:34 UTC
da4d1ae Patch from Bastian Kleineidam <calvin@cs.uni-sb.de>: make 'mkdir()' return list of directories created. 29 March 2000, 02:53:02 UTC
7c1a6d4 Added 'make_tarball()' and 'make_zipfile()' functions in preparation for the 'bdist_dumb' command. Adapted, with tweakage, from the 'sdist' command. 29 March 2000, 02:48:40 UTC
03d1ae1 Moved the guts of 'make_tarball()' and 'make_zipfile()' to distutils.util in preparation for the 'bdist_dumb' command; these methods remain as trivial wrappers around the versions in distutils.util. 29 March 2000, 02:47:29 UTC
f00c34d Added the "distribution query" methods: 'has_pure_modules()', 'has_ext_modules()', 'has_c_libraries()', 'has_modules()', and 'is_pure()'. 29 March 2000, 02:20:45 UTC
ab9d08c Added 'build_clib'; replaced 'install_py' and 'install_ext' with 'install_lib'. 29 March 2000, 02:18:39 UTC
e5dfba5 Be sure to run both 'build_py' and 'build_ext', now that this command 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()'. 29 March 2000, 02:17:42 UTC
ee94c57 Changed so the sub-commands we rely on to do the real work is specified 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. 29 March 2000, 02:15:57 UTC
ae45b16 Use the new 'has_pure_modules()', 'has_ext_modules()', 'has_c_libraries()' methods of Distribution instead of grovelling directly in self.distribution. 29 March 2000, 02:14:21 UTC
4d16e0a Added 'get_outputs()' in prepartion for the 'bdist' command. 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()'. 29 March 2000, 02:13:09 UTC
8b2e95e Deleted some crufty comments and code. 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 29 March 2000, 02:10:51 UTC
15a57a7 Update for creating and linking with python16.dll. Also, _tkinter is linked with Tcl 8.3. 29 March 2000, 01:54:24 UTC
a29b360 Updated for Python 1.6 and VC++ 6.0. 29 March 2000, 01:51:37 UTC
9c94a88 Version -> 1.6. 29 March 2000, 01:50:50 UTC
e02e48b Changes to completely ignore the registry when it detects that you are 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. 29 March 2000, 01:49:47 UTC
436364c Change the pragmas to use python16.lib instead of python15.lib. (Took me half an hour to find why it was still linking with python15.dll!) 29 March 2000, 01:48:29 UTC
21a50bd Version updated to 1.6; API version to 1009. 29 March 2000, 01:46:45 UTC
632de27 The Tcl_Obj patch discussed on the patches list. 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). 29 March 2000, 00:19:50 UTC
e4fb958 remove reference (vestigal) to CALL_FUNCTION_STAR 29 March 2000, 00:10:44 UTC
a403d7d remove reference to CALL_FUNCTION_STAR in comment 29 March 2000, 00:10:03 UTC
003663d fix previous checkin 28 March 2000, 23:53:22 UTC
aed0d8d add test cases for Greg Ewing's extended call syntax patch 28 March 2000, 23:51:17 UTC
7690151 slightly modified version of Greg Ewing's extended call syntax patch 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 28 March 2000, 23:49:17 UTC
93a7c0f Fredrik Lundh: 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... 28 March 2000, 21:45:46 UTC
1916b35 Fredrik Lundh: 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 ;-). 28 March 2000, 21:42:38 UTC
8f11d8e Updated NetPresenz URL. Still needs update in the light of the new :Mac:Tools:CGI: stuff. Later. (jvr) 28 March 2000, 20:54:50 UTC
f84fdfe added PythonCGISlave and BuildCGIApplet to the list of applets to build (jvr) 28 March 2000, 20:50:36 UTC
09fca8d Mark Hammond: add winreg module as new subproject. 28 March 2000, 20:37:33 UTC
9f3712c Mark Hammond: new winreg module; updated dllbase file. 28 March 2000, 20:37:15 UTC
de59855 Mark Hammond: test suite for new winreg module. 28 March 2000, 20:36:51 UTC
24bdb04 Marc-Andre Lemburg: 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. 28 March 2000, 20:29:59 UTC
66d4513 Piers Lauder: 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. 28 March 2000, 20:20:53 UTC
8430624 Fix suggested by Magnus Kessler: in class Page, it is possible for self.parser to be None; in that case don't dereference it in getnames(). 28 March 2000, 20:10:39 UTC
a80649b Patch by Neil Schemenauer to remove support for Tcl/Tk versions before 8.0. There really is no excuse, and for who really still wants those, they can go back to Python 1.5.2. 28 March 2000, 20:07:05 UTC
c88093a small fix: don't depend on the exact location of PythonCGISlave within the Python tree. (jvr) 28 March 2000, 14:53:32 UTC
f518727 Added getaboutmenutext() method. (jvr) 28 March 2000, 13:57:34 UTC
4011723 - new version of PythonCGISlave - 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) 28 March 2000, 12:05:13 UTC
b7a40ba MBCS codecs. (Win32 only.) By Mark Hammond. 28 March 2000, 02:01:52 UTC
efec115 Prototypes added for MBCS codecs. (Win32 only.) 28 March 2000, 02:01:15 UTC
50fbb15 Typo fixed by Mark Hammond. 28 March 2000, 02:00:29 UTC
1abd82c MBCS codecs for Windows. Contributed by Mark Hammond. 28 March 2000, 01:58:50 UTC
e187b0e Add a call to Tcl_FindExecutable(). This was inspired by a patch by Martin von Loewis (whose more elaborate patch to use objects is still under review). 27 March 2000, 21:46:29 UTC
dc8b798 Skip Montanaro: 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 27 March 2000, 19:29:31 UTC
0c3baaf my previous patch didn't give enough events to SIOUX, this one fixes that (jvr) 27 March 2000, 17:13:32 UTC
7ec7c8a fixed several event handling buglets, added command Q support, added a new module doc string, some formatting nits. (jvr) 27 March 2000, 16:22:53 UTC
89489fa Beefed up error-handling in 'setup()' a smidge: handle OSError and DistutilsExecError now. 26 March 2000, 21:48:43 UTC
a3c8bf3 Duh, it helps if '_nt_quote_args()' actually returns the mutated list, rather than None. 26 March 2000, 21:47:00 UTC
cdb20ba Fixed a bunch of screwed-up logic and inconsistent terminology. Fixed 'build_extensions()' to pay attention to the 'rpath' element of the 'build_info' dictionary. 26 March 2000, 21:45:14 UTC
2f557a2 Added 'runtime_library_dirs' parameter to 'link_*()' methods, and warn that 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()'. 26 March 2000, 21:42:28 UTC
e21dabe Added 'runtime_library_dirs' parameter to 'link_*()' methods, and changed to use it when linking. Call '_fix_object_args()' and/or '_fix_lib_args()' as appropriate, rather than just '_fix_link_args()'. 26 March 2000, 21:40:19 UTC
f10f95d Added 'runtime_library_dirs' parameter to 'link_*()' methods. 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). 26 March 2000, 21:37:09 UTC
158ce42 realcgitest.py: added import MacOS, it now works again. Removed NetPresenz reference. cgitest.cgi.rsrc: disable argv emulation; this is essential for the first time the cgi applet starts up 26 March 2000, 10:12:26 UTC
13ff8eb Christian Tismer: 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. 25 March 2000, 18:39:19 UTC
d8855fd Marc-Andre Lemburg: 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#". 24 March 2000, 22:14:19 UTC
27fc3c0 Fix all routines to use PyArg_ParseTuple(), and add ":name" to the argument format strings. THIS WILL PROBABLY BREAK LOTS OF CODE!!! Also fixed a bogus string in an error message in getsockaddrlen(). 24 March 2000, 20:56:56 UTC
7e57bc4 Fix the test so that connect() and bind() are called with a single argument: a (host, port) tuple. Like multi-arg append(), multi-arg connect() and bind() may be ruled out! 24 March 2000, 20:54:29 UTC
5ba3c84 Marc-Andre Lemburg: 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. 24 March 2000, 20:52:23 UTC
d8fbcc9 Regenerated with test for 'contains'. 24 March 2000, 20:42:39 UTC
c24ca4b Fix probable bug; if errno == EINTR, floatsleep() doesn't break out of 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. 24 March 2000, 20:35:20 UTC
70b5d47 From Sjoerd Mullender <sjoerd@oratrix.nl>: 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. 23 March 2000, 18:13:10 UTC
a7540bd Import fix. 23 March 2000, 04:39:16 UTC
e2a3307 Fixed '_nt_quote_args()': backwards logic reversed, and now it actually returns a value. 23 March 2000, 04:38:36 UTC
297dd9f Fixed the class name. 23 March 2000, 04:37:11 UTC
deb6373 Data of type Point is passed by value, not by reference. 22 March 2000, 15:35:24 UTC
8e14f05 Fix small errors in description of Mac, Windows installation schemes. Added comment about "--help" (no value) not working. 22 March 2000, 01:00:23 UTC
790c110 Revised tons of comments to reflect the current state of affairs better. Deleted some crufty code. 22 March 2000, 00:51:18 UTC
048ca7d Run 'install_lib' instead of 'install_py', and ditch 'install_ext' completely (was already commented-out). 22 March 2000, 00:40:16 UTC
55753d4 Renamed install_py.py to install_lib.py, since it now handles installing all Python modules, pure and extensions. 22 March 2000, 00:37:16 UTC
5b001f1 Obsolete command -- no longer relevant since we now build all modules, pure Python and extensions, into the same directory. 22 March 2000, 00:35:16 UTC
1497b61 Dropped the evil and misguided 'set_peer_option()' method -- it's no longer needed, and can't possibly work anyways. 22 March 2000, 00:31:37 UTC
066af10 Dropped any notion of allowing the user to specify the build directories: these must come from the 'build' command. This means we no longer need the misconceived 'set_peer_option()' method in Command and, more importantly, sweeps away a bunch of potential future complexity to handle this tricky case. 22 March 2000, 00:30:54 UTC
1b4ede5 Improved an error message in 'mkpath()'. Tightened up some logic in 'native_path()'. Added 'subst_vars()' and '_check_environ()'. 22 March 2000, 00:22:44 UTC
7f6ef6c Renamed 'install_path' to 'extra_path'. Fix 'Command.set_undefined_option()' to call 'ensure_ready()' rather than 'finalize_options()' (which is only supposed to be called once, which is the whole point of 'ensure_ready()'). Added comment to 'set_peer_option()' to remind myself that this method cannot work and is fundamentally wrong-headed. 22 March 2000, 00:20:46 UTC
a233d86 Yet another complete rewrite. Hopefully the *last* complete rewrite of this command for a while; this implements roughly the plan cooked up by Guido, Fred, and me. Seems to strike a nice balance between usability in the common cases (just set one option), expandability for more types of files to install in future, and customizability of installation directories. This revision isn't completely working: standard and alternate installations work fine, but there are still some kinks to work out of customized installations. 22 March 2000, 00:15:45 UTC
531349f Fix how we set 'build_dir' and 'install_dir' options from 'install' options -- irrelevant because this file is about to go away, but oh well. 22 March 2000, 00:12:51 UTC
4620f30 Took out what looks like old debugging code that probably should never have been checked in: was passing the PLAT environment variable as the 'plat' argument to 'new_compiler()'. 22 March 2000, 00:11:21 UTC
a27e9fb Added UserPane callbacks for HitTest and Tracking. Doesn't fully work yet. 21 March 2000, 23:03:02 UTC
1a7d5b1 Added a GetControlRect() method to controls which returns the bounding rectangle. To my surprise this call is missing from the C API... 21 March 2000, 16:25:23 UTC
0e12bcd Updated comment: in PyTypeObject: /* More standard operations (at end for binary compatibility) */ should now be: /* More standard operations (here for binary compatibility) */ since they're no longer at the end! 21 March 2000, 16:14:47 UTC
51ac580 On 17-Mar-2000, Marc-Andre Lemburg said: Attached you find an update of the Unicode implementation. The patch is against the current CVS version. I would appreciate if someone with CVS checkin permissions could check the changes in. The patch contains all bugs and patches sent this week and also fixes a leak in the codecs code and a bug in the free list code for Unicode objects (which only shows up when compiling Python with Py_DEBUG; thanks to MarkH for spotting this one). 20 March 2000, 16:36:48 UTC
abc411b Started on support for callbacks for UserPane controls. Unfinished and untested. 20 March 2000, 16:09:09 UTC
back to top