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

22 years ago[Part of patch #641685] Add .dylib as an extension for shared libraries
Andrew M. Kuchling [Wed, 27 Nov 2002 13:45:26 +0000 (13:45 +0000)]
[Part of patch #641685] Add .dylib as an extension for shared libraries

22 years ago[Patch #641685] setup.py contained code for finding libraries, instead
Andrew M. Kuchling [Wed, 27 Nov 2002 13:43:46 +0000 (13:43 +0000)]
[Patch #641685] setup.py contained code for finding libraries, instead
   of using the CCompiler.find_library_file() provided by the Distutils.
   This patch fixes it to use the Distutils method at the cost of some
   additional glue.

(The duplication resulted in the SSL module not being automatically
built on Macs; the Distutils knew that shared libraries on OS X have a
.dylib extension, but the setup.py code didn't.)

22 years agoBug #643631: MacOS 9 details missing from inst.tex
Andrew M. Kuchling [Wed, 27 Nov 2002 13:34:20 +0000 (13:34 +0000)]
Bug #643631: MacOS 9 details missing from inst.tex
Fill in the missing details. (From Jack Jansen)

22 years agoRephrase dict.fromkeys() news.
Guido van Rossum [Wed, 27 Nov 2002 13:10:40 +0000 (13:10 +0000)]
Rephrase dict.fromkeys() news.

22 years agoI had the inheritance cycle stuff backwards. Oops!
Michael W. Hudson [Wed, 27 Nov 2002 10:24:44 +0000 (10:24 +0000)]
I had the inheritance cycle stuff backwards.  Oops!

22 years agoPatch #639112: fixes for None locale and tz.
Martin v. Löwis [Wed, 27 Nov 2002 08:30:25 +0000 (08:30 +0000)]
Patch #639112: fixes for None locale and tz.

22 years agoBring UserDict in-sync with changes to dict.
Raymond Hettinger [Wed, 27 Nov 2002 08:29:11 +0000 (08:29 +0000)]
Bring UserDict in-sync with changes to dict.

Constructor accepts optional keyword arguments after a optional items list.
Add fromkeys() as an alternate constructor from an iterable over keys.
Expand related unittests.

22 years agoSF Patch 643443. Added dict.fromkeys(iterable, value=None), a class
Raymond Hettinger [Wed, 27 Nov 2002 07:29:33 +0000 (07:29 +0000)]
SF Patch 643443.  Added dict.fromkeys(iterable, value=None), a class
method for constructing new dictionaries from sequences of keys.

22 years agoClarify the interpretation of the __getstate__() return value for
Fred Drake [Wed, 27 Nov 2002 05:26:46 +0000 (05:26 +0000)]
Clarify the interpretation of the __getstate__() return value for
new-style classes.
Closes SF bug #637941.

22 years agoThe MRO conflict error message depends on dictionary hash order.
Guido van Rossum [Wed, 27 Nov 2002 04:00:59 +0000 (04:00 +0000)]
The MRO conflict error message depends on dictionary hash order.
Avoid depending on this in the test.

22 years agoAdd missing dependency information for the "What's New" document.
Fred Drake [Tue, 26 Nov 2002 22:13:41 +0000 (22:13 +0000)]
Add missing dependency information for the "What's New" document.

22 years agoAvoid including tclInt.h.
Martin v. Löwis [Tue, 26 Nov 2002 22:12:12 +0000 (22:12 +0000)]
Avoid including tclInt.h.

22 years agoNoted the support for resource exclusion for regrtest. Some people
Fred Drake [Tue, 26 Nov 2002 22:07:35 +0000 (22:07 +0000)]
Noted the support for resource exclusion for regrtest.  Some people
use regrtest, so it might be interesting.

22 years agoAdd a way to say "use any resource except A". For example, to run
Fred Drake [Tue, 26 Nov 2002 21:44:56 +0000 (21:44 +0000)]
Add a way to say "use any resource except A".  For example, to run
allow the use of any resource except bsddb, give the option
"-uall,-bsddb".

22 years agoRename want_objects to wantobjects throughout, for consistency.
Martin v. Löwis [Tue, 26 Nov 2002 21:39:48 +0000 (21:39 +0000)]
Rename want_objects to wantobjects throughout, for consistency.

22 years agoUse "is" to test type objects, not "==".
Fred Drake [Tue, 26 Nov 2002 21:28:23 +0000 (21:28 +0000)]
Use "is" to test type objects, not "==".

22 years ago* Doc/ref/ref5.tex
Gustavo Niemeyer [Tue, 26 Nov 2002 18:14:35 +0000 (18:14 +0000)]
* Doc/ref/ref5.tex
  Fixed minor bug preventing documentation compilation.

22 years agoInitialize a variable. Hope this makes things work for Guido.
Michael W. Hudson [Tue, 26 Nov 2002 17:49:11 +0000 (17:49 +0000)]
Initialize a variable.  Hope this makes things work for Guido.

It's odd that gcc on my ibook didn't complain about this.

22 years agoFix for bug #410541: bdist builds bogus .zips
Andrew M. Kuchling [Tue, 26 Nov 2002 17:45:19 +0000 (17:45 +0000)]
Fix for bug #410541: bdist builds bogus .zips
This adds a --relative option to the bdist_dumb command that defaults
to false; if true, the .tar.gz or .zip will be assembled using relative
paths.

22 years agoPart of the fix for bug #410541: add ensure_relative() function
Andrew M. Kuchling [Tue, 26 Nov 2002 17:42:48 +0000 (17:42 +0000)]
Part of the fix for bug #410541: add ensure_relative() function

22 years agoThis is not part of my patch
Michael W. Hudson [Tue, 26 Nov 2002 14:48:23 +0000 (14:48 +0000)]
This is not part of my patch

[ 635933 ] make some type attrs writable

but should have been!

News about the above.

22 years agoThis is my patch:
Michael W. Hudson [Tue, 26 Nov 2002 14:47:27 +0000 (14:47 +0000)]
This is my patch:

[ 635933 ] make some type attrs writable

Plus a couple of extra tests beyond what's up there.

It hasn't been as carefully reviewed as it perhaps should, so all readers
are encouraged, nay exhorted, to give this a close reading.

There are still a couple of oddities related to assigning to __name__,
but I intend to solicit python-dev's opinions on these.

22 years agoFix typo
Andrew M. Kuchling [Tue, 26 Nov 2002 12:31:09 +0000 (12:31 +0000)]
Fix typo

22 years agorefactor universal line endings detection
Just van Rossum [Tue, 26 Nov 2002 09:53:16 +0000 (09:53 +0000)]
refactor universal line endings detection

22 years agoReport Tkinter changes.
Martin v. Löwis [Tue, 26 Nov 2002 09:47:25 +0000 (09:47 +0000)]
Report Tkinter changes.

22 years agoPatch #518625: Return objects in Tkinter.
Martin v. Löwis [Tue, 26 Nov 2002 09:28:05 +0000 (09:28 +0000)]
Patch #518625: Return objects in Tkinter.

22 years agoPatch #632973: Implement _getdefaultlocale for OS X.
Martin v. Löwis [Tue, 26 Nov 2002 09:05:36 +0000 (09:05 +0000)]
Patch #632973: Implement _getdefaultlocale for OS X.

22 years agoPolish some bits to silence pychecker.
Thomas Heller [Tue, 26 Nov 2002 08:06:50 +0000 (08:06 +0000)]
Polish some bits to silence pychecker.

22 years agoDon't look for modules in the registry any longer.
Thomas Heller [Tue, 26 Nov 2002 08:05:09 +0000 (08:05 +0000)]
Don't look for modules in the registry any longer.

Mark writes in private email:

  "Modules listed in the registry was a dumb idea.  This whole scheme
  can die.  AFAIK, no one in the world uses it (including win32all
  since the last build)."

(See also SF #643711)

22 years agoadded support for building standalone applications
Just van Rossum [Tue, 26 Nov 2002 00:34:52 +0000 (00:34 +0000)]
added support for building standalone applications
- requires modulefinder.py to be on sys.path
- does *not* work for Python.framework (yet), only for static builds

22 years agoA tweaked version of Jeremy's patch #642489, to produce better error
Guido van Rossum [Mon, 25 Nov 2002 21:38:52 +0000 (21:38 +0000)]
A tweaked version of Jeremy's patch #642489, to produce better error
messages about MRO conflicts.  (Tweaks here: don't print the message,
but compare it with an expected string.)

22 years agoA tweaked version of Jeremy's patch #642489, to produce better error
Guido van Rossum [Mon, 25 Nov 2002 21:36:54 +0000 (21:36 +0000)]
A tweaked version of Jeremy's patch #642489, to produce better error
messages about MRO conflicts.  (The tweaks include correcting spelling
errors, some refactoring to get the name of classic classes, and a
style nit or two.)

22 years agoAdded Marius Gedminas, for contributions to the datetime code.
Tim Peters [Mon, 25 Nov 2002 21:13:13 +0000 (21:13 +0000)]
Added Marius Gedminas, for contributions to the datetime code.

22 years agoSF 643115: Set._update() had a special case for dictionaries which allowed
Raymond Hettinger [Mon, 25 Nov 2002 20:43:55 +0000 (20:43 +0000)]
SF 643115:  Set._update() had a special case for dictionaries which allowed
non-true values to leak in.  This threw-off equality testing which depends
on the underlying dictionaries having both the same keys and values.

22 years agoAdd a note that this file should be kept compatible with Python 1.5.2,
Thomas Heller [Mon, 25 Nov 2002 20:21:59 +0000 (20:21 +0000)]
Add a note that this file should be kept compatible with Python 1.5.2,
per PEP 291 (although there are currently string methods used).

This patch makes it compatible with 2.2, at least, by detecting
universal newline support.

22 years ago* libbz2.tex
Gustavo Niemeyer [Mon, 25 Nov 2002 18:51:43 +0000 (18:51 +0000)]
* libbz2.tex
  Fixed minor typo, suggested by Drew Perttula <drewp@bigasterisk.com>.

22 years agoFix typo in comment.
Walter Dörwald [Mon, 25 Nov 2002 17:58:02 +0000 (17:58 +0000)]
Fix typo in comment.

22 years agoFixed bug
Gustavo Niemeyer [Mon, 25 Nov 2002 17:25:04 +0000 (17:25 +0000)]
Fixed bug

[#495695] webbrowser.py: selection of browser

* Lib/webbrowser.py
  Only include graphic browsers in _tryorder if DISPLAY is set. Also,
  included skipstone support, as suggested by Fred in the mentioned bug.

* Misc/NEWS
  Mention fix and skipstone inclusion.

22 years agoAdded a class PEP252Mixin. By adding this to your ObjectDefinition you
Jack Jansen [Mon, 25 Nov 2002 16:36:49 +0000 (16:36 +0000)]
Added a class PEP252Mixin. By adding this to your ObjectDefinition you
get PEP-252 style objects in stead of old-fashioned objects.
In stead of defining a GetattrHook you declare a class variable getsetlist,
which contains tuples (name, getcode, setcode, docstring).
Only lightly tested: the code still works if you don't inherit PEP252Mixin
and the code works if you inherit it but don't define any getters
or setters. Also, this will not work together with the "poor mans inheritance"
offered by method chains, so the CF module will remain with old-style
objects until PEP253 is supported too.

22 years agoRemove \module{} in link text to avoid HTML generation bug
Andrew M. Kuchling [Mon, 25 Nov 2002 16:02:13 +0000 (16:02 +0000)]
Remove \module{} in link text to avoid HTML generation bug

22 years agoRemove extra word
Andrew M. Kuchling [Mon, 25 Nov 2002 16:01:08 +0000 (16:01 +0000)]
Remove extra word

22 years agoJames Henstridge pointed out a misleading comment.
Michael W. Hudson [Mon, 25 Nov 2002 15:06:29 +0000 (15:06 +0000)]
James Henstridge pointed out a misleading comment.

22 years agoMention that .pth files can't be used to override standard modules
Andrew M. Kuchling [Mon, 25 Nov 2002 13:56:12 +0000 (13:56 +0000)]
Mention that .pth files can't be used to override standard modules
    (suggested by Jack Jansen)

22 years agoLots of restructuring, mostly suggested by Bill Bumgarner. Main
Jack Jansen [Mon, 25 Nov 2002 13:11:06 +0000 (13:11 +0000)]
Lots of restructuring, mostly suggested by Bill Bumgarner. Main
externally visible difference is that the factory defaults are
now in a plist file in the bundle, in stead of being hard-coded in
the application.

22 years agoAdd unidata_version. Bump generator version number.
Martin v. Löwis [Mon, 25 Nov 2002 09:13:37 +0000 (09:13 +0000)]
Add unidata_version. Bump generator version number.

22 years agoDon't disable building Mac-specific modules for a non-framework build:
Just van Rossum [Sun, 24 Nov 2002 23:15:57 +0000 (23:15 +0000)]
Don't disable building Mac-specific modules for a non-framework build:
whether they crash or not is not a matter of using a framework or not,
but whether the code is run from an app bundle or not. And that it
_can_ crash (instead of tracing back) is Apple's bug anyway, not ours.

22 years agoRegenerate from Unicode 3.2.0 to include all First/Last ranges.
Martin v. Löwis [Sun, 24 Nov 2002 23:10:08 +0000 (23:10 +0000)]
Regenerate from Unicode 3.2.0 to include all First/Last ranges.

22 years agoSort names independent of the Python version. Fix hex constant warning.
Martin v. Löwis [Sun, 24 Nov 2002 23:05:09 +0000 (23:05 +0000)]
Sort names independent of the Python version. Fix hex constant warning.
Include all First/Last blocks.

22 years agoRepaired inaccuracies in the % docs. In particular, we don't (and can't)
Tim Peters [Sun, 24 Nov 2002 20:23:04 +0000 (20:23 +0000)]
Repaired inaccuracies in the % docs.  In particular, we don't (and can't)
guarantee abs(x%y) < abs(y) in all cases when a float is involved.
math.fmod() should, though, so noted that too.

Bugfix candidate.  Someone should check the LaTeX here first, though.

22 years agoReduced memory burden by iterating over the normalization test input
Tim Peters [Sun, 24 Nov 2002 19:19:09 +0000 (19:19 +0000)]
Reduced memory burden by iterating over the normalization test input
file directly (instead of sucking it all into a list of lines first).

22 years agoFiddled things so that test_normalization is expected to be skipped if
Tim Peters [Sun, 24 Nov 2002 18:53:11 +0000 (18:53 +0000)]
Fiddled things so that test_normalization is expected to be skipped if
and only if the test input file doesn't exist.

22 years agoDelete bsddb from sys.modules if _bsddb cannot be imported.
Martin v. Löwis [Sun, 24 Nov 2002 08:26:01 +0000 (08:26 +0000)]
Delete bsddb from sys.modules if _bsddb cannot be imported.

22 years agoSkip test_normalization on Windows until it's at least clear why the
Tim Peters [Sun, 24 Nov 2002 02:40:40 +0000 (02:40 +0000)]
Skip test_normalization on Windows until it's at least clear why the
data it needs doesn't exist in the project.  If it's a huge file,
maybe the test should be changed to be one of the -u thingies.

22 years agoSplit long line.
Tim Peters [Sun, 24 Nov 2002 02:37:29 +0000 (02:37 +0000)]
Split long line.
XXX If NormalizationTest.txt is required to run this test, why isn't it
checked into the project?

22 years agoWhitespace normalization.
Tim Peters [Sun, 24 Nov 2002 02:35:35 +0000 (02:35 +0000)]
Whitespace normalization.

22 years agoSimplify use of NB_BINOP and NB_TERNOP by making them do the pointer
Neil Schemenauer [Sun, 24 Nov 2002 01:34:49 +0000 (01:34 +0000)]
Simplify use of NB_BINOP and NB_TERNOP by making them do the pointer
dereference rather than the caller.

22 years agoget creator code from plist if available, instead of overriding with default
Just van Rossum [Sun, 24 Nov 2002 01:23:45 +0000 (01:23 +0000)]
get creator code from plist if available, instead of overriding with default

22 years agowhoops, -p actually has an argument
Just van Rossum [Sun, 24 Nov 2002 01:15:20 +0000 (01:15 +0000)]
whoops, -p actually has an argument