]> granicus.if.org Git - python/log
python
22 years agoGet rid of 2.2 "poor mans universal newlines" now that the real thing
Jack Jansen [Fri, 13 Dec 2002 13:57:35 +0000 (13:57 +0000)]
Get rid of 2.2 "poor mans universal newlines" now that the real thing
is implemented.

22 years agoIt was an old MacPython artefact that these files were still in the source
Jack Jansen [Fri, 13 Dec 2002 13:38:28 +0000 (13:38 +0000)]
It was an old MacPython artefact that these files were still in the source
tree. Removed them, anyone really desparate to recover them can get them
from the CVS repository.

22 years agoTkinter isn't supported under Carbon. Under MacOSX native it is, but
Jack Jansen [Fri, 13 Dec 2002 13:35:33 +0000 (13:35 +0000)]
Tkinter isn't supported under Carbon. Under MacOSX native it is, but
that version doesn't need these workarounds.

22 years agoVery outdated: this is a 68K support file.
Jack Jansen [Fri, 13 Dec 2002 13:33:34 +0000 (13:33 +0000)]
Very outdated: this is a 68K support file.

22 years agoAdd Tkinter threading change
Andrew M. Kuchling [Fri, 13 Dec 2002 12:53:16 +0000 (12:53 +0000)]
Add Tkinter threading change
Fix markup errors
Rewrite a sentence

22 years agoand now the real fix...
Just van Rossum [Fri, 13 Dec 2002 11:07:20 +0000 (11:07 +0000)]
and now the real fix...

22 years agofixed bool browsing bug, sf bug #652591
Just van Rossum [Fri, 13 Dec 2002 10:58:10 +0000 (10:58 +0000)]
fixed bool browsing bug, sf bug #652591

22 years agoPrevent debugger from stepping into Idle rpc code
Chui Tey [Thu, 12 Dec 2002 20:53:19 +0000 (20:53 +0000)]
Prevent debugger from stepping into Idle rpc code

22 years agoPatch #536661: Improve performance of splitext. Add test_macpath.
Martin v. Löwis [Thu, 12 Dec 2002 20:30:20 +0000 (20:30 +0000)]
Patch #536661: Improve performance of splitext. Add test_macpath.

22 years agoPatch #629126: Detect BLT by also looking for libBLT.
Martin v. Löwis [Thu, 12 Dec 2002 20:23:38 +0000 (20:23 +0000)]
Patch #629126: Detect BLT by also looking for libBLT.

22 years agoPatch #650653: Raise always value error if the table is not 256 bytes long.
Martin v. Löwis [Thu, 12 Dec 2002 20:03:19 +0000 (20:03 +0000)]
Patch #650653: Raise always value error if the table is not 256 bytes long.

22 years agoDescription of description was really confusing, and added some markup.
Thomas Heller [Thu, 12 Dec 2002 19:35:00 +0000 (19:35 +0000)]
Description of description was really confusing, and added some markup.

22 years agoM CallTipWindow.py
Kurt B. Kaiser [Thu, 12 Dec 2002 19:15:39 +0000 (19:15 +0000)]
M CallTipWindow.py
M CallTips.py

Calltip fetch was erroring when an Edit window was used without a Shell.
Also, fix CallTipWindow.py so test code will run and add a comment about a
bug which causes the calltip window to override all others.

22 years agoChange issubclass() so that recursive tuples (directly or indirectly
Walter Dörwald [Thu, 12 Dec 2002 19:14:08 +0000 (19:14 +0000)]
Change issubclass() so that recursive tuples (directly or indirectly
containing class objects) are allowed as the second argument.
This makes issubclass() more similar to isinstance() where recursive
tuples are allowed too.

22 years agoMention the bdist_wininst postinstall script.
Thomas Heller [Thu, 12 Dec 2002 19:13:44 +0000 (19:13 +0000)]
Mention the bdist_wininst postinstall script.

22 years agoAlways initialize objc.
Martin v. Löwis [Thu, 12 Dec 2002 19:05:48 +0000 (19:05 +0000)]
Always initialize objc.

22 years agoRaw documentation for the bdist_wininst postinstallation script.
Thomas Heller [Thu, 12 Dec 2002 18:54:19 +0000 (18:54 +0000)]
Raw documentation for the bdist_wininst postinstallation script.
People are already using it, so these docs are certainly better than
no docs at all. Markup is mostly missing and the layout is probably
ugly, but this can be fixed later.

Question: there are references to MS docs for the CSIDL_... constants
and the IShellLink interface. Are these pointers sufficient, or should
the MS docs reworded and repeated here?

22 years agoPatch #551960: Add check for setrlimit() support
Jason Tishler [Thu, 12 Dec 2002 18:13:36 +0000 (18:13 +0000)]
Patch #551960: Add check for setrlimit() support

test_resource calls resource.setrlimit() to change the file size limits.
This fails on Cygwin, which supports setrlimit() and getrlimit(), just not
changing that particular setting. (The same would apply to any other
platform that has those functions but not that particular feature.)

Since getrlimit() works and setrlimit() can be used for other reasons, a
check for ValueError was added to that part of the test.

22 years agoNews item for the change to turn _codecs into a builtin module.
Marc-André Lemburg [Thu, 12 Dec 2002 18:01:43 +0000 (18:01 +0000)]
News item for the change to turn _codecs into a builtin module.

22 years agoPatch to make _codecs a builtin module. This is necessary since
Marc-André Lemburg [Thu, 12 Dec 2002 17:37:50 +0000 (17:37 +0000)]
Patch to make _codecs a builtin module. This is necessary since
Python 2.3 will support source code encodings which rely on the
builtin codecs being available to the parser.

Remove struct dependency from codecs.py

22 years agoTypo fix.
Greg Ward [Thu, 12 Dec 2002 17:35:45 +0000 (17:35 +0000)]
Typo fix.

22 years agoHardcode the recognized whitespace characters to the US-ASCII whitespace
Greg Ward [Thu, 12 Dec 2002 17:24:35 +0000 (17:24 +0000)]
Hardcode the recognized whitespace characters to the US-ASCII whitespace
chars.  See the comment for rationale.

22 years agoSupport threads-enabled Tcl installations.
Martin v. Löwis [Thu, 12 Dec 2002 17:07:58 +0000 (17:07 +0000)]
Support threads-enabled Tcl installations.

22 years agoEnhance issubclass() and PyObject_IsSubclass() so that a tuple is
Walter Dörwald [Thu, 12 Dec 2002 16:41:44 +0000 (16:41 +0000)]
Enhance issubclass() and PyObject_IsSubclass() so that a tuple is
supported as the second argument. This has the same meaning as
for isinstance(), i.e. issubclass(X, (A, B)) is equivalent
to issubclass(X, A) or issubclass(X, B). Compared to isinstance(),
this patch does not search the tuple recursively for classes, i.e.
any entry in the tuple that is not a class, will result in a
TypeError.

This closes SF patch #649608.

22 years agoPatch #651621, approved by MvL.
Just van Rossum [Thu, 12 Dec 2002 12:23:32 +0000 (12:23 +0000)]
Patch #651621, approved by MvL.

This patch allows ZipFile.writestr() to be called with
an archive file name instead of a ZipInfo instance:

z = ZipFile("myarchive.zip", "w")
z.writestr("foo/baz/file.ext", data)
z.close()

I found the old writestr() method very inconvenient
for simple (but common) things.

If called with a file name instead of a ZipInfo
instance, the date_time is set to the current date/time,
which makes sense to me for anonymous data.

22 years agoGetting rid of pre-Carbon (MacOS8) support. All code depending on
Jack Jansen [Thu, 12 Dec 2002 10:31:54 +0000 (10:31 +0000)]
Getting rid of pre-Carbon (MacOS8) support. All code depending on
TARGET_API_MAC_OS8 (or !TARGET_API_MAC_CARBON) is gone. Also some
TARGET_API_MAC_OSX conditional code is gone, because it is no longer
used on OSX-only Python (only in MacPython-OS9).

22 years agoCorrect buggy module docstring.
Jeremy Hylton [Wed, 11 Dec 2002 21:43:13 +0000 (21:43 +0000)]
Correct buggy module docstring.
Replace use of homebrew boolean with True/False.

Reflow lots more long lines.

22 years agoFix one bug and reformat lots of code.
Jeremy Hylton [Wed, 11 Dec 2002 21:28:32 +0000 (21:28 +0000)]
Fix one bug and reformat lots of code.

The bug is a reference to co_first_lineno that should be
co_firstlineno.  The only other substantial change is to speed up
localtrace_count() by avoiding *costly* calls to inspect module.
It's trivial to get the filename and lineno directly from the frame.

Otherwise, delete commented out debug code and reflow very long lines.

22 years agoThis is not used anymore.
Martin v. Löwis [Wed, 11 Dec 2002 19:55:48 +0000 (19:55 +0000)]
This is not used anymore.

22 years agoMade the _ssl subproject depend on the w9xpopen subproject, because
Tim Peters [Wed, 11 Dec 2002 17:50:24 +0000 (17:50 +0000)]
Made the _ssl subproject depend on the w9xpopen subproject, because
build_ssl.py requires os.popen().

22 years agoAdd OSS mixer interface (from Nicholas FitzRoy-Dale <wzdd@lardcave.net>):
Greg Ward [Wed, 11 Dec 2002 15:12:01 +0000 (15:12 +0000)]
Add OSS mixer interface (from Nicholas FitzRoy-Dale <wzdd@lardcave.net>):
  * add oss_mixer_t and OSSMixerType
  * add newossmixerobject(), oss_mixer_dealloc(), ossopenmixer()
  * add _do_ioctl_1_internal() to support mixer ioctls
  * add mixer methods: oss_mixer_{close,fileno,channels,stereo_channels,
    rec_channels,getvol,setvol,getrecsrc,setrecsrc}()
  * add oss_mixer_methods list
  * add oss_mixer_getattr() (why?!)
  * export SOUND_MIXER_* constants from soundcard.h

22 years agoVarious additions and changes suggested by Raymond Hettinger
Andrew M. Kuchling [Wed, 11 Dec 2002 15:03:51 +0000 (15:03 +0000)]
Various additions and changes suggested by Raymond Hettinger

22 years agoPrepare for the coming mixer support patch: change _do_ioctl_0() and
Greg Ward [Wed, 11 Dec 2002 14:49:59 +0000 (14:49 +0000)]
Prepare for the coming mixer support patch: change _do_ioctl_0() and
_do_ioctl_1() so they take a file descriptor rather than an oss_t
pointer.

22 years agoFinish expunging the 'linuxaudiodev' name:
Greg Ward [Wed, 11 Dec 2002 14:43:13 +0000 (14:43 +0000)]
Finish expunging the 'linuxaudiodev' name:
  * rename oss_t to lad_t, Ladtype to OSSType,
  * rename lad_*() methods to oss_*()
  * rename lad_methods list to oss_methods
Patch and impetus supplied by Nicholas FitzRoy-Dale <wzdd@lardcave.net>.

22 years agoConstify filenames and scripts. Fixes #651362.
Martin v. Löwis [Wed, 11 Dec 2002 14:04:59 +0000 (14:04 +0000)]
Constify filenames and scripts. Fixes #651362.

22 years agoTweak generation of unicode_whitespace_trans -- clearer, more
Greg Ward [Wed, 11 Dec 2002 13:54:20 +0000 (13:54 +0000)]
Tweak generation of unicode_whitespace_trans -- clearer, more
efficient.  Suggested by MAL.

22 years agoConstify char* API. Fixes #651363. 2.2 candidate.
Martin v. Löwis [Wed, 11 Dec 2002 13:21:12 +0000 (13:21 +0000)]
Constify char* API. Fixes #651363. 2.2 candidate.

22 years agoPatch #650415: Avoid redefinition of macros.
Martin v. Löwis [Wed, 11 Dec 2002 13:12:30 +0000 (13:12 +0000)]
Patch #650415: Avoid redefinition of macros.

22 years agoPatch #650422: Use Posix AF_ constants instead of PF_ ones.
Martin v. Löwis [Wed, 11 Dec 2002 13:10:57 +0000 (13:10 +0000)]
Patch #650422: Use Posix AF_ constants instead of PF_ ones.

22 years agoPatch #650834: Document 'U' in file mode, remove stale variables.
Martin v. Löwis [Wed, 11 Dec 2002 13:06:53 +0000 (13:06 +0000)]
Patch #650834: Document 'U' in file mode, remove stale variables.

22 years agoPatch #651006: Better explain what component might be empty.
Martin v. Löwis [Wed, 11 Dec 2002 12:55:53 +0000 (12:55 +0000)]
Patch #651006: Better explain what component might be empty.

22 years agoPatch #651289: Fix quoting errors.
Martin v. Löwis [Wed, 11 Dec 2002 12:51:58 +0000 (12:51 +0000)]
Patch #651289: Fix quoting errors.

22 years agoClean-up test class for DictMixin.
Raymond Hettinger [Wed, 11 Dec 2002 07:16:06 +0000 (07:16 +0000)]
Clean-up test class for DictMixin.

22 years agoUpdate comments about the performance of xrange().
Raymond Hettinger [Wed, 11 Dec 2002 07:14:03 +0000 (07:14 +0000)]
Update comments about the performance of xrange().

22 years agoUpdate to reflect current implementation.
Kurt B. Kaiser [Wed, 11 Dec 2002 04:42:39 +0000 (04:42 +0000)]
Update to reflect current implementation.

22 years agoRework the command line interface, incorporating the shell/edit
Kurt B. Kaiser [Wed, 11 Dec 2002 04:42:04 +0000 (04:42 +0000)]
Rework the command line interface, incorporating the shell/edit
configuration selection. Rework the usage message to match.

Also some minor code polishing.

22 years agoAdded a word to the heapq description in response to user confusion.
Tim Peters [Tue, 10 Dec 2002 21:04:25 +0000 (21:04 +0000)]
Added a word to the heapq description in response to user confusion.

22 years agoInstall the tools/i18n directory on Windows. A user requested it,
Tim Peters [Tue, 10 Dec 2002 19:03:52 +0000 (19:03 +0000)]
Install the tools/i18n directory on Windows.  A user requested it,
Barry agreed, and I see no reason not to.

22 years agoAdded test_ossaudiodev to expected skips on Windows.
Tim Peters [Tue, 10 Dec 2002 18:47:56 +0000 (18:47 +0000)]
Added test_ossaudiodev to expected skips on Windows.

22 years agoAesthetic tweakery: factor read_sound_file() out of play_sound_file().
Greg Ward [Tue, 10 Dec 2002 16:27:35 +0000 (16:27 +0000)]
Aesthetic tweakery: factor read_sound_file() out of play_sound_file().

22 years agoInitial revision is rev 1.8 of test_linuxaudiodev.py, with
Greg Ward [Tue, 10 Dec 2002 16:24:21 +0000 (16:24 +0000)]
Initial revision is rev 1.8 of test_linuxaudiodev.py, with
the obvious s/linuxaudiodev/ossaudiodev/ change made.

22 years agoUpgrade to Tix-8.1.4 from Mike Clarkson (the maintainer)
Neal Norwitz [Tue, 10 Dec 2002 02:18:49 +0000 (02:18 +0000)]
Upgrade to Tix-8.1.4 from Mike Clarkson (the maintainer)

22 years agoSF 548651: Fix the METH_CLASS implementation.
Tim Peters [Mon, 9 Dec 2002 22:56:13 +0000 (22:56 +0000)]
SF 548651:  Fix the METH_CLASS implementation.
Most of these patches are from Thomas Heller, with long lines folded
by Tim.  The change to test_descr.py is from Guido.  See the bug report.

Not a bugfix candidate -- METH_CLASS is new in 2.3.

22 years agoAdd test_unicode() to ensure that 1) textwrap doesn't crash on unicode
Greg Ward [Mon, 9 Dec 2002 16:32:41 +0000 (16:32 +0000)]
Add test_unicode() to ensure that 1) textwrap doesn't crash on unicode
input, and 2) unicode input means unicode output.  This closes
SF bug #622831.

22 years agoAdded test_initial_whitespace() to ensure that SF bug #622849 is fixed.
Greg Ward [Mon, 9 Dec 2002 16:27:15 +0000 (16:27 +0000)]
Added test_initial_whitespace() to ensure that SF bug #622849 is fixed.
Change LongWordTestCase.setUp() -- remove leading whitespace from
  text string.
Comment fix.

22 years agoFix SF bug #622849: in _wrap_chunks(), ensure that leading whitespace in
Greg Ward [Mon, 9 Dec 2002 16:26:05 +0000 (16:26 +0000)]
Fix SF bug #622849: in _wrap_chunks(), ensure that leading whitespace in
the input string is always preserved.

22 years agoFix SF bug #622831 (I think): add unicode_whitespace_trans class
Greg Ward [Mon, 9 Dec 2002 16:23:08 +0000 (16:23 +0000)]
Fix SF bug #622831 (I think): add unicode_whitespace_trans class
attribute, and modify _munge_whitespace() to recognize Unicode strings
and use unicode_whitespace_trans to munge them.  Still need to add a
test to make sure I've really fixed the bug.

22 years agoDocs were added about a month ago
Raymond Hettinger [Mon, 9 Dec 2002 08:56:06 +0000 (08:56 +0000)]
Docs were added about a month ago

22 years agoself.binary -> self._binary to remove it from the public interface -
Skip Montanaro [Sun, 8 Dec 2002 21:25:00 +0000 (21:25 +0000)]
self.binary -> self._binary to remove it from the public interface -
suggestion by Raymond Hettinger.

22 years agoAdd support for binary pickles to the shelve module. In some situations
Skip Montanaro [Sun, 8 Dec 2002 18:36:24 +0000 (18:36 +0000)]
Add support for binary pickles to the shelve module.  In some situations
this can result in significantly smaller files.  All classes as well as the
open function now accept an optional binary parameter, which defaults to
False for backward compatibility.  Added a small test suite, updated the
libref documentation (including documenting the exported classes and fixing
a few other nits) and added a note about the change to Misc/NEWS.

22 years agoslot_nb_nonzero(): Another leak uncovered by the sandbox datetime
Tim Peters [Sat, 7 Dec 2002 21:39:16 +0000 (21:39 +0000)]
slot_nb_nonzero():  Another leak uncovered by the sandbox datetime
tests.  I found the logic too confusing to follow here, so rewrote more
than was likely absolutely necessary.

Bugfix candidate.

22 years agoRevise the __all__ index entry a touch.
Fred Drake [Sat, 7 Dec 2002 16:00:00 +0000 (16:00 +0000)]
Revise the __all__ index entry a touch.

22 years agoRemove C++ comment. Silence unsigned char* cast warning.
Martin v. Löwis [Sat, 7 Dec 2002 14:57:11 +0000 (14:57 +0000)]
Remove C++ comment. Silence unsigned char* cast warning.

22 years agoRemove C++ comment.
Martin v. Löwis [Sat, 7 Dec 2002 14:56:36 +0000 (14:56 +0000)]
Remove C++ comment.

22 years agoCorrect db3 /opt/sfw library path. Link ndbm with libc only if ndbm.h
Martin v. Löwis [Sat, 7 Dec 2002 14:41:17 +0000 (14:41 +0000)]
Correct db3 /opt/sfw library path. Link ndbm with libc only if ndbm.h
is present and libndbm is not. Add runtime libs to dbm if linked against
Berkeley DB.

22 years agoAdd another test which exercises the whole suite with a
Raymond Hettinger [Sat, 7 Dec 2002 10:33:42 +0000 (10:33 +0000)]
Add another test which exercises the whole suite with a
heapsort and verifies the result against list.sort().

22 years agoFix typo in abstract.c which caused __rpow__ to not be invoked.
Raymond Hettinger [Sat, 7 Dec 2002 10:05:27 +0000 (10:05 +0000)]
Fix typo in abstract.c which caused __rpow__ to not be invoked.
Added related testcase.
Closes SF bug #643260.

22 years agoAdd __all__ to Reference Manual index.
Raymond Hettinger [Sat, 7 Dec 2002 09:39:15 +0000 (09:39 +0000)]
Add __all__ to Reference Manual index.
Closes SF 643227.

22 years agoClarify and speedup test.
Raymond Hettinger [Sat, 7 Dec 2002 09:25:05 +0000 (09:25 +0000)]
Clarify and speedup test.

22 years agoCleaned up test (removing bogus argument list).
Raymond Hettinger [Sat, 7 Dec 2002 09:04:29 +0000 (09:04 +0000)]
Cleaned up test (removing bogus argument list).

22 years agoRemove assumption that cls is a subclass of dict.
Raymond Hettinger [Sat, 7 Dec 2002 08:10:51 +0000 (08:10 +0000)]
Remove assumption that cls is a subclass of dict.
Simplifies the code and gets Just van Rossum's example to work.

22 years agoA patch from Kevin Jacobs, plugging several leaks discovered when
Tim Peters [Sat, 7 Dec 2002 02:43:28 +0000 (02:43 +0000)]
A patch from Kevin Jacobs, plugging several leaks discovered when
running the sandbox datetime tests.

Bugfix candidate.

22 years agoslot_tp_hash(): In the normal path, this leaked a reference to the
Tim Peters [Fri, 6 Dec 2002 23:38:02 +0000 (23:38 +0000)]
slot_tp_hash():  In the normal path, this leaked a reference to the
integer hash object returned by __hash__().  This accounts for some of
the "mystery leaks" in the sandbox datetime tests, but probably not
all of them.

22 years agoTypo: propogate -> propagate
Thomas Heller [Fri, 6 Dec 2002 22:42:13 +0000 (22:42 +0000)]
Typo: propogate -> propagate

Bugfix candidate.

22 years agoM PyShell.py
Kurt B. Kaiser [Fri, 6 Dec 2002 21:45:24 +0000 (21:45 +0000)]
M PyShell.py
1. Format and print exceptions raised in user code.

M rpc.py
1. Additional debug messages in rpc.py
2. Move debug message enable switch from SocketIO to Client and Server
   to allow separate activation.
3. Add indication of origin (client or server) to debug message
4. Add sequence number to appropriate debug messages

5. Pass string exception arg as a string rather than a tuple.

22 years agoRemove extra ")" in example.
Fred Drake [Fri, 6 Dec 2002 18:52:28 +0000 (18:52 +0000)]
Remove extra ")" in example.

22 years agoTypo: "dead lock" --> "deadlock"
Fred Drake [Fri, 6 Dec 2002 16:45:05 +0000 (16:45 +0000)]
Typo: "dead lock" --> "deadlock"

22 years agoDon't include <ioctl.h> unless on __VMS.
Martin v. Löwis [Fri, 6 Dec 2002 12:57:26 +0000 (12:57 +0000)]
Don't include <ioctl.h> unless on __VMS.

22 years agoPatch #614055: Support OpenVMS.
Martin v. Löwis [Fri, 6 Dec 2002 12:48:53 +0000 (12:48 +0000)]
Patch #614055: Support OpenVMS.

22 years agoPatch #649184: Update to tix-8.1.4 RC3.
Martin v. Löwis [Fri, 6 Dec 2002 10:33:45 +0000 (10:33 +0000)]
Patch #649184: Update to tix-8.1.4 RC3.

22 years agoSearch in standard library and include dirs for Sleepycat stuff.
Martin v. Löwis [Fri, 6 Dec 2002 10:25:02 +0000 (10:25 +0000)]
Search in standard library and include dirs for Sleepycat stuff.
Fixes #590377.

22 years agoDocument that the second argument to PyObject_IsInstance
Walter Dörwald [Fri, 6 Dec 2002 10:09:16 +0000 (10:09 +0000)]
Document that the second argument to PyObject_IsInstance
may be a tuple. This closes SF patch
http://www.python.org/sf/649095

Backport to release22-maint will follow.

22 years agoFixed so the Res.Resource() accepts either another resource, a string
Jack Jansen [Thu, 5 Dec 2002 23:26:38 +0000 (23:26 +0000)]
Fixed so the Res.Resource() accepts either another resource, a string
or no argument (giving an empty resource).

22 years agoFixed typo.
Jack Jansen [Thu, 5 Dec 2002 23:20:12 +0000 (23:20 +0000)]
Fixed typo.

22 years agoThe final tweaks before closing
Michael W. Hudson [Thu, 5 Dec 2002 21:32:32 +0000 (21:32 +0000)]
The final tweaks before closing

[ 633152 ] list slice ass ignores subtypes of list

Allow arbitrary sequences on the RHS of extended slices.

22 years agoadd logmerge.py (pydoc is already installed)
Skip Montanaro [Thu, 5 Dec 2002 21:12:34 +0000 (21:12 +0000)]
add logmerge.py (pydoc is already installed)

22 years agoPatch #649060: Cygwin bz2module patch
Jason Tishler [Thu, 5 Dec 2002 20:31:53 +0000 (20:31 +0000)]
Patch #649060: Cygwin bz2module patch

This patch enables the bz2 module to build cleanly under Cygwin.

22 years agoPatch #648998: test_commands ACL patch
Jason Tishler [Thu, 5 Dec 2002 20:18:39 +0000 (20:18 +0000)]
Patch #648998: test_commands ACL patch

Although motived by Cygwin, this patch will prevent
test_commands from failing on Unixes that support
ACLs. For example, the following is an excerpt from
the Solaris ls manpage:

...
-rwxrwxrwx+ 1 smith dev 10876 May 16 9:42 part2

The plus sign indicates that there is an ACL associated
with the file.
...

22 years agoAdd a Cygwin skip mentioned by Jason Tishler.
Tim Peters [Thu, 5 Dec 2002 17:20:25 +0000 (17:20 +0000)]
Add a Cygwin skip mentioned by Jason Tishler.

22 years agoPatch #551977: Regression exceptions for cygwin
Jason Tishler [Thu, 5 Dec 2002 15:18:15 +0000 (15:18 +0000)]
Patch #551977: Regression exceptions for cygwin

This patch updates regrtest.py to understand which
tests are normally skipped under Cygwin. The list of
tests was verified with the Cygwin Python maintainer.

22 years agosimple setup.py to install some interesting scripts in $(prefix)/bin.
Skip Montanaro [Thu, 5 Dec 2002 02:58:36 +0000 (02:58 +0000)]
simple setup.py to install some interesting scripts in $(prefix)/bin.

22 years ago* when given, port should be converted to int
Skip Montanaro [Thu, 5 Dec 2002 02:43:14 +0000 (02:43 +0000)]
* when given, port should be converted to int
* when connecting, if the port is non-standard, display it as well

22 years agoallow optional port specified as part of the hostname, e.g.,
Skip Montanaro [Thu, 5 Dec 2002 02:37:23 +0000 (02:37 +0000)]
allow optional port specified as part of the hostname, e.g.,
"www.zope.org:8021".

22 years agoDecode untyped strings from UTF-8.
Martin v. Löwis [Wed, 4 Dec 2002 19:54:36 +0000 (19:54 +0000)]
Decode untyped strings from UTF-8.

22 years agohistory update
Andrew MacIntyre [Wed, 4 Dec 2002 12:40:49 +0000 (12:40 +0000)]
history update

22 years agomake BSDDB 1.85 module buildable again after BSDDB3 module import
Andrew MacIntyre [Wed, 4 Dec 2002 12:37:17 +0000 (12:37 +0000)]
make BSDDB 1.85 module buildable again after BSDDB3 module import

22 years agoreformat for PEP-7 style conformance
Andrew MacIntyre [Wed, 4 Dec 2002 12:29:37 +0000 (12:29 +0000)]
reformat for PEP-7 style conformance

22 years agotypo fix: declaration required for VACPP not EMX+gcc
Andrew MacIntyre [Wed, 4 Dec 2002 12:27:06 +0000 (12:27 +0000)]
typo fix: declaration required for VACPP not EMX+gcc

22 years agoReplace BadInternalCall with TypeError. Add a test case. Fix whitespace.
Raymond Hettinger [Wed, 4 Dec 2002 07:32:25 +0000 (07:32 +0000)]
Replace BadInternalCall with TypeError.  Add a test case.  Fix whitespace.

Just van Rossum showed a weird, but clever way for pure python code to
trigger the BadInternalCall.  The C code had assumed that calling a class
constructor would return an instance of that class; however, classes that
abuse __new__ can invalidate that assumption.

22 years agoAdded _ssl.lib to the installer too. Restored alphabetical order of
Tim Peters [Wed, 4 Dec 2002 04:00:12 +0000 (04:00 +0000)]
Added _ssl.lib to the installer too.  Restored alphabetical order of
DLL and lib sections.