- 03 Eki, 2000 15 kayıt (commit)
-
-
Guido van Rossum yazdı
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.
-
Thomas Wouters yazdı
terminals, not the master end (though it does, on most systems.)
-
Thomas Wouters yazdı
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.
-
Fred Drake yazdı
-
Fredrik Lundh yazdı
-
Barry Warsaw yazdı
Py_Initialize()/Py_Finalize() in a loop. _PyImport_Filetab needed to be deallocated. Partial closure of SF #110681, Jitterbug PR#398.
-
Fred Drake yazdı
-
Guido van Rossum yazdı
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.
-
Ka-Ping Yee yazdı
-
Fred Drake yazdı
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.
-
Fred Drake yazdı
references, telling the reader more about what to expect at the other end of the links.
-
Greg Ward yazdı
-
Greg Ward yazdı
-
Greg Ward yazdı
-
Greg Ward yazdı
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!
-
- 02 Eki, 2000 22 kayıt (commit)
-
-
Jeremy Hylton yazdı
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.
-
Fred Drake yazdı
Based on comments from Chris Barker <cbarker@jps.net>.
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
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.
-
Fred Drake yazdı
PyZipFile class. End sentences in docstrings with periods. Reformat docstrings to be more similar to those of other modules.
-
Fred Drake yazdı
on revised text from Jim Ahlstrom <jim@interet.com>. This closes SourceForge bug #115681.
-
Fred Drake yazdı
-
Guido van Rossum yazdı
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.
-
Fred Drake yazdı
Reliant UNIX.
-
Fred Drake yazdı
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.
-
Jeremy Hylton yazdı
-
Guido van Rossum yazdı
#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.)
-
Fred Drake yazdı
Add a note that some way of reliably detecting the use of KDE would be really nice.
-
Fred Drake yazdı
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!
-
Fred Drake yazdı
isNumberType(), and isSequenceType() functions. This closes SourceForge bug #115789.
-
Greg Ward yazdı
-
Greg Ward yazdı
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.
-
Greg Ward yazdı
instruct the "install_lib" command from the command-line.
-
Greg Ward yazdı
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
-
Greg Ward yazdı
-
- 01 Eki, 2000 3 kayıt (commit)
-
-
Greg Ward yazdı
pure Python modules to compile.
-
Greg Ward yazdı
blowing up.
-
Martin v. Löwis yazdı
Subclass Error from Exception.
-