- 28 Sep, 2000 15 commits
-
-
Fred Drake authored
-
Fred Drake authored
for Windows & Unix.
-
Thomas Heller authored
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.
-
Fred Drake authored
Fixed a typo in a docstring.
-
Fred Drake authored
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.
-
Fred Drake authored
__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.
-
Fred Drake authored
Never assume that os.sep is for the module-specific platform; use the right separator character directly. Fix some minor style consistency nits.
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
dynamically to support K&R C since we are requiring an ANSI compiler.
-
Fred Drake authored
-
Fred Drake authored
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).
-
Fred Drake authored
This closes SourceForge bug #115527.
-
Fred Drake authored
not terribly useful. Reported by Mark Favas <Mark.Favas@per.dem.csiro.au>.
-
Fred Drake authored
some platforms. This *should* close SourceForge patch #115506.
-
- 27 Sep, 2000 16 commits
-
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
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.
-
Jeremy Hylton authored
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.
-
Marc-André Lemburg authored
-
Marc-André Lemburg authored
-
Lars Gustäbel authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
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.
-
Greg Ward authored
-
Greg Ward authored
deprecated after all. But now they're only implemented once, instead of N times.
-
Greg Ward authored
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
-
Andrew M. Kuchling authored
Minor rewrites, and added the CVS ID in a comment.
-
Andrew M. Kuchling authored
and rewrote paragraph a bit.
-
Greg Ward authored
-
Greg Ward authored
(was crashing on any boolean command-line option!).
-
- 26 Sep, 2000 9 commits
-
-
cvs2svn authored
-
Barry Warsaw authored
the parser built into ImportErrors.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Fred Drake authored
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.
-
Jeremy Hylton authored
-
Fred Drake authored
-
Jeremy Hylton authored
-
Fred Drake authored
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.
-