summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Don't assume GNU tar -- generate tar file and compress in separate steps.Greg Ward1999-10-231-12/+23
| | | | | | Now supports the full range of intended formats (tar, ztar, gztar, zip). "-f" no longer a short option for "--formats" -- conflicts with new global option "--force"!
* Removed massive comment speculating about needlessly complex variationsGreg Ward1999-10-231-139/+0
| | | | on the manifest file syntax.
* Qualified use of 'newer_group' function.Greg Ward1999-10-231-1/+1
|
* Fix how we run 'zip' -- give explicit .zip extension.Greg Ward1999-10-231-1/+1
|
* Documented Beep() function.Fred Drake1999-10-221-3/+13
|
* In helo() and ehlo(), Don't fail when gethostbyaddr() fails -- justGuido van Rossum1999-10-221-2/+10
| | | | keep whatever gethostname() returns. After a suggestion by Doug Wyatt.
* Module/script to parse the reference count data file and make theFred Drake1999-10-201-0/+95
| | | | | | | | | | information accessible to Python. When run as a script, just dumps the information back out in the data format, with functions in sorted order and a blank line between different functions. Still need to apply the information somehow.
* Added note that Skip created the initial version of this file.Fred Drake1999-10-201-17/+14
| | | | Fixed up a few of his ??? comments.
* Initial version as provided by Skip Montanaro <skip@mojam.com>.Fred Drake1999-10-201-0/+906
|
* Fix PR#107: wm_colormapwindows() did the wrong thing when presentedGuido van Rossum1999-10-201-1/+3
| | | | more than one window argument.
* Test output.Guido van Rossum1999-10-191-0/+28
| | | | | (XXX perhaps a bit too verbose; in particular it is sensitive to all the doc strings.)
* Rewritten -- this now tests the binascii *except* for the binhexGuido van Rossum1999-10-191-44/+85
| | | | module, which is tested by test_binhex.py.
* Test output for test_binhex.py.Guido van Rossum1999-10-191-0/+1
|
* Patch by Jason Trowbridge. (Followup to his PR#110.) (SlightlyGuido van Rossum1999-10-191-18/+69
| | | | | | | | | | | | 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.
* This test really only tests the binhex module.Guido van Rossum1999-10-191-2/+2
| | | | Renamed it and adapted a comment and an error message.
* John DuBois tells us that SCO OpenServer 5.0 and later requires _SVID3Guido van Rossum1999-10-191-0/+5
| | | | before it reveals the needed definitions in sys/statvfs.h.
* Fix PR#110 -- bad input ("====") for a2b_base64() caused it to callGuido van Rossum1999-10-191-0/+2
| | | | _PyString_Resize() with a negative size.
* print a warning if the password will be echoed.Jeremy Hylton1999-10-181-22/+26
| | | | | | 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
* Fixed PR#106: winfo_visualsavailable() with the includeids=1 optionGuido van Rossum1999-10-181-3/+5
| | | | didn't properly handle the hex numbers returned.
* Fix for PR#111: when using the inplace option, give the new file theGuido van Rossum1999-10-181-3/+15
| | | | | same permissions as the old file, plugging a security hole. (Not using exactly the suggested bugfix.)
* Fixed typo in explanation of abspath(); noticed by Paul PrescodFred Drake1999-10-181-1/+1
| | | | <paul@prescod.net>.
* os.fork raises AttributeError, not NameError, if fork() isn'tFred Drake1999-10-181-1/+1
| | | | supported. Pointed out by Moshe Zadka <moshez@math.huji.ac.il>.
* Based on comments from Paul Prescod:Fred Drake1999-10-161-2/+11
| | | | | If os.fork() doesn't exist, raise SystemError with an explanation at the top of the module. Added a note to the module docstring.
* Mainlining the string_methods branch. See branch revision logBarry Warsaw1999-10-129-1022/+1818
| | | | messages for specific changes.
* update to use threading module instead of thread.Jeremy Hylton1999-10-121-4/+4
|
* fixed a typo in a docstring, and slightly expanded the moduleBarry Warsaw1999-10-121-3/+2
| | | | docstring info for readfp().
* Fix PR#66. Solution: add error checking around l_divmod() calls inGuido van Rossum1999-10-111-4/+18
| | | | long_pow().
* Fix PR#31 -- zfill() mishandles empty string.Guido van Rossum1999-10-111-1/+1
|
* Fix for PR#98 (Adrian Eyre) -- in instancemethod_repr, the funcnameGuido van Rossum1999-10-111-1/+1
| | | | object is DECREFed too early.
* Jeremy writes:Guido van Rossum1999-10-101-1/+2
| | | | | | | | 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).
* main(): Arg! I wasn't properly ignoring EINVAL; now only re-raise theBarry Warsaw1999-10-071-3/+2
| | | | | exception if code <> errno.EINVAL. Jeremy this should fix your problem.
* Fix PR#3, submitted by Skip Montanaro: if no space appears after theGuido van Rossum1999-10-061-1/+1
| | | | colon, the first character of the value is lost.
* In PySys_GetObject(), it's possible that tstate->interp->sysdict isGuido van Rossum1999-10-051-0/+2
| | | | | | NULL. In that case, return NULL rather than dumping core. This fixes PR#91, submitted by Lele Gaifax.
* Add -v flag. Comment duplicate Py_Finalize().Guido van Rossum1999-10-051-2/+8
|
* Dynamic linking support for BSD/OS 4.x as suggested by Vivek KheraGuido van Rossum1999-10-052-157/+161
|
* AskString always set the dialog id to 257. Fixed.Jack Jansen1999-10-051-1/+0
|
* Added has_option(); fix bug in get() which botched interpolation ifGuido van Rossum1999-10-041-1/+16
| | | | '%(' was found in first position (found by Fred Drake).
* Urmpfh!Guido van Rossum1999-10-041-8/+43
| | | | | | | | | | | | | | | | | | | | | 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.
* ConfigParser.read(): Don't mask IOError exceptions.Fred Drake1999-10-041-5/+3
|
* Filter 'glob()' results so we only look at regular files.Greg Ward1999-10-031-2/+2
|
* Pass 'force' flag to 'new_compiler()'.Greg Ward1999-10-031-2/+3
|
* Don't import what we don't use.Greg Ward1999-10-031-1/+1
|
* Tweaked verbosity messages for byte-compilation.Greg Ward1999-10-032-4/+4
|
* Added 'force' and 'quiet' (negative alias for 'verbose') to theGreg Ward1999-10-031-83/+84
| | | | | | | | | | | | | | | | | | 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.
* Fixed 'mkpath()' to normalize the path right off the bat -- cleans upGreg Ward1999-10-031-5/+7
| | | | | | | 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.
* Hacked to support the notion of "negative alias" options, to handleGreg Ward1999-10-031-3/+32
| | | | -q/--quiet reasonably elegantly.
* Catch up with changes in 'gen_lib_options()':Greg Ward1999-10-031-5/+30
| | | | | | | | - 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.)
* Fixed order of link options: object files now precede library stuff.Greg Ward1999-10-031-21/+58
| | | | | | | | 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.
* Slight change to the meaning of the 'libraries' list: if a library nameGreg Ward1999-10-031-14/+37
| | | | | | | | | | | | 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.
* Mark Hammond writes:Guido van Rossum1999-10-011-1/+31
| | | | | | 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!