summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Consistency nits, untabify.Fred Drake2000-09-281-38/+39
|
* Updated documentation relating to the various flavors of popen[234]()Fred Drake2000-09-282-24/+79
| | | | for Windows & Unix.
* Removed the implib_dir instance variable because it is unused.Thomas Heller2000-09-281-13/+9
| | | | | | | | | | | 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.
* popen4(): Added for Unix.Fred Drake2000-09-281-3/+7
| | | | Fixed a typo in a docstring.
* popen4(), class Popen4: popen4() support for Unix.Fred Drake2000-09-281-49/+64
| | | | | | | | | | | | 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.
* Convert all entries on sys.path to absolute paths, and also update theFred Drake2000-09-281-8/+31
| | | | | | | | | | | | | __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.
* Avoid import of string module; it is only needed for expandvars().Fred Drake2000-09-283-48/+46
| | | | | | Never assume that os.sep is for the module-specific platform; use the right separator character directly. Fix some minor style consistency nits.
* Minor style nits.Fred Drake2000-09-281-10/+10
|
* Remove imports of string when string methods will do.Fred Drake2000-09-281-5/+3
|
* Minor ANSIfication: lib_python no longer needs to be initializedFred Drake2000-09-281-4/+1
| | | | dynamically to support K&R C since we are requiring an ANSI compiler.
* Add regex and regsub to the list of undocumented obsolete modules.Fred Drake2000-09-281-0/+12
|
* Added some tests for the truncate() method; one is commented out becauseFred Drake2000-09-282-0/+25
| | | | | | | | 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).
* Add truncate() method to StringIO objects.Fred Drake2000-09-281-0/+13
| | | | This closes SourceForge bug #115527.
* Remove change that had not been saved when the output was generated;Fred Drake2000-09-281-3/+0
| | | | | not terribly useful. Reported by Mark Favas <Mark.Favas@per.dem.csiro.au>.
* Fix includes; not including Python.h caused the module not to compile onFred Drake2000-09-281-1/+1
| | | | | | some platforms. This *should* close SourceForge patch #115506.
* Update the documentation for ConfigParser to match the recent changes.Fred Drake2000-09-271-2/+13
|
* Regression test for ConfigParser module.Fred Drake2000-09-272-0/+195
|
* Allow spaces in section names.Fred Drake2000-09-271-18/+33
| | | | | | | | | | | | | | | 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.
* Fix buffer overflow vulnerabilities in calculate_path(). Code usedJeremy Hylton2000-09-271-16/+41
| | | | | | | 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.
* Updated hash values to match the new encoding (UTF-8) used in the test.Marc-André Lemburg2000-09-271-1/+1
|
* Fixed encoding to use an endianness independent format.Marc-André Lemburg2000-09-271-1/+3
|
* Fixed misleading qname in test_xmlgen_ns (reported by loewis).Lars Gustäbel2000-09-271-2/+2
|
* Fix double negative spotted by matt@mondoinfo.comAndrew M. Kuchling2000-09-271-2/+2
|
* Added a section describing the new development process. Part of itAndrew M. Kuchling2000-09-271-1/+87
| | | | | | 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.
* Bump version to 1.0pre.Greg Ward2000-09-271-1/+1
|
* Remove deprecation warnings on old 'link_*()' methods, ie. they're notGreg Ward2000-09-271-11/+5
| | | | | deprecated after all. But now they're only implemented once, instead of N times.
* Big patch from Rene Liebscher to simplify the CCompiler API andGreg Ward2000-09-275-430/+409
| | | | | | | | | | | | | | | | | | | | 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
* Wrote text for features added between 2.0b1 and b2.Andrew M. Kuchling2000-09-271-8/+35
| | | | Minor rewrites, and added the CVS ID in a comment.
* Fixed error in explanation of codec decode_func pointed out by Gregg Hauser,Andrew M. Kuchling2000-09-271-7/+8
| | | | and rewrote paragraph a bit.
* Bump version to 0.9.4.Greg Ward2000-09-271-1/+1
|
* Fix '_set_command_options()' so it only calls 'strtobool()' on stringsGreg Ward2000-09-271-2/+3
| | | | (was crashing on any boolean command-line option!).
* This commit was manufactured by cvs2svn to create tag 'r20b2'.v2.0b2cvs2svn2000-09-261-0/+1
|
* Added an "import xml.parsers.expat" to turn errors due to not havingBarry Warsaw2000-09-261-0/+1
| | | | the parser built into ImportErrors.
* Fix GC newsJeremy Hylton2000-09-261-5/+4
|
* The UsualJeremy Hylton2000-09-2620-421/+642
|
* Fix handling of file inputs on Windows; passing them to urllib.urlopen()Fred Drake2000-09-261-3/+5
| | | | | | | | 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.
* the usualJeremy Hylton2000-09-261-431/+405
|
* Fixed typo, description of changes to dbm module.Fred Drake2000-09-261-5/+6
|
* The rest of the news for 2.0b2Jeremy Hylton2000-09-261-8/+72
|
* Elaborated the notes on the XML support.Fred Drake2000-09-261-5/+16
| | | | | | | 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.
* Test output data for the Unicode database test suite.Marc-André Lemburg2000-09-261-1/+4
|
* Added test suite for the complete Unicode database. The test previouslyMarc-André Lemburg2000-09-261-7/+79
| | | | only tested a few cases.
* It's beta 2 now. Updated some stale URLs at pythonlabs.com.Guido van Rossum2000-09-261-4/+3
|
* Fixed some typos, added some punctuation (e.g. consistently terminateGuido van Rossum2000-09-261-42/+76
| | | | | sentences with a period and put () after function/method names), and filled in the blanks on mailbox and posixfile. Noted <limits.h> change.
* New info and fixed some typos.Tim Peters2000-09-261-9/+11
|
* More limits.h stuff in node.c.Tim Peters2000-09-261-9/+1
| | | | Fred, check this!
* Note that including Python.h includes limits.h when available.Fred Drake2000-09-261-2/+2
|
* Rationalize use of limits.h, moving the inclusion to Python.h.Fred Drake2000-09-2625-133/+42
| | | | | | | | 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.
* partial list of changes between 2.0b1 and 2.0b2Jeremy Hylton2000-09-261-1/+165
|
* Remove a ?? in the description of Mac OS support.Greg Ward2000-09-261-1/+1
|