3a5a2bd | Greg Ward | 30 September 2000, 17:33:05 UTC | 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 | Greg Ward | 30 September 2000, 17:29:35 UTC | 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 | Greg Ward | 30 September 2000, 17:09:39 UTC | In 'get_platform()', handle so-called POSIX systems that don't have 'uname()' -- specifically NeXTSTEP. | 30 September 2000, 17:09:39 UTC |
64d855a | Greg Ward | 30 September 2000, 17:08:12 UTC | 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 | Greg Ward | 30 September 2000, 17:05:37 UTC | Moved some things around for better organization. | 30 September 2000, 17:05:37 UTC |
d15a942 | Martin v. Löwis | 30 September 2000, 17:04:40 UTC | Fixed spelling of module; closes bug 115712. | 30 September 2000, 17:04:40 UTC |
efffd28 | Martin v. Löwis | 30 September 2000, 17:03:19 UTC | Add mimetools testcase. | 30 September 2000, 17:03:19 UTC |
25d1692 | Martin v. Löwis | 30 September 2000, 16:52:45 UTC | Return after writing 7bit or 8bit encodings. Closes bug 115712 | 30 September 2000, 16:52:45 UTC |
af484d5 | Martin v. Löwis | 30 September 2000, 11:34:30 UTC | 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 | Fred Drake | 30 September 2000, 00:11:45 UTC | Replace to XXX notes to add references with real references. | 30 September 2000, 00:11:45 UTC |
5db246d | Fred Drake | 29 September 2000, 20:44:48 UTC | 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 | Fred Drake | 29 September 2000, 19:23:29 UTC | PyModule_AddStringConstant(): Make this static since it isn't used elsewhere in 1.5.2. | 29 September 2000, 19:23:29 UTC |
c0718eb | Martin v. Löwis | 29 September 2000, 19:05:48 UTC | 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 | Martin v. Löwis | 29 September 2000, 19:00:40 UTC | Use string functions instead of methods to allow sharing this module with PyXML | 29 September 2000, 19:00:40 UTC |
491ded7 | Martin v. Löwis | 29 September 2000, 18:59:50 UTC | Remove dependency from saxutils when loading xmlreader | 29 September 2000, 18:59:50 UTC |
9f11cf8 | Fred Drake | 29 September 2000, 17:54:40 UTC | Capitalized an "if" that should have been -- noted by Grant Griffin <grant.griffin@honeywell.com>. | 29 September 2000, 17:54:40 UTC |
0b5fb2b | Fred Drake | 29 September 2000, 17:45:05 UTC | 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 | Fred Drake | 29 September 2000, 17:31:54 UTC | Reversely --> Conversely This closes SourceForge bug #115673. | 29 September 2000, 17:31:54 UTC |
45888ff | Fred Drake | 29 September 2000, 17:09:11 UTC | Added a missing "is" -- noted by Grant Griffin <grant.griffin@honeywell.com>. | 29 September 2000, 17:09:11 UTC |
31b761e | Fred Drake | 29 September 2000, 15:17:36 UTC | 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 | Thomas Heller | 29 September 2000, 11:36:55 UTC | 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 | Fred Drake | 29 September 2000, 04:15:19 UTC | os.startfile() documentation, based on text from Tim Peters. | 29 September 2000, 04:15:19 UTC |
42c83af | Tim Peters | 29 September 2000, 04:03:10 UTC | 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 | Fred Drake | 29 September 2000, 00:30:05 UTC | 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 | Fred Drake | 28 September 2000, 23:28:30 UTC | 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 | Andrew M. Kuchling | 28 September 2000, 21:33:44 UTC | 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 | Fred Drake | 28 September 2000, 20:53:39 UTC | Fix typo: config.stat --> config.status | 28 September 2000, 20:53:39 UTC |
329796d | Fred Drake | 28 September 2000, 20:41:16 UTC | Consistency nits, untabify. | 28 September 2000, 20:41:16 UTC |
8a9db99 | Fred Drake | 28 September 2000, 20:27:51 UTC | Updated documentation relating to the various flavors of popen[234]() for Windows & Unix. | 28 September 2000, 20:27:51 UTC |
18b9b93 | Thomas Heller | 28 September 2000, 19:28:35 UTC | 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 | Fred Drake | 28 September 2000, 19:10:56 UTC | popen4(): Added for Unix. Fixed a typo in a docstring. | 28 September 2000, 19:10:56 UTC |
d75e63a | Fred Drake | 28 September 2000, 19:07:53 UTC | 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 | Fred Drake | 28 September 2000, 16:52:36 UTC | 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 | Fred Drake | 28 September 2000, 16:25:20 UTC | 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 | Fred Drake | 28 September 2000, 16:22:52 UTC | Minor style nits. | 28 September 2000, 16:22:52 UTC |
22fb839 | Fred Drake | 28 September 2000, 15:04:39 UTC | Remove imports of string when string methods will do. | 28 September 2000, 15:04:39 UTC |
b64c223 | Fred Drake | 28 September 2000, 14:32:29 UTC | 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 | Fred Drake | 28 September 2000, 05:31:39 UTC | Add regex and regsub to the list of undocumented obsolete modules. | 28 September 2000, 05:31:39 UTC |
9543833 | Fred Drake | 28 September 2000, 04:25:33 UTC | 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 | Fred Drake | 28 September 2000, 04:21:06 UTC | Add truncate() method to StringIO objects. This closes SourceForge bug #115527. | 28 September 2000, 04:21:06 UTC |
d391a34 | Fred Drake | 28 September 2000, 04:13:15 UTC | 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 | Fred Drake | 28 September 2000, 02:54:51 UTC | 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 | Fred Drake | 27 September 2000, 22:48:44 UTC | Update the documentation for ConfigParser to match the recent changes. | 27 September 2000, 22:48:44 UTC |
8ef6767 | Fred Drake | 27 September 2000, 22:45:25 UTC | Regression test for ConfigParser module. | 27 September 2000, 22:45:25 UTC |
2a37f9f | Fred Drake | 27 September 2000, 22:43:54 UTC | 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 | Jeremy Hylton | 27 September 2000, 20:51:17 UTC | 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 | Marc-André Lemburg | 27 September 2000, 12:25:14 UTC | Updated hash values to match the new encoding (UTF-8) used in the test. | 27 September 2000, 12:25:14 UTC |
67ceca7 | Marc-André Lemburg | 27 September 2000, 12:24:34 UTC | Fixed encoding to use an endianness independent format. | 27 September 2000, 12:24:34 UTC |
6a7768a | Lars Gustäbel | 27 September 2000, 08:12:17 UTC | Fixed misleading qname in test_xmlgen_ns (reported by loewis). | 27 September 2000, 08:12:17 UTC |
fc1b60e | Andrew M. Kuchling | 27 September 2000, 02:49:24 UTC | Fix double negative spotted by matt@mondoinfo.com | 27 September 2000, 02:49:24 UTC |
be870dd | Andrew M. Kuchling | 27 September 2000, 02:36:10 UTC | 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 | Greg Ward | 27 September 2000, 02:26:57 UTC | Bump version to 1.0pre. | 27 September 2000, 02:26:57 UTC |
264cf74 | Greg Ward | 27 September 2000, 02:24:21 UTC | 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 | Greg Ward | 27 September 2000, 02:08:14 UTC | 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 | Andrew M. Kuchling | 27 September 2000, 01:33:41 UTC | 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 |
118ee96 | Andrew M. Kuchling | 27 September 2000, 01:01:18 UTC | Fixed error in explanation of codec decode_func pointed out by Gregg Hauser, and rewrote paragraph a bit. | 27 September 2000, 01:01:18 UTC |
8b2e4e8 | Greg Ward | 27 September 2000, 00:17:08 UTC | Bump version to 0.9.4. | 27 September 2000, 00:17:08 UTC |
2c08cf0 | Greg Ward | 27 September 2000, 00:15:37 UTC | Fix '_set_command_options()' so it only calls 'strtobool()' on strings (was crashing on any boolean command-line option!). | 27 September 2000, 00:15:37 UTC |
81467b8 | cvs2svn | 26 September 2000, 18:00:20 UTC | This commit was manufactured by cvs2svn to create tag 'r20b2'. | 26 September 2000, 18:00:20 UTC |
c79dff6 | Barry Warsaw | 26 September 2000, 18:00:20 UTC | Added an "import xml.parsers.expat" to turn errors due to not having the parser built into ImportErrors. | 26 September 2000, 18:00:20 UTC |
97693b0 | Jeremy Hylton | 26 September 2000, 17:42:51 UTC | Fix GC news | 26 September 2000, 17:42:51 UTC |
d635b1d | Jeremy Hylton | 26 September 2000, 17:32:27 UTC | The Usual | 26 September 2000, 17:32:27 UTC |
0872e05 | Fred Drake | 26 September 2000, 17:23:09 UTC | Fix handling of file inputs on Windows; passing them to urllib.urlopen() caused the drive letter to cause urlopen() to think it was an unrecognized URL scheme. This only passes system ids to urlopen() if the file does not exist. It works on Windows & Unix. It should work everywhere else as well. | 26 September 2000, 17:23:09 UTC |
1bac645 | Jeremy Hylton | 26 September 2000, 16:57:37 UTC | the usual | 26 September 2000, 16:57:37 UTC |
67233bc | Fred Drake | 26 September 2000, 16:40:27 UTC | Fixed typo, description of changes to dbm module. | 26 September 2000, 16:40:27 UTC |
fa2e2c1 | Jeremy Hylton | 26 September 2000, 16:31:30 UTC | The rest of the news for 2.0b2 | 26 September 2000, 16:31:30 UTC |
64bb380 | Fred Drake | 26 September 2000, 16:21:35 UTC | Elaborated the notes on the XML support. In the limits.h comment, noted that INT_MAX and LONG_MAX are guaranteed to be defined. Noted that Reliant UNIX now gets proper API support for extension modules. | 26 September 2000, 16:21:35 UTC |
6c8e4c3 | Marc-André Lemburg | 26 September 2000, 16:19:27 UTC | Test output data for the Unicode database test suite. | 26 September 2000, 16:19:27 UTC |
6a20ee7 | Marc-André Lemburg | 26 September 2000, 16:18:58 UTC | Added test suite for the complete Unicode database. The test previously only tested a few cases. | 26 September 2000, 16:18:58 UTC |
ba90909 | Guido van Rossum | 26 September 2000, 12:14:11 UTC | It's beta 2 now. Updated some stale URLs at pythonlabs.com. | 26 September 2000, 12:14:11 UTC |
f62ed9c | Guido van Rossum | 26 September 2000, 11:16:10 UTC | Fixed some typos, added some punctuation (e.g. consistently terminate sentences with a period and put () after function/method names), and filled in the blanks on mailbox and posixfile. Noted <limits.h> change. | 26 September 2000, 11:16:10 UTC |
482c021 | Tim Peters | 26 September 2000, 06:33:09 UTC | New info and fixed some typos. | 26 September 2000, 06:33:09 UTC |
1d6a729 | Tim Peters | 26 September 2000, 06:11:54 UTC | More limits.h stuff in node.c. Fred, check this! | 26 September 2000, 06:11:54 UTC |
0b71cea | Fred Drake | 26 September 2000, 05:51:50 UTC | Note that including Python.h includes limits.h when available. | 26 September 2000, 05:51:50 UTC |
d5fadf7 | Fred Drake | 26 September 2000, 05:46:01 UTC | Rationalize use of limits.h, moving the inclusion to Python.h. Add definitions of INT_MAX and LONG_MAX to pyport.h. Remove includes of limits.h and conditional definitions of INT_MAX and LONG_MAX elsewhere. This closes SourceForge patch #101659 and bug #115323. | 26 September 2000, 05:46:01 UTC |
1b61859 | Jeremy Hylton | 26 September 2000, 05:32:36 UTC | partial list of changes between 2.0b1 and 2.0b2 | 26 September 2000, 05:32:36 UTC |
15f5e2a | Greg Ward | 26 September 2000, 02:54:43 UTC | Remove a ?? in the description of Mac OS support. | 26 September 2000, 02:54:43 UTC |
d8f7f81 | Greg Ward | 26 September 2000, 02:51:09 UTC | Bump version to 0.9.3. | 26 September 2000, 02:51:09 UTC |
7b5af04 | Tim Peters | 26 September 2000, 02:37:53 UTC | Yet another new unique extension in the test directory. | 26 September 2000, 02:37:53 UTC |
ca4289f | Greg Ward | 26 September 2000, 02:13:49 UTC | Reformat docstrings. Standardize whitespace in function calls. | 26 September 2000, 02:13:49 UTC |
071ed76 | Greg Ward | 26 September 2000, 02:12:31 UTC | Standardize whitespace in function calls. | 26 September 2000, 02:12:31 UTC |
449f556 | Greg Ward | 26 September 2000, 02:03:34 UTC | Whitespace fix. | 26 September 2000, 02:03:34 UTC |
a30f7ac | Greg Ward | 26 September 2000, 02:00:51 UTC | Reformat docstrings. Standardize whitespace in function calls. | 26 September 2000, 02:00:51 UTC |
be86bde | Greg Ward | 26 September 2000, 01:56:15 UTC | Standardize whitespace in function calls. | 26 September 2000, 01:56:15 UTC |
fd7b91e | Greg Ward | 26 September 2000, 01:52:25 UTC | Standardize whitespace in function calls and docstrings. | 26 September 2000, 01:52:25 UTC |
39d59b4 | Guido van Rossum | 26 September 2000, 00:36:03 UTC | It's..... Python 2.0b2! (Note: Jeremy will finish the release on Sept. 26; I have to go on an unexpected business trip.) | 26 September 2000, 00:36:03 UTC |
de33c79 | Guido van Rossum | 26 September 2000, 00:31:18 UTC | HP-UX is another one of those platforms using an alternative lock structure (same as AIX). | 26 September 2000, 00:31:18 UTC |
375732c | Fredrik Lundh | 25 September 2000, 23:03:34 UTC | - don't set the titlecase flag for uppercase letters (sorry, tim) | 25 September 2000, 23:03:34 UTC |
f1fcc81 | Tim Peters | 25 September 2000, 21:55:28 UTC | Bump Windows "build number" to 6. Note that somebody still needs to change the interpreter to say "2.0b2"; I'm assuming that's a normal part of somebody's Unix release checklist. | 25 September 2000, 21:55:28 UTC |
9e7dd4c | Fredrik Lundh | 25 September 2000, 21:48:13 UTC | unicode database compression, step 3: - use unidb compression for the unicodectype module. smaller, faster, and slightly more portable... | 25 September 2000, 21:48:13 UTC |
69b58e2 | Fredrik Lundh | 25 September 2000, 21:12:34 UTC | unicode database compression, step 3: - use unidb compression for the unicodectype module. smaller, faster, and slightly more portable... (note: this commit doesn't include the unicodectype.c file itself; I'm still waiting for the reviewers...) | 25 September 2000, 21:12:34 UTC |
0f8fad4 | Fredrik Lundh | 25 September 2000, 21:01:56 UTC | unicode database compression, step 3: - added decimal digit and digit properties to the unidb tables | 25 September 2000, 21:01:56 UTC |
858346e | Tim Peters | 25 September 2000, 21:01:28 UTC | Replace SIGFPE paranoia around strtod and atof. I don't believe these fncs are allowed to raise SIGFPE (see the C std), but OK by me if people using --with-fpectl want to pay for checking anyway. | 25 September 2000, 21:01:28 UTC |
7f577e7 | Fred Drake | 25 September 2000, 18:26:21 UTC | regex and regsub are obsolete and Evil, so don't include them in the club. | 25 September 2000, 18:26:21 UTC |
e9133f7 | Fredrik Lundh | 25 September 2000, 17:59:57 UTC | unicode database compression, step 3: - use unidb compression for the unicodectype module. smaller, faster, and slightly more portable... - also mention the unicode directory in Tools/README | 25 September 2000, 17:59:57 UTC |
e53793b | Fred Drake | 25 September 2000, 17:52:40 UTC | Updates from Fredrik Lundh <effbot@telia.com> about Unicode-related behavior. | 25 September 2000, 17:52:40 UTC |
af57431 | Fred Drake | 25 September 2000, 17:30:17 UTC | Include the version-detecting code to allow PyXML to override the "standard" xml package. Require at least PyXML 0.6.1. | 25 September 2000, 17:30:17 UTC |
ef5781b | Fred Drake | 25 September 2000, 17:23:04 UTC | Add obsolescence note to the module descriptions that get added to the list of module synopses at the front of the chapter; based on a comment from Aahz <aahz@panix.com>. | 25 September 2000, 17:23:04 UTC |
7198ba9 | Jeremy Hylton | 25 September 2000, 17:00:24 UTC | fix bug #114290: when interpreter's argv[0] has a relative path make it absolute by joining it with getcwd result. avoid including unnecessary ./ in path but do not test for ../ (more complicated) | 25 September 2000, 17:00:24 UTC |
38bfc4d | Barry Warsaw | 25 September 2000, 15:09:28 UTC | Add a test for SF bug #110621; stripping square brackets off of addresses with domain literals. | 25 September 2000, 15:09:28 UTC |