Greg Ward [Sat, 5 Aug 2000 01:25:24 +0000 (01:25 +0000)]
Drop the 'extend()' function -- old 1.5.1 compatibility hack that
wasn't actually used anywhere.
Drop the "from xxx_util import*" backwards compability hacks.
Greg Ward [Sat, 5 Aug 2000 00:58:14 +0000 (00:58 +0000)]
Pragmas that instruct the linker to link against python20.lib (or
python20_d.lib) only active on MSVC++; different library formats needed
for different compilers, and it's handled by the Distutils anyways.
Thomas Wouters [Fri, 4 Aug 2000 13:34:43 +0000 (13:34 +0000)]
Raise 'TestSkipped' (from the test_support) module rather than 'ImportError'
to signify a test that should be marked as 'skipped' rather than 'failed'.
Also 'document' it, in README.
Moshe Zadka [Fri, 4 Aug 2000 12:59:40 +0000 (12:59 +0000)]
In case the user isn't allowed to access /dev/dsp or /dev/dsp isn't there
at all (my computer doesn't have a Sound Blaster), this doesn't mean
there's a bug in linuxaudiodev. The only error the test suite skips
is currently ImportError -- so that's what we raise. If you see a problem
with this patch, say so and I'll retract. If you think raising an ImportError
sucks, you're right -- but I ain't gonna buy a SB and I sure ain't gonna
let the test-suite fail on my machine.
Greg Ward [Fri, 4 Aug 2000 01:30:03 +0000 (01:30 +0000)]
Rewrote 'find_library_file()' much more cleanly (and consistently with
MSVCCompiler's version, to aid in factoring common code out of the two
classes when the time comes).
Fred Drake [Thu, 3 Aug 2000 21:18:18 +0000 (21:18 +0000)]
Break the "Python Services" chapter into two: "Python Runtime Services"
(still at the start of the manual), and "Python Language Services" (late
in the manual). Moved "Restricted Execution" to just before "Python
Language Services."
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.)
Fred Drake [Thu, 3 Aug 2000 17:43:02 +0000 (17:43 +0000)]
Remove the tp_print handler.
Revise the tp_repr handler to produce a more "minimal" presentation.
Make the tolist() method use PyArg_ParseTuple() and provide a docstring.
Fred Drake [Thu, 3 Aug 2000 17:29:13 +0000 (17:29 +0000)]
int() description: Fix markup to avoid image generation for math mode.
zip() description: Fix broken markup, three small markup consistency nits,
and one really minor usage nit. Introduce use of \moreargs instead
of hardcoding "..." with \optional.
Remobe beopen/cnri/cwi copyrights, according to CNRI instructions.
This doesn't change the copyright status for these files -- just the
markings! Doing it on the main branch for these three files for which
the HEAD revision was pushed back into 1.6.
Fredrik Lundh [Thu, 3 Aug 2000 16:29:50 +0000 (16:29 +0000)]
-- added recursion limit (currently ~10,000 levels)
-- improved error messages
-- factored out SRE_COUNT; the same code is used by
SRE_OP_REPEAT_ONE_TEMPLATE
-- minor cleanups
Changing the CNRI copyright notice according to CNRI's instructions.
This is a notice without a date, which apparently is not a claim to
copyright but only advice to the reader. IANAL. :-)
Barry Warsaw [Thu, 3 Aug 2000 15:52:30 +0000 (15:52 +0000)]
TESTOPTS: Since gc is enabled by default now (this may change for the
final release), run "make test" with gc's LEAK_DEBUG enabled. This
uses the new -l flag to regrtest.
Greg Ward [Wed, 2 Aug 2000 01:44:44 +0000 (01:44 +0000)]
Added 'wininst' to the 'format_commands' list, so it's included in
the --help-formats output. Also moved that list up so it's more obvious
when adding formats.
Greg Ward [Wed, 2 Aug 2000 01:31:56 +0000 (01:31 +0000)]
Latest version from Rene Liebscher; major changes:
- added big comment describing possible problems
- look for and react to versions of gcc, ld, and dlltool; mainly
this is done by the 'get_versions()' function and the CygwinCCompiler
and Mingw32CCompiler constructors
- move 'check_config_h()' to end of file and defer calling it until
we need to (ie. in the CygwinCCompiler constructor)
- lots of changes in 'link_shared_object()' -- mostly seems to be
library and DLL stuff, but I don't follow it entirely
Greg Ward [Wed, 2 Aug 2000 01:09:11 +0000 (01:09 +0000)]
Rene Liebscher: deleted unneeded hard-coded assignments of CC, RANLIB, etc.
in '_init_nt()' (they were kludges for CygwinCCompiler and no longer needed).
Greg Ward [Wed, 2 Aug 2000 01:03:23 +0000 (01:03 +0000)]
Patch from Rene Liebscher. Some ugly changes, but supposedly this makes
it so BCPPCompiler actually works, so I'm provisionally accepting it
-- ugly and working is better than not working! Major changes:
- normalize paths (apparently BC++ doesn't like slashes)
- overhauled how we search for and specify libraries on the linker
command-line
- hacked up 'find_library_file()' so it knows about "debug" library
naming convention as well as "bcpp_xxx.lib" -- the question is,
is this a well-established and sensible convention?
Also:
- change to use 'util.write_file()' to write the .def file
Greg Ward [Wed, 2 Aug 2000 00:04:13 +0000 (00:04 +0000)]
Removed 'export_symbol_file'.
'export_symbols' can be None (not sure this is a good idea: it's inconsistent
with every other instance attribute of Extension).
Greg Ward [Wed, 2 Aug 2000 00:00:30 +0000 (00:00 +0000)]
Patch from Rene Liebscher: generate an /IMPLIB: option to ensure that
the linker leaves the (temporary) .lib file in the temporary dir. (Moved
from 'msvc_prelink_hack()' method in build_ext.py.)
Greg Ward [Tue, 1 Aug 2000 23:54:29 +0000 (23:54 +0000)]
Patch from Rene Liebscher, tweaked by me:
- 'export_symbol_file' (and corresponding 'def_file' in the old
"build info" dict) are gone; warn if we see 'def_file' in the
dict
- the MSVC "pre-link hack" is gone -- all that stuff is now handled
elsewhere (eg. by using 'export_symbols', etc.)
- add 'get_export_symbols()' and 'get_libraries()' methods -- needed
because on Windows, both of those things are a tad more complicated
than fetching them from the Extension instance
Fredrik Lundh [Tue, 1 Aug 2000 21:05:41 +0000 (21:05 +0000)]
-- fixed width calculations for alternations
-- fixed literal check in branch operator
(this broke test_tokenize, as reported by Mark Favas)
-- added REPEAT_ONE operator (still not enabled, though)
-- added some debugging stuff (maxlevel)
Fredrik Lundh [Tue, 1 Aug 2000 18:20:07 +0000 (18:20 +0000)]
SRE 0.9.8: passes the entire test suite
-- reverted REPEAT operator to use "repeat context" strategy
(from 0.8.X), but done right this time.
-- got rid of backtracking stack; use nested SRE_MATCH calls
instead (should probably put it back again in 0.9.9 ;-)
-- properly reset state in scanner mode
-- don't use aggressive inlining by default
Jeremy Hylton [Tue, 1 Aug 2000 17:33:32 +0000 (17:33 +0000)]
add support for HTTPS
Modify HTTP to use delegation instead of inheritance. The
_connection_class attribute of the class defines what class to
delegate to. The HTTPS class is a subclass of HTTP that redefines
_connection_class.
Fred Drake [Mon, 31 Jul 2000 20:13:23 +0000 (20:13 +0000)]
Change as suggested by Peter Funk <pf@artcom-gmbh.de>:
Move around the navigational links on the left-hand side of the navigation
bar to be more like the cursor keys.