Guido van Rossum
76bd689a8d
VC++ project changes to add new Unicode files and modules.
...
(I did this under VC++ 5.0 -- hope this doesn't break anything.)
2000-03-11 00:13:14 +00:00
Guido van Rossum
a831cac7a8
Marc-Andre Lemburg: test script for Unicode implementation.
2000-03-10 23:23:21 +00:00
Guido van Rossum
8f0c5a7742
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.
2000-03-10 23:22:10 +00:00
Guido van Rossum
0612d84155
Module codecs -- Python Codec Registry, API and helpers. Written by
...
Marc-Andre Lemburg.
2000-03-10 23:20:43 +00:00
Guido van Rossum
b5f2f1bb6f
Marc-Andre Lemburg: support pickling Unicode objects, both in text
...
mode ('V') and in binary mode ('X').
2000-03-10 23:20:09 +00:00
Guido van Rossum
85eacecaa0
Marc-Andre Lemburg: add UnicodeType.
2000-03-10 23:18:11 +00:00
Guido van Rossum
0229bf6001
Marc-Andre Lemburg: Unicode encodings.
2000-03-10 23:17:24 +00:00
Guido van Rossum
21288edad0
Marc-Andre Lemburg: Add UnicodeError, derived from ValueError.
2000-03-10 23:16:02 +00:00
Guido van Rossum
9ed0d1ef18
Marc-Andre Lemburg: Python Unicode integration proposal, version 1.2.
2000-03-10 23:14:11 +00:00
Guido van Rossum
e141fd84e9
Marc-Andre Lemburg: add new Unicode-related files.
2000-03-10 23:12:33 +00:00
Guido van Rossum
c7de91bf9c
Marc-Andre Lemburg: Add _codecs and unicodedata modules.
2000-03-10 23:12:08 +00:00
Guido van Rossum
5fccb7c58e
Marc-Andre Lemburg: support pickling Unicode objects, both in text
...
mode ('V') and in binary mode ('X').
2000-03-10 23:11:40 +00:00
Guido van Rossum
2a70a3a8fc
Module unicodedata -- Provides access to the Unicode 3.0 data base.
...
Written by Marc-Andre Lemburg.
2000-03-10 23:10:21 +00:00
Guido van Rossum
e2d67f98d1
Internal module _codecs -- Provides access to the codec registry and
...
the builtin codecs. Written by Marc-Andre Lemburg.
2000-03-10 23:09:23 +00:00
Guido van Rossum
5bfc2eb697
Marc-Andre-Lemburg: The Unicode Database.
2000-03-10 23:08:04 +00:00
Guido van Rossum
2d0f5f932a
Marc-Andre Lemburg: add new unicode files
2000-03-10 23:04:14 +00:00
Guido van Rossum
c94044c11d
Marc-Andre Lemburg: add calls to initialize and finalize Unicode and
...
Codec registry.
2000-03-10 23:03:54 +00:00
Guido van Rossum
c279b53b4f
Marc-Andre Lemburg: support marshalling Unicode objects (code 'u').
2000-03-10 23:03:02 +00:00
Guido van Rossum
e826ef0a89
Marc-Andre Lemburg: support for Unicode strings; 'U' expects a Unicode
...
object.
2000-03-10 23:02:17 +00:00
Guido van Rossum
5aa88f097f
Marc-Andre Lemburg: support for Unicode string literals (u"...", ur"...").
2000-03-10 23:01:36 +00:00
Guido van Rossum
09095f3f61
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().
2000-03-10 23:00:52 +00:00
Guido van Rossum
feee4b994f
Python Codec Registry and support functions, written by Marc-Andre
...
Lemburg.
2000-03-10 22:57:27 +00:00
Guido van Rossum
86016cb482
Marc-Andre Lemburg: add new string token types u"..." and ur"..."
...
(Unicode and raw Unicode).
2000-03-10 22:56:54 +00:00
Guido van Rossum
4aa1e63e4c
Marc-AAndre Lemburg: add new unicode files
2000-03-10 22:55:40 +00:00
Guido van Rossum
4c08d554b9
Many changes for Unicode, by Marc-Andre Lemburg.
2000-03-10 22:55:18 +00:00
Guido van Rossum
d57fd91488
Unicode implementation by Marc-Andre Lemburg based on original code by
...
Fredrik Lundh.
2000-03-10 22:53:23 +00:00
Guido van Rossum
603484d759
Unicode character type helpers, written by Marc-Andre Lemburg.
2000-03-10 22:52:46 +00:00
Guido van Rossum
34a79115c5
Marc-Andre Lemburg: added
...
gencodec.py - Create Python codecs from Unicode mapping files
2000-03-10 22:36:57 +00:00
Guido van Rossum
fd9eed33aa
Marc-Andre Lemburg: added declarations for PyObject_AsCharBuffer,
...
PyObject_AsReadBuffer, PyObject_AsWriteBuffer.
2000-03-10 22:35:06 +00:00
Guido van Rossum
bd7dfbc146
Marc-Andre Lemburg: include unicodeobject.h and codecs.h
2000-03-10 22:34:00 +00:00
Guido van Rossum
99cc97109e
Marc-Andre Lemburg: add PyExc_UnicodeError
2000-03-10 22:33:32 +00:00
Guido van Rossum
d822518fa8
Unicode implementation by Marc-Andre Lemburg based on original code by Fredrik Lundh.
2000-03-10 22:33:05 +00:00
Guido van Rossum
3094484106
Python Codec Registry and support functions, by Marc-Andre Lemburg.
2000-03-10 22:32:23 +00:00
Guido van Rossum
ef2255b1dd
Part of the Unicode checkin for Marc-Andre Lemburg.
...
Some new configuration tests and a new option, --with-wctype-functions.
2000-03-10 22:30:29 +00:00
Greg Ward
92f3377078
Catch up with change to CCompiler API: call 'create_static_lib()', not
...
'link_static_lib()'.
2000-03-10 02:02:44 +00:00
Greg Ward
169f91b808
[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.
2000-03-10 01:57:51 +00:00
Greg Ward
7c1e5f65e3
[from 2000-02-23] Description of the baroque and already-obsolete
...
installation scheme that Fred Drake and I cooked up. Only saved for
posterity.
2000-03-10 01:56:58 +00:00
Greg Ward
09fc542b27
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).
2000-03-10 01:49:26 +00:00
Greg Ward
036c805958
Renamed 'link_static_lib() to 'create_static_lib()'.
2000-03-10 01:48:32 +00:00
Jeremy Hylton
329e4be05a
a simple client-server framework for executing code in a different
...
process
not yet connected with IDLE
2000-03-09 19:56:50 +00:00
Fred Drake
c1ee39a99e
There are a few places which can raise DistutilsPlatformError; make
...
sure it's imported! ;)
Re-wrap the docstrings on get_python_inc() and get_python_lib() to be
closer to the "normal" Python style. See GvR's "style guide" on the
essays page (http://www.python.org/doc/essays/ ).
There should never be a space between a function name and the '(' that
opens the argument list (see the style guide again).
2000-03-09 15:54:52 +00:00
Greg Ward
7d73b9eb18
Added Joe Van Andel's 'get_python_inc()', adapted by me to supply
...
the platform-neutral include dir by default and with Mac support.
Added 'get_python_lib()', inspired by 'get_python_inc()'.
Rewrote 'get_config_h_filename()' and 'get_makefile_filename()'
in terms of 'get_python_inc()' and 'get_python_lib()'.
Changed '_init_nt()' and '_init_mac()' to use 'get_python_inc()' and
'get_python_lib()' for directory names.
2000-03-09 03:16:05 +00:00
Jack Jansen
add03b62fd
Handles were never disposed. Added an AutoDispose(onoff) method to control this.
...
Also added a Handle() function which is like Resource() but has auto-dispose on by default.
2000-03-08 16:58:15 +00:00
Barry Warsaw
a17e0f1b61
A bunch of changes, primarily to command line argument parsing
...
(inspired by Detlef Lannert). Specifically,
-k/--keyword no longer takes an optional argument to clear the
default keywords. Instead, use -K/--no-default-keywords to clear
them.
-n/--add-location also no longer takes an optional argument to set
the comment style. Instead, use -S/--style to set the comment
style to GNU or Solaris.
-o/--output can take `-' as the filename, meaning write to
standard output.
The inputfile name can also be `-' meaning read from standard in.
A few other changes include
Kludge to mark the file docstring as translatable. Since the
marking is to place _() around the docstring, and because we
actually have to define the _() function before we use it, this
means that we have to manually assign to __doc__ the output of
_(). This doesn't seem too bad because you'll only use this idiom
when translating a script's docstring (you really don't need to
translate most module docstrings).
Convert everything to string methods and do not import the string
module.
Bump the version number to 1.1
2000-03-08 15:18:35 +00:00
Jack Jansen
34d11f0670
Fixed multi-arg appends.
2000-03-07 23:40:13 +00:00
Guido van Rossum
9de988315a
Override the Undo delegator to forbid any changes before the I/O mark.
...
It beeps if you try to insert or delete before the "iomark" mark.
This makes the shell less confusing for newbies.
2000-03-07 18:51:49 +00:00
Jeremy Hylton
6fbd1f85d9
replace : with =
2000-03-07 17:56:47 +00:00
Jeremy Hylton
ae1f3bd7bd
rename the global IdleConfParser object from IdleConf to idleconf
...
standard usage is now from IdleConf import idleconf
2000-03-07 17:56:27 +00:00
Jeremy Hylton
6b3edf0510
rename the global IdleConfParser object from IdleConf to idleconf
...
standard usage is now from IdleConf import idleconf
replace : with = in config.txt
2000-03-07 17:55:32 +00:00
Guido van Rossum
ba23bed340
Tweak the goto file/line command (in the right button menu in PyShell
...
and output windows) so that it if it doesn't succeed with the line
at the cursor, it tries the line before that. This is handy with
tracebacks, where my natural tendency is to click in the displayed
source line rather than in the file/line indicator just above it.
Now I can indulge this tendency.
I factored out a helper and changed the error handling so that a
non-existing file is treated as if the line didn't match -- this is
handy because some function calls (e.g. "foo.bar(1)") match the grep
pattern.
2000-03-07 16:25:11 +00:00