- 19 Oct, 1999 5 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
reformatted.) - Illegal padding is now ignored. (Recommendation by GvR.) - Padding no longer removes characters from data string (resulting in lost data/strings with negative lengths). - Illegal characters outside the ASCII range are now ignored, instead of possibly being remapped to a valid character.
-
Guido van Rossum authored
Renamed it and adapted a comment and an error message.
-
Guido van Rossum authored
before it reveals the needed definitions in sys/statvfs.h.
-
Guido van Rossum authored
_PyString_Resize() with a negative size.
-
- 18 Oct, 1999 5 commits
-
-
Jeremy Hylton authored
At import time, getpass will be bound to the appropriate platform-specific function. If the platform's echo-disabler is not available, default_getpass, which prints the warning, will be used
-
Guido van Rossum authored
didn't properly handle the hex numbers returned.
-
Guido van Rossum authored
same permissions as the old file, plugging a security hole. (Not using exactly the suggested bugfix.)
-
Fred Drake authored
<paul@prescod.net>.
-
Fred Drake authored
supported. Pointed out by Moshe Zadka <moshez@math.huji.ac.il>.
-
- 16 Oct, 1999 1 commit
-
-
Fred Drake authored
If os.fork() doesn't exist, raise SystemError with an explanation at the top of the module. Added a note to the module docstring.
-
- 12 Oct, 1999 3 commits
-
-
Barry Warsaw authored
messages for specific changes.
-
Jeremy Hylton authored
-
Barry Warsaw authored
docstring info for readfp().
-
- 11 Oct, 1999 3 commits
-
-
Guido van Rossum authored
long_pow().
-
Guido van Rossum authored
-
Guido van Rossum authored
object is DECREFed too early.
-
- 10 Oct, 1999 1 commit
-
-
Guido van Rossum authored
I found the following patch helpful in tracking down a bug in some code. I had appended time, the module, instead of time.time(). Not sure if it is generally true that printing the repr of the object is good, but I expect that most unpicklable things will have fairly information and concise reprs (like files or sockets or modules).
-
- 07 Oct, 1999 1 commit
-
-
Barry Warsaw authored
exception if code <> errno.EINVAL. Jeremy this should fix your problem.
-
- 06 Oct, 1999 1 commit
-
-
Guido van Rossum authored
colon, the first character of the value is lost.
-
- 05 Oct, 1999 4 commits
-
-
Guido van Rossum authored
NULL. In that case, return NULL rather than dumping core. This fixes PR#91, submitted by Lele Gaifax.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Jack Jansen authored
-
- 04 Oct, 1999 3 commits
-
-
Guido van Rossum authored
'%(' was found in first position (found by Fred Drake).
-
Guido van Rossum authored
Withdraw the change that Fred just checked in -- it was a poorly documented feature, not a bug, to ignore I/O errors in read(). The new docstring explains the reason for the feature: """ this is designed so that you can specifiy a list of potential configuration file locations (e.g. current directory, user's home directory, systemwide directory), and all existing configuration files in the list will be read. """ Also add a lower-level function, readfp(), which takes an open file object (and optionally a filename). XXX There are some other problems with this module, but I don't have time to dig into these; in particular, there are complaints that the %(name)s substitution from the [DEFAULTS] section doesn't work correctly.
-
Fred Drake authored
-
- 03 Oct, 1999 10 commits
-
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
global options table. Every Command instance now has its own copies of the global options, which automatically fallback to the Distribution instance. Changes: - initialize them in constructor - added '__getattr__()' to handle the fallback logic - changed every 'self.distribution.{verbose,dry_run}' in Command to 'self.{verbose,dry_run}'. - filesystem utility methods ('copy_file()' et al) don't take 'update' parameter anymore -- instead we pass 'not force' to the underlying function as 'update' Changed parsing of command line so that global options apply to all commands as well -- that's how (eg.) Command.verbose will be initialized. Simplified 'make_file()' to use 'newer_group()' (from util module). Deleted some cruft. Some docstring tweaks.
-
Greg Ward authored
the code a bit and should make it work under Windows even with trailing backslash. Fixed a couple of docstrings. Added comment about 'make_file()' possibly being redundant and unnecessary.
-
Greg Ward authored
-q/--quiet reasonably elegantly.
-
Greg Ward authored
- change how we call it - added methods 'library_dir_option()', 'library_option()', and 'find_library_file()' that it calls Added 'force' flag; it's automatically "respected", because this class always rebuilds everything! (Which it to say, "force=0" is not respected.)
-
Greg Ward authored
Catch up with changes in 'gen_lib_options()': - change how we call it - added methods 'library_dir_option()', 'library_option()', and 'find_library_file()' that it calls Added 'force' flag and changed compile/link methods to respect it.
-
Greg Ward authored
has a directory component, then we only search for the library in that one directory, ie. ignore the 'library_dirs' lists for that one library. Changed calling convention to 'gen_lib_options()' again: now, it takes a CCompiler instance and calls methods on it instead of taking format strings. Also implemented the new "library name" semantics using the 'find_library_file()' method in the CCompiler instance. Added 'force' flag to CCompiler; added to constructor and 'new_compiler()'. Added 'warn()' method.
-
- 01 Oct, 1999 2 commits
-
-
Guido van Rossum authored
Attached is a context diff to winsound.c that adds a Beep() function to play a sound through the PC speaker. Seems to make sense to have this added, so I just went and did it!
-
Jack Jansen authored
-
- 30 Sep, 1999 1 commit
-
-
Jack Jansen authored
-