]> granicus.if.org Git - python/log
python
24 years agoGet rid of string functions.
Guido van Rossum [Fri, 15 Dec 2000 15:49:08 +0000 (15:49 +0000)]
Get rid of string functions.

24 years agoGet rid of string functions. References to string.whitespace,
Guido van Rossum [Fri, 15 Dec 2000 15:37:48 +0000 (15:37 +0000)]
Get rid of string functions.  References to string.whitespace,
string.digits are left.

24 years agoGet rid of string functions.
Guido van Rossum [Fri, 15 Dec 2000 15:09:42 +0000 (15:09 +0000)]
Get rid of string functions.

There should really be a little tool to help with this -- it's rather
tedious and there are lots of special cases!

24 years agoGet rid of string functions, except maketrans() (which is *not*
Guido van Rossum [Fri, 15 Dec 2000 15:01:37 +0000 (15:01 +0000)]
Get rid of string functions, except maketrans() (which is *not*
obsolete!).

Fix a bug in ftpwrapper.retrfile() where somehow ftplib.error_perm was
assumed to be a string.  (The fix applies str().)

Also break some long lines and change the output from test() slightly.

24 years agoAdd test case for error message raised by bad % format character
Andrew M. Kuchling [Fri, 15 Dec 2000 13:09:06 +0000 (13:09 +0000)]
Add test case for error message raised by bad % format character
(Oh, look, it adds another little utility function for testing)

24 years ago[ Patch #102852 ] Make % error a bit more informative by indicates the
Andrew M. Kuchling [Fri, 15 Dec 2000 13:07:46 +0000 (13:07 +0000)]
[ Patch #102852 ] Make % error a bit more informative by indicates the
index at which an unknown %-escape was found

24 years agoGrant Griffin <grant.griffin@honeywell.com>:
Fred Drake [Fri, 15 Dec 2000 05:41:49 +0000 (05:41 +0000)]
Grant Griffin <grant.griffin@honeywell.com>:
Clarify that invert() is a *bitwise* operation.

24 years agoFix typo
Andrew M. Kuchling [Fri, 15 Dec 2000 01:16:43 +0000 (01:16 +0000)]
Fix typo

24 years agoDocument napms()
Andrew M. Kuchling [Fri, 15 Dec 2000 01:03:23 +0000 (01:03 +0000)]
Document napms()
Add reference to demo directory

24 years ago[Patch #102827] Fix for PR#119558, avoiding core dumps by checking for
Andrew M. Kuchling [Fri, 15 Dec 2000 00:59:32 +0000 (00:59 +0000)]
[Patch #102827] Fix for PR#119558, avoiding core dumps by checking for
malloc() returning NULL

24 years agoWrapper for napms() function, contributed by Thomas Gellekum <tg@FreeBSD.org>
Andrew M. Kuchling [Fri, 15 Dec 2000 00:44:02 +0000 (00:44 +0000)]
Wrapper for napms() function, contributed by Thomas Gellekum <tg@FreeBSD.org>

24 years agoCurses demos contributed by Thomas Gellekum <tg@FreeBSD.org>.
Andrew M. Kuchling [Fri, 15 Dec 2000 00:41:48 +0000 (00:41 +0000)]
Curses demos contributed by Thomas Gellekum <tg@FreeBSD.org>.
ncurses.py requires panel support, and therefore doesn't work yet.

24 years agoVarious tweaks. It now returns the exact same files as Matthias' tool 95% of the...
Jack Jansen [Thu, 14 Dec 2000 23:35:01 +0000 (23:35 +0000)]
Various tweaks. It now returns the exact same files as Matthias' tool 95% of the time.

24 years agoOops, interaction() returned a single value in stead of a tuple (I thought that bug...
Jack Jansen [Thu, 14 Dec 2000 23:34:15 +0000 (23:34 +0000)]
Oops, interaction() returned a single value in stead of a tuple (I thought that bug was loooong fixed??!?).

24 years agoFirst stab at a script that mimicks Matthias Neerachers tool used to build GUSI.
Jack Jansen [Thu, 14 Dec 2000 22:29:58 +0000 (22:29 +0000)]
First stab at a script that mimicks Matthias Neerachers tool used to build GUSI.

24 years agoSet autodispose only if RefCon isn't set yet on the window. This way we don't acciden...
Jack Jansen [Thu, 14 Dec 2000 22:29:00 +0000 (22:29 +0000)]
Set autodispose only if RefCon isn't set yet on the window. This way we don't accidentally dispose of windows that are actually dialogs-in-disguise.

24 years agoFix bit rot: use sock.connect((host, port)) and allow 2nd cmd line
Guido van Rossum [Thu, 14 Dec 2000 22:12:33 +0000 (22:12 +0000)]
Fix bit rot: use sock.connect((host, port)) and allow 2nd cmd line
arg.

24 years agoFor the title page, insert the package version number before the date.
Fred Drake [Thu, 14 Dec 2000 18:36:12 +0000 (18:36 +0000)]
For the title page, insert the package version number before the date.
This makes the title area more like the title are of the top-level
index, and puts the information more people are interested in first.

24 years agoUpdate the test suite to cover more ground.
Fred Drake [Thu, 14 Dec 2000 18:20:22 +0000 (18:20 +0000)]
Update the test suite to cover more ground.

This closes patch #102477.

24 years agoLots of small bug fixes and DOM API conformance improvements:
Fred Drake [Thu, 14 Dec 2000 18:16:11 +0000 (18:16 +0000)]
Lots of small bug fixes and DOM API conformance improvements:

Make Node inherit from xml.dom.Node to pick up the NodeType values
defined by the W3C recommendation.

When raising AttributeError, be sure to provide the name of the attribute
that does not exist.

Node.normalize():  Make sure we do not allow an empty text node to survive
                   as the first child; update the sibling links properly.

_getElementsByTagNameNSHelper():  Make recursive calls using the right
                                  number of parameters.

Attr.__setattr__():  Be sure to update name and nodeName at the same time
                     since they are synonyms for this node type.

AttributeList:  Renamed to NamedNodeMap (AttributeList maintained as an
                alias).  Compute the length attribute dynamically to allow
                the underlying structures to mutate.

AttributeList.item():  Call .keys() on the dictionary rather than using
                       self.keys() for performance.

AttributeList.setNamedItem(), .setNamedItemNS():
        Added methods.

Text.splitText():
        Added method.

DocumentType:
        Added implementation class.

DOMImplementation:
        Added implementation class.

Document.appendChild():  Do not allow a second document element to be added.

Document.documentElement:  Find this dynamically, so that one can be
        removed and another added.

Document.unlink():  Clear the doctype attribute.

_get_StringIO():  Only use the StringIO module; cStringIO does not support
                  Unicode.

24 years agoAdjust PullDOM to use a DOMImplementation instance to create new Document
Fred Drake [Thu, 14 Dec 2000 18:00:18 +0000 (18:00 +0000)]
Adjust PullDOM to use a DOMImplementation instance to create new Document
objects; uses minidom if one is not provided to the constructor.

parse():  Pick up the default_bufsize default value dynamically so that
          the value in the module may be (meaningfully) changed at runtime.

This (partially) closes patch #102477.

24 years agoTest for NULL returned from PyObject_NEW().
Guido van Rossum [Thu, 14 Dec 2000 15:09:46 +0000 (15:09 +0000)]
Test for NULL returned from PyObject_NEW().

24 years agoTest for NULL returned from PyObject_NEW().
Guido van Rossum [Thu, 14 Dec 2000 14:59:53 +0000 (14:59 +0000)]
Test for NULL returned from PyObject_NEW().

24 years agoUpdate information on the locking() function, added the needed constants.
Fred Drake [Thu, 14 Dec 2000 03:11:24 +0000 (03:11 +0000)]
Update information on the locking() function, added the needed constants.
(Thanks for the info, Tim!)

24 years agoAdd long-overdue docstrings to dict methods.
Tim Peters [Wed, 13 Dec 2000 23:18:45 +0000 (23:18 +0000)]
Add long-overdue docstrings to dict methods.

24 years agoFinish a sentence that was left half-written!
Fred Drake [Wed, 13 Dec 2000 22:36:02 +0000 (22:36 +0000)]
Finish a sentence that was left half-written!

24 years agoUse METH_VARARGS instead of "1" in list method table.
Tim Peters [Wed, 13 Dec 2000 22:35:46 +0000 (22:35 +0000)]
Use METH_VARARGS instead of "1" in list method table.

24 years agoWhen raising KeyError, provide the key value that failed.
Fred Drake [Wed, 13 Dec 2000 20:48:29 +0000 (20:48 +0000)]
When raising KeyError, provide the key value that failed.

24 years agoChanging allow_reuse_address's default value, and documenting it.
Moshe Zadka [Wed, 13 Dec 2000 20:39:22 +0000 (20:39 +0000)]
Changing allow_reuse_address's default value, and documenting it.

24 years agoUntabify! (Barry, this is gonna cost you a bottle of wine! ;)
Fred Drake [Wed, 13 Dec 2000 20:23:11 +0000 (20:23 +0000)]
Untabify!  (Barry, this is gonna cost you a bottle of wine! ;)

24 years agoTypo repair in comments. Fell for GregS's .popitem() poke.
Tim Peters [Wed, 13 Dec 2000 19:58:25 +0000 (19:58 +0000)]
Typo repair in comments.  Fell for GregS's .popitem() poke.

24 years agoAdded "stub" documentation for xml.dom.pulldom for Paul to fill out with
Fred Drake [Wed, 13 Dec 2000 19:34:38 +0000 (19:34 +0000)]
Added "stub" documentation for xml.dom.pulldom for Paul to fill out with
useful explanations.

24 years agoGet rid of string module and string exceptions.
Guido van Rossum [Wed, 13 Dec 2000 18:11:56 +0000 (18:11 +0000)]
Get rid of string module and string exceptions.

24 years agoAdded descriptions of the defined exceptions and their mapping to the
Fred Drake [Wed, 13 Dec 2000 17:38:02 +0000 (17:38 +0000)]
Added descriptions of the defined exceptions and their mapping to the
DOM recommendation.

24 years agoSet CXX even when --with-cxx is not specified. Closes bug 14782.
Martin v. Löwis [Wed, 13 Dec 2000 17:37:02 +0000 (17:37 +0000)]
Set CXX even when --with-cxx is not specified. Closes bug 14782.

24 years agoSet CXX even when --with-cxx is not specified. Closes bug #124782
Martin v. Löwis [Wed, 13 Dec 2000 17:37:02 +0000 (17:37 +0000)]
Set CXX even when --with-cxx is not specified. Closes bug #124782

24 years agoAdd code to DOMException to ensure it cannot be instantiated directly,
Fred Drake [Wed, 13 Dec 2000 16:35:53 +0000 (16:35 +0000)]
Add code to DOMException to ensure it cannot be instantiated directly,
since the API documentation will state specifically that the specializations
must be used by the DOM implementations.

24 years agoAdd standard DOM exception hierarchy.
Martin v. Löwis [Wed, 13 Dec 2000 14:21:07 +0000 (14:21 +0000)]
Add standard DOM exception hierarchy.

24 years agoDocument --with-cxx.
Martin v. Löwis [Wed, 13 Dec 2000 14:14:32 +0000 (14:14 +0000)]
Document --with-cxx.

24 years agoCheck in README file and one demo program
Andrew M. Kuchling [Wed, 13 Dec 2000 03:50:20 +0000 (03:50 +0000)]
Check in README file and one demo program

24 years agoBring comments up to date (e.g., they still said the table had to be
Tim Peters [Wed, 13 Dec 2000 01:02:46 +0000 (01:02 +0000)]
Bring comments up to date (e.g., they still said the table had to be
a prime size, which is in fact never true anymore ...).

24 years agoUpdate the code to better reflect recommended style:
Fred Drake [Tue, 12 Dec 2000 23:20:45 +0000 (23:20 +0000)]
Update the code to better reflect recommended style:

Use != instead of <> since <> is documented as "obsolescent".
Use "is" and "is not" when comparing with None or type objects.

24 years agoChange the file's indentation from tabs to 4 spaces per level.
Barry Warsaw [Tue, 12 Dec 2000 23:16:51 +0000 (23:16 +0000)]
Change the file's indentation from tabs to 4 spaces per level.

24 years agoAccept Finn Bock's patch #102208 to hardcode EINVAL to 22 when errno
Barry Warsaw [Tue, 12 Dec 2000 23:12:23 +0000 (23:12 +0000)]
Accept Finn Bock's patch #102208 to hardcode EINVAL to 22 when errno
can't be imported.  This makes StringIO.py work with Jython.

Also, get rid of the string module by converting to string methods.

Shorten some lines by using augmented assignment where appropriate.

24 years agoUpdate the code to better reflect recommended style:
Fred Drake [Tue, 12 Dec 2000 23:11:42 +0000 (23:11 +0000)]
Update the code to better reflect recommended style:

Use != instead of <> since <> is documented as "obsolescent".
Use "is" and "is not" when comparing with None or type objects.

24 years agoThe Mac C library (MSL from CodeWarrior 6) and I/O library (GUSI
Jack Jansen [Tue, 12 Dec 2000 22:42:30 +0000 (22:42 +0000)]
The Mac C library (MSL from CodeWarrior 6) and I/O library (GUSI
2.1.3) finally agree on when the epoch is, so the code to convert
epochs has been disabled.

24 years agoThe ".pth" code knew about the layout of Python trees on unix and
Jack Jansen [Tue, 12 Dec 2000 22:39:04 +0000 (22:39 +0000)]
The ".pth" code knew about the layout of Python trees on unix and
windows, but not on the mac. Fixed.

24 years agoUse c2pstr() in stead of Pstring() to convert C-strings to
Jack Jansen [Tue, 12 Dec 2000 22:36:57 +0000 (22:36 +0000)]
Use c2pstr() in stead of Pstring() to convert C-strings to
Pascal-strings. Safer, because Pstring converts in-place and the
pathname may be reused later for error messages.

24 years agoOptionally weed out duplicate prototypes for the same function (which
Jack Jansen [Tue, 12 Dec 2000 22:24:35 +0000 (22:24 +0000)]
Optionally weed out duplicate prototypes for the same function (which
happens because the scanner ignores preprocessor #ifs).

24 years agoAdapted to new standard for initmodule() routine: don't call
Jack Jansen [Tue, 12 Dec 2000 22:22:59 +0000 (22:22 +0000)]
Adapted to new standard for initmodule() routine: don't call
Py_FatalError on errors.

24 years agoVarious new standard types.
Jack Jansen [Tue, 12 Dec 2000 22:21:39 +0000 (22:21 +0000)]
Various new standard types.

24 years agoAdded support for generating a single module from multiple .h files.
Jack Jansen [Tue, 12 Dec 2000 22:21:11 +0000 (22:21 +0000)]
Added support for generating a single module from multiple .h files.
Allow /* */ comments within function prototypes.

24 years agoRefer to the sourceforge site for gusi downloads.
Jack Jansen [Tue, 12 Dec 2000 22:14:14 +0000 (22:14 +0000)]
Refer to the sourceforge site for gusi downloads.

24 years agoPut all AE constants into AppleEvents.py
Jack Jansen [Tue, 12 Dec 2000 22:13:36 +0000 (22:13 +0000)]
Put all AE constants into AppleEvents.py

24 years agoQdoffs now exports the GWorldObj_{New,Convert} functions.
Jack Jansen [Tue, 12 Dec 2000 22:13:03 +0000 (22:13 +0000)]
Qdoffs now exports the GWorldObj_{New,Convert} functions.

24 years agoAdded a c2pstrcpy() function.
Jack Jansen [Tue, 12 Dec 2000 22:12:14 +0000 (22:12 +0000)]
Added a c2pstrcpy() function.

24 years agoDescribe {}.popitem().
Guido van Rossum [Tue, 12 Dec 2000 22:10:31 +0000 (22:10 +0000)]
Describe {}.popitem().

24 years agoMore toolbox modules adapted to Universal Headers 3.3.2.
Jack Jansen [Tue, 12 Dec 2000 22:10:21 +0000 (22:10 +0000)]
More toolbox modules adapted to Universal Headers 3.3.2.

24 years agoUse new multi-input-file feature of bgen in stead of @-file hack to parse multiple...
Jack Jansen [Tue, 12 Dec 2000 22:09:11 +0000 (22:09 +0000)]
Use new multi-input-file feature of bgen in stead of @-file hack to parse multiple header files. A side effect is that the ObjectSupportLib routines are now also available in Python.

24 years agoRegenerated from Universal Headers 3.3.2
Jack Jansen [Tue, 12 Dec 2000 22:08:00 +0000 (22:08 +0000)]
Regenerated from Universal Headers 3.3.2

24 years agoPut all AE constants into AppleEvents.py
Jack Jansen [Tue, 12 Dec 2000 22:06:53 +0000 (22:06 +0000)]
Put all AE constants into AppleEvents.py

24 years agoAdd popitem().
Guido van Rossum [Tue, 12 Dec 2000 22:06:00 +0000 (22:06 +0000)]
Add popitem().

24 years ago"Documentation" for {}.popitem().
Guido van Rossum [Tue, 12 Dec 2000 22:03:47 +0000 (22:03 +0000)]
"Documentation" for {}.popitem().

24 years agoAdded test for {}.popitem().
Guido van Rossum [Tue, 12 Dec 2000 22:02:59 +0000 (22:02 +0000)]
Added test for {}.popitem().

24 years agoAdd popitem() -- SF patch #102733.
Guido van Rossum [Tue, 12 Dec 2000 22:02:18 +0000 (22:02 +0000)]
Add popitem() -- SF patch #102733.

24 years agoQdoffs now exports GWorld new/convert, and Qt uses them.
Jack Jansen [Tue, 12 Dec 2000 21:53:48 +0000 (21:53 +0000)]
Qdoffs now exports GWorld new/convert, and Qt uses them.
Drag moved to core toolbox modules (Win uses it).

24 years agoDrag moved to core toolbox modules (Win uses it).
Jack Jansen [Tue, 12 Dec 2000 21:53:14 +0000 (21:53 +0000)]
Drag moved to core toolbox modules (Win uses it).

24 years agoQdoffs now exports GWorld new/convert, and Qt uses them.
Jack Jansen [Tue, 12 Dec 2000 21:50:53 +0000 (21:50 +0000)]
Qdoffs now exports GWorld new/convert, and Qt uses them.

24 years agoAdd URL with info for PIL.
Guido van Rossum [Tue, 12 Dec 2000 21:07:08 +0000 (21:07 +0000)]
Add URL with info for PIL.

24 years agoTypo detected by "the miraculous Debian package lint tool "lintian"
Guido van Rossum [Tue, 12 Dec 2000 15:24:57 +0000 (15:24 +0000)]
Typo detected by "the miraculous Debian package lint tool "lintian"
(http://package.debian.org/lintian), which includes a spellchecker for
common typos in control files of packages... You see, we're so
paranoid that we even have automatic tools that keep monitoring
license files ;-)"  (Gregor Hoffleit)

24 years agoChanged .getaliases() support to register the new aliases in the
Marc-André Lemburg [Tue, 12 Dec 2000 14:45:35 +0000 (14:45 +0000)]
Changed .getaliases() support to register the new aliases in the
encodings package aliases mapping dictionary rather than in the
internal cache used by the search function.

This enables aliases to take advantage of the full normalization
process applied to encoding names which was previously not available.

The patch restricts alias registration to new aliases. Existing
aliases cannot be overridden anymore.

24 years agoPartial fix for SF bug 122780 (msvcrt.locking constants aren't defined).
Tim Peters [Tue, 12 Dec 2000 01:58:56 +0000 (01:58 +0000)]
Partial fix for SF bug 122780 (msvcrt.locking constants aren't defined).
Still needs docs; see bug report (which was reassigned to Fred) for MS's docs.

24 years agoSF bug 110843: Low FD_SETSIZE limit on Win32 (PR#41). Boosted to 512.
Tim Peters [Tue, 12 Dec 2000 01:18:41 +0000 (01:18 +0000)]
SF bug 110843:  Low FD_SETSIZE limit on Win32 (PR#41).  Boosted to 512.

24 years agoTrivial typo fix, submitted by Charles Waldman (SF patch #102794).
Guido van Rossum [Tue, 12 Dec 2000 00:37:58 +0000 (00:37 +0000)]
Trivial typo fix, submitted by Charles Waldman (SF patch #102794).

24 years agoAdditional docs for __iadd__ and family, closing SF bug #117178 and SF patch
Thomas Wouters [Mon, 11 Dec 2000 23:11:51 +0000 (23:11 +0000)]
Additional docs for __iadd__ and family, closing SF bug #117178 and SF patch
#102169.

24 years agoAdjust explanation of operator precedence summary -- exponentiation groups
Fred Drake [Mon, 11 Dec 2000 22:39:24 +0000 (22:39 +0000)]
Adjust explanation of operator precedence summary -- exponentiation groups
from right to left!

Closes bug #125391.

24 years agoUpdate the docstring.
Fred Drake [Mon, 11 Dec 2000 22:29:23 +0000 (22:29 +0000)]
Update the docstring.

Add a Node class that defines the NodeType constants, based on discussion
in the XML-SIG.

24 years agoAdded tests to avoid regression on bug #125375.
Fred Drake [Mon, 11 Dec 2000 22:12:09 +0000 (22:12 +0000)]
Added tests to avoid regression on bug #125375.

roundtrip():  Show the offending syntax tree when things break; this makes
              it a little easier to debug the module by adding test cases.

(Still need better tests for this module, but there's not enough time
 today.)

24 years agovalidate_varargslist(): Fix two bugs in this function, one that affected
Fred Drake [Mon, 11 Dec 2000 22:08:27 +0000 (22:08 +0000)]
validate_varargslist():  Fix two bugs in this function, one that affected
                         it when *args and/or **kw are used, and one when
                         they are not.

This closes bug #125375: "parser.tuple2ast() failure on valid parse tree".

24 years agoAdded link to HTML version of the NumPy documentation.
Fred Drake [Mon, 11 Dec 2000 20:57:13 +0000 (20:57 +0000)]
Added link to HTML version of the NumPy documentation.
This closes bug #124943.

24 years agoApply rstrip() to the lines read from _dirfile in _update(), so that a
Guido van Rossum [Mon, 11 Dec 2000 20:33:52 +0000 (20:33 +0000)]
Apply rstrip() to the lines read from _dirfile in _update(), so that a
dumbdbm archive created on Windows can be read on Unix.

24 years agoHoepeful fix for SF bug #123924: Windows - using OpenSSL, problem with
Guido van Rossum [Mon, 11 Dec 2000 20:32:20 +0000 (20:32 +0000)]
Hoepeful fix for SF bug #123924: Windows - using OpenSSL, problem with
socket in httplib.py.

The bug reports that on Windows, you must pass sock._sock to the
socket.ssl() call.  But on Unix, you must pass sock itself.  (sock is
a wrapper on Windows but not on Unix; the ssl() call wants the real
socket object, not the wrapper.)

So we see if sock has an _sock attribute and if so, extract it.

Unfortunately, the submitter of the bug didn't confirm that this patch
works, so I'll just have to believe it (can't test it myself since I
don't have OpenSSL on Windows set up, and that's a nontrivial thing I
believe).

24 years agovgetargskeywords(): Patch for memory leak identified in bug #119862.
Barry Warsaw [Mon, 11 Dec 2000 20:01:55 +0000 (20:01 +0000)]
vgetargskeywords(): Patch for memory leak identified in bug #119862.

24 years agoMake ConfigParser.Error inherit from Exception.
Fred Drake [Mon, 11 Dec 2000 18:13:19 +0000 (18:13 +0000)]
Make ConfigParser.Error inherit from Exception.

24 years agoselect.select(): Add note that though this function accepts empty lists,
Fred Drake [Mon, 11 Dec 2000 15:50:07 +0000 (15:50 +0000)]
select.select():  Add note that though this function accepts empty lists,
                  using *only* empty lists may not be acceptable on all
                  platforms, with the specific caveat that it does not
                  work on Windows.  Also clarified list of acceptable
                  objects that may be in the lists, to let the user know
                  that file objects are not usable here on Windows.

24 years agoAdapted to Universal Headers 3.3.2. More to follow.
Jack Jansen [Sun, 10 Dec 2000 23:43:49 +0000 (23:43 +0000)]
Adapted to Universal Headers 3.3.2. More to follow.

24 years ago(Patch #102698) Fix for a bug reported by Wade Leftwich:
Andrew M. Kuchling [Sun, 10 Dec 2000 15:12:14 +0000 (15:12 +0000)]
(Patch #102698) Fix for a bug reported by Wade Leftwich:
StreamReader ignores the 'errors' parameter passed to its constructor

24 years agoSF bug 124051: ndiff "?" lines can be confusing. Well, they still can, but
Tim Peters [Sat, 9 Dec 2000 05:03:22 +0000 (05:03 +0000)]
SF bug 124051:  ndiff "?" lines can be confusing.  Well, they still can, but
after implementing it I liked Gregor's two-"?" line idea a lot.

24 years agoLots of small improvements and bits of added information on the DOM API.
Fred Drake [Fri, 8 Dec 2000 06:54:51 +0000 (06:54 +0000)]
Lots of small improvements and bits of added information on the DOM API.

24 years agoFix error noted by Gerrit Holl (old; had been buried in my INBOX):
Fred Drake [Thu, 7 Dec 2000 04:54:02 +0000 (04:54 +0000)]
Fix error noted by Gerrit Holl (old; had been buried in my INBOX):
sequence repitition works just fine with long integers now, so we
should not say that only plain integers are allowed.

24 years agoAdded a note that objects which emulate built-in types should only
Fred Drake [Thu, 7 Dec 2000 04:49:34 +0000 (04:49 +0000)]
Added a note that objects which emulate built-in types should only
implement as many of the relevant methods as make sense for the particular
information being modelled.

24 years agoLots of additional information. Not done, but much better.
Fred Drake [Thu, 7 Dec 2000 04:47:51 +0000 (04:47 +0000)]
Lots of additional information.  Not done, but much better.

24 years agoAnother name!
Fred Drake [Thu, 7 Dec 2000 00:06:46 +0000 (00:06 +0000)]
Another name!

24 years agoTypo caught by Jim Tittsler <jwt@onjapan.net>: They --> The
Fred Drake [Thu, 7 Dec 2000 00:03:24 +0000 (00:03 +0000)]
Typo caught by Jim Tittsler <jwt@onjapan.net>:  They --> The

24 years agoNote that, as of Python 1.6, the .returns_unicode attribute on parser
Fred Drake [Thu, 7 Dec 2000 00:00:21 +0000 (00:00 +0000)]
Note that, as of Python 1.6, the .returns_unicode attribute on parser
objects can be modified at any point with the expected results.

24 years agoThe C+ compiler is called $(CXX) these days, not CCC.
Guido van Rossum [Wed, 6 Dec 2000 23:46:29 +0000 (23:46 +0000)]
The C+ compiler is called $(CXX) these days, not CCC.
This fixes SF Bug #124478.

24 years agoFix `credits' to credit the Jython developers when running under that
Barry Warsaw [Wed, 6 Dec 2000 22:20:07 +0000 (22:20 +0000)]
Fix `credits' to credit the Jython developers when running under that
interpreter.  Update and reword the credits for CPython.  Closes SF
patch #102665.

24 years ago_getframe(): New sys module function for getting at the stack frame.
Barry Warsaw [Wed, 6 Dec 2000 21:47:46 +0000 (21:47 +0000)]
_getframe(): New sys module function for getting at the stack frame.
Implements and closes SF patch #102106, with Guido's suggested
documentation changes.

24 years agoposix_getlogin(): Be more cautious about interpreting a NULL from
Fred Drake [Wed, 6 Dec 2000 21:45:33 +0000 (21:45 +0000)]
posix_getlogin():  Be more cautious about interpreting a NULL from
                   getlogin() -- it is not clear that a NULL is always
                   an error.

24 years agoposix_getlogin(): Handle the possibility that getlogin() can return
Fred Drake [Wed, 6 Dec 2000 21:24:28 +0000 (21:24 +0000)]
posix_getlogin():  Handle the possibility that getlogin() can return
                   NULL without setting errno; observed on Linux
                   Mandrake 7.2 by an anonymous user.

This closes bug #124758.