Commit Graph

511 Commits

Author SHA1 Message Date
Marc-André Lemburg bff879cabb This patch finalizes the move from UTF-8 to a default encoding in
the Python Unicode implementation.

The internal buffer used for implementing the buffer protocol
is renamed to defenc to make this change visible. It now holds the
default encoded version of the Unicode object and is calculated
on demand (NULL otherwise).

Since the default encoding defaults to ASCII, this will mean that
Unicode objects which hold non-ASCII characters will no longer
work on C APIs using the "s" or "t" parser markers. C APIs must now
explicitly provide Unicode support via the "u", "U" or "es"/"es#"
parser markers in order to work with non-ASCII Unicode strings.

(Note: this patch will also have to be applied to the 1.6 branch
 of the CVS tree.)
2000-08-03 18:46:08 +00:00
Peter Schneider-Kamp 397be50a88 moving files to nondist/sf-html 2000-07-14 08:54:58 +00:00
Vladimir Marangozov a1dbd1b21b Gosh - clean up that messy HTML; make it valid XHTML instead. 2000-07-14 06:22:54 +00:00
Peter Schneider-Kamp 374724ed74 added information how to edit pages at http://python.sourceforge.net 2000-07-14 01:43:31 +00:00
Peter Schneider-Kamp 737bcc3466 small FAQ about Python CVS and patches at SourceForge 2000-07-14 01:28:47 +00:00
Guido van Rossum fd71b9e9d4 Change copyright notice. 2000-06-30 23:50:40 +00:00
Guido van Rossum 8f8e2428f7 s/REGENTS/COPYRIGHT HOLDERS/ followed by paragraph reflow. 2000-06-30 20:22:36 +00:00
Fred Drake 1d758b0108 The new copyright / license. 2000-06-30 18:41:01 +00:00
Barry Warsaw 6de7213e7a Setup.thread => Setup.config 2000-06-30 16:04:18 +00:00
Greg Ward 6fc9f8ed18 Typo fix. 2000-06-29 12:45:50 +00:00
Guido van Rossum e8d2d6b34c Some new names (some contributors of patches that haven't even been
accepted yet!)
2000-06-29 00:04:51 +00:00
Barry Warsaw 99eadf4de9 (py-execute-region): Make sure the new temporary buffer is current for
the insertion of the text.
2000-06-23 20:24:25 +00:00
Marc-André Lemburg bfa36f5407 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.
2000-06-08 17:51:33 +00:00
Barry Warsaw caee2fe35d (py-execute-region): Based on suggestions by Francois Pinard and Skip
Montanaro, handle execution of indented regions by inserting an "if
1:" in front of the block.  This better preserves things like triple
quoted strings and commented regions.  This patch resolves PR#264.
2000-05-23 05:47:43 +00:00
Guido van Rossum 9ab06ee7b2 Added a few new names... 2000-05-11 18:20:30 +00:00
Fred Drake a69ef82643 M.-A. Lemburg <mal@lemburg.com>:
Added a useful link to Markus Kuhn's Unicode and UTF-8
FAQ.
2000-05-09 19:58:19 +00:00
Fred Drake 10dfd4c1c3 M.-A. Lemburg <mal@lemburg.com>:
Updated to version 1.4.
2000-04-13 14:12:38 +00:00
Guido van Rossum 2581764f21 Version 1.3 of the Python Unicode Integration proposal. 2000-04-10 19:45:09 +00:00
Guido van Rossum 0b4400e86c Bunch of new names, mostly from patches and bugs mailing lists
(everyone who said something remotely useful in the last 100 messages
I archived has been added :-).
2000-04-10 19:14:16 +00:00
Guido van Rossum 494ef17472 Two more names. I just realize that there may be more contributors to
distutils lurking in CVS logs that I probably haven't read.  Oh well.
2000-03-31 19:51:06 +00:00
Guido van Rossum 5964f8d60b I believe I've now got all the names mentioned in the CVS logs since
1.5.2 was released, except those who contributed only to Doc files --
Fred has his own way of doing this.

This doesn't mean that I've got everyone who contributed *before*
1.5.2 was released in here... :-(
2000-03-31 19:45:17 +00:00
Guido van Rossum 0380c2638c More names. 2000-03-31 13:01:57 +00:00
Guido van Rossum fb2789f387 Couple more names. We need to add way more names -- I'll have to dig
them out of the changelogs :-(
2000-03-31 00:45:00 +00:00
Jeremy Hylton 7690151c7e slightly modified version of Greg Ewing's extended call syntax patch
executive summary:
Instead of typing 'apply(f, args, kwargs)' you can type 'f(*arg, **kwargs)'.
Some file-by-file details follow.

Grammar/Grammar:
    simplify varargslist, replacing '*' '*' with '**'
    add * & ** options to arglist

Include/opcode.h & Lib/dis.py:
    define three new opcodes
        CALL_FUNCTION_VAR
        CALL_FUNCTION_KW
        CALL_FUNCTION_VAR_KW

Python/ceval.c:
    extend TypeError "keyword parameter redefined" message to include
        the name of the offending keyword
    reindent CALL_FUNCTION using four spaces
    add handling of sequences and dictionaries using extend calls
    fix function import_from to use PyErr_Format
2000-03-28 23:49:17 +00:00
Guido van Rossum 24bdb0474f Marc-Andre Lemburg:
The attached patch set includes a workaround to get Python with
Unicode compile on BSDI 4.x (courtesy Thomas Wouters; the cause
is a bug in the BSDI wchar.h header file) and Python interfaces
for the MBCS codec donated by Mark Hammond.

Also included are some minor corrections w/r to the docs of
the new "es" and "es#" parser markers (use PyMem_Free() instead
of free(); thanks to Mark Hammond for finding these).

The unicodedata tests are now in a separate file
(test_unicodedata.py) to avoid problems if the module cannot
be found.
2000-03-28 20:29:59 +00:00
Guido van Rossum d8855fde88 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#".
2000-03-24 22:14:19 +00:00
Barry Warsaw 51ac58039f 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).
2000-03-20 16:36:48 +00:00
Guido van Rossum 9ed0d1ef18 Marc-Andre Lemburg: Python Unicode integration proposal, version 1.2. 2000-03-10 23:14:11 +00:00
Barry Warsaw c6f8fd925e Last try, think I got it now. 1999-12-01 23:40:01 +00:00
Barry Warsaw 490b15d30b Once more 1999-12-01 23:38:27 +00:00
Barry Warsaw a20a1e7d4b Once more 1999-12-01 23:38:03 +00:00
Barry Warsaw 6b96ec3625 Urg! 1999-12-01 23:36:42 +00:00
Barry Warsaw 6c3e3a90df more trivial stuff to test CVS -- should be the last? 1999-12-01 23:30:46 +00:00
Barry Warsaw 0afe026108 testing CVS once more 1999-12-01 23:29:10 +00:00
Barry Warsaw fcd490b290 testing CVS 1999-12-01 23:25:55 +00:00
Barry Warsaw 71d9f0dba1 testing CVS 1999-12-01 23:23:32 +00:00
Barry Warsaw 34790539a9 testing CVS 1999-12-01 23:01:50 +00:00
Barry Warsaw a8a57a7e03 testing CVS 1999-12-01 22:55:28 +00:00
Barry Warsaw 8896a2bd27 Minor change to test new CVS reporting 1999-12-01 22:53:10 +00:00
Barry Warsaw de4636c232 Minor change to test new CVS reporting 1999-12-01 22:52:19 +00:00
Barry Warsaw 61c0461c24 Minor change to test new CVS reporting 1999-12-01 22:47:14 +00:00
Barry Warsaw 086bc367ee Minor change to test new CVS reporting 1999-12-01 22:46:09 +00:00
Barry Warsaw bda81c86af Minor change to test new CVS reporting 1999-12-01 22:43:04 +00:00
Barry Warsaw 0319b370d0 Minor change to test new CVS reporting 1999-12-01 22:38:59 +00:00
Barry Warsaw 554cd94096 Minor change to test new CVS reporting 1999-12-01 22:34:42 +00:00
Guido van Rossum fd6aabbb35 Checking in text versions of release forms and explanation. 1999-11-05 15:21:08 +00:00
Fred Drake f2e9e2978e Oops, better update the date on the .TH line. 1999-08-20 13:30:49 +00:00
Fred Drake 4c9be9dffa Various updates, mostly to add information to the SEE ALSO and
INTERNET RESOURCES sections based on c.l.py comments.
1999-08-20 13:10:20 +00:00
Barry Warsaw 50765abb29 (py-shell): Set the default shell if not set yet. It's sometimes
convenient to call py-shell before the first Python file has been
visited.
1999-08-10 21:49:00 +00:00
Barry Warsaw 5ed843fc52 A few minor Customize changes:
(python): Set defgroup :prefix to "py-" to make variable names cleaner.

(py-jpython-command, py-jpython-command-args): Set :tag for proper
capitalization of JPython in variable name display.
1999-07-28 22:06:06 +00:00