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

sort by:
Revision Author Date Message Commit Date
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
25d1692 Return after writing 7bit or 8bit encodings. Closes bug 115712 30 September 2000, 16:52:45 UTC
af484d5 Mention in the module's doc string that other functions of the socket API appear as methods on socket objects. 30 September 2000, 11:34:30 UTC
58295de Replace to XXX notes to add references with real references. 30 September 2000, 00:11:45 UTC
5db246d Always use the same name for the exception defined in this module! Error reported via email by Pete Shinners <pete@visionart.com>. Fixed some indentation inconsistencies. 29 September 2000, 20:44:48 UTC
a77254a PyModule_AddStringConstant(): Make this static since it isn't used elsewhere in 1.5.2. 29 September 2000, 19:23:29 UTC
c0718eb Remove unused VERSION #define. Add PyModule_AddStringConstant and PyModule_AddObject if version <2.0, to allow to share this file with PyXML. 29 September 2000, 19:05:48 UTC
3f0969f Use string functions instead of methods to allow sharing this module with PyXML 29 September 2000, 19:00:40 UTC
491ded7 Remove dependency from saxutils when loading xmlreader 29 September 2000, 18:59:50 UTC
9f11cf8 Capitalized an "if" that should have been -- noted by Grant Griffin <grant.griffin@honeywell.com>. 29 September 2000, 17:54:40 UTC
0b5fb2b Add a paragraph about an optimization bug in SGI compilers which affects complex objects, and explain how to build so that Objects/complexobject.c is compiled without optimization. Closing SourceForge bug #110695 as "Won't Fix". 29 September 2000, 17:45:05 UTC
ffe58ca Reversely --> Conversely This closes SourceForge bug #115673. 29 September 2000, 17:31:54 UTC
45888ff Added a missing "is" -- noted by Grant Griffin <grant.griffin@honeywell.com>. 29 September 2000, 17:09:11 UTC
31b761e Spelling: internalization --> internationalization Fixed displays of the interactive prompt in running text. These close SourceForge bug #115658. Also: Updated discussion of tuple unpacking to reflect the general ability to unpack any sequence type. Explained that it is possible to create tuples which contain mutable values, and noted in the dictionary section that such tuples cannot be used as keys. Noted that .pyc and .pyo files can be run directly when provided as the script parameter to the interpreter, and slightly clarified comments about using modules with only the byte compiled code. Removed some XXX comments that are no longer relevant. Removed commented-out paragraph about __private names being experimental. Adjusted markup for consistency in some places. 29 September 2000, 15:17:36 UTC
1dbe9d5 Removed the extra_dirs and path_file metadata options. They are unneeded: All this stuff is already done by the install command which is run by bdist_wininst. One bug has been fixed: The root of the fake install tree is install.install_purelib, not install.install_lib! They are different if the extra_path option is used in the setup function. Rebuild after the changes to wininst.exe. 29 September 2000, 11:36:55 UTC
4ce4f2e os.startfile() documentation, based on text from Tim Peters. 29 September 2000, 04:15:19 UTC
42c83af The 2.0b2 change to write .pyc files in exclusive mode (if possible) unintentionally caused them to get written in text mode under Windows. As a result, when .pyc files were later read-- in binary mode --the magic number was always wrong (note that .pyc magic numbers deliberately include \r and \n characters, so this was "good" breakage, 100% across all .pyc files, not random corruption in a subset). Fixed that. 29 September 2000, 04:03:10 UTC
3cc7e4d Update list of extension modules that may be interesting to enable on most modern Unix flavors. The age of this portion of the README was noted in SourceForge bug #115625. 29 September 2000, 00:30:05 UTC
8179a9d Clarify that the Tk interface is not enabled by default when building from sources, not in general. This closes SourceForge bug #115608. 28 September 2000, 23:28:30 UTC
36d97eb Add #ifdef's for platforms that don't have the constants POLLRDNORM and friends. (Modified version of patch #101682 from Neil Schemenauer) 28 September 2000, 21:33:44 UTC
0cdfc92 Fix typo: config.stat --> config.status 28 September 2000, 20:53:39 UTC
329796d Consistency nits, untabify. 28 September 2000, 20:41:16 UTC
8a9db99 Updated documentation relating to the various flavors of popen[234]() for Windows & Unix. 28 September 2000, 20:27:51 UTC
18b9b93 Removed the implib_dir instance variable because it is unused. Removed get_ext_libname() because it is unused. Fixed get_libraries() to append an '_d' to the python debug import library. If MSVC is used, do not add 'pythonxx.lib' to the list of libraries, because this is handled better by a pragma in config.h. This should fix bug #115595, but it needs some more testing. 28 September 2000, 19:28:35 UTC
20af317 popen4(): Added for Unix. Fixed a typo in a docstring. 28 September 2000, 19:10:56 UTC
d75e63a popen4(), class Popen4: popen4() support for Unix. popen2(), popen3(): Reversed order of bufsize and mode parameters to comply with what was here before (Python 1.5.2). class Popen3: Factored the __init__() into a more basic initializer and a helper method, to allow some re-use by the Popen4 class. Use os.dup2() instead of os.dup() to create the proper file descriptors in the child process. This closes SourceForge bug #115330 and partially closes #115353. 28 September 2000, 19:07:53 UTC
38cb9f1 Convert all entries on sys.path to absolute paths, and also update the __file__ attributes of already-imported modules to be absolute. This helps robustify the interpreter against os.chdir() calls from the application. Only remove setdefaultencoding() from sys if it exists; if this module is run as a script (since there is a _test() function that gets run), it broke because the script attempts to remove it again after the import of site has already done so. This allows the module to be run as a script again. makepath(): New function, standardizes all pathname normalization in one place. 28 September 2000, 16:52:36 UTC
b4e460a Avoid import of string module; it is only needed for expandvars(). Never assume that os.sep is for the module-specific platform; use the right separator character directly. Fix some minor style consistency nits. 28 September 2000, 16:25:20 UTC
c0ab93e Minor style nits. 28 September 2000, 16:22:52 UTC
22fb839 Remove imports of string when string methods will do. 28 September 2000, 15:04:39 UTC
b64c223 Minor ANSIfication: lib_python no longer needs to be initialized dynamically to support K&R C since we are requiring an ANSI compiler. 28 September 2000, 14:32:29 UTC
44774c9 Add regex and regsub to the list of undocumented obsolete modules. 28 September 2000, 05:31:39 UTC
9543833 Added some tests for the truncate() method; one is commented out because cStringIO does not get it right (reported as SF bug #115531). Added test for ValueError when write() is called on a closed StringIO object. Commented out because cStringIO does not get it right (reported as SF bug #115530). 28 September 2000, 04:25:33 UTC
e0a7f4f Add truncate() method to StringIO objects. This closes SourceForge bug #115527. 28 September 2000, 04:21:06 UTC
d391a34 Remove change that had not been saved when the output was generated; not terribly useful. Reported by Mark Favas <Mark.Favas@per.dem.csiro.au>. 28 September 2000, 04:13:15 UTC
a6debec Fix includes; not including Python.h caused the module not to compile on some platforms. This *should* close SourceForge patch #115506. 28 September 2000, 02:54:51 UTC
33dde92 Update the documentation for ConfigParser to match the recent changes. 27 September 2000, 22:48:44 UTC
8ef6767 Regression test for ConfigParser module. 27 September 2000, 22:45:25 UTC
2a37f9f Allow spaces in section names. Do not expose the __name__ when reporting the list of options available for a section since that is for internal use. This closes SourceForge bug #115357. Additionally, define InterpolationDepthError and MAX_INTERPOLATION_DEPTH. The exception is raised by get*() when value interpolation cannot be completed within the defined recursion limit. The constant is only informative; changing it will not affect the allowed depth. Fix the exit from get() so that None is not returned if the depth is met or exceeded; either return the value of raise InterpolationDepthError. 27 September 2000, 22:43:54 UTC
6372fe1 Fix buffer overflow vulnerabilities in calculate_path(). Code used copied strings from environment variables and argv[0] into fixed-length buffers without checking their length. Reported by Stan Bubrouski; advice on fix from John Viega. 27 September 2000, 20:51:17 UTC
23542dc Updated hash values to match the new encoding (UTF-8) used in the test. 27 September 2000, 12:25:14 UTC
67ceca7 Fixed encoding to use an endianness independent format. 27 September 2000, 12:24:34 UTC
6a7768a Fixed misleading qname in test_xmlgen_ns (reported by loewis). 27 September 2000, 08:12:17 UTC
fc1b60e Fix double negative spotted by matt@mondoinfo.com 27 September 2000, 02:49:24 UTC
be870dd Added a section describing the new development process. Part of it comes from two comp.lang.tcl postings of mine, with much rewriting and expansion of the material. Note that 2.0 will be released in the autumn, not the summer. 27 September 2000, 02:36:10 UTC
ef850de Bump version to 1.0pre. 27 September 2000, 02:26:57 UTC
264cf74 Remove deprecation warnings on old 'link_*()' methods, ie. they're not deprecated after all. But now they're only implemented once, instead of N times. 27 September 2000, 02:24:21 UTC
4240648 Big patch from Rene Liebscher to simplify the CCompiler API and implementations. Details: * replace 'link_shared_object()', 'link_shared_lib()', and 'link_executable()' with 'link()', which is (roughly) the union of the three methods it replaces * in all implementation classes (UnixCCompiler, MSVCCompiler, etc.), ditch the old 'link_*()' methods and replace them with 'link()' * in the abstract base class (CCompiler), add the old 'link_*()' methods as wrappers around the new 'link()' (they also print a warning of the deprecated interface) Also increases consistency between MSVCCompiler and BCPPCompiler, hopefully to make it easier to factor out the mythical WindowsCCompiler class. Details: * use 'self.linker' instead of 'self.link' * add ability to compile resource files to BCPPCompiler * added (redundant?) 'object_filename()' method to BCPPCompiler * only generate a .def file if 'export_symbols' defined 27 September 2000, 02:08:14 UTC
3ad4e74 Wrote text for features added between 2.0b1 and b2. Minor rewrites, and added the CVS ID in a comment. 27 September 2000, 01:33:41 UTC
back to top