Martin v. Löwis
22352957cb
Set CXX even when --with-cxx is not specified. Closes bug 14782.
2000-12-13 17:37:02 +00:00
Martin v. Löwis
537970fe26
Set CXX even when --with-cxx is not specified. Closes bug #124782
2000-12-13 17:37:02 +00:00
Fred Drake
5d1b5eaf55
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.
2000-12-13 16:35:53 +00:00
Martin v. Löwis
64acf1db22
Add standard DOM exception hierarchy.
2000-12-13 14:21:07 +00:00
Martin v. Löwis
2df6694eff
Document --with-cxx.
2000-12-13 14:14:32 +00:00
Andrew M. Kuchling
a3b5a5f2db
Check in README file and one demo program
2000-12-13 03:50:20 +00:00
Tim Peters
ea8f2bf9ca
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 ...).
2000-12-13 01:02:46 +00:00
Fred Drake
8152d32375
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.
2000-12-12 23:20:45 +00:00
Barry Warsaw
c140131995
Change the file's indentation from tabs to 4 spaces per level.
2000-12-12 23:16:51 +00:00
Barry Warsaw
c7ed0e3c13
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.
2000-12-12 23:12:23 +00:00
Fred Drake
132dce2246
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.
2000-12-12 23:11:42 +00:00
Jack Jansen
63596aeb33
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.
2000-12-12 22:42:30 +00:00
Jack Jansen
d49056cd90
The ".pth" code knew about the layout of Python trees on unix and
...
windows, but not on the mac. Fixed.
2000-12-12 22:39:04 +00:00
Jack Jansen
fd0226b327
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.
2000-12-12 22:36:57 +00:00
Jack Jansen
27489d4c8c
Optionally weed out duplicate prototypes for the same function (which
...
happens because the scanner ignores preprocessor #ifs).
2000-12-12 22:24:35 +00:00
Jack Jansen
c1a4a04792
Adapted to new standard for initmodule() routine: don't call
...
Py_FatalError on errors.
2000-12-12 22:22:59 +00:00
Jack Jansen
7e0c0050a8
Various new standard types.
2000-12-12 22:21:39 +00:00
Jack Jansen
b8c68634b3
Added support for generating a single module from multiple .h files.
...
Allow /* */ comments within function prototypes.
2000-12-12 22:21:11 +00:00
Jack Jansen
5f884c05d1
Refer to the sourceforge site for gusi downloads.
2000-12-12 22:14:14 +00:00
Jack Jansen
4b64c2aa86
Put all AE constants into AppleEvents.py
2000-12-12 22:13:36 +00:00
Jack Jansen
50bf148afe
Qdoffs now exports the GWorldObj_{New,Convert} functions.
2000-12-12 22:13:03 +00:00
Jack Jansen
5afad8315b
Added a c2pstrcpy() function.
2000-12-12 22:12:14 +00:00
Guido van Rossum
3661d39474
Describe {}.popitem().
2000-12-12 22:10:31 +00:00
Jack Jansen
723ad8ae73
More toolbox modules adapted to Universal Headers 3.3.2.
2000-12-12 22:10:21 +00:00
Jack Jansen
8ed81303f6
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.
2000-12-12 22:09:11 +00:00
Jack Jansen
6fe608c840
Regenerated from Universal Headers 3.3.2
2000-12-12 22:08:00 +00:00
Jack Jansen
177fa8c25e
Put all AE constants into AppleEvents.py
2000-12-12 22:06:53 +00:00
Guido van Rossum
1072c3872d
Add popitem().
2000-12-12 22:06:00 +00:00
Guido van Rossum
ff63f2023d
"Documentation" for {}.popitem().
2000-12-12 22:03:47 +00:00
Guido van Rossum
b822c6138e
Added test for {}.popitem().
2000-12-12 22:02:59 +00:00
Guido van Rossum
ba6ab84e73
Add popitem() -- SF patch #102733 .
2000-12-12 22:02:18 +00:00
Jack Jansen
968c36d81b
Qdoffs now exports GWorld new/convert, and Qt uses them.
...
Drag moved to core toolbox modules (Win uses it).
2000-12-12 21:53:48 +00:00
Jack Jansen
b5e4248f71
Drag moved to core toolbox modules (Win uses it).
2000-12-12 21:53:14 +00:00
Jack Jansen
7683229a40
Qdoffs now exports GWorld new/convert, and Qt uses them.
2000-12-12 21:50:53 +00:00
Guido van Rossum
cfc4cf601c
Add URL with info for PIL.
2000-12-12 21:07:08 +00:00
Guido van Rossum
9d64479cb2
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)
2000-12-12 15:24:57 +00:00
Marc-André Lemburg
988ad2bdff
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.
2000-12-12 14:45:35 +00:00
Tim Peters
5fa0bd64a8
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.
2000-12-12 01:58:56 +00:00
Tim Peters
d92dfe0ef5
SF bug 110843: Low FD_SETSIZE limit on Win32 (PR#41). Boosted to 512.
2000-12-12 01:18:41 +00:00
Guido van Rossum
f377d57328
Trivial typo fix, submitted by Charles Waldman (SF patch #102794 ).
2000-12-12 00:37:58 +00:00
Thomas Wouters
dc90cc2b15
Additional docs for __iadd__ and family, closing SF bug #117178 and SF patch
...
#102169 .
2000-12-11 23:11:51 +00:00
Fred Drake
2a22200ab4
Adjust explanation of operator precedence summary -- exponentiation groups
...
from right to left!
Closes bug #125391 .
2000-12-11 22:39:24 +00:00
Fred Drake
6bcf4c2a0b
Update the docstring.
...
Add a Node class that defines the NodeType constants, based on discussion
in the XML-SIG.
2000-12-11 22:29:23 +00:00
Fred Drake
e1578ce204
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.)
2000-12-11 22:12:09 +00:00
Fred Drake
b6429a2020
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".
2000-12-11 22:08:27 +00:00
Fred Drake
ed911b8cfb
Added link to HTML version of the NumPy documentation.
...
This closes bug #124943 .
2000-12-11 20:57:13 +00:00
Guido van Rossum
5b7b764afb
Apply rstrip() to the lines read from _dirfile in _update(), so that a
...
dumbdbm archive created on Windows can be read on Unix.
2000-12-11 20:33:52 +00:00
Guido van Rossum
0aee7220db
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).
2000-12-11 20:32:20 +00:00
Barry Warsaw
0705028076
vgetargskeywords(): Patch for memory leak identified in bug #119862 .
2000-12-11 20:01:55 +00:00
Fred Drake
7c1e5adf27
Make ConfigParser.Error inherit from Exception.
2000-12-11 18:13:19 +00:00