]> granicus.if.org Git - python/log
python
22 years agoUpdate (slightly) for Alpha release
Kurt B. Kaiser [Tue, 31 Dec 2002 18:12:04 +0000 (18:12 +0000)]
Update (slightly) for Alpha release

22 years agoRemove bogus test; the master is not a terminal on Solaris and HP-UX.
Martin v. Löwis [Tue, 31 Dec 2002 18:05:15 +0000 (18:05 +0000)]
Remove bogus test; the master is not a terminal on Solaris and HP-UX.

22 years agoMove history to HISTORY.txt
Kurt B. Kaiser [Tue, 31 Dec 2002 17:57:44 +0000 (17:57 +0000)]
Move history to HISTORY.txt

22 years agoUpdate for Alpha 0 Release
Kurt B. Kaiser [Tue, 31 Dec 2002 17:56:18 +0000 (17:56 +0000)]
Update for Alpha 0 Release

22 years agoAdd recipe for creating NEWS.html.
Guido van Rossum [Tue, 31 Dec 2002 17:51:30 +0000 (17:51 +0000)]
Add recipe for creating NEWS.html.

22 years agoA new, and much hairier, implementation of astimezone(), building on
Tim Peters [Tue, 31 Dec 2002 17:36:56 +0000 (17:36 +0000)]
A new, and much hairier, implementation of astimezone(), building on
an idea from Guido.  This restores that the datetime implementation
never passes a datetime d to a tzinfo method unless d.tzinfo is the
tzinfo instance whose method is being called.  That in turn allows
enormous simplifications in user-written tzinfo classes (see the Python
sandbox US.py and EU.py for fully fleshed-out examples).

d.astimezone(tz) also raises ValueError now if d lands in the one hour
of the year that can't be expressed in tz (this can happen iff tz models
both standard and daylight time).  That it used to return a nonsense
result always ate at me, and it turned out that it seemed impossible to
force a consistent nonsense result under the new implementation (which
doesn't know anything about how tzinfo classes implement their methods --
it can only infer properties indirectly).  Guido doesn't like this --
expect it to change.

New tests of conversion between adjacent DST-aware timezones don't pass
yet, and are commented out.

Running the datetime tests in a loop under a debug build leaks 9
references per test run, but I don't believe the datetime code is the
cause (it didn't leak the last time I changed the C code, and the leak
is the same if I disable all the tests that invoke the only function
that changed here).  I'll pursue that next.

22 years agoEliminate C++ comment.
Martin v. Löwis [Tue, 31 Dec 2002 17:34:30 +0000 (17:34 +0000)]
Eliminate C++ comment.

22 years agoUse funcdesc instead of classdesc to be consistent with out sections.
Raymond Hettinger [Tue, 31 Dec 2002 17:24:50 +0000 (17:24 +0000)]
Use funcdesc instead of classdesc to be consistent with out sections.

22 years agoFurther cleanup of exceptions. All interpolation-related exceptions
Fred Drake [Tue, 31 Dec 2002 17:23:27 +0000 (17:23 +0000)]
Further cleanup of exceptions.  All interpolation-related exceptions
now derive from InterpolationError, which is not raised directly (only
subclasses get raised).  This matches what the docs already said.

22 years agoBernhard Herzog's paragraph and string-filling code. I've been using it for
Skip Montanaro [Tue, 31 Dec 2002 16:56:20 +0000 (16:56 +0000)]
Bernhard Herzog's paragraph and string-filling code.  I've been using it for
a month or two with great success.  Barry may want to tweak it some, but I
think it's a worthwhile enough addition to get some more people trying it
out.

22 years agoKeep __main__ namespace clean
Tony Lownds [Tue, 31 Dec 2002 16:52:44 +0000 (16:52 +0000)]
Keep __main__ namespace clean

22 years agomodulefinder.py moved to Lib/
Just van Rossum [Tue, 31 Dec 2002 16:38:01 +0000 (16:38 +0000)]
modulefinder.py moved to Lib/

22 years agoSpelling fix
Raymond Hettinger [Tue, 31 Dec 2002 16:37:03 +0000 (16:37 +0000)]
Spelling fix

22 years agoFix an out-of-bound index in pmerge() discovered by Zooko (SF bug
Guido van Rossum [Tue, 31 Dec 2002 16:33:01 +0000 (16:33 +0000)]
Fix an out-of-bound index in pmerge() discovered by Zooko (SF bug
645404).  I'm not 100% sure this is the right fix, so I'll keep the
bug report open for Samuele, but this fixes the index error and passes
the test suite (and I can't see why it *shouldn't* be the right fix
:-).

22 years agopatch attached to sf item #643711:
Just van Rossum [Tue, 31 Dec 2002 16:33:00 +0000 (16:33 +0000)]
patch attached to sf item #643711:
any_missing() returns less bogus missing modules.

- I've rewritten scan_code() more or less from scratch,
factored bits and pieces out for readability.
- keep track of global assignments and failed imports per
module; use this to determine whether the Y in "from X
import Y" is a submodule or just a global name. This is not
100% doable: you can't tell which symbols are imported when
doing a star import of a non-Python module short of actually
importing it.
- added a new method to ModuleFinder: any_missing_maybe(),
which returns *two* lists, one with certain misses, one with
possible misses. The possible misses are *very* often false
alarms, so it's useful to keep this list separate.
any_misses() now simply returns the union of
any_missing_maybe().

TODO: documentation, test_modulefinder.py

22 years agoAdd markup for time object.
Raymond Hettinger [Tue, 31 Dec 2002 16:30:49 +0000 (16:30 +0000)]
Add markup for time object.
Cleanup whitespace.
Fix unbalanced parenthesis.

22 years agomoving modulefinder.py to the standard library
Just van Rossum [Tue, 31 Dec 2002 16:27:33 +0000 (16:27 +0000)]
moving modulefinder.py to the standard library

22 years agoFix compilation errors on HPUX11
Neal Norwitz [Tue, 31 Dec 2002 16:16:07 +0000 (16:16 +0000)]
Fix compilation errors on HPUX11

22 years agoWhitespace Normalization
Kurt B. Kaiser [Tue, 31 Dec 2002 16:03:23 +0000 (16:03 +0000)]
Whitespace Normalization

22 years agoRemoved the now-untrue (or soon-to-be untrue) part of the astimezone()
Tim Peters [Tue, 31 Dec 2002 16:01:47 +0000 (16:01 +0000)]
Removed the now-untrue (or soon-to-be untrue) part of the astimezone()
docs.  Replaced it with an XXX block, because the hoped-for treatment
of DST endcases remains unclear (Guido doesn't really like raising an
exception when it's impossible to deliver a correct result, but so
far I have no way in hand to consistently deliver a defined incorrect
result either).

22 years agoremoved unused get_short() function
Just van Rossum [Tue, 31 Dec 2002 15:47:42 +0000 (15:47 +0000)]
removed unused get_short() function

22 years agoSet the release date.
Guido van Rossum [Tue, 31 Dec 2002 15:47:36 +0000 (15:47 +0000)]
Set the release date.

22 years agoDocument the new ,netrc awareness in nntplib.
Eric S. Raymond [Tue, 31 Dec 2002 15:28:44 +0000 (15:28 +0000)]
Document the new ,netrc awareness in nntplib.

22 years agoBarry raised reasonable objections to the macro name \mimeheader, so
Fred Drake [Tue, 31 Dec 2002 15:23:09 +0000 (15:23 +0000)]
Barry raised reasonable objections to the macro name \mimeheader, so
we'll simply revert to \mailheader since there's no other good name.

22 years ago- correct the deprecation markups so this formats again
Fred Drake [Tue, 31 Dec 2002 15:10:49 +0000 (15:10 +0000)]
- correct the deprecation markups so this formats again
- some minor cleanups

22 years agoRestore signalhandler in case of error. Fix type of signal handler.
Martin v. Löwis [Tue, 31 Dec 2002 14:30:26 +0000 (14:30 +0000)]
Restore signalhandler in case of error. Fix type of signal handler.

22 years agoComplete the markup for timedelta objects.
Raymond Hettinger [Tue, 31 Dec 2002 14:26:54 +0000 (14:26 +0000)]
Complete the markup for timedelta objects.
Fix a curly brace that should have been a paren.

22 years agoAdd posix.loadavg()
Andrew M. Kuchling [Tue, 31 Dec 2002 14:03:45 +0000 (14:03 +0000)]
Add posix.loadavg()
Add some times

22 years agoRevert SF patch 659809 -- it causes double options that can cause breakage.
Guido van Rossum [Tue, 31 Dec 2002 13:48:29 +0000 (13:48 +0000)]
Revert SF patch 659809 -- it causes double options that can cause breakage.

22 years agoUse the name (path) specified in the parameter list
Neal Norwitz [Tue, 31 Dec 2002 13:38:28 +0000 (13:38 +0000)]
Use the name (path) specified in the parameter list

22 years agoAdd getloadavg.
Martin v. Löwis [Tue, 31 Dec 2002 13:20:15 +0000 (13:20 +0000)]
Add getloadavg.

22 years agoPatch #658927: Add getctime to os.path.
Martin v. Löwis [Tue, 31 Dec 2002 13:11:54 +0000 (13:11 +0000)]
Patch #658927: Add getctime to os.path.
Document that getatime and getmtime may return floats.

22 years agoPatch #656590: /dev/ptmx support for ptys.
Martin v. Löwis [Tue, 31 Dec 2002 12:55:15 +0000 (12:55 +0000)]
Patch #656590: /dev/ptmx support for ptys.

22 years agoMake sure zip_path is null-terminated, since it's on the stack
Neal Norwitz [Tue, 31 Dec 2002 12:45:12 +0000 (12:45 +0000)]
Make sure zip_path is null-terminated, since it's on the stack

22 years agoDocument standard encodings.
Martin v. Löwis [Tue, 31 Dec 2002 12:39:07 +0000 (12:39 +0000)]
Document standard encodings.

22 years agoMake sure zip_path is null-terminated, since it's on the stack
Neal Norwitz [Tue, 31 Dec 2002 12:35:41 +0000 (12:35 +0000)]
Make sure zip_path is null-terminated, since it's on the stack

22 years agoSmartCookie and SerialCookie were recently deprecated
Neal Norwitz [Tue, 31 Dec 2002 12:27:11 +0000 (12:27 +0000)]
SmartCookie and SerialCookie were recently deprecated

22 years agoInterpolationSyntaxError was added in 2.3
Neal Norwitz [Tue, 31 Dec 2002 12:23:10 +0000 (12:23 +0000)]
InterpolationSyntaxError was added in 2.3

22 years agoOS/2 EMX has no popen2.Popen3 even though bunzip2 is available
Andrew MacIntyre [Tue, 31 Dec 2002 11:28:22 +0000 (11:28 +0000)]
OS/2 EMX has no popen2.Popen3 even though bunzip2 is available

22 years agoadd list of expected skips for the OS/2 EMX port
Andrew MacIntyre [Tue, 31 Dec 2002 11:26:50 +0000 (11:26 +0000)]
add list of expected skips for the OS/2 EMX port

22 years agoDLL export definition refresh
Andrew MacIntyre [Tue, 31 Dec 2002 11:25:42 +0000 (11:25 +0000)]
DLL export definition refresh

22 years agoadd universal newline support to configuration
Andrew MacIntyre [Tue, 31 Dec 2002 11:24:43 +0000 (11:24 +0000)]
add universal newline support to configuration

22 years agowhitespace cleanup
Andrew MacIntyre [Tue, 31 Dec 2002 11:23:50 +0000 (11:23 +0000)]
whitespace cleanup

22 years agogetenv() replacement not required
Andrew MacIntyre [Tue, 31 Dec 2002 11:20:37 +0000 (11:20 +0000)]
getenv() replacement not required

22 years agoBuild process updates:
Andrew MacIntyre [Tue, 31 Dec 2002 11:18:08 +0000 (11:18 +0000)]
Build process updates:
 - add new modules (zipimport, datetime, _random, bz2, _symtable)
 - build pyexpat with expat sources from Python distribution
 - regression test with and without compiled bytecode

22 years agoBroke the zipimport/PEP 302 news item into two separate items.
Just van Rossum [Tue, 31 Dec 2002 10:22:38 +0000 (10:22 +0000)]
Broke the zipimport/PEP 302 news item into two separate items.

22 years ago- added missing decref
Just van Rossum [Tue, 31 Dec 2002 09:51:59 +0000 (09:51 +0000)]
- added missing decref
- whitespace normalization

22 years agoMake sure PrettyPrinter methods that mirror the module-level
Fred Drake [Tue, 31 Dec 2002 07:16:16 +0000 (07:16 +0000)]
Make sure PrettyPrinter methods that mirror the module-level
convenience functions isreadable() and isrecursive() work the same way
as the convenience functions.

22 years ago- PrettyPrinter.isreadable(), .isrecursive():
Fred Drake [Tue, 31 Dec 2002 07:14:18 +0000 (07:14 +0000)]
- PrettyPrinter.isreadable(), .isrecursive():
    Pass the right number of args to .format().  (Caught by
    pychecker.)
- Protect the global namespace more carefully.
- Don't use the types module now that we don't need to.

22 years agoAdd a test that InterpolationError is constructed properly and raised
Fred Drake [Tue, 31 Dec 2002 06:57:25 +0000 (06:57 +0000)]
Add a test that InterpolationError is constructed properly and raised
when expected.  Only applies to the ConfigParser and SafeConfigParser
classes, not RawConfigParser.

22 years agoConfigParser._interpolate(): Pass the missing key to the
Fred Drake [Tue, 31 Dec 2002 06:55:41 +0000 (06:55 +0000)]
ConfigParser._interpolate():  Pass the missing key to the
    InterpolationError constructor, not the KeyError exception itself.
    (Caught by the new InterpolationError test.)

SafeConfigParser._interpolate_some():  Pass the right number of
    arguments to the InterpolationError constructor.
    (Caught by pychecker.)

22 years agoUpdate version numbers.
Fred Drake [Tue, 31 Dec 2002 05:51:05 +0000 (05:51 +0000)]
Update version numbers.

22 years agoPhrase repair.
Guido van Rossum [Tue, 31 Dec 2002 04:41:38 +0000 (04:41 +0000)]
Phrase repair.

22 years agoMinor markup and spelling repair.
Guido van Rossum [Tue, 31 Dec 2002 04:39:05 +0000 (04:39 +0000)]
Minor markup and spelling repair.

22 years agoSince the *_Init() are private, prefix with _, suggested by Skip
Neal Norwitz [Tue, 31 Dec 2002 03:42:13 +0000 (03:42 +0000)]
Since the *_Init() are private, prefix with _, suggested by Skip

22 years agoAdd build_namelists() to expose the OSS macros SOUND_DEVICE_LABELS and
Greg Ward [Tue, 31 Dec 2002 03:23:59 +0000 (03:23 +0000)]
Add build_namelists() to expose the OSS macros SOUND_DEVICE_LABELS and
SOUND_DEVICE_NAMES as 'control_labels' and 'control_names'.

22 years agoRename the parameter 'xp' in several methods to 'self', since that's
Greg Ward [Tue, 31 Dec 2002 03:07:21 +0000 (03:07 +0000)]
Rename the parameter 'xp' in several methods to 'self', since that's
what it is.

22 years agoFor symmetry with the mixer interface, rename oss_t to oss_audio_t and
Greg Ward [Tue, 31 Dec 2002 03:04:52 +0000 (03:04 +0000)]
For symmetry with the mixer interface, rename oss_t to oss_audio_t and
OSSType to OSSAudioType.

22 years agoAdd a bunch of comments to clearly delineate sections of the code.
Greg Ward [Tue, 31 Dec 2002 03:02:23 +0000 (03:02 +0000)]
Add a bunch of comments to clearly delineate sections of the code.

22 years agoYet another renaming of some mixer methods:
Greg Ward [Tue, 31 Dec 2002 02:54:43 +0000 (02:54 +0000)]
Yet another renaming of some mixer methods:
  devices(), stereodevices(), recdevices() ->
  controls(), stereocontrols(), reccontrols()

Based on recommendation of Hannu Savolainen <hannu@opensound.com>:

  The right term to use for things like bass/treble/mic/vol/etc is
  "control".

  "Device" refers to different mixer devices (/dev/mixer0 to /dev/mixerN).

  "Channel" cannot be used because it refers to mono/stereo/multich
  channels. In fact most mixer controls have left/right channels so ...

22 years agoAdd a hurriedly-written section on the datetime module
Andrew M. Kuchling [Tue, 31 Dec 2002 02:48:59 +0000 (02:48 +0000)]
Add a hurriedly-written section on the datetime module

22 years agoDedent a paragraph that was accidentally aligned with a preceding
Guido van Rossum [Tue, 31 Dec 2002 02:12:42 +0000 (02:12 +0000)]
Dedent a paragraph that was accidentally aligned with a preceding
nested list.

22 years agoBump the Windows build # for 2.3a1.
Tim Peters [Tue, 31 Dec 2002 02:09:08 +0000 (02:09 +0000)]
Bump the Windows build # for 2.3a1.

22 years agoVarious updates to the version number, on the eve of the 2.3a1 release.
Guido van Rossum [Tue, 31 Dec 2002 01:50:07 +0000 (01:50 +0000)]
Various updates to the version number, on the eve of the 2.3a1 release.

22 years agoAdd lots of items.
Andrew M. Kuchling [Tue, 31 Dec 2002 01:20:30 +0000 (01:20 +0000)]
Add lots of items.
The only thing missing now is the new date/time stuff.

22 years agoFix name error, found by pychecker.
Guido van Rossum [Tue, 31 Dec 2002 01:08:35 +0000 (01:08 +0000)]
Fix name error, found by pychecker.

22 years agoFix SF #639945, 64-bit bug on AIX
Neal Norwitz [Tue, 31 Dec 2002 00:06:24 +0000 (00:06 +0000)]
Fix SF #639945, 64-bit bug on AIX

I can't test this on the snake farm (no aix box is working).
This change works for the submitter seems correct.
Can anybody test this on 32- and 64- bit AIX?

22 years agoTix update from Mike Clarkson (maintainer)
Neal Norwitz [Mon, 30 Dec 2002 23:52:01 +0000 (23:52 +0000)]
Tix update from Mike Clarkson (maintainer)

22 years ago- added InterpolationSyntaxError to __all__
Fred Drake [Mon, 30 Dec 2002 23:51:45 +0000 (23:51 +0000)]
- added InterpolationSyntaxError to __all__
- added docstring to exceptions

22 years ago- re-mark ESR's warning about extended registry syntax
Fred Drake [Mon, 30 Dec 2002 23:50:19 +0000 (23:50 +0000)]
- re-mark ESR's warning about extended registry syntax
- document InterpolationSyntaxError

22 years agoAdd missing InterpolationSyntaxError.
Neal Norwitz [Mon, 30 Dec 2002 23:38:47 +0000 (23:38 +0000)]
Add missing InterpolationSyntaxError.
XXX Not sure this is correct.

22 years agosys was already imported, remove second import
Neal Norwitz [Mon, 30 Dec 2002 23:36:02 +0000 (23:36 +0000)]
sys was already imported, remove second import

22 years ago- prefer "import ... as" to "import / (assignments) / del" for most things
Fred Drake [Mon, 30 Dec 2002 23:32:50 +0000 (23:32 +0000)]
- prefer "import ... as" to "import / (assignments) / del" for most things
- when the thread module isn't available, subsequent attempts to import
  threading should not suceed

22 years agoRename more mixer methods: getrecsrc() -> get_recsrc(),
Greg Ward [Mon, 30 Dec 2002 23:19:32 +0000 (23:19 +0000)]
Rename more mixer methods: getrecsrc() -> get_recsrc(),
setrecsrc() -> set_recsrc().

22 years agoAdded zipimport and _random module.
Jack Jansen [Mon, 30 Dec 2002 23:11:30 +0000 (23:11 +0000)]
Added zipimport and _random module.

22 years agoChanged sys.path initializer because of addition of Lib/plat-mac and a few minor
Jack Jansen [Mon, 30 Dec 2002 23:07:44 +0000 (23:07 +0000)]
Changed sys.path initializer because of addition of Lib/plat-mac and a few minor
things.

22 years agoAdded casts to forestall warnings with MetroWerks.
Jack Jansen [Mon, 30 Dec 2002 23:06:14 +0000 (23:06 +0000)]
Added casts to forestall warnings with MetroWerks.

22 years agoUpdated the expected skips for MacOSX.
Jack Jansen [Mon, 30 Dec 2002 23:03:13 +0000 (23:03 +0000)]
Updated the expected skips for MacOSX.

22 years agoSkip this test on MacOSX: the locale support is too minimal to make
Jack Jansen [Mon, 30 Dec 2002 23:02:55 +0000 (23:02 +0000)]
Skip this test on MacOSX: the locale support is too minimal to make
it pass.

22 years agoAdd entries for the dummy_thread and dummy_threading modules.
Fred Drake [Mon, 30 Dec 2002 23:01:14 +0000 (23:01 +0000)]
Add entries for the dummy_thread and dummy_threading modules.

22 years ago- fix use of \refmodule markup
Fred Drake [Mon, 30 Dec 2002 23:00:36 +0000 (23:00 +0000)]
- fix use of \refmodule markup
- correct some module names, add hyperlinks
- wrap some long lines

22 years agoNews about zipimport.
Guido van Rossum [Mon, 30 Dec 2002 22:59:32 +0000 (22:59 +0000)]
News about zipimport.

22 years agoSquashed compiler wng from MSVC6.
Tim Peters [Mon, 30 Dec 2002 22:44:03 +0000 (22:44 +0000)]
Squashed compiler wng from MSVC6.

22 years agoWouldn't compile on Windows; fixed.
Tim Peters [Mon, 30 Dec 2002 22:42:57 +0000 (22:42 +0000)]
Wouldn't compile on Windows; fixed.

22 years agoAdded a note about the move of Mac/Lib to Lib/plat-mac.
Jack Jansen [Mon, 30 Dec 2002 22:42:43 +0000 (22:42 +0000)]
Added a note about the move of Mac/Lib to Lib/plat-mac.

22 years agoUse the dummy_thread module in Queue.py and tempfile.py.
Guido van Rossum [Mon, 30 Dec 2002 22:36:09 +0000 (22:36 +0000)]
Use the dummy_thread module in Queue.py and tempfile.py.
tempfile.py already contained code to let it run without threads present;
for Queue.py this is considered a useful feature too.

22 years agoAdd dummy_thread[ing] sections and reference these from libthread[ing].
Guido van Rossum [Mon, 30 Dec 2002 22:34:10 +0000 (22:34 +0000)]
Add dummy_thread[ing] sections and reference these from libthread[ing].

22 years agoBrett Cannon's dummy_thread and dummy_threading modules (SF patch
Guido van Rossum [Mon, 30 Dec 2002 22:30:22 +0000 (22:30 +0000)]
Brett Cannon's dummy_thread and dummy_threading modules (SF patch
622537), with some nitpicking editorial changes.

22 years agoSF #561244, Micro optimizations
Neal Norwitz [Mon, 30 Dec 2002 22:29:22 +0000 (22:29 +0000)]
SF #561244, Micro optimizations

Initialize the small integers and __builtins__ in startup.
This removes some if conditions.
Change XDECREF to DECREF for values which shouldn't be NULL.

22 years agoAdapted for the move of Mac/Lib to Lib/plat-mac. Makefile.pre.in now
Jack Jansen [Mon, 30 Dec 2002 22:23:40 +0000 (22:23 +0000)]
Adapted for the move of Mac/Lib to Lib/plat-mac. Makefile.pre.in now
knows about plat-mac subdirectories, and configure adds a variable
EXTRAPLATDIR. These together take care of copying Lib/plat-mac to
the destination on darwin.

Adding plat-mac is still done with a .pth file which is only created when
you do a framework build. I'm not 100% happy with this, but fixing it
really needs a functional pythonw in non-framework builds, and I don't
think I can do that before 2.3a1 (but I'll try:-).

22 years agoFix SF #658820, regex fixes for _strptime (Brett Cannon)
Neal Norwitz [Mon, 30 Dec 2002 22:23:12 +0000 (22:23 +0000)]
Fix SF #658820, regex fixes for _strptime (Brett Cannon)

Disallow zero for days and months

22 years agoThese were somehow never added to CVS.
Jack Jansen [Mon, 30 Dec 2002 22:14:35 +0000 (22:14 +0000)]
These were somehow never added to CVS.

22 years agoPEP 302 + zipimport:
Just van Rossum [Mon, 30 Dec 2002 22:08:05 +0000 (22:08 +0000)]
PEP 302 + zipimport:
- new import hooks in import.c, exposed in the sys module
- new module called 'zipimport'
- various changes to allow bootstrapping from zip files

I hope I didn't break the Windows build (or anything else for that
matter), but then again, it's been sitting on sf long enough...

Regarding the latest discussions on python-dev: zipimport sets
pkg.__path__ as specified in PEP 273, and likewise, sys.path item such as
/path/to/Archive.zip/subdir/ are supported again.

22 years agoMoved most of Mac/Lib hierarchy to Lib/plat-mac: it can be used both
Jack Jansen [Mon, 30 Dec 2002 22:04:23 +0000 (22:04 +0000)]
Moved most of Mac/Lib hierarchy to Lib/plat-mac: it can be used both
in MacPython-OS9 and MacPython-OSX (or the equivalent unix Python on
Mac OS X). The only items remaining in Mac/Lib are modules that are
meaningful only for MacPython-OS9 (CFM stuff, MacPython preferences
in resources, etc).

22 years agoAdd __all__. (Brett Cannon.)
Guido van Rossum [Mon, 30 Dec 2002 21:59:55 +0000 (21:59 +0000)]
Add __all__.  (Brett Cannon.)

22 years agoBite the bullet on all the indirect timetz and datetimetz tzinfo methods:
Tim Peters [Mon, 30 Dec 2002 21:28:52 +0000 (21:28 +0000)]
Bite the bullet on all the indirect timetz and datetimetz tzinfo methods:
make the callers figure out the right tzinfo arguments to pass, instead of
making the callees guess.  The code is uglier this way, but it's less
brittle (when the callee guesses, the caller can get surprised).

22 years agoWe're using strictly American spellings, so there's no diaresis over
Fred Drake [Mon, 30 Dec 2002 21:26:42 +0000 (21:26 +0000)]
We're using strictly American spellings, so there's no diaresis over
the i in naive.

More markup fixups.

22 years agoSF patch 659809, by Daniel Brotsky: fix Makefile.pre to use config
Guido van Rossum [Mon, 30 Dec 2002 21:04:23 +0000 (21:04 +0000)]
SF patch 659809, by Daniel Brotsky: fix Makefile.pre to use config
env.

This adds @CFLAGS@  and @CPPFLAGS@ to the end of the respective
variable definitions.  It also adds $(LDFLAGS) to the $(CC) invocation
to build $(PGEN).

22 years agoA short note about the versions of BerkeleyDB we now support
Barry Warsaw [Mon, 30 Dec 2002 21:03:26 +0000 (21:03 +0000)]
A short note about the versions of BerkeleyDB we now support

22 years agoPort BerkeleyDB 4.1 support from the pybsddb project. bsddb is now at
Barry Warsaw [Mon, 30 Dec 2002 20:53:52 +0000 (20:53 +0000)]
Port BerkeleyDB 4.1 support from the pybsddb project.  bsddb is now at
version 4.1.1 and works with up to BerkeleyDB 4.1.25.