]> granicus.if.org Git - python/log
python
24 years agomark SyntaxError__str__ as METH_VARARGS
Jeremy Hylton [Tue, 20 Jun 2000 18:36:26 +0000 (18:36 +0000)]
mark SyntaxError__str__ as METH_VARARGS

24 years agoPekka Pessi <Pekka.Pessi@nokia.com>:
Fred Drake [Tue, 20 Jun 2000 18:32:16 +0000 (18:32 +0000)]
Pekka Pessi <Pekka.Pessi@nokia.com>:
Patch to add support for sip: (Session Initiation Protocol, RFC2543)
URLs.

24 years agoFredrik Lundh <effbot@telia.com>:
Fred Drake [Tue, 20 Jun 2000 15:47:54 +0000 (15:47 +0000)]
Fredrik Lundh <effbot@telia.com>:
Simplify find code; this is a performance improvement on at least some
platforms.

24 years agoAdded a new debug method sys.gettotalrefcount(), which returns the total number of...
Mark Hammond [Tue, 20 Jun 2000 08:12:48 +0000 (08:12 +0000)]
Added a new debug method sys.gettotalrefcount(), which returns the total number of references on all Python objects.  This is only enabled when Py_TRACE_REFS is defined (which includes default debug builds under Windows).

Also removed a redundant cast from sys.getrefcount(), as discussed on the patches list.

24 years agoMade to work under carbon.
Jack Jansen [Tue, 20 Jun 2000 07:42:23 +0000 (07:42 +0000)]
Made to work under carbon.

24 years agoUnder carbon use the GetQDGlobalxxx methods to implement Qd.qd.member access.
Jack Jansen [Tue, 20 Jun 2000 07:42:00 +0000 (07:42 +0000)]
Under carbon use the GetQDGlobalxxx methods to implement Qd.qd.member access.

24 years agoMade argc/argv processing work again under carbon.
Jack Jansen [Tue, 20 Jun 2000 07:40:34 +0000 (07:40 +0000)]
Made argc/argv processing work again under carbon.

24 years agoChristopher Fandrich <cfandrich@8cs.com>:
Fred Drake [Tue, 20 Jun 2000 04:54:19 +0000 (04:54 +0000)]
Christopher Fandrich <cfandrich@8cs.com>:
Fix memory leak in initializing __debug__.

24 years agoPatch from Rene Liebscher <R.Liebscher@gmx.de>, slightly modified and
Fred Drake [Mon, 19 Jun 2000 13:41:54 +0000 (13:41 +0000)]
Patch from Rene Liebscher <R.Liebscher@gmx.de>, slightly modified and
commented by Fred Drake, to prevent usage of sufficiently broken GCC
versions.

24 years agoFixed docstring typo, reported by Skip Montanaro <skip@mojam.com>.
Fred Drake [Mon, 19 Jun 2000 13:17:41 +0000 (13:17 +0000)]
Fixed docstring typo, reported by Skip Montanaro <skip@mojam.com>.

24 years agoPatch from Michael Hudson to fix flatten recursive data structures:
Andrew M. Kuchling [Mon, 19 Jun 2000 00:55:09 +0000 (00:55 +0000)]
Patch from Michael Hudson to fix flatten recursive data structures:
[mwh21@atrus build]$ ./python
>>> import Tkinter
>>> l = []
>>> l.append(l)
>>> Tkinter._flatten(l)
Segmentation fault (core dumped)

24 years agoMarc-Andre Lemburg <mal@lemburg.com>:
Marc-André Lemburg [Sun, 18 Jun 2000 22:25:22 +0000 (22:25 +0000)]
Marc-Andre Lemburg <mal@lemburg.com>:
Fixed a bug in PyUnicode_Count() which would have caused a
core dump in case of substring coercion failure.

Synchronized .count() with the string method of the same name
to return len(s)+1 for s.count('').

24 years agoMarc-Andre Lemburg <mal@lemburg.com>:
Marc-André Lemburg [Sun, 18 Jun 2000 22:22:27 +0000 (22:22 +0000)]
Marc-Andre Lemburg <mal@lemburg.com>:
Added optimization proposed by Andrew Kuchling to the Unicode
matching macro.

24 years agoFix bug when the replacement template is a callable object
Andrew M. Kuchling [Sun, 18 Jun 2000 20:27:10 +0000 (20:27 +0000)]
Fix bug when the replacement template is a callable object

24 years agoPatch from Lorenzo M. Catucci:
Andrew M. Kuchling [Sun, 18 Jun 2000 19:06:49 +0000 (19:06 +0000)]
Patch from Lorenzo M. Catucci:
I discovered the [MREMAP_MAYMOVE] symbol is only defined when _GNU_SOURCE is
defined; therefore, here is the change: if we are compiling for linux,
define _GNU_SOURCE before including mman.h, and all is done.

24 years agoPatch from /F:
Andrew M. Kuchling [Sun, 18 Jun 2000 18:45:50 +0000 (18:45 +0000)]
Patch from /F:
this patch adds a fast _flatten function to the _tkinter
module, and imports it from Tkinter.py (if available).

this speeds up canvas operations like create_line and
create_polygon.  for example, a create_line with 5000
vertices runs about 50 times faster with this patch in
place.

24 years agoPatch from /F:
Andrew M. Kuchling [Sun, 18 Jun 2000 18:43:14 +0000 (18:43 +0000)]
Patch from /F:
this patch introduces PySequence_Fast and PySequence_Fast_GET_ITEM,
and modifies the list.extend method to accept any kind of sequence.

24 years ago'get_platform()' now just returns 'sys.platform' on all platforms.
Greg Ward [Sun, 18 Jun 2000 15:45:55 +0000 (15:45 +0000)]
'get_platform()' now just returns 'sys.platform' on all platforms.

24 years agoRegenerated autoconf files. There's an extra change to config.h.in beyond
Andrew M. Kuchling [Sun, 18 Jun 2000 15:07:40 +0000 (15:07 +0000)]
Regenerated autoconf files.  There's an extra change to config.h.in beyond
the mremap() change I made; did someone modify configure.in previously
without recreating these files?

24 years agoCheck for existence of mremap()
Andrew M. Kuchling [Sun, 18 Jun 2000 14:54:13 +0000 (14:54 +0000)]
Check for existence of mremap()

24 years agoSupport resizing the mapping depending on whether HAVE_MREMAP is defined
Andrew M. Kuchling [Sun, 18 Jun 2000 14:51:21 +0000 (14:51 +0000)]
Support resizing the mapping depending on whether HAVE_MREMAP is defined
Remove two unused variables

24 years agoMarkup consistency nits.
Fred Drake [Sun, 18 Jun 2000 05:21:21 +0000 (05:21 +0000)]
Markup consistency nits.

24 years agoAdditional tests for seek() method, written by Trent Mick
Andrew M. Kuchling [Sun, 18 Jun 2000 04:47:08 +0000 (04:47 +0000)]
Additional tests for seek() method, written by Trent Mick

24 years agoPatch from Trent Mick:
Andrew M. Kuchling [Sun, 18 Jun 2000 04:45:14 +0000 (04:45 +0000)]
Patch from Trent Mick:
The seek() method is broken for any 'whence' value (seek from
start, current, orend) other than the default. I have a patch
that fixes that as well as gets mmap'd files working on
Linux64 and Win64.

24 years agoRemoved MS_INVALIDATE flags
Andrew M. Kuchling [Sun, 18 Jun 2000 04:25:08 +0000 (04:25 +0000)]
Removed MS_INVALIDATE flags

24 years agoMake changes and clarifications suggested by Mark Hammond
Andrew M. Kuchling [Sun, 18 Jun 2000 04:17:38 +0000 (04:17 +0000)]
Make changes and clarifications suggested by Mark Hammond

24 years agoPulled the MSVC++-specific hackery out to a new method, 'prelink_hook()',
Greg Ward [Sat, 17 Jun 2000 23:04:31 +0000 (23:04 +0000)]
Pulled the MSVC++-specific hackery out to a new method, 'prelink_hook()',
and added (empty) 'precompile_hook()' for symmetry.  One can envision
a much more elaborate hook mechanism, but this looks like it'll do for
now.

24 years agoFix the size() method to return the size of the file on Unix, not the
Andrew M. Kuchling [Sat, 17 Jun 2000 22:41:22 +0000 (22:41 +0000)]
Fix the size() method to return the size of the file on Unix, not the
size of the mapped area.  This seems to be what the Windows version does.
This change requires keeping around the fd of the mapped file.

24 years agoDocumentation for the mmap module: proofreaders welcomed
Andrew M. Kuchling [Sat, 17 Jun 2000 22:39:05 +0000 (22:39 +0000)]
Documentation for the mmap module: proofreaders welcomed

24 years agoVladimir MARANGOZOV <Vladimir.Marangozov@inrialpes.fr>:
Marc-André Lemburg [Sat, 17 Jun 2000 20:31:17 +0000 (20:31 +0000)]
Vladimir MARANGOZOV <Vladimir.Marangozov@inrialpes.fr>:
This patch fixes an optimisation mystery in _PyUnicodeNew causing segfaults
on AIX when the interpreter is compiled with -O.

24 years agoRenamed PATH_CREATED to _path_created, on the grounds that it's private and
Greg Ward [Sat, 17 Jun 2000 02:19:30 +0000 (02:19 +0000)]
Renamed PATH_CREATED to _path_created, on the grounds that it's private and
mutable, rather than public and constant.

24 years agoChanged 'remove_tree()' to use the new 'grok_environment_error()' function
Greg Ward [Sat, 17 Jun 2000 02:18:19 +0000 (02:18 +0000)]
Changed 'remove_tree()' to use the new 'grok_environment_error()' function
instead of muddling through IOError and OSError exception objects itself.

24 years agoChanged to use the new 'grok_environment_error()' function instead of
Greg Ward [Sat, 17 Jun 2000 02:17:45 +0000 (02:17 +0000)]
Changed to use the new 'grok_environment_error()' function instead of
muddling through IOError and OSError exception objects right here.

24 years agoAdded 'grok_environment_error()' function to deal with the various
Greg Ward [Sat, 17 Jun 2000 02:16:46 +0000 (02:16 +0000)]
Added 'grok_environment_error()' function to deal with the various
forms that IOError and OSError can take (taken from core.py).

24 years agoBastian Kleineidam: added 'remove_tree()' function. Needed so that
Greg Ward [Sat, 17 Jun 2000 01:58:14 +0000 (01:58 +0000)]
Bastian Kleineidam: added 'remove_tree()' function.  Needed so that
'remove_tree()' can cooperate with 'mkpath()' in the maintenance of
the PATH_CREATED cache: specifically, if a directory is created
with 'mkpath()', later removed with 'remove_tree()', and 'mkpath()'
is again requested to create it, then it would erroneously think
the directory already existed, because it was in the PATH_CREATED
cache.  The patch (slightly tweaked by me) fixes that.

24 years agoFixed install directory for header files on Unix.
Greg Ward [Sat, 17 Jun 2000 01:34:45 +0000 (01:34 +0000)]
Fixed install directory for header files on Unix.

24 years agoUpdates from Marc-Andre Lemburg <mal@leburg.com> for the Unicode support.
Fred Drake [Fri, 16 Jun 2000 21:04:15 +0000 (21:04 +0000)]
Updates from Marc-Andre Lemburg <mal@leburg.com> for the Unicode support.

24 years agoAdded reference count information for PySequence_List().
Fred Drake [Fri, 16 Jun 2000 20:00:04 +0000 (20:00 +0000)]
Added reference count information for PySequence_List().

24 years agoDocumented PySequence_List() and PySequence_Tuple().
Fred Drake [Fri, 16 Jun 2000 19:58:42 +0000 (19:58 +0000)]
Documented PySequence_List() and PySequence_Tuple().

Added a bit more documentation in the chapter on building extension types,
including Py_FindMethod() documentation.

Several minor consistency nits were fixed.

24 years agoMichael Hudson <mwh21@cam.ac.uk>:
Marc-André Lemburg [Fri, 16 Jun 2000 17:05:57 +0000 (17:05 +0000)]
Michael Hudson <mwh21@cam.ac.uk>:
The error message refers to "append", yet the operation in
question is "concat".

24 years agodo_cmd_textasciitilde(): New function.
Fred Drake [Thu, 15 Jun 2000 22:41:48 +0000 (22:41 +0000)]
do_cmd_textasciitilde():  New function.

24 years agoFix markup error that hid a tilde character; reported long ago by
Fred Drake [Thu, 15 Jun 2000 20:07:25 +0000 (20:07 +0000)]
Fix markup error that hid a tilde character; reported long ago by
Carl Feynman <carlf@abinitio.com>.

24 years agoMichael Hudson <mwh21@cam.ac.uk>:
Fred Drake [Thu, 15 Jun 2000 18:44:30 +0000 (18:44 +0000)]
Michael Hudson <mwh21@cam.ac.uk>:
This patch corrects a little glitch and two outright errors.

(Including one reported earlier by Thomas Wouters.)

24 years agoThomas Wouters <thomas@xs4all.net>:
Fred Drake [Thu, 15 Jun 2000 14:50:20 +0000 (14:50 +0000)]
Thomas Wouters <thomas@xs4all.net>:
The following patch adds "sq_contains" support to rangeobject, and enables
the already-written support for sq_contains in listobject and tupleobject.

The rangeobject "contains" code should be a bit more efficient than the
current default "in" implementation ;-) It might not get used much, but it's
not that much to add.

listobject.c and tupleobject.c already had code for sq_contains, and the
proper struct member was set, but the PyType structure was not extended to
include tp_flags, so the object-specific code was not getting called (Go
ahead, test it ;-). I also did this for the immutable_list_type in
listobject.c, eventhough it is probably never used. Symmetry and all that.

24 years agoMarc-Andre Lemburg <mal@lemburg.com>:
Marc-André Lemburg [Wed, 14 Jun 2000 09:18:32 +0000 (09:18 +0000)]
Marc-Andre Lemburg <mal@lemburg.com>:
Added code so that .isXXX() testing returns 0 for emtpy strings.

24 years agoMarc-Andre Lemburg <mal@lemburg.com>:
Marc-André Lemburg [Wed, 14 Jun 2000 09:17:25 +0000 (09:17 +0000)]
Marc-Andre Lemburg <mal@lemburg.com>:
Removed a test which can fail when the default locale setting
uses a Latin-1 encoding. The test case is not applicable anymore.

24 years agoOops, default type and creator were reversed.
Jack Jansen [Wed, 14 Jun 2000 09:12:44 +0000 (09:12 +0000)]
Oops, default type and creator were reversed.

24 years agoHook in the documentation for the unicodedata module.
Fred Drake [Tue, 13 Jun 2000 20:51:29 +0000 (20:51 +0000)]
Hook in the documentation for the unicodedata module.

24 years agoMarc-Andre Lemburg <mal@lemburg.com>:
Fred Drake [Tue, 13 Jun 2000 20:50:50 +0000 (20:50 +0000)]
Marc-Andre Lemburg <mal@lemburg.com>:
Documentation for the unicodedata module (massaged by Fred for minor
consistency issues).

24 years agoJames C. Ahlstron <jim@interet.com>:
Fred Drake [Tue, 13 Jun 2000 18:49:53 +0000 (18:49 +0000)]
James C. Ahlstron <jim@interet.com>:
Thanks to Hubert Hoegl <hubert.hoegl@dlr.de> for finding this bug.

24 years agoAlso add a one-line description of the "optional" directive.
Jack Jansen [Tue, 13 Jun 2000 13:39:17 +0000 (13:39 +0000)]
Also add a one-line description of the "optional" directive.

24 years agoMarc-Andre Lemburg <mal@lemburg.com>:
Marc-André Lemburg [Tue, 13 Jun 2000 12:05:36 +0000 (12:05 +0000)]
Marc-Andre Lemburg <mal@lemburg.com>:
Fixed some tests to not cause the script to fail, but rather
output a warning (which then is caught by regrtest.py as wrong
output). This is needed to make test_unicode.py run through
on JPython.
Thanks to Finn Bock.

24 years agoMarc-Andre Lemburg <mal@lemburg.com>:
Marc-André Lemburg [Tue, 13 Jun 2000 12:04:05 +0000 (12:04 +0000)]
Marc-Andre Lemburg <mal@lemburg.com>:
Removed import of string module -- use string methods directly.
Thanks to Finn Bock.

24 years agoDocumentation for the pyexpat module.
Andrew M. Kuchling [Sun, 11 Jun 2000 02:42:07 +0000 (02:42 +0000)]
Documentation for the pyexpat module.

24 years agoApplied simplifications suggested by Greg Stein.
Andrew M. Kuchling [Sat, 10 Jun 2000 23:39:05 +0000 (23:39 +0000)]
Applied simplifications suggested by Greg Stein.

24 years agoRenamed the C extension for ncurses support from 'curses' to '_curses'.
Andrew M. Kuchling [Sat, 10 Jun 2000 23:12:32 +0000 (23:12 +0000)]
Renamed the C extension for ncurses support from 'curses' to '_curses'.
(The SourceForge admins have been asked to rename the ,v file.)

24 years agoInstall the contents of the Lib/curses directory
Andrew M. Kuchling [Sat, 10 Jun 2000 23:08:21 +0000 (23:08 +0000)]
Install the contents of the Lib/curses directory

24 years agoAdd contents of curses package
Andrew M. Kuchling [Sat, 10 Jun 2000 23:06:53 +0000 (23:06 +0000)]
Add contents of curses package

24 years agoMention setting the default encoding
Andrew M. Kuchling [Sat, 10 Jun 2000 15:11:20 +0000 (15:11 +0000)]
Mention setting the default encoding
Add IDLE section from MZ

24 years agoMarc-Andre Lemburg <mal@lemburg.com>:
Marc-André Lemburg [Sat, 10 Jun 2000 09:32:51 +0000 (09:32 +0000)]
Marc-Andre Lemburg <mal@lemburg.com>:
Fixed a typo and removed a debug printf(). Thanks to Finn Bock
for finding these.

24 years agoAdded test for linnuxaudiodev module; directly adapted from sunaudiodev
Fred Drake [Sat, 10 Jun 2000 04:22:57 +0000 (04:22 +0000)]
Added test for linnuxaudiodev module; directly adapted from sunaudiodev
test.  Someone with more Linux audio knowledge should at least take a
brief look at it.

24 years agoList more deleted modules.
Andrew M. Kuchling [Sat, 10 Jun 2000 02:41:46 +0000 (02:41 +0000)]
List more deleted modules.
Add request for feedback.

24 years agoFilled in the sections on new and deleted modules.
Andrew M. Kuchling [Sat, 10 Jun 2000 02:24:31 +0000 (02:24 +0000)]
Filled in the sections on new and deleted modules.
Bumped version number.

24 years agoComment out an apparent debug print
Andrew M. Kuchling [Sat, 10 Jun 2000 01:41:48 +0000 (01:41 +0000)]
Comment out an apparent debug print

24 years agothe PyDict_SetItem does not borrow a reference, so we need to decref
Jeremy Hylton [Fri, 9 Jun 2000 16:20:39 +0000 (16:20 +0000)]
the PyDict_SetItem does not borrow a reference, so we need to decref
reported by Mark Hammon

24 years agoPatch from /F: this patch brings the CVS version of SRE in sync with the
Andrew M. Kuchling [Fri, 9 Jun 2000 14:08:07 +0000 (14:08 +0000)]
Patch from /F: this patch brings the CVS version of SRE in sync with the
latest public snapshot.""

24 years agoPatch from Michael Hudson: improve unclear error message
Andrew M. Kuchling [Fri, 9 Jun 2000 14:04:53 +0000 (14:04 +0000)]
Patch from Michael Hudson: improve unclear error message

24 years agoCleanup a few docstrings.
Mark Hammond [Fri, 9 Jun 2000 06:01:47 +0000 (06:01 +0000)]
Cleanup a few docstrings.

24 years agoMinor fixes, additions to notes
Andrew M. Kuchling [Fri, 9 Jun 2000 02:48:18 +0000 (02:48 +0000)]
Minor fixes, additions to notes

24 years agoMarc-Andre Lemburg <mal@lemburg.com>:
Marc-André Lemburg [Thu, 8 Jun 2000 17:54:00 +0000 (17:54 +0000)]
Marc-Andre Lemburg <mal@lemburg.com>:
Fixed %c formatting to check for one character arguments. Thanks
to Finn Bock for finding this bug.

Added a fix for bug PR#348 which originated from not resetting
the globals correctly in _PyUnicode_Fini().

24 years agoMarc-Andre Lemburg <mal@lemburg.com>:
Marc-André Lemburg [Thu, 8 Jun 2000 17:51:33 +0000 (17:51 +0000)]
Marc-Andre Lemburg <mal@lemburg.com>:
Updated to version 1.5. Includes typo fixes by Andrew Kuchling
and a new section on the default encoding.

24 years agoMarc-Andre Lemburg <mal@lemburg.com>:
Marc-André Lemburg [Thu, 8 Jun 2000 17:50:55 +0000 (17:50 +0000)]
Marc-Andre Lemburg <mal@lemburg.com>:
Updated to the fix in %c formatting: it now always checks for
a one character argument.

24 years agoMarc-Andre Lemburg <mal@lemburg.com>:
Marc-André Lemburg [Thu, 8 Jun 2000 17:49:41 +0000 (17:49 +0000)]
Marc-Andre Lemburg <mal@lemburg.com>:
Added emulations of the C APIs in _locale to be used when the
_locale module is not enabled. They return the correct values
assuming the 'C' locale.

24 years agoHarry Henry Gebel: fix '_format_changelog()' so it doesn't bomb if
Greg Ward [Thu, 8 Jun 2000 14:21:23 +0000 (14:21 +0000)]
Harry Henry Gebel: fix '_format_changelog()' so it doesn't bomb if
passed None.

24 years agoInclude setup.cfg in the list of default files to distribute.
Greg Ward [Thu, 8 Jun 2000 01:22:48 +0000 (01:22 +0000)]
Include setup.cfg in the list of default files to distribute.

24 years agoMoved the code that prunes the file list after reading the manifest
Greg Ward [Thu, 8 Jun 2000 01:06:02 +0000 (01:06 +0000)]
Moved the code that prunes the file list after reading the manifest
  template into a new method 'prune_file_list()', called from
  'get_file_list()' rather than 'read_manifest()' -- this keeps
  'read_manifest()' more general.
Deleted the redundant call to 'exclude_pattern()' in 'make_distribution()'
  -- this had the same intention as 'prune_file_list()', but was incomplete
  (only pruned the release tree, not the build tree) and in the wrong
  place (the prune wouldn't be reflected in the manifest file).

24 years agoRenamed 'find_defaults()' to 'add_defaults()'.
Greg Ward [Thu, 8 Jun 2000 00:52:52 +0000 (00:52 +0000)]
Renamed 'find_defaults()' to 'add_defaults()'.
Deleted old, commented-out 'exclude_pattern()' method.

24 years agoDocstring addition binge.
Greg Ward [Thu, 8 Jun 2000 00:46:45 +0000 (00:46 +0000)]
Docstring addition binge.

24 years agoFixed so we print more than just the first line of help for options with
Greg Ward [Thu, 8 Jun 2000 00:35:33 +0000 (00:35 +0000)]
Fixed so we print more than just the first line of help for options with
a short form and text that wraps onto multiple lines.

24 years agoDocstring reformatting binge.
Greg Ward [Thu, 8 Jun 2000 00:24:01 +0000 (00:24 +0000)]
Docstring reformatting binge.

24 years agoCosmetic tweaks to imports, the 'show_formats()' function, and the
Greg Ward [Thu, 8 Jun 2000 00:14:18 +0000 (00:14 +0000)]
Cosmetic tweaks to imports, the 'show_formats()' function, and the
'help_options' list; also added an editorial comment.

24 years agoMade all debug output go through the 'debug_print()' method instead of
Greg Ward [Thu, 8 Jun 2000 00:08:14 +0000 (00:08 +0000)]
Made all debug output go through the 'debug_print()' method instead of
directly printing to stdout.  This was a bit more work than it sounds like
it should have been:
  * turned 'select_pattern()' and 'exclude_pattern()' from functions into
    methods, so they can refer to 'self' to access the method
  * commented out the *other* 'exclude_pattern()' method, which appears
    to be vestigial code that was never cleaned up when the
    'exclude_pattern()' function was created
  * changed the one use of the old 'exclude_pattern()' method to use the
    new 'exclude_pattern()' (same behaviour, slightly different args)
  * some code and docstring reformatting
  * and, of course, changed all the debugging prints to 'debug_print()' calls
Added/tweaked some regular ('self.announce()') output for better runtime
  feedback.

24 years agoAdded 'debug_print()' method (driven by DEBUG global from distutils.core).
Greg Ward [Thu, 8 Jun 2000 00:02:36 +0000 (00:02 +0000)]
Added 'debug_print()' method (driven by DEBUG global from distutils.core).

24 years agoAdded _localemodule and exceptions.c
Jack Jansen [Wed, 7 Jun 2000 21:09:40 +0000 (21:09 +0000)]
Added _localemodule and exceptions.c

24 years agoAdded _localemodule.
Jack Jansen [Wed, 7 Jun 2000 20:36:51 +0000 (20:36 +0000)]
Added _localemodule.

24 years agoNav removed (it has moved to the core toolbox modules).
Jack Jansen [Wed, 7 Jun 2000 20:35:38 +0000 (20:35 +0000)]
Nav removed (it has moved to the core toolbox modules).

24 years agoNav and AE have been moved to core toolbox modules: fixup dependent modules, export...
Jack Jansen [Wed, 7 Jun 2000 20:34:46 +0000 (20:34 +0000)]
Nav and AE have been moved to core toolbox modules: fixup dependent modules, export symbol list, etc.

24 years agoMoved AE module to the core toolbox set: it is needed by Nav and it isn't all _that_...
Jack Jansen [Wed, 7 Jun 2000 20:14:29 +0000 (20:14 +0000)]
Moved AE module to the core toolbox set: it is needed by Nav and it isn't all _that_ huge.
Modified for new builtin exceptions.c.

24 years agoMoved AE module to the core toolbox set: it is needed by Nav and it isn't all _that_...
Jack Jansen [Wed, 7 Jun 2000 20:13:05 +0000 (20:13 +0000)]
Moved AE module to the core toolbox set: it is needed by Nav and it isn't all _that_ huge.

24 years agoMinor bugfix: one uthread-dependent cleanup had "if not uthread" in stead of "if...
Jack Jansen [Wed, 7 Jun 2000 20:11:03 +0000 (20:11 +0000)]
Minor bugfix: one uthread-dependent cleanup had "if not uthread" in stead of "if uthread".

24 years agoUpped default memory size to 16MB
Jack Jansen [Wed, 7 Jun 2000 20:08:43 +0000 (20:08 +0000)]
Upped default memory size to 16MB

24 years agoMarc-Andre Lemburg <mal@lemburg.com>:
Marc-André Lemburg [Wed, 7 Jun 2000 09:13:41 +0000 (09:13 +0000)]
Marc-Andre Lemburg <mal@lemburg.com>:
Changed the API names for setting the default encoding.
These are now in line with the other hooks API names
(no underscores).

24 years agoMarc-Andre Lemburg <mal@lemburg.com>:
Marc-André Lemburg [Wed, 7 Jun 2000 09:13:21 +0000 (09:13 +0000)]
Marc-Andre Lemburg <mal@lemburg.com>:
Change the default encoding to 'ascii' (it was previously
defined as UTF-8).

Note: The implementation still uses UTF-8 to implement
the buffer protocol, so C APIs will still see UTF-8. This
is on purpose: rather than fixing the Unicode implementation,
the C APIs should be made Unicode aware.

24 years agoMarc-Andre Lemburg <mal@lemburg.com>:
Marc-André Lemburg [Wed, 7 Jun 2000 09:12:54 +0000 (09:12 +0000)]
Marc-Andre Lemburg <mal@lemburg.com>:
The locale module is turned on per default.

24 years agoMarc-Andre Lemburg <mal@lemburg.com>:
Marc-André Lemburg [Wed, 7 Jun 2000 09:12:30 +0000 (09:12 +0000)]
Marc-Andre Lemburg <mal@lemburg.com>:
Added some more codec aliases. Some of them are needed by the
new locale.py encoding support.

24 years agoMarc-Andre Lemburg <mal@lemburg.com>:
Marc-André Lemburg [Wed, 7 Jun 2000 09:12:09 +0000 (09:12 +0000)]
Marc-Andre Lemburg <mal@lemburg.com>:
Added support to set the default encoding of strings
at startup time to the values defined by the C locale.

The sys.setdefaultencoding() API is deleted after having
set up the encoding, so that user code cannot subsequentely
change the setting. This effectively means that only site.py
may alter the default setting.

24 years agoMarc-Andre Lemburg <mal@lemburg.com>:
Marc-André Lemburg [Wed, 7 Jun 2000 09:11:40 +0000 (09:11 +0000)]
Marc-Andre Lemburg <mal@lemburg.com>:
Added a new locale name aliasing engine which also supports
locale encodings, a feature which is used by the new default
encoding support in site.py.

24 years agoNew codec which always raises an exception when used. This
Marc-André Lemburg [Wed, 7 Jun 2000 09:04:05 +0000 (09:04 +0000)]
New codec which always raises an exception when used. This
codec can be used to effectively switch off string coercion
to Unicode.

24 years agoAdded preliminary documentation for the winreg module,
Fred Drake [Wed, 7 Jun 2000 04:07:48 +0000 (04:07 +0000)]
Added preliminary documentation for the winreg module,
by Mark Hammond <markh@activestate.com>.

Limited markup & consistency revisions by FLD.

24 years agoPatch from Rene Liebscher: this adds "--help-foo" options to list the
Greg Ward [Wed, 7 Jun 2000 03:00:06 +0000 (03:00 +0000)]
Patch from Rene Liebscher: this adds "--help-foo" options to list the
values that "--foo" can take for various commands: eg. what formats for
"sdist" and "bdist", what compilers for "build_ext" and "build_clib".

I have *not* reviewed this patch; I'm checking it in as-is because it also
fixes a paper-bag-over-head bug in bdist.py, and because I won't have
time to review it properly for several days: so someone else can
test it for me, instead!