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

sort by:
Revision Author Date Message Commit Date
98dc065 SF "bug" 115973: patches from Norman Vine so that shared libraries and Tkinter work under Cygwin. Accepted on faith & reasonableness. 05 October 2000, 19:24:26 UTC
293b03f translation(): Minor optimization patch which avoids instantiating the default value's instance unless it's absolutely necessary. 05 October 2000, 18:48:12 UTC
7d1219d Change all occurances of test -d "$directory" to test ! -z "directory" -a -d "directory" Apparently, on SunOS 4.1.4_JL (and other?) OSes, -d on an empty string always returns true. This closes SF bug #115392. 05 October 2000, 18:45:53 UTC
3dc0a51 [ Patch #101730 ] Add initial static support for Darwin/MacOSX. By D.K. Wolfe. 05 October 2000, 18:00:06 UTC
77317ca Added Py_FPROTO macro which was available in Python 1.5.x and below. This should not be used for new code, but will probably make porting old extensions to 2.0 a lot easier. Also see Bug #116011. 05 October 2000, 17:25:45 UTC
7724944 Fix Bug #115907: encode '=' as '=3D' and not '==' 05 October 2000, 17:24:33 UTC
9351dd2 Document the lookbehind assertions (closing bug#115119) 05 October 2000, 15:22:28 UTC
dc9100f Fix for SF bug #115987: PyInstance_HalfBinOp does not initialize the result-object-pointer that is passed in, when an exception occurs during coercion. The pointer has to be explicitly initialized in the caller to avoid putting trash on the Python stack. 05 October 2000, 12:43:25 UTC
7a90db6 Document expand() method of MatchObjects 05 October 2000, 12:35:29 UTC
1f7838b Detect conflicting Python DLL on module import under Windows - as per [ Patch #101676 ] 05 October 2000, 10:54:45 UTC
85788ed Better add at least a short docstring to the module! 05 October 2000, 05:20:55 UTC
6522192 Add a link to the new acks.html file. 05 October 2000, 05:17:29 UTC
3705e59 Add rules for generating the acks.html file at the top of the document tree. 05 October 2000, 05:16:56 UTC
702f2d7 Ignore the acks.html file, since it is generated. 05 October 2000, 05:16:12 UTC
f23431d New script to convert the ACKS file to a nicely formatted HTML file. Uses the new support module. 05 October 2000, 05:15:29 UTC
01a110b Use the new support module instead of including all the getopt processing and style information directly. 05 October 2000, 05:14:26 UTC
ca2b2e0 Factor out some of the presentation and shared code from mkmodindex and a mkackshtml (not yet checked in). 05 October 2000, 05:11:57 UTC
4beff43 List of acknowledgements culled from CVS checkin logs and memory. The documentation ACKS list will be maintained separately from the CPython ACKS list. 05 October 2000, 04:05:30 UTC
ad14720 New tool for normalizing indentation of .py files. 05 October 2000, 03:48:38 UTC
559b5c8 Update for next planned release. 05 October 2000, 03:24:00 UTC
d57731f Move LONG_BIT from intobject.c to pyport.h. #error if it's already been #define'd to an unreasonable value (several recent gcc systems have misdefined it, causing bogus overflows in integer multiplication). Nuke CHAR_BIT entirely. 05 October 2000, 01:42:25 UTC
c85eb0b Enable the binascii module for Win64. It builds and passes the test suite. (I had explicitly disabled it a while ago, possibly unecessarily, along with rgbimg, audioop, and imageop, which are advertised as "not for 64-bit platforms.) 04 October 2000, 20:57:29 UTC
d68d0a6 Fix for test_class.py on Win64. id(self), which on Win64 returns a PyLong, was used for the return value of a class __hash__ method, which *must* return a PyInt. Solution: hash() the id(self) value. 04 October 2000, 17:50:59 UTC
b2c2c9e - update Neil's email address 04 October 2000, 16:34:09 UTC
97d723b - do not start collection during processing of an exception 04 October 2000, 16:25:07 UTC
5196c58 - Fix a GC bug caused by PyDict_New() failing. 04 October 2000, 16:22:26 UTC
e3550a6 - fix a GC bug caused by malloc() failing 04 October 2000, 16:20:41 UTC
15f0666 Added deprecation notices to atof(), atoi(), and atol(), recommending use of the float(), int(), and long() built-ins instead. Fixed minor markup nit elsewhere (use of \optional). 04 October 2000, 13:59:52 UTC
c71c23e Added \versionchanged comment to os.popen() noting that it was unreliable in earlier versions of Python; this is useful information for people interested in writing code that is portable across Python versions. Suggested by Peter Funk <pf@artcom-gmbh.de>. 04 October 2000, 13:57:27 UTC
63eb630 Remove styling information that conflicts with or duplicates the stylesheet; different browsers resolve the conflicts differently, and the "proper" resolution is not what we actually want. Reported by Peter Funk <pf@artcom-gmbh.de>. 04 October 2000, 13:39:24 UTC
d44dc3c Rewrites to section on new development process, after Usenet discussion of the text 04 October 2000, 12:40:44 UTC
0b4e25d Use \obindex{...} instead of \indexii{...}{type} in many places; this is more consistent with other index entries in the documentation. 04 October 2000, 04:21:19 UTC
d215218 test_popen2 broke on Windows shortly after 2.0b2 was released. Fixed it. 03 October 2000, 23:07:13 UTC
cf0a1cc Support non-namespace elements in *ElementNS of XMLGenerator. 03 October 2000, 22:35:29 UTC
1654b43 Preliminary tool to troll through the CVS logs and LaTeX sources for the names of people that should be in the ACKS file. This relies on some personal code that is not yet available, but should be by the time we release 2.0c1. 03 October 2000, 22:10:25 UTC
5b4c228 _PyUnicode_Fini(): Initialize the local freelist walking variable `u' after unicode_empty has been freed, otherwise it might not point to the real start of the unicode_freelist. Final closure for SF bug #110681, Jitterbug PR#398. 03 October 2000, 20:45:26 UTC
562586e Accept keyword arguments for (most) pattern and match object methods. Closes buglet #115845. 03 October 2000, 20:43:34 UTC
d11b5e5 Recompile pattern if (?x) flag was found inside the pattern during the first scan. Closes bug #115040. 03 October 2000, 19:22:26 UTC
4ae8ef8 In _PyUnicode_Fini(), decref unicode_empty before tearng down the free list. Discovered by Barry, fix approved by MAL. 03 October 2000, 18:09:04 UTC
1319e3e Remove old note that os.popen() on Windows is unreliable; this is no longer true. 03 October 2000, 17:14:27 UTC
f19a7ac Fix a few problems with the _Printer class and the license variable. 1. repr(license) will no longer print to stdout and read from stdin; you have to use license(). `license` is a short message explaining this. 2. Use lazy initialization so that startup isn't slowed down by the search for the LICENSE file. 3. repr(license) actually returns the desired string, rather than printing to stdout and returning ''. (Why didn't we think of this before?) 4. Use the pythonlabs license URL as the license fallback instead of the CNRI license handle. 03 October 2000, 17:11:37 UTC
12e1595 Clarify that isatty is only guaranteed to return true for slave ends of terminals, not the master end (though it does, on most systems.) 03 October 2000, 16:54:24 UTC
f2c1be2 On some systems (like Solaris), the master end of a tty/pty pair is apparently not considered a terminal, and so isatty(3) returns false. So we skip the test for ttyness of the master side and just check the slave side, which should really be a terminal. 03 October 2000, 16:51:08 UTC
13589c6 Bump the release number for the upcoming candidate. 03 October 2000, 16:50:48 UTC
65d4bc6 Fixed negative lookahead/lookbehind. Closes bug #115618. 03 October 2000, 16:29:23 UTC
8429448 _PyImport_Fini(): Closed small memory leak when an embedded app calls Py_Initialize()/Py_Finalize() in a loop. _PyImport_Filetab needed to be deallocated. Partial closure of SF #110681, Jitterbug PR#398. 03 October 2000, 16:02:05 UTC
e35360f Jim Ahlstrom sent a few corrections to my changes. (Thanks!) 03 October 2000, 15:16:31 UTC
5191463 Undo Ping's change. CGI scripts should *not* use /usr/bin/env, since on systems that don't come standard with Python installed, Python isn't on the default $PATH. Too bad that this breaks on Linux, where Python is in /usr/bin which is on the default path -- the point is that you must manually edit your CGI scripts when you install them. 03 October 2000, 13:51:09 UTC
099e534 Change first line to #!/usr/bin/env python (really just to test check-in). 03 October 2000, 08:32:00 UTC
5f84c9b $OFF_SITE_LINK_ICON: Don't define here; simply defining it overrides a definition provided by previously loaded configuration code, and testing whether it's defined isn't needed since the default was false anyway. get_link_icon(): Add support for $OFF_SITE_LINK_ICON_HEIGHT and $OFF_SITE_LINK_ICON_WIDTH, giving the dimensions of the icon being used. This can make for faster page display. Both are optional. make_my_titlegraphic(): Fix insertion of the off-site icon link. do_env_funcdesc(): Remove debugging print. handle_rfclike_reference(): Remove trailing colon from first line; it doesn't really make sense and looks bad if we add an icon to mark off-site links. 03 October 2000, 06:05:25 UTC
58a2dff Replace minimal \seetext references with better annotated \seerfc references, telling the reader more about what to expect at the other end of the links. 03 October 2000, 05:56:55 UTC
da175f4 Bump version to 1.0. 03 October 2000, 03:48:43 UTC
25a309c Remove some debugging prints. 03 October 2000, 03:32:37 UTC
a9d3783 Fixed so --no-compile is a negative alias for --compile. 03 October 2000, 03:31:52 UTC
9216cfe Added a long-winded comment (and commented-out comment to go with out) about how it would be nice to write absolute paths to the temporary byte-compilation script, but this doesn't work because it screws up the trailing-slash trickery done to 'prefix' in build_py's 'byte_compile()' method. Fixed to use 'execute()' instead of 'os.remove()' to remove the temporary script: now it doesn't blow up in dry-run mode! 03 October 2000, 03:31:05 UTC
d52755f Provide a clearer error message when urlopen fails because of an invalid proxy setting. Minor change to call of unknown_url; always pass data argument explicitly since data defaults to None. PEP 42: Add as a feature that urllib handle proxy setting that contain only the host and port of the proxy. 02 October 2000, 23:04:02 UTC
4dc1a6d Added some comments on the interaction of reload() and extension modules. Based on comments from Chris Barker <cbarker@jps.net>. 02 October 2000, 22:38:09 UTC
296b8f5 Add deprecation note since the XML support is shaping up. 02 October 2000, 22:14:09 UTC
d254c00 Remove redundent information from a docstring. 02 October 2000, 22:11:47 UTC
8093b70 Minor change to attributes so that the stylesheets can have better control. 02 October 2000, 21:26:28 UTC
0422e7f Remove comment about -lucb for the mmap module -- the module has been changed so that this is no longer needed on the only platform this is known to have been needed on. Fixed on indentation-related consistency nit. 02 October 2000, 21:20:22 UTC
484d735 Delay import of py_compile until needed, since is is only used by the PyZipFile class. End sentences in docstrings with periods. Reformat docstrings to be more similar to those of other modules. 02 October 2000, 21:14:52 UTC
4278024 Substantially revised documentation for the zipfile module, partially based on revised text from Jim Ahlstrom <jim@interet.com>. This closes SourceForge bug #115681. 02 October 2000, 20:56:30 UTC
5df72f0 Minor stylesheet nit. 02 October 2000, 17:36:27 UTC
1ea64ea Supporting rl_library_version is more trouble than it's worth -- readline doesn't have it before readline 2.2 and there's no compile-time way to find out which readline version is in use. Sigh. GNU readline sucks. 02 October 2000, 15:53:08 UTC
3105f92 Added Daniel Dittmar, for helping get the configuration working for Reliant UNIX. 02 October 2000, 14:52:31 UTC
7a40c07 make_icon_filename(): Convenience function to turn a partial filename into a usable filename using $ICONSERVER and $IMAGE_TYPE as needed. get_link_icon(): Function to examine a URL and return the string to use to insert an icon if the link points off-site, if needed and $OFF_SITE_LINK_ICON is set. Adjusted appropriate places to use these new functions. 02 October 2000, 14:43:38 UTC
625915e typo 02 October 2000, 13:43:33 UTC
e3c3b27 Fix a bug in stack overflow error handling. This fixes half of Bug #115555. The error from s_push() on stack overflow was -1, which was passed through unchanged by push(), but not tested for by push()'s caller -- which only expected positive error codes. Fixed by changing s_push() to return E_NOMEM on stack overflow. (Not quite the proper error code either, but I can't be bothered adding a new E_STACKOVERFLOW error code in all the right places.) 02 October 2000, 10:21:59 UTC
f6791f3 Minor usage fix. Add a note that some way of reliably detecting the use of KDE would be really nice. 02 October 2000, 03:42:43 UTC
3944a01 Do not set Konquerer to be the default browser if $KDEDIR is set -- some Linux distributions which provide both KDE and Gnome set this environment variable even if the user is not using KDE. We do *not* want to start Konquerer if KDE is not running unless the user actually tells us to! 02 October 2000, 03:40:51 UTC
8d3312f Add documentation and warnings for the isCallable(), isMappingType(), isNumberType(), and isSequenceType() functions. This closes SourceForge bug #115789. 02 October 2000, 03:36:18 UTC
0295181 Typo fix. 02 October 2000, 02:25:51 UTC
73a6c94 Added the ability to do byte-compilation at build time, currently off by default (since compiling at install time works just fine). Details: - added 'compile' and 'optimize' options - added 'byte_compile()' method - changed 'get_outputs()' so it includes bytecode files A lot of the code added is very similar to code in install_lib.py; would be nice to factor it out further. 02 October 2000, 02:19:04 UTC
8161022 Added --compile, --optimize options so users have an easy way to instruct the "install_lib" command from the command-line. 02 October 2000, 02:16:04 UTC
cb9c9ae Finished the overhaul of byte-compilation options: there's now a 6-way choice between (compile, no-compile) * (optimize=0, optimize=1, optimize=2). Details: - added --no-compile option to complement --compile, which has been there for ages - changed --optimize (which never worked) to a value option, which expects 0, 1, or 2 - renamed 'bytecompile()' method to 'byte_compile()', and beefed it up to handle both 'compile' and 'optimize' options - fix '_bytecode_filenames()' to respect the new options 02 October 2000, 02:15:08 UTC
04cc88d Remove the temporary byte-compilation script when we're done with it. 02 October 2000, 02:09:55 UTC
c1acc69 From 'run()', only call 'bytecompile()' if we actually have pure Python modules to compile. 01 October 2000, 23:50:13 UTC
f217e21 Tweaked 'byte_compile()' so it silently skips non-Python files, rather than blowing up. 01 October 2000, 23:49:30 UTC
4b6ea79 Don't rename Tkinter to Tk; closes bug 115714 Subclass Error from Exception. 01 October 2000, 17:52:01 UTC
145f96e my_getpagesize(): New function; returns the size of a page of memory. Versions are defined for Windows and Unix; the Unix flavor uses sysconf() to get the page size; this avoids the use of getpagesize(), which is deprecated and requires an additional library on some platforms (specifically, Reliant UNIX). This partially closes SourceForge bug #113797. 01 October 2000, 17:50:46 UTC
370a29f Added a zip() test where one of the arguments is an instance whose class has no __getitem__(). This raises an AttributeError. 01 October 2000, 04:28:43 UTC
cc4adf2 Add missing "s" from format string. This closes SourceForge patch #101714. 30 September 2000, 23:59:04 UTC
0bc5953 Added skeletal "Building Extensions: Tips and Tricks" section. This is where all the FAQs about extension-building will be answered. 30 September 2000, 21:06:40 UTC
1df6e7b Reduced the 'bytecompile()' method to a one-line wrapper around 'util.byte_compile()'. Currently just reproduces the existing functionality -- doesn't use any of the fancy features in the new 'byte_compile()'. 30 September 2000, 20:39:09 UTC
1297b5c Added 'byte_compile(): an all-singing, all-dancing wrapper around the standard 'py_compile.compile()' function. Laundry list of features: - handles standard Distutils 'force', 'verbose', 'dry_run' flags - handles various levels of optimization: can compile directly in this interpreter process, or write a temporary script that is then executed by a new interpreter with the appropriate flags - can rewrite the source filename by stripping an optional prefix and preprending an optional base dir. 30 September 2000, 20:37:56 UTC
4752769 Various docstring tweaks. Fixed 'subst_vars()' so it actually blows up like the docstring claims (and fixed the docstring not to claim it handles ${var}, which it doesn't). 30 September 2000, 18:49:14 UTC
b8b263b Reformat docstrings. 30 September 2000, 18:40:42 UTC
cb1f4c4 Standardized whitespace around function calls. 30 September 2000, 18:27:54 UTC
963cd2d Andrew Kuchling: changed so the '_path_created' dictionary is keyed on absolute pathnames; this lets it keep working in the face of chdir'ing around. 30 September 2000, 17:47:17 UTC
3e6d438 Fixed 'run()' so it doesn't call 'bytecompile()' if 'install()' returned None. 30 September 2000, 17:35:26 UTC
e564278 Expect a tuple (dest_name, copied) from 'copy_file()'. 30 September 2000, 17:34:50 UTC
ff50ad5 Fix header file usage so that NULL is defined. NULL is needed by unicodedata_db.h. 30 September 2000, 17:34:31 UTC
3a5a2bd Changed 'build_module()' so it returns the result of 'copy_file()' on the module file -- could be useful for subclasses overriding it. 30 September 2000, 17:33:05 UTC
0d4a853 Changed 'copy_file()' so it returns a tuple (dest_name, copied) -- hopefully, this will please everyone (as if that's possible). 30 September 2000, 17:29:35 UTC
ec84c21 In 'get_platform()', handle so-called POSIX systems that don't have 'uname()' -- specifically NeXTSTEP. 30 September 2000, 17:09:39 UTC
64d855a Changed to use the 'sub-commands' machinery: - added 'sub_commands' class attr - added 'has_*()' predicates referenced by the sub-command list - rewrote 'run()' so it's a trivial loop over relevant sub-commands 30 September 2000, 17:08:12 UTC
70b1fd1 Moved some things around for better organization. 30 September 2000, 17:05:37 UTC
d15a942 Fixed spelling of module; closes bug 115712. 30 September 2000, 17:04:40 UTC
efffd28 Add mimetools testcase. 30 September 2000, 17:03:19 UTC
back to top