]> granicus.if.org Git - python/log
python
24 years agorealcgitest.py: added import MacOS, it now works again. Removed NetPresenz reference.
Just van Rossum [Sun, 26 Mar 2000 10:12:26 +0000 (10:12 +0000)]
realcgitest.py: added import MacOS, it now works again. Removed NetPresenz reference.
cgitest.cgi.rsrc: disable argv emulation; this is essential for the first time the cgi applet starts up

24 years agoChristian Tismer:
Guido van Rossum [Sat, 25 Mar 2000 18:39:19 +0000 (18:39 +0000)]
Christian Tismer:

Added "better safe than sorry" patch to the new
trashcan code in object.c, to ensure that tstate
is not touched when it might be undefined.

24 years agoMarc-Andre Lemburg:
Guido van Rossum [Fri, 24 Mar 2000 22:14:19 +0000 (22:14 +0000)]
Marc-Andre Lemburg:

Attached you find the latest update of the Unicode implementation.
The patch is against the current CVS version.

It includes the fix I posted yesterday for the core dump problem
in codecs.c (was introduced by my previous patch set -- sorry),
adds more tests for the codecs and two new parser markers
"es" and "es#".

24 years agoFix all routines to use PyArg_ParseTuple(), and add ":name" to the
Guido van Rossum [Fri, 24 Mar 2000 20:56:56 +0000 (20:56 +0000)]
Fix all routines to use PyArg_ParseTuple(), and add ":name" to the
argument format strings.

THIS WILL PROBABLY BREAK LOTS OF CODE!!!

Also fixed a bogus string in an error message in getsockaddrlen().

24 years agoFix the test so that connect() and bind() are called with a single
Guido van Rossum [Fri, 24 Mar 2000 20:54:29 +0000 (20:54 +0000)]
Fix the test so that connect() and bind() are called with a single
argument: a (host, port) tuple.

Like multi-arg append(), multi-arg connect() and bind() may be ruled out!

24 years agoMarc-Andre Lemburg:
Guido van Rossum [Fri, 24 Mar 2000 20:52:23 +0000 (20:52 +0000)]
Marc-Andre Lemburg:

Andy Robinson noted a core dump in the codecs.c file. This
was introduced by my latest patch which fixed a memory leak
in codecs.c. The bug causes all successful codec lookups to fail.

24 years agoRegenerated with test for 'contains'.
Guido van Rossum [Fri, 24 Mar 2000 20:42:39 +0000 (20:42 +0000)]
Regenerated with test for 'contains'.

24 years agoFix probable bug; if errno == EINTR, floatsleep() doesn't break out of
Andrew M. Kuchling [Fri, 24 Mar 2000 20:35:20 +0000 (20:35 +0000)]
Fix probable bug; if errno == EINTR, floatsleep() doesn't break out of
   a Py_BEGIN_ALLOW_THREADS/Py_END_ALLOW_THREADS block, but it
   calls Py_BLOCK_THREADS anyway. The change moves Py_BLOCK_THREADS
   to inside the if, so it's only executed when the function
   actually returns unexpectedly.

24 years agoFrom Sjoerd Mullender <sjoerd@oratrix.nl>:
Fred Drake [Thu, 23 Mar 2000 18:13:10 +0000 (18:13 +0000)]
From Sjoerd Mullender <sjoerd@oratrix.nl>:

cmp is not used in freeze, but is imported anyway.  What's worse, cmp
is no longer in the library, so freeze won't work like this.

24 years agoImport fix.
Greg Ward [Thu, 23 Mar 2000 04:39:16 +0000 (04:39 +0000)]
Import fix.

24 years agoFixed '_nt_quote_args()': backwards logic reversed, and now it actually
Greg Ward [Thu, 23 Mar 2000 04:38:36 +0000 (04:38 +0000)]
Fixed '_nt_quote_args()': backwards logic reversed, and now it actually
returns a value.

24 years agoFixed the class name.
Greg Ward [Thu, 23 Mar 2000 04:37:11 +0000 (04:37 +0000)]
Fixed the class name.

24 years agoData of type Point is passed by value, not by reference.
Jack Jansen [Wed, 22 Mar 2000 15:35:24 +0000 (15:35 +0000)]
Data of type Point is passed by value, not by reference.

24 years agoFix small errors in description of Mac, Windows installation schemes.
Greg Ward [Wed, 22 Mar 2000 01:00:23 +0000 (01:00 +0000)]
Fix small errors in description of Mac, Windows installation schemes.
Added comment about "--help" (no value) not working.

24 years agoRevised tons of comments to reflect the current state of affairs better.
Greg Ward [Wed, 22 Mar 2000 00:51:18 +0000 (00:51 +0000)]
Revised tons of comments to reflect the current state of affairs better.
Deleted some crufty code.

24 years agoRun 'install_lib' instead of 'install_py', and ditch 'install_ext'
Greg Ward [Wed, 22 Mar 2000 00:40:16 +0000 (00:40 +0000)]
Run 'install_lib' instead of 'install_py', and ditch 'install_ext'
completely (was already commented-out).

24 years agoRenamed install_py.py to install_lib.py, since it now handles installing all
Greg Ward [Wed, 22 Mar 2000 00:37:16 +0000 (00:37 +0000)]
Renamed install_py.py to install_lib.py, since it now handles installing all
Python modules, pure and extensions.

24 years agoObsolete command -- no longer relevant since we now build all modules, pure
Greg Ward [Wed, 22 Mar 2000 00:35:16 +0000 (00:35 +0000)]
Obsolete command -- no longer relevant since we now build all modules, pure
Python and extensions, into the same directory.

24 years agoDropped the evil and misguided 'set_peer_option()' method -- it's no
Greg Ward [Wed, 22 Mar 2000 00:31:37 +0000 (00:31 +0000)]
Dropped the evil and misguided 'set_peer_option()' method -- it's no
longer needed, and can't possibly work anyways.

24 years agoDropped any notion of allowing the user to specify the build directories:
Greg Ward [Wed, 22 Mar 2000 00:30:54 +0000 (00:30 +0000)]
Dropped any notion of allowing the user to specify the build directories:
these must come from the 'build' command.  This means we no longer need
the misconceived 'set_peer_option()' method in Command and, more importantly,
sweeps away a bunch of potential future complexity to handle this tricky
case.

24 years agoImproved an error message in 'mkpath()'.
Greg Ward [Wed, 22 Mar 2000 00:22:44 +0000 (00:22 +0000)]
Improved an error message in 'mkpath()'.
Tightened up some logic in 'native_path()'.
Added 'subst_vars()' and '_check_environ()'.

24 years agoRenamed 'install_path' to 'extra_path'.
Greg Ward [Wed, 22 Mar 2000 00:20:46 +0000 (00:20 +0000)]
Renamed 'install_path' to 'extra_path'.
Fix 'Command.set_undefined_option()' to call 'ensure_ready()' rather
  than 'finalize_options()' (which is only supposed to be called once,
  which is the whole point of 'ensure_ready()').
Added comment to 'set_peer_option()' to remind myself that this method
  cannot work and is fundamentally wrong-headed.

24 years agoYet another complete rewrite. Hopefully the *last* complete rewrite of
Greg Ward [Wed, 22 Mar 2000 00:15:45 +0000 (00:15 +0000)]
Yet another complete rewrite.  Hopefully the *last* complete rewrite of
this command for a while; this implements roughly the plan cooked up by
Guido, Fred, and me.  Seems to strike a nice balance between usability in
the common cases (just set one option), expandability for more types of
files to install in future, and customizability of installation
directories.

This revision isn't completely working: standard and alternate
installations work fine, but there are still some kinks to work out of
customized installations.

24 years agoFix how we set 'build_dir' and 'install_dir' options from 'install' options --
Greg Ward [Wed, 22 Mar 2000 00:12:51 +0000 (00:12 +0000)]
Fix how we set 'build_dir' and 'install_dir' options from 'install' options --
irrelevant because this file is about to go away, but oh well.

24 years agoTook out what looks like old debugging code that probably should never
Greg Ward [Wed, 22 Mar 2000 00:11:21 +0000 (00:11 +0000)]
Took out what looks like old debugging code that probably should never
have been checked in: was passing the PLAT environment variable as the
'plat' argument to 'new_compiler()'.

24 years agoAdded UserPane callbacks for HitTest and Tracking. Doesn't fully work yet.
Jack Jansen [Tue, 21 Mar 2000 23:03:02 +0000 (23:03 +0000)]
Added UserPane callbacks for HitTest and Tracking. Doesn't fully work yet.

24 years agoAdded a GetControlRect() method to controls which returns the bounding rectangle...
Jack Jansen [Tue, 21 Mar 2000 16:25:23 +0000 (16:25 +0000)]
Added a GetControlRect() method to controls which returns the bounding rectangle. To my surprise this call is missing from the C API...

24 years agoUpdated comment: in PyTypeObject:
Fred Drake [Tue, 21 Mar 2000 16:14:47 +0000 (16:14 +0000)]
Updated comment: in PyTypeObject:

/* More standard operations (at end for binary compatibility) */

should now be:

/* More standard operations (here for binary compatibility) */

since they're no longer at the end!

24 years agoOn 17-Mar-2000, Marc-Andre Lemburg said:
Barry Warsaw [Mon, 20 Mar 2000 16:36:48 +0000 (16:36 +0000)]
On 17-Mar-2000, Marc-Andre Lemburg said:

    Attached you find an update of the Unicode implementation.

    The patch is against the current CVS version. I would appreciate
    if someone with CVS checkin permissions could check the changes
    in.

    The patch contains all bugs and patches sent this week and also
    fixes a leak in the codecs code and a bug in the free list code
    for Unicode objects (which only shows up when compiling Python
    with Py_DEBUG; thanks to MarkH for spotting this one).

24 years agoStarted on support for callbacks for UserPane controls. Unfinished and untested.
Jack Jansen [Mon, 20 Mar 2000 16:09:09 +0000 (16:09 +0000)]
Started on support for callbacks for UserPane controls. Unfinished and untested.

24 years agoSimplified doc string.
Greg Ward [Sat, 18 Mar 2000 17:36:09 +0000 (17:36 +0000)]
Simplified doc string.
Added 'clean' to list of commands.

24 years agoOops! Don't call 'ensure_ready()' in 'Distribution.find_command_obj()' --
Greg Ward [Sat, 18 Mar 2000 17:35:12 +0000 (17:35 +0000)]
Oops!  Don't call 'ensure_ready()' in 'Distribution.find_command_obj()' --
that broke parsing command-line options.  Instead call it in
'Command.find_peer()', which is why I added it to 'find_command_obj()'
in the first place.

24 years agoTweaked all over:
Greg Ward [Sat, 18 Mar 2000 17:33:18 +0000 (17:33 +0000)]
Tweaked all over:
  * improve help strings
  * warn if user supplies non-existing directories
  * don't try to 'remove_tree()' non-existing directories
  * try to remove the build_base after cleanup (but don't do or say
    anything if it fails -- this is just in case we made it empty)

24 years agoPatch from Bastian Kleineidam <calvin@cs.uni-sb.de>:
Greg Ward [Sat, 18 Mar 2000 15:43:42 +0000 (15:43 +0000)]
Patch from Bastian Kleineidam <calvin@cs.uni-sb.de>:
use 'util.remove_tree()' instead of 'nuke_release_tree()'.

24 years agoPatch from Bastian Kleineidam <calvin@cs.uni-sb.de>: added 'remove_tree()'.
Greg Ward [Sat, 18 Mar 2000 15:42:22 +0000 (15:42 +0000)]
Patch from Bastian Kleineidam <calvin@cs.uni-sb.de>: added 'remove_tree()'.

24 years agoContribution from Bastian Kleineidam <calvin@cs.uni-sb.de>:
Greg Ward [Sat, 18 Mar 2000 15:37:26 +0000 (15:37 +0000)]
Contribution from Bastian Kleineidam <calvin@cs.uni-sb.de>:
the Distutils 'clean' command.

24 years agoIn 'finalize_options()': if 'self.libs' is a string, make it a singleton list.
Greg Ward [Sat, 18 Mar 2000 15:21:03 +0000 (15:21 +0000)]
In 'finalize_options()': if 'self.libs' is a string, make it a singleton list.

24 years agoChanged to pay attention to the 'runtime_library_dirs' list (= 'rpath'
Greg Ward [Sat, 18 Mar 2000 15:19:51 +0000 (15:19 +0000)]
Changed to pay attention to the 'runtime_library_dirs' list (= 'rpath'
option in the 'build_ext' command):
  * in ccompiler.py: 'gen_lib_options()' now takes 'runtime_library_dirs'
    parameter
  * in unixccompiler.py and msvccompiler.py: now pass
    'self.runtime_library_dirs' to 'gen_lib_options()', and define
    'runtime_library_dir_option()' (although in msvccompiler.py it
    blows up with a DistutilsPlatformError right now!)

24 years agoThird attempt at documenting an installation scheme; this one feels like
Greg Ward [Sat, 18 Mar 2000 15:11:50 +0000 (15:11 +0000)]
Third attempt at documenting an installation scheme; this one feels like
it could work--reasonably short and straightforward to document, but
flexible enough that it will be able to handle more than just modules
and extensions in the future.

24 years agoOf course, I forget how to type long ago...
Fred Drake [Fri, 17 Mar 2000 16:56:23 +0000 (16:56 +0000)]
Of course, I forget how to type long ago...

Typo noted by /F.

24 years agoAdded a method GetMediaNextInterestingTimeOnly, which is like GetMediaNextInteresting...
Jack Jansen [Fri, 17 Mar 2000 16:49:59 +0000 (16:49 +0000)]
Added a method GetMediaNextInterestingTimeOnly, which is like GetMediaNextInterestingTime without asking for the duration (which is, according to qt docs, expensive).

24 years ago"write marshalled" --> "writes marshalled" (in docstring); noted by
Fred Drake [Fri, 17 Mar 2000 15:43:37 +0000 (15:43 +0000)]
"write marshalled" --> "writes marshalled" (in docstring); noted by
Detlef Lannert <lannert@lannert.rz.uni-duesseldorf.de>.

24 years agoOops, another in the same file; I should read the mail fully before
Fred Drake [Fri, 17 Mar 2000 15:42:11 +0000 (15:42 +0000)]
Oops, another in the same file; I should read the mail fully before
checking in; sorry!

"the the" --> "the" (in docstring); noted by Detlef Lannert
<lannert@lannert.rz.uni-duesseldorf.de>.

24 years ago"intput" --> "input" (in docstring); noted by Detlef Lannert
Fred Drake [Fri, 17 Mar 2000 15:40:35 +0000 (15:40 +0000)]
"intput" --> "input" (in docstring); noted by Detlef Lannert
<lannert@lannert.rz.uni-duesseldorf.de>.

24 years agocomplete rewrite
Jeremy Hylton [Thu, 16 Mar 2000 20:06:59 +0000 (20:06 +0000)]
complete rewrite

code generator uses flowgraph as intermediate representation.  the old
    rep uses a list with explicit "StackRefs" to indicate the target
    of jumps.

pyassem converts flowgraph to bytecode, breaks up individual steps of
    generating bytecode

24 years agosimplify visitor walker class
Jeremy Hylton [Thu, 16 Mar 2000 20:04:16 +0000 (20:04 +0000)]
simplify visitor walker class
- remove postorder
- remove protocol for automatically walking children based on visitor
  method return value; now only walks if there is no method

24 years agofix list.append problems
Jeremy Hylton [Thu, 16 Mar 2000 20:03:04 +0000 (20:03 +0000)]
fix list.append problems

24 years agochange name of Set method: items -> elements (avoids confusion with
Jeremy Hylton [Thu, 16 Mar 2000 20:02:38 +0000 (20:02 +0000)]
change name of Set method: items -> elements (avoids confusion with
dict)

24 years agoScript to annotate api.tex with reference count information.
Fred Drake [Wed, 15 Mar 2000 14:57:59 +0000 (14:57 +0000)]
Script to annotate api.tex with reference count information.

24 years agoAETransactionID was mistakenly defined as a short (it is a long). Fixed.
Jack Jansen [Tue, 14 Mar 2000 23:29:08 +0000 (23:29 +0000)]
AETransactionID was mistakenly defined as a short (it is a long). Fixed.

24 years agoFix bogus error reporting on strptime: let PyArg_ParseTuple set exception.
Jeremy Hylton [Tue, 14 Mar 2000 21:17:16 +0000 (21:17 +0000)]
Fix bogus error reporting on strptime: let PyArg_ParseTuple set exception.
Also, wrap long line.

24 years agoMarc-Andre Lemburg: add declaration for PyUnicode_Contains().
Guido van Rossum [Mon, 13 Mar 2000 23:22:24 +0000 (23:22 +0000)]
Marc-Andre Lemburg: add declaration for PyUnicode_Contains().

24 years agoMarc-Andre Lemburg: Add tests for mixed use of char in string.
Guido van Rossum [Mon, 13 Mar 2000 23:21:48 +0000 (23:21 +0000)]
Marc-Andre Lemburg: Add tests for mixed use of char in string.

24 years agoChecking in the new, improve file.writelines() code.
Guido van Rossum [Mon, 13 Mar 2000 16:27:06 +0000 (16:27 +0000)]
Checking in the new, improve file.writelines() code.

This (1) avoids thread unsafety whereby another thread could zap the
list while we were using it, and (2) now supports writing arbitrary
sequences of strings.

24 years agoChristian Tismer's "trashcan" patch:
Guido van Rossum [Mon, 13 Mar 2000 16:01:29 +0000 (16:01 +0000)]
Christian Tismer's "trashcan" patch:

Added wrapping macros to dictobject.c, listobject.c, tupleobject.c,
frameobject.c, traceback.c that safely prevends core dumps
on stack overflow. Macros and functions in object.c, object.h.
The method is an "elevator destructor" that turns cascading
deletes into tail recursive behavior when some limit is hit.

24 years agoFix typo in replace() detected by Mark Hammond and fixed by Marc-Andre.
Guido van Rossum [Mon, 13 Mar 2000 15:56:08 +0000 (15:56 +0000)]
Fix typo in replace() detected by Mark Hammond and fixed by Marc-Andre.

24 years agoAdd sq_contains implementation.
Guido van Rossum [Mon, 13 Mar 2000 15:55:09 +0000 (15:55 +0000)]
Add sq_contains implementation.

24 years agoAdded Christian Tismer's patch to allow list.append(a,b,c) back --
Guido van Rossum [Mon, 13 Mar 2000 15:41:59 +0000 (15:41 +0000)]
Added Christian Tismer's patch to allow list.append(a,b,c) back --
with a twist: you have to define NO_STRICT_LIST_APPEND manually
to enable multi-arg append().

24 years agoAdded encodings to the LIBSUBDIRS variable, so that they get installed.
Guido van Rossum [Mon, 13 Mar 2000 15:22:27 +0000 (15:22 +0000)]
Added encodings to the LIBSUBDIRS variable, so that they get installed.
Noted by Michael Hudson.

24 years agoTim Peters writes:
Guido van Rossum [Mon, 13 Mar 2000 14:50:24 +0000 (14:50 +0000)]
Tim Peters writes:

Fix bad auto-indent I recently introduced when replacing the regexp that
could cause re to blow up:

    if or_any_other_block_opener:
        # one indenting comment line
            ^ cursor ended up at the caret (the bug)
        ^ but belongs here (the post-patch behavior)

24 years agoVC++ project changes to add new Unicode files and modules.
Guido van Rossum [Sat, 11 Mar 2000 00:13:14 +0000 (00:13 +0000)]
VC++ project changes to add new Unicode files and modules.
(I did this under VC++ 5.0 -- hope this doesn't break anything.)

24 years agoMarc-Andre Lemburg: test script for Unicode implementation.
Guido van Rossum [Fri, 10 Mar 2000 23:23:21 +0000 (23:23 +0000)]
Marc-Andre Lemburg: test script for Unicode implementation.

24 years agoMarc-Andre Lemburg: the maxsplit argument for split() and replace()
Guido van Rossum [Fri, 10 Mar 2000 23:22:10 +0000 (23:22 +0000)]
Marc-Andre Lemburg: the maxsplit argument for split() and replace()
now defaults to -1, not to 0.  Passing an explicit zero doesn't split
or replace at all.

24 years agoModule codecs -- Python Codec Registry, API and helpers. Written by
Guido van Rossum [Fri, 10 Mar 2000 23:20:43 +0000 (23:20 +0000)]
Module codecs -- Python Codec Registry, API and helpers.  Written by
Marc-Andre Lemburg.

24 years agoMarc-Andre Lemburg: support pickling Unicode objects, both in text
Guido van Rossum [Fri, 10 Mar 2000 23:20:09 +0000 (23:20 +0000)]
Marc-Andre Lemburg: support pickling Unicode objects, both in text
mode ('V') and in binary mode ('X').

24 years agoMarc-Andre Lemburg: add UnicodeType.
Guido van Rossum [Fri, 10 Mar 2000 23:18:11 +0000 (23:18 +0000)]
Marc-Andre Lemburg: add UnicodeType.

24 years agoMarc-Andre Lemburg: Unicode encodings.
Guido van Rossum [Fri, 10 Mar 2000 23:17:24 +0000 (23:17 +0000)]
Marc-Andre Lemburg: Unicode encodings.

24 years agoMarc-Andre Lemburg: Add UnicodeError, derived from ValueError.
Guido van Rossum [Fri, 10 Mar 2000 23:16:02 +0000 (23:16 +0000)]
Marc-Andre Lemburg: Add UnicodeError, derived from ValueError.

24 years agoMarc-Andre Lemburg: Python Unicode integration proposal, version 1.2.
Guido van Rossum [Fri, 10 Mar 2000 23:14:11 +0000 (23:14 +0000)]
Marc-Andre Lemburg: Python Unicode integration proposal, version 1.2.

24 years agoMarc-Andre Lemburg: add new Unicode-related files.
Guido van Rossum [Fri, 10 Mar 2000 23:12:33 +0000 (23:12 +0000)]
Marc-Andre Lemburg: add new Unicode-related files.

24 years agoMarc-Andre Lemburg: Add _codecs and unicodedata modules.
Guido van Rossum [Fri, 10 Mar 2000 23:12:08 +0000 (23:12 +0000)]
Marc-Andre Lemburg: Add _codecs and unicodedata modules.

24 years agoMarc-Andre Lemburg: support pickling Unicode objects, both in text
Guido van Rossum [Fri, 10 Mar 2000 23:11:40 +0000 (23:11 +0000)]
Marc-Andre Lemburg: support pickling Unicode objects, both in text
mode ('V') and in binary mode ('X').

24 years agoModule unicodedata -- Provides access to the Unicode 3.0 data base.
Guido van Rossum [Fri, 10 Mar 2000 23:10:21 +0000 (23:10 +0000)]
Module unicodedata -- Provides access to the Unicode 3.0 data base.
Written by Marc-Andre Lemburg.

24 years agoInternal module _codecs -- Provides access to the codec registry and
Guido van Rossum [Fri, 10 Mar 2000 23:09:23 +0000 (23:09 +0000)]
Internal module _codecs -- Provides access to the codec registry and
the builtin codecs.  Written by Marc-Andre Lemburg.

24 years agoMarc-Andre-Lemburg: The Unicode Database.
Guido van Rossum [Fri, 10 Mar 2000 23:08:04 +0000 (23:08 +0000)]
Marc-Andre-Lemburg: The Unicode Database.

24 years agoMarc-Andre Lemburg: add new unicode files
Guido van Rossum [Fri, 10 Mar 2000 23:04:14 +0000 (23:04 +0000)]
Marc-Andre Lemburg: add new unicode files

24 years agoMarc-Andre Lemburg: add calls to initialize and finalize Unicode and
Guido van Rossum [Fri, 10 Mar 2000 23:03:54 +0000 (23:03 +0000)]
Marc-Andre Lemburg: add calls to initialize and finalize Unicode and
Codec registry.

24 years agoMarc-Andre Lemburg: support marshalling Unicode objects (code 'u').
Guido van Rossum [Fri, 10 Mar 2000 23:03:02 +0000 (23:03 +0000)]
Marc-Andre Lemburg: support marshalling Unicode objects (code 'u').

24 years agoMarc-Andre Lemburg: support for Unicode strings; 'U' expects a Unicode
Guido van Rossum [Fri, 10 Mar 2000 23:02:17 +0000 (23:02 +0000)]
Marc-Andre Lemburg: support for Unicode strings; 'U' expects a Unicode
object.

24 years agoMarc-Andre Lemburg: support for Unicode string literals (u"...", ur"...").
Guido van Rossum [Fri, 10 Mar 2000 23:01:36 +0000 (23:01 +0000)]
Marc-Andre Lemburg: support for Unicode string literals (u"...", ur"...").

24 years agoMarc-Andre Lemburg: added new builtin functions unicode() and
Guido van Rossum [Fri, 10 Mar 2000 23:00:52 +0000 (23:00 +0000)]
Marc-Andre Lemburg: added new builtin functions unicode() and
unichr(); changed ord() to support Unicode strings; added new
exception UnicodeError; fixed a typo in doc string for buffer().

24 years agoPython Codec Registry and support functions, written by Marc-Andre
Guido van Rossum [Fri, 10 Mar 2000 22:57:27 +0000 (22:57 +0000)]
Python Codec Registry and support functions, written by Marc-Andre
Lemburg.

24 years agoMarc-Andre Lemburg: add new string token types u"..." and ur"..."
Guido van Rossum [Fri, 10 Mar 2000 22:56:54 +0000 (22:56 +0000)]
Marc-Andre Lemburg: add new string token types u"..." and ur"..."
(Unicode and raw Unicode).

24 years agoMarc-AAndre Lemburg: add new unicode files
Guido van Rossum [Fri, 10 Mar 2000 22:55:40 +0000 (22:55 +0000)]
Marc-AAndre Lemburg: add new unicode files

24 years agoMany changes for Unicode, by Marc-Andre Lemburg.
Guido van Rossum [Fri, 10 Mar 2000 22:55:18 +0000 (22:55 +0000)]
Many changes for Unicode, by Marc-Andre Lemburg.

24 years agoUnicode implementation by Marc-Andre Lemburg based on original code by
Guido van Rossum [Fri, 10 Mar 2000 22:53:23 +0000 (22:53 +0000)]
Unicode implementation by Marc-Andre Lemburg based on original code by
Fredrik Lundh.

24 years agoUnicode character type helpers, written by Marc-Andre Lemburg.
Guido van Rossum [Fri, 10 Mar 2000 22:52:46 +0000 (22:52 +0000)]
Unicode character type helpers, written by Marc-Andre Lemburg.

24 years agoMarc-Andre Lemburg: added
Guido van Rossum [Fri, 10 Mar 2000 22:36:57 +0000 (22:36 +0000)]
Marc-Andre Lemburg: added
gencodec.py - Create Python codecs from Unicode mapping files

24 years agoMarc-Andre Lemburg: added declarations for PyObject_AsCharBuffer,
Guido van Rossum [Fri, 10 Mar 2000 22:35:06 +0000 (22:35 +0000)]
Marc-Andre Lemburg: added declarations for PyObject_AsCharBuffer,
PyObject_AsReadBuffer, PyObject_AsWriteBuffer.

24 years agoMarc-Andre Lemburg: include unicodeobject.h and codecs.h
Guido van Rossum [Fri, 10 Mar 2000 22:34:00 +0000 (22:34 +0000)]
Marc-Andre Lemburg: include unicodeobject.h and codecs.h

24 years agoMarc-Andre Lemburg: add PyExc_UnicodeError
Guido van Rossum [Fri, 10 Mar 2000 22:33:32 +0000 (22:33 +0000)]
Marc-Andre Lemburg: add PyExc_UnicodeError

24 years agoUnicode implementation by Marc-Andre Lemburg based on original code by Fredrik Lundh.
Guido van Rossum [Fri, 10 Mar 2000 22:33:05 +0000 (22:33 +0000)]
Unicode implementation by Marc-Andre Lemburg based on original code by Fredrik Lundh.

24 years agoPython Codec Registry and support functions, by Marc-Andre Lemburg.
Guido van Rossum [Fri, 10 Mar 2000 22:32:23 +0000 (22:32 +0000)]
Python Codec Registry and support functions, by Marc-Andre Lemburg.

24 years agoPart of the Unicode checkin for Marc-Andre Lemburg.
Guido van Rossum [Fri, 10 Mar 2000 22:30:29 +0000 (22:30 +0000)]
Part of the Unicode checkin for Marc-Andre Lemburg.
Some new configuration tests and a new option, --with-wctype-functions.

24 years agoCatch up with change to CCompiler API: call 'create_static_lib()', not
Greg Ward [Fri, 10 Mar 2000 02:02:44 +0000 (02:02 +0000)]
Catch up with change to CCompiler API: call 'create_static_lib()', not
'link_static_lib()'.

24 years ago[from 2000-02-25] Second attempt at describing an installation scheme; this is
Greg Ward [Fri, 10 Mar 2000 01:57:51 +0000 (01:57 +0000)]
[from 2000-02-25] Second attempt at describing an installation scheme; this is
the simplified scheme that Guido proposed.  Also already-obsolete,
and saved only for posterity.

24 years ago[from 2000-02-23] Description of the baroque and already-obsolete
Greg Ward [Fri, 10 Mar 2000 01:56:58 +0000 (01:56 +0000)]
[from 2000-02-23] Description of the baroque and already-obsolete
installation scheme that Fred Drake and I cooked up.  Only saved for
posterity.

24 years agoRenamed 'link_static_lib() to 'create_static_lib()', and rewrote it create
Greg Ward [Fri, 10 Mar 2000 01:49:26 +0000 (01:49 +0000)]
Renamed 'link_static_lib() to 'create_static_lib()', and rewrote it create
a static library (using lib.exe as found by '__init__()', hopefully through
registry entries pointing to DevStudio).

24 years agoRenamed 'link_static_lib() to 'create_static_lib()'.
Greg Ward [Fri, 10 Mar 2000 01:48:32 +0000 (01:48 +0000)]
Renamed 'link_static_lib() to 'create_static_lib()'.

24 years agoa simple client-server framework for executing code in a different
Jeremy Hylton [Thu, 9 Mar 2000 19:56:50 +0000 (19:56 +0000)]
a simple client-server framework for executing code in a different
process

not yet connected with IDLE