- 28 Jun, 2000 28 commits
-
-
Fred Drake authored
The cause: Relatively recent (last month) patches to getargs.c added overflow checking to the PyArg_Parse*() integral formatters thereby restricting 'b' to unsigned char value and 'h','i', and 'l' to signed integral values (i.e. if the incoming value is outside of the specified bounds you get an OverflowError, previous it silently overflowed). The problem: This broke the array module (as Fredrik pointed out) because *its* formatters relied on the loose allowance of signed and unsigned ranges being able to pass through PyArg_Parse*()'s formatters. The fix: This patch fixes the array module to work with the more strict bounds checking now in PyArg_Parse*(). How: If the type signature of a formatter in the arraymodule exactly matches one in PyArg_Parse*(), then use that directly. If there is no equivalent type signature in PyArg_Parse*() (e.g. there is no unsigned int formatter in PyArg_Parse*()), then use the next one up and do some extra bounds checking in the array module. This partially closes SourceForge patch #100506.
-
Fred Drake authored
Documentation updates related to the addition of openpty() and forkpty().
-
Marc-André Lemburg authored
Perfect hash table generator. Outputs a Python extension module which provides access to the hash table (which is stored in static C data) using custom code. This module can currently only generates code for the ucnhash module, but can easily be adapted to produce perfect hash tables for other tasks where fast lookup in large tables is needed. By Bill Tutt.
-
Marc-André Lemburg authored
Generator for the new ucnhash module (ucnhash.h|c). Uses perfect_hash.py to create the ucnhash module.
-
Marc-André Lemburg authored
Utility extension module needed by perfect_hash.py By Bill Tutt.
-
Marc-André Lemburg authored
Patch to the standard unicode-escape codec which dynamically loads the Unicode name to ordinal mapping from the module ucnhash. By Bill Tutt.
-
Marc-André Lemburg authored
Added new ucnhash module by Bill Tutt.
-
Marc-André Lemburg authored
Added new ucnhash module.
-
Marc-André Lemburg authored
Updated test output.
-
Marc-André Lemburg authored
Added tests for the new Unicode character name support in the standard unicode-escape codec.
-
Fred Drake authored
This patch adds the openpty() and forkpty() library calls to posixmodule.c, when they are available on the target system. (glibc-2.1-based Linux systems, FreeBSD and BSDI at least, probably the other BSD-based systems as well.) Lib/pty.py is also rewritten to use openpty when available, but falls back to the old SGI method or the "manual" BSD open-a-pty code. Openpty() is necessary to use the Unix98 ptys under Linux 2.2, or when using non-standard tty names under (at least) BSDI, which is why I needed it, myself ;-) forkpty() is included for symmetry.
-
Marc-André Lemburg authored
MSVC project file for the new module ucnhash. This may have to be added to pcbuild.dsw with an dependancy on python16. By Bill Tutt.
-
Marc-André Lemburg authored
New ucnhash module by Bill Tutt. This module contains the hash table needed to map Unicode character names to Unicode ordinals and is loaded on-the-fly by the standard unicode-escape codec.
-
Marc-André Lemburg authored
Exports the C API of the new ucnhash module. By Bill Tutt.
-
Fred Drake authored
based on response from Frank Stajano <fstajano@uk.research.att.com>.
-
Fred Drake authored
-
Fred Drake authored
based on comments from Frank Stajano <fstajano@uk.research.att.com>.
-
Fred Drake authored
<skip@mojam.com>. Revisions to the markup to make it pass LaTeX, added an index entry and a reference from the sys.exitfunc documentation. This closes SourceForge patch #100620.
-
Jeremy Hylton authored
-
Marc-André Lemburg authored
Better error message for "1 in unicodestring". Submitted by Andrew Kuchling.
-
Fred Drake authored
noted the minimum recommended version in the message.
-
Andrew M. Kuchling authored
Various minor fixes
-
Greg Ward authored
'link_shared_object()'.
-
Greg Ward authored
methods (but not 'link_executable()', hmmm). Currently only used by BCPPCompiler; it's a dummy parameter for UnixCCompiler and MSVCCompiler. Also added 'bcpp' to compiler table used by 'new_compiler()'.
-
Greg Ward authored
-
Greg Ward authored
Two major points: * lots of overlap with MSVCCompiler; the common code really should be factored out into a base class, say WindowsCCompiler * it doesn't work: weird problem spawning the linker (see comment for details)
-
Greg Ward authored
command objects. Various formatting tweaks, typo fixes in comments.
-
Greg Ward authored
-
- 27 Jun, 2000 12 commits
-
-
Andrew M. Kuchling authored
Define a STRICT_SYSV_CURSES macro on SGI, Sun, and Tru64, to mark systems that don't support some features.
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
getmouse(), ungetmouse(), and window.enclose(). wmouse_trafo() seems of marginal importance at the moment.
-
Greg Ward authored
-
Greg Ward authored
Ditched my old code that fixed relative paths in the Makefile -- didn't work, doomed to failure, etc.
-
Greg Ward authored
the 'implib_dir' attribute is back (only on NT, of course).
-
Greg Ward authored
Also supposedly made some change to where .lib files wind up under MSVC++, but I don't understand how to code is doing what Thomas says it's doing.
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
Added 'check_lib()', which provides a subset of the functionality of 'check_func()' with a simpler interface and implementation.
-