]> granicus.if.org Git - python/log
python
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.

22 years agoRearrange test_socket_ssl so that a skip is expected iff the network
Tim Peters [Wed, 4 Dec 2002 03:26:57 +0000 (03:26 +0000)]
Rearrange test_socket_ssl so that a skip is expected iff the network
resource isn't enabled or the socket module doesn't support ssl.

22 years agoExplain what's probably a problem unique to Win9x in building _ssl.
Tim Peters [Wed, 4 Dec 2002 03:16:37 +0000 (03:16 +0000)]
Explain what's probably a problem unique to Win9x in building _ssl.

22 years agoClarify _ssl instructions.
Tim Peters [Wed, 4 Dec 2002 02:39:52 +0000 (02:39 +0000)]
Clarify _ssl instructions.

22 years agoAdded PEP253 support to most Carbon modules. This isn't complete yet:
Jack Jansen [Tue, 3 Dec 2002 23:40:22 +0000 (23:40 +0000)]
Added PEP253 support to most Carbon modules. This isn't complete yet:
some of the more compilcated cases (CF, Res) haven't been done yet. Also,
various types should inherit from each other (anything with an as_Resource
method should be a Resource subtype, the CF types should become one family).

22 years agoAdded PEP253 support.
Jack Jansen [Tue, 3 Dec 2002 23:35:22 +0000 (23:35 +0000)]
Added PEP253 support.

22 years agoEnable Check Module
Kurt B. Kaiser [Tue, 3 Dec 2002 23:09:23 +0000 (23:09 +0000)]
Enable Check Module

22 years agoFix problem in example code. It's minor in this particular example,
Fred Drake [Tue, 3 Dec 2002 22:57:37 +0000 (22:57 +0000)]
Fix problem in example code.  It's minor in this particular example,
but can lead to mysterious problems in real applications.

22 years agoDon't make all the OpenSSL executables, just the library we need.
Mark Hammond [Tue, 3 Dec 2002 21:00:29 +0000 (21:00 +0000)]
Don't make all the OpenSSL executables, just the library we need.
Contributed by David Bolen.

22 years agoAdd the SSL libraries as dependencies.
Mark Hammond [Tue, 3 Dec 2002 20:59:46 +0000 (20:59 +0000)]
Add the SSL libraries as dependencies.

22 years agoDon't use Alt-Fn or Ctrl-Fn keys, reserved for desktop changes in Unix.
Kurt B. Kaiser [Tue, 3 Dec 2002 20:34:43 +0000 (20:34 +0000)]
Don't use Alt-Fn or Ctrl-Fn keys, reserved for desktop changes in Unix.
Zoom becomes Alt-H  "height"
Check Module becomes Alt-X  "syntax"

22 years agoFix example regular expressions that simulate scanf() constructs.
Fred Drake [Tue, 3 Dec 2002 18:49:17 +0000 (18:49 +0000)]
Fix example regular expressions that simulate scanf() constructs.

22 years agoPatch #646824: Remove extra \end.
Martin v. Löwis [Tue, 3 Dec 2002 18:09:02 +0000 (18:09 +0000)]
Patch #646824: Remove extra \end.

22 years agoBug #647387: corrections to the logging section by Vinay Sanjip
Andrew M. Kuchling [Tue, 3 Dec 2002 13:35:17 +0000 (13:35 +0000)]
Bug #647387: corrections to the logging section by Vinay Sanjip

22 years agoSome more expected skips on OSX.
Guido van Rossum [Tue, 3 Dec 2002 10:24:56 +0000 (10:24 +0000)]
Some more expected skips on OSX.

22 years agoLose references to knee (no longer exists) and pyclbr (has its own
Guido van Rossum [Tue, 3 Dec 2002 09:34:54 +0000 (09:34 +0000)]
Lose references to knee (no longer exists) and pyclbr (has its own
test suite now).

22 years agoGet rid of 1.5.2 compatibility hack. :-)
Guido van Rossum [Tue, 3 Dec 2002 09:28:36 +0000 (09:28 +0000)]
Get rid of 1.5.2 compatibility hack. :-)

22 years agoAdding Python <= 2.2 support back in.
Marc-André Lemburg [Tue, 3 Dec 2002 08:45:11 +0000 (08:45 +0000)]
Adding Python <= 2.2 support back in.

22 years agoAdd more sophistication to the comparison between pyclbr output and
Guido van Rossum [Tue, 3 Dec 2002 08:16:50 +0000 (08:16 +0000)]
Add more sophistication to the comparison between pyclbr output and
real module, by filtering out aliased methods.  This, combined with
the recent fixes to pyclbr, make it possible to enable more tests with
fewer exceptions.

22 years agoAnother big update, fixing all known bugs related to nesting functions
Guido van Rossum [Tue, 3 Dec 2002 08:14:35 +0000 (08:14 +0000)]
Another big update, fixing all known bugs related to nesting functions
and classes.  Also add a mini main program that dumps the results for
a given file or module.

22 years agoEnsure the ssl temp directory exists!
Mark Hammond [Tue, 3 Dec 2002 06:29:48 +0000 (06:29 +0000)]
Ensure the ssl temp directory exists!

22 years ago_ssl.pyd added for Windows.
Mark Hammond [Tue, 3 Dec 2002 06:16:08 +0000 (06:16 +0000)]
_ssl.pyd added for Windows.

22 years ago_ssl.pyd available for Windows.
Mark Hammond [Tue, 3 Dec 2002 06:13:35 +0000 (06:13 +0000)]
_ssl.pyd available for Windows.

22 years agoAdd _ssl.pyd to the list of files to be installed by Wise.
Mark Hammond [Tue, 3 Dec 2002 06:02:59 +0000 (06:02 +0000)]
Add _ssl.pyd to the list of files to be installed by Wise.

22 years agoAdd _ssl build process for Windows.
Mark Hammond [Tue, 3 Dec 2002 05:47:26 +0000 (05:47 +0000)]
Add _ssl build process for Windows.

22 years agoMy MSVC seems to like writing the project names in quotes. Letting it do
Mark Hammond [Tue, 3 Dec 2002 05:39:49 +0000 (05:39 +0000)]
My MSVC seems to like writing the project names in quotes.  Letting it do
this before I add the _ssl project, so that checkin is cleaner.

22 years agoAvoid semicolon usage in echo.
Martin v. Löwis [Mon, 2 Dec 2002 22:23:56 +0000 (22:23 +0000)]
Avoid semicolon usage in echo.

22 years agoAdd compile-time errors for unsupported systems.
Martin v. Löwis [Mon, 2 Dec 2002 22:17:01 +0000 (22:17 +0000)]
Add compile-time errors for unsupported systems.

22 years agoIn class bsdTableDB, add class variables db and env (set to None) to
Guido van Rossum [Mon, 2 Dec 2002 16:17:46 +0000 (16:17 +0000)]
In class bsdTableDB, add class variables db and env (set to None) to
prevent close() called from __del__ from bombing out when __init__()
fails early.

22 years agoFix typo in except clause (_db should be _bsddb).
Guido van Rossum [Mon, 2 Dec 2002 16:08:54 +0000 (16:08 +0000)]
Fix typo in except clause (_db should be _bsddb).

22 years agoAdd XXX note about Sleepycat's BSDDB.
Guido van Rossum [Mon, 2 Dec 2002 15:49:13 +0000 (15:49 +0000)]
Add XXX note about Sleepycat's BSDDB.

22 years agoModerately heavy reorganization of pyclbr to fix package-related bugs.
Guido van Rossum [Mon, 2 Dec 2002 14:54:20 +0000 (14:54 +0000)]
Moderately heavy reorganization of pyclbr to fix package-related bugs.

- The _modules cache now uses the full module name.

- The meaning of the (internal!!!) inpackage argument is changed: it
  now is the parent package name, or None.  readmodule() doesn't
  support this argument any more.

- The meaning of the path argument is changed: when inpackage is set,
  the module *must* be found in this path (as is the case for the real
  package search).

- Miscellaneous cleanup, e.g. fixed __all__, changed some comments and
  doc strings, etc.

- Adapted the unit tests to the new semantics (nothing much changed,
  really).  Added some debugging code to the unit tests that print
  helpful extra info to stderr when a test fails (interpreting the
  test failures turned out to be hard without these).

22 years agoAdd a better columnizer to print_topics().
Guido van Rossum [Mon, 2 Dec 2002 13:08:53 +0000 (13:08 +0000)]
Add a better columnizer to print_topics().

22 years agoRequire 'largefile' resource for Mac OSX as well.
Guido van Rossum [Mon, 2 Dec 2002 10:42:30 +0000 (10:42 +0000)]
Require 'largefile' resource for Mac OSX as well.

22 years agoOn Max OSX, try increasing the stack limit to 2048 so test_re and
Guido van Rossum [Mon, 2 Dec 2002 09:56:21 +0000 (09:56 +0000)]
On Max OSX, try increasing the stack limit to 2048 so test_re and
test_sre won't die with a SegFault.

22 years agoRemove dead code in get_stack().
Kurt B. Kaiser [Mon, 2 Dec 2002 05:08:54 +0000 (05:08 +0000)]
Remove dead code in get_stack().
Modify get_stack() and get_exception to be StackTreeItem methods.
SF Bug 610756.  Neal Norwitz.

22 years agoFix SF # 646578, Documentation Typo
Neal Norwitz [Mon, 2 Dec 2002 04:42:58 +0000 (04:42 +0000)]
Fix SF # 646578, Documentation Typo

22 years agoFix beep.
Kurt B. Kaiser [Mon, 2 Dec 2002 04:41:29 +0000 (04:41 +0000)]
Fix beep.
Then remove annoying beep, not needed with breakpoint highlighting.

22 years agoRemove unused variable
Neal Norwitz [Mon, 2 Dec 2002 04:40:21 +0000 (04:40 +0000)]
Remove unused variable

22 years agocorrect wording of comments about old bsddb (now bsddb185) module
Skip Montanaro [Mon, 2 Dec 2002 00:27:10 +0000 (00:27 +0000)]
correct wording of comments about old bsddb (now bsddb185) module

22 years ago- reworked the object unpacking code, now supports new-style objects more
Just van Rossum [Sun, 1 Dec 2002 22:10:36 +0000 (22:10 +0000)]
- reworked the object unpacking code, now supports new-style objects more
  or less decently/completely.
- cleaned up a little.

22 years agoThe new imp.[gs]et_frozenmodules() will be utterly redundant if the
Just van Rossum [Sun, 1 Dec 2002 21:43:13 +0000 (21:43 +0000)]
The new imp.[gs]et_frozenmodules() will be utterly redundant if the
zipfile import stuff get in. I'll probably back it out again.

22 years agoAdd ossaudiodev; fix typo
Andrew M. Kuchling [Sun, 1 Dec 2002 14:00:21 +0000 (14:00 +0000)]
Add ossaudiodev; fix typo

22 years agoExpunge any remaining mentions of linuxaudiodev -- it's ossaudiodev now!
Greg Ward [Sat, 30 Nov 2002 23:20:09 +0000 (23:20 +0000)]
Expunge any remaining mentions of linuxaudiodev -- it's ossaudiodev now!

22 years agoRename LinuxAudioError to OSSAudioError ('ossaudiodev.error').
Greg Ward [Sat, 30 Nov 2002 23:17:10 +0000 (23:17 +0000)]
Rename LinuxAudioError to OSSAudioError ('ossaudiodev.error').

Use OSSAudioError much less frequently -- all real I/O errors (ie. any
time open(), read(), write(), ioctl(), or select() return an error)
become IOError.  OSSAudioError is only used now for bad open() mode.

22 years agoAdded mode 'rw' for full-duplex (play and record at the same time) mode.
Greg Ward [Sat, 30 Nov 2002 23:05:26 +0000 (23:05 +0000)]
Added mode 'rw' for full-duplex (play and record at the same time) mode.

Added _EXPORT_INT macro to export an integer constant to Python-space.
Use it for all the AFMT_* constants, and update the list of AFMT_*
constants to match what's in Linux 2.4: add AFMT_{QUERY,IMA_ADPCM,
MPEG,AC3}.  This should probably be tested with older versions of OSS,
eg. with Linux 2.2 and 2.0.

Export all SNDCTL_* ioctl numbers (where "all" is the set found in
/usr/include/linux/soundcard.h on my Debian 3.0 system -- again
Linux 2.4).  Again needs to be tested with older OSS versions.

22 years ago* Don't put the device in non-blocking mode at open() time; this makes
Greg Ward [Sat, 30 Nov 2002 22:56:44 +0000 (22:56 +0000)]
* Don't put the device in non-blocking mode at open() time; this makes
  it impossible to access blocking mode!

* Rename write() to writeall(), and add a write() method that just
  does one write().

* Rearrange/simplify writeall(): in particular, don't supply a timeout
  to select().  Let it block forever if it has to.

* Add a bunch of simple ioctl() wrappers: nonblock(), setfmt(),
  getfmts(), channels(), speed(), sync(), reset(), post().  These
  wrap, respectively, SNDCTL_DSP_NONBLOCK, SNDCTL_DSP_SETFMT,
  SNDCTL_DSP_GETFMTS, etc.

* Reduce flush() (which was a wrapper for the SNDCTL_DSP_SYNC ioctl) to
  an alias for sync().

* Rearrange the lad_methods list to reflect the order in which the
  methods are defined, and add some grouping comments.

22 years agoossaudiodev -- Python interface to the OSS (Open Sound System) API.
Greg Ward [Sat, 30 Nov 2002 22:47:45 +0000 (22:47 +0000)]
ossaudiodev -- Python interface to the OSS (Open Sound System) API.
This module is a replacement for linuxaudiodev, which will eventually
be deprecated.

Initial revision is rev 2.20 of linuxaudiodev.c, with a rewritten
header comment.

22 years ago- found a case where sys.path[0] isn't set to Contents/Resources,
Just van Rossum [Sat, 30 Nov 2002 19:56:14 +0000 (19:56 +0000)]
- found a case where sys.path[0] isn't set to Contents/Resources,
  so search the entire path.
- only add modules if we're building a standalone application.

22 years agoCleanup:
Neal Norwitz [Sat, 30 Nov 2002 19:18:46 +0000 (19:18 +0000)]
Cleanup:
 * Remove unused imports
 * Convert some more 1/0 to True/False
 * Shorten up a long line

22 years agoRemove unused import
Neal Norwitz [Sat, 30 Nov 2002 19:12:41 +0000 (19:12 +0000)]
Remove unused import
Remove unused variables since they were the return value from grid(),
which is always None

22 years agoConvert string exceptions to classes, string exceptions are deprecated
Neal Norwitz [Sat, 30 Nov 2002 19:10:19 +0000 (19:10 +0000)]
Convert string exceptions to classes, string exceptions are deprecated

22 years agoConvert some more 1/0 to True/False
Neal Norwitz [Sat, 30 Nov 2002 19:04:07 +0000 (19:04 +0000)]
Convert some more 1/0 to True/False

22 years agoAdd missing self for method call
Neal Norwitz [Sat, 30 Nov 2002 18:49:10 +0000 (18:49 +0000)]
Add missing self for method call

22 years agoPort Martin von Loewis checkin from Python:
Neal Norwitz [Sat, 30 Nov 2002 17:54:17 +0000 (17:54 +0000)]
Port Martin von Loewis checkin from Python:

Add --check-tkinter to setup.py. Install IDLE. Fixes #634078.

22 years agoPort Martin von Loewis checkin from python: Support sdist.
Neal Norwitz [Sat, 30 Nov 2002 17:51:41 +0000 (17:51 +0000)]
Port Martin von Loewis checkin from python:  Support sdist.

22 years agoM PyShell.py
Kurt B. Kaiser [Sat, 30 Nov 2002 06:18:00 +0000 (06:18 +0000)]
M PyShell.py
M rpc.py

SF Bug 629987: Idle not printing prompts following SyntaxError

22 years agogetdoc():
Ka-Ping Yee [Sat, 30 Nov 2002 03:53:15 +0000 (03:53 +0000)]
getdoc():
    Remove leading whitespace from first line; remove leading and
    trailing blank lines from docstrings.  (Patch 645938 submitted
    by David Goodger.)

22 years agoLots of minor tweaks for the pep252 checkins, mainly because Qd
Jack Jansen [Sat, 30 Nov 2002 00:01:29 +0000 (00:01 +0000)]
Lots of minor tweaks for the pep252 checkins, mainly because Qd
attributes are no longer supported.

22 years agoBuild _AE too.
Jack Jansen [Fri, 29 Nov 2002 23:58:51 +0000 (23:58 +0000)]
Build _AE too.

22 years agoConverted the Carbon modules to use PEP252-style objects, with
Jack Jansen [Fri, 29 Nov 2002 23:40:48 +0000 (23:40 +0000)]
Converted the Carbon modules to use PEP252-style objects, with
descriptors in stead of manual getattr hooks to get at attributes
of the objects.

For Qd I have in stead gotten rid of most of the attribute access
in favor of the carbon-style accessor methods (with the exception
of visRgn, to be done later), and of the Carbon.Qd.qd global object,
for which accessor functions are also available.

For List I have fixed the fact that various methods were incorrectly
generated as functions.

CF is untouched: PEP252 doesn't allow "poor-mans-inheritance" with
basechain, so it will have to wait for PEP253 support.

22 years agoCorrect an error introduced at Rev 1.30. The keyword arg is necessary
Kurt B. Kaiser [Fri, 29 Nov 2002 22:10:53 +0000 (22:10 +0000)]
Correct an error introduced at Rev 1.30.  The keyword arg is necessary
to freeze the value of orig_checkcache.  Otherwise infinite recursion.

22 years agoForgot to do os.path.basename() on mainprogram: a nonworking app was built if the...
Just van Rossum [Fri, 29 Nov 2002 21:22:33 +0000 (21:22 +0000)]
Forgot to do os.path.basename() on mainprogram: a nonworking app was built if the mainprogram wan't in the current directory. Fixed.

22 years agoSlightly improved version of patch #642578: "Expose PyImport_FrozenModules
Just van Rossum [Fri, 29 Nov 2002 20:47:40 +0000 (20:47 +0000)]
Slightly improved version of patch #642578: "Expose PyImport_FrozenModules
in imp". This adds two functions to the imp module: get_frozenmodules()
and set_frozenmodules().

22 years agoadded Thomas H's LOADER code for importing extension (sub)modules; little tweaks
Just van Rossum [Fri, 29 Nov 2002 20:06:52 +0000 (20:06 +0000)]
added Thomas H's LOADER code for importing extension (sub)modules; little tweaks

22 years agoFix mode on scripts to have the read bit set (noted by Nicholas Riley)
Andrew M. Kuchling [Fri, 29 Nov 2002 19:45:58 +0000 (19:45 +0000)]
Fix mode on scripts to have the read bit set (noted by Nicholas Riley)

22 years agoFix value of 'propagate' (noted by Chris Reedy)
Andrew M. Kuchling [Fri, 29 Nov 2002 19:43:45 +0000 (19:43 +0000)]
Fix value of 'propagate' (noted by Chris Reedy)
Rewrite paragraph

22 years agoFix typo.
Walter Dörwald [Fri, 29 Nov 2002 16:39:07 +0000 (16:39 +0000)]
Fix typo.

22 years agoFixed two silly bugs in the PEP252 support code, added an assert
Jack Jansen [Thu, 28 Nov 2002 23:23:14 +0000 (23:23 +0000)]
Fixed two silly bugs in the PEP252 support code, added an assert
that basechain isn't set, and made the output a bit prettier.

22 years agofixed typo and wrapping
Just van Rossum [Thu, 28 Nov 2002 18:56:50 +0000 (18:56 +0000)]
fixed typo and wrapping

22 years ago- Rewrote bootstapping code in sh so we're really independent of an
Just van Rossum [Thu, 28 Nov 2002 11:30:56 +0000 (11:30 +0000)]
- Rewrote bootstapping code in sh so we're really independent of an
installed Python. So we don't use os.execve any longer, which means
we need an actual executable in <myapp>.app/Contents/MacOS. For applets
we make a symlink to the Python executable used to build the applet,
for standalone apps we simply copy it.
- Added support for the new any_missing_maybe() feature of modulefinder.py,
which is pending as patch #643711. Its use is optional so it still works
with the existing version of modulefinder.py

22 years agoAllow the device name to be passed to linuxaudiodev.open(), for
Greg Ward [Wed, 27 Nov 2002 22:19:15 +0000 (22:19 +0000)]
Allow the device name to be passed to linuxaudiodev.open(), for
consistency with the built-in open() (and every other sane open()
function, for that matter).  The two valid ways to call this open() are
now open(mode) and open(device, mode).

For backwards compatibility, retain the old open(mode) calling syntax --
this makes the error message when you call open(device) a bit confusing,
but oh well.

This is the first half of SF patch #644977.

22 years agoAdd missing decref
Neal Norwitz [Wed, 27 Nov 2002 19:38:00 +0000 (19:38 +0000)]
Add missing decref

22 years agoMention dict.fromkeys()
Andrew M. Kuchling [Wed, 27 Nov 2002 19:11:10 +0000 (19:11 +0000)]
Mention dict.fromkeys()
Various edits

22 years agoUpdate e-mail address
Andrew M. Kuchling [Wed, 27 Nov 2002 18:53:38 +0000 (18:53 +0000)]
Update e-mail address

22 years agoNudge getting __module__ and __name__ for new-style classes so that
Michael W. Hudson [Wed, 27 Nov 2002 16:29:26 +0000 (16:29 +0000)]
Nudge getting __module__ and __name__ for new-style classes so that
the results of *setting* __name__ are not so surprising.

If people can suggest more tests, that'd be grand, or is what's there
sufficient?

22 years agoSF #641170, reST version of Lib/test/README
Neal Norwitz [Wed, 27 Nov 2002 15:47:10 +0000 (15:47 +0000)]
SF #641170, reST version of Lib/test/README

Convert test/README to reST

22 years agoI don't know why staring at the email to python-checkins made me
Michael W. Hudson [Wed, 27 Nov 2002 15:40:09 +0000 (15:40 +0000)]
I don't know why staring at the email to python-checkins made me
see problems with my code that I didn't see before the checkin, but:

When a subtype .mro() fails, we need to reset the type whose __bases__
are being changed, too.  Fix + test.

22 years agoReadjustments to the way we cope with exceptions from subclasses'
Michael W. Hudson [Wed, 27 Nov 2002 15:20:19 +0000 (15:20 +0000)]
Readjustments to the way we cope with exceptions from subclasses'
mro() methods.  Now any exception aborts the whole __bases__ change.

And more tests.