Greg Ward
7f0fb0b01e
Improved an error message.
...
Announce when we start building each extension (better feedback).
2000-02-03 23:07:54 +00:00
Greg Ward
ef6f515d49
Changed 'compile()' method to compile files one-at-a-time -- gives better
...
feedback and, theoretically, the opportunity to set compiler flags
on a per-file basis.
2000-02-03 23:07:19 +00:00
Guido van Rossum
4310debbd8
Mark Hammond renames the x86 projects back to what they were named
...
before the patch by Trent Mick. Since he now also works for
ActiveState, I suppose he overrides Trent. :-)
2000-02-03 17:19:35 +00:00
Fred Drake
2bb43a20ce
The dircmp module is now obsolete.
2000-02-03 15:27:26 +00:00
Fred Drake
d89ffebd85
These modules are now declared obsolete.
2000-02-03 15:26:16 +00:00
Guido van Rossum
ff484183de
According to Harri Pasanen, the Solaris+gcc test for LINKFORSHARED
...
needed an adaptation for the latest gcc -- we need to grep stderr as
well as stdout for the magic string BFD. (Does anybody know what BFD
means?)
2000-02-03 13:50:24 +00:00
Guido van Rossum
9c6ba9b598
According to Harri Pasanen, the Solaris+gcc test for LINKFORSHARED
...
needed an adaptation for the latest gcc -- we need to grep stderr as
well as stdout for the magic string BFD. (Does anybody know what BFD
means?)
2000-02-03 13:42:50 +00:00
Guido van Rossum
43265beff9
# module filecmp
...
# combo of old cmp, cmpcache and dircmp with redundancies removed
#
# bugs fixed:
# dircmp.dircmp was not ignoring IGNORES
# old stuff could falsely report files as "identical" when contents actually differed
#
# enhancements:
# dircmp has a more straightforward interface
#cmp enhanced by Moshe Zadca
#dircmp enhanced byGordon McMillan
[some layout changes by GvR]
2000-02-03 00:41:22 +00:00
Guido van Rossum
75a7959335
In _fileobject, optimize read() a bit (it could be really slow), and
...
remove "import string" -- use string methods instead!
2000-02-02 16:57:32 +00:00
Guido van Rossum
823e91c767
Optimize abspath() slightly for the case that win32api can't be
...
imported; in that case, abspath is replaced by a fallback version.
2000-02-02 16:54:39 +00:00
Guido van Rossum
5606801b64
Make read() and readlines() conform more to the file object interface:
...
the default arg for read() is -1, not None, and readlines() has an
optional argument (which for now is ignored).
2000-02-02 16:51:06 +00:00
Guido van Rossum
4acc25bd39
Mass patch by Ka-Ping Yee:
...
1. Comments at the beginning of the module, before
functions, and before classes have been turned
into docstrings.
2. Tabs are normalized to four spaces.
Also, removed the "remove" function from dircmp.py, which reimplements
list.remove() (it must have been very old).
2000-02-02 15:10:15 +00:00
Greg Ward
113e70efa2
Patch from Joe Van Andel: fix arg to % operator in warning.
2000-02-02 00:07:14 +00:00
Greg Ward
a0ca3f24f9
Comment fix.
...
Always use normalized (with os.path.normpath()) versions of prefix and
exec_prefix.
2000-02-02 00:05:14 +00:00
Guido van Rossum
3c8baedaf8
Sjoerd Mullender writes:
...
Fixed a TypeError: not enough arguments; expected 4, got 3.
When authentication is needed, the default http_error_401 method calls
retry_http_basic_auth. The default version of that method expected a
data argument which wasn't provided, so now we provide the argument if
it was given and we also made the data argument optional.
Also changed other calls where data was optional to not pass data if
it was not passed to the calling method (in line with other similar
occurances).
2000-02-01 23:36:55 +00:00
Fred Drake
a664dbbff8
Added docstring to crypt.crypt() based on the documentation.
2000-02-01 20:12:39 +00:00
Guido van Rossum
b3d3956e01
The initialization of posix_putenv_garbage should only be done when it
...
is defined...
2000-01-31 18:41:26 +00:00
Greg Ward
d1466b968f
Allow either README or README.txt as a "standard file".
2000-01-30 20:22:27 +00:00
Greg Ward
a002edc85b
Fixed broken list extend in 'copy_tree()'.
2000-01-30 19:57:48 +00:00
Greg Ward
37bc815053
Added 'description' class attribute to every command class (to help the
...
'--help-commands' option).
Shuffled imports around in a few command modules to avoid expensive
up-front import of sysconfig (and resulting delays in generating list
of all commands).
2000-01-30 18:34:15 +00:00
Greg Ward
4c67936e4e
Added 'dist' command.
2000-01-30 18:31:34 +00:00
Greg Ward
f0fd6175b3
Improvements to the help system:
...
* "--help" can now come either before or after particular commands
to get help on and can give help on multiple commands, eg.
"--help install dist" gives help on those two commands
* added "--help-commands" option, implemented by the 'print_commands()'
and 'print_command_list()' methods
2000-01-30 18:30:32 +00:00
Greg Ward
7478a4832a
Added missing run of corresponding 'build' command.
2000-01-30 15:07:56 +00:00
Jack Jansen
4377a1a2c5
Big oops: macfs has always been using a private exception but calling it mac.error.
...
It now uses MacOS.Error (the OSErr valued error) and advertises that too. This
fix shouldn't break anything, I guess.
2000-01-24 10:37:59 +00:00
Jack Jansen
0475104787
Hmm, the project wasn't a 5.3 file, despite the log msg. Now it is.
2000-01-24 10:21:07 +00:00
Jack Jansen
6448c35248
Build the Nav module too.
2000-01-24 10:15:59 +00:00
Jack Jansen
3d7575406f
If there's an error in an fsspec argument raise MacOS.Error, not ValueError.
2000-01-24 09:56:06 +00:00
Guido van Rossum
a4596a4ba5
Trent Mick: Setup PC configuration so that MSDEV chooses the x86
...
release project config as the default.
2000-01-21 00:03:42 +00:00
Fred Drake
ecb84f8e75
Don't insert extra indentation before <title> elements.
2000-01-20 22:51:14 +00:00
Guido van Rossum
bffd683f73
The rest of the changes by Trent Mick and Dale Nagata for warning-free
...
compilation on NT Alpha. Mostly added casts etc.
2000-01-20 22:32:56 +00:00
Guido van Rossum
e0a928dc1e
Fix some broken links.
2000-01-20 21:37:19 +00:00
Guido van Rossum
72ca1b3536
Changes by Trent Mick (of ActiveState) and Dale Nagata to support
...
building for NT Alpha as well as NT x86.
2000-01-20 21:31:41 +00:00
Guido van Rossum
f158887505
Two patches from Jack Jansen:
...
Three bgen mods:
- support for FSSpecs passed-by-value and points-passed-by-reference added.
- strip single-line comments when parsing header files
- if a definition is blacklisted _do_ output it, but in comment
2000-01-20 20:49:28 +00:00
Jeremy Hylton
6d7e47b8ea
EXPERIMENTAL
...
An extensible library for opening URLs using a variety protocols.
Intended as a replacement for urllib.
2000-01-20 18:19:08 +00:00
Guido van Rossum
331f19e894
Change two occurrences of type(x) <> types.CodeType into
...
isinstance(x, types.CodeType).
Suggested by Finn Bock.
2000-01-19 21:57:30 +00:00
Jack Jansen
fca049d952
Made all textfields in message and question boxes minimal height and invisible, and use AutoSizeDialog() and ShowWindow() before doing interaction.
2000-01-18 13:36:02 +00:00
Greg Ward
9f200cbaa6
Fix indentation bug.
2000-01-17 21:58:07 +00:00
Greg Ward
3b49c9babd
Catch OSError from 'spawnv()' in '_spawn_nt()'.
...
Tweaked error messages in '_spawn_posix()'.
2000-01-17 21:57:55 +00:00
Greg Ward
01f5215828
Removed /GD switch -- currently ignored by MSVC.
2000-01-17 21:57:17 +00:00
Greg Ward
8dbf681a97
Added compiler flags suggested by Thomas Heller: optimize, use multi-threaded
...
RT library.
2000-01-17 20:40:48 +00:00
Greg Ward
1b3a9af5cf
Added missing import.
...
Fixed 'make_release_tree()' to copy files if 'os.link()' doesn't exist.
2000-01-17 20:23:34 +00:00
Greg Ward
cbeca7b408
Added code to use Jim Ahlstrom's zipfile.py module if the external zip
...
command wasn't found or failed. (Code supplied by Thomas Heller
<thomas.heller@ion-tof.com>.)
2000-01-17 18:04:04 +00:00
Greg Ward
c8a95c8d5e
Fix library filename methods -- there is no 'lib' prefix under DOS/Windows.
2000-01-17 18:00:04 +00:00
Greg Ward
c27d800251
Always run sys.prefix and sys.exec_prefix through 'os.path.normpath()'
...
before storing or using.
2000-01-17 16:25:59 +00:00
Greg Ward
7c463ef362
Ditch unneeded imports.
2000-01-17 16:25:17 +00:00
Guido van Rossum
1d2b23ef22
Fix by Nick Russo in processing of timezone in test program; the
...
ParsedDate didn't have the correct day of week.
2000-01-17 14:11:04 +00:00
Guido van Rossum
947a0fa4f9
According to Ron Bickers, and with apparent approval of Chris
...
Herborth, the code in list2set() that sets max unconditionally to 0
should not be used on BeOS. So be it. Anybody using BeOS, please
test!
2000-01-14 16:33:09 +00:00
Jack Jansen
5c6634c807
- Actually _implemented_ SetFolder()
...
- Fixed StandardPutFile: prompt, default
- Check explicitly for userCanceledErr, pass other Nav.error exceptions through.
2000-01-13 16:26:35 +00:00
Jack Jansen
2c6cf97255
Handling of defaultLocation argument was wrong, causing a crash when used. Fixed.
2000-01-13 16:24:32 +00:00
Jack Jansen
3d6163ad2d
List objects obtained through as_List(resource) are not auto-disposed upon
...
Python object freeing.
2000-01-13 16:23:39 +00:00