| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
tcp.h is not available on CygWin, so do not try to include it there.
This closes SourceForge patch #101802.
|
|
|
|
| |
Tkinter work under Cygwin. Accepted on faith & reasonableness.
|
| |
|
| |
|
| |
|
|
|
|
| |
methods. Closes buglet #115845.
|
|
|
|
| |
terminals, not the master end (though it does, on most systems.)
|
| |
|
|
|
|
|
|
|
| |
changed so that this is no longer needed on the only platform this is
known to have been needed on.
Fixed on indentation-related consistency nit.
|
|
|
|
|
|
|
| |
readline doesn't have it before readline 2.2 and there's no
compile-time way to find out which readline version is in use.
Sigh. GNU readline sucks.
|
|
|
|
|
|
|
|
|
|
| |
Versions are defined for Windows and Unix; the Unix
flavor uses sysconf() to get the page size; this avoids
the use of getpagesize(), which is deprecated and
requires an additional library on some platforms
(specifically, Reliant UNIX).
This partially closes SourceForge bug #113797.
|
|
|
|
| |
unicodedata_db.h.
|
|
|
|
| |
elsewhere in 1.5.2.
|
|
|
|
|
| |
Add PyModule_AddStringConstant and PyModule_AddObject if version <2.0,
to allow to share this file with PyXML.
|
|
|
|
| |
friends. (Modified version of patch #101682 from Neil Schemenauer)
|
|
|
|
| |
dynamically to support K&R C since we are requiring an ANSI compiler.
|
|
|
|
|
|
| |
some platforms.
This *should* close SourceForge patch #115506.
|
|
|
|
|
|
|
| |
copied strings from environment variables and argv[0] into
fixed-length buffers without checking their length.
Reported by Stan Bubrouski; advice on fix from John Viega.
|
|
|
|
|
|
|
|
| |
Add definitions of INT_MAX and LONG_MAX to pyport.h.
Remove includes of limits.h and conditional definitions of INT_MAX
and LONG_MAX elsewhere.
This closes SourceForge patch #101659 and bug #115323.
|
|
|
|
|
| |
it absolute by joining it with getcwd result. avoid including
unnecessary ./ in path but do not test for ../ (more complicated)
|
| |
|
|
|
|
|
|
| |
undefined. ccording to MvL, this is safe: the MS_SYNC flag means that
msync() returns when all I/O operations are scheduled; without it, it
waits until they are complete, which is acceptable behavior.
|
|
|
|
|
|
|
|
|
|
| |
- fixed attributions
- moved decomposition data to a separate table, in preparation
for step 3 (which won't happen before 2.0 final, promise!)
- use relative paths in the generator script
I have a lot more stuff in the works for 2.1, but let's leave
that for another day...
|
| |
|
|
|
|
| |
avoid compiler warnings.
|
|
|
|
|
| |
- use unidb compression for the unicodedata module. on Windows,
the new unidatabase module is 120k, down from nearly 600k.
|
|
|
|
|
| |
- use unidb compression for the unicodedata module. on Windows,
the new unidatabase module is 120k, down from nearly 600k.
|
| |
|
|
|
|
|
|
|
|
| |
"xml.parsers.expat.error", so it will reflect the public name of the
exception rather than the internal name.
Also change some of the initialization to use the new PyModule_Add*()
convenience functions.
|
| |
|
|
|
|
| |
unnecessary. Sez edg@SF
|
|
|
|
|
|
|
| |
was reported twice so far.
Someone with access to HP-UX, please test this! (Is '__hppa' or
'hppa' really the correct symbol to test for?)
|
|
|
|
|
| |
variable in the Makefiles from the configure script. Usefil for
Cygwin and Mac OS X builds.
|
|
|
|
|
|
|
| |
collector will be saved in gc.garbage. This is useful for debugging a
program that creates reference cycles.
- Fix else statements in gcmodule.c to conform to Python coding standards.
|
|
|
|
|
| |
PyErr_Occurred(). Removed the extra test and setting of a
bogus exception.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
subset of Win32 ShellExecute's functionality. Guido wants this because
IDLE's Help -> Docs function currently crashes his machine because of a
conflict between his version of Norton AntiVirus (6.10.20) and MS's
_popen. Docs for startfile are being mailed to Fred (or just read the
docstring -- it tells the whole story).
Changed webbrowser.py to use os.startfile instead of os.popen on Windows.
Changed IDLE's EditorWindow.py to pass an absolute path for the docs
(hardcoding ShellExecute's "directory" arg to "." as used to be done let
IDLE work, but made the startfile command exceedingly obscure for other
uses -- the MS docs are terrible, of course, & still not sure I
understand it).
Note that Windows Python must link with shell32.lib now! That's where
ShellExecute lives.
|
| |
|
| |
|
|
|
|
|
| |
unicode_internal_decode function to support Unicode objects
directly rather than by generating a copy of the object.
|
|
|
|
|
|
|
|
|
|
| |
data and default handlers -- a new reference was being passed to
Py_BuildValue() for the "O" format character; using "N" plugs the leak.
Fixed two other (minor) leaks that occurred on various error conditions.
Removed uses of the UNLESS macro, which makes code hard to read, and is
Evil.
|
|
|
|
|
| |
- added experimental "expand" method to match objects
- don't use the buffer interface on unicode strings
|
|
|
|
| |
from the FreeBSD code.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I can't test this, so I'm just checking it in with blind faith in Andy.
I've tested that it doesn't broeak a non-Pth build on Linux.
Changes include:
- There's a --with-pth configure option.
- Instead of _GNU_PTH, we test for HAVE_PTH.
- Better signal handling.
- (The config.h.in file is regenerated in a slightly different order.)
|
|
|
|
|
|
|
|
| |
Add contains() as alias for __contains__().
Make PyArg_ParseTuple() formats include the function name.
Based on patch by Denis S. Otkidach <ods@users.sourceforge.net>,
this closes SourceForge patch #101390.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
reverse() didn't work at all due to bad arg check.
Fixed that.
Added Brad Chapman to ACKS file, as the proud new owner of two
implicitly copyrighted lines of Python source code <wink>.
Repaired buffer_info's total lack of arg-checking.
Replaced memmove by memcpy in reverse() guts, as memmove is
often slower and the memory areas are guaranteed disjoint.
Replaced poke-and-hope unchecked decl of tmp buffer size by
assert-checked larger tmp buffer.
Got rid of inconsistent spaces before open paren in docstrings.
Added reverse() sanity tests to test_array.py.
|
|
|
|
|
|
|
| |
This fixes the first half of bug #110611: the immediate exit when ^C
is hit when readline and threads are configured.
Also added a new module variable, readline.library_version.
|
|
|
|
|
|
|
| |
PyOS_setsig(), instead of directly calling signal() or sigaction().
This fixes the second half of bug #110611: the mysterious ignoring of
the first ^C when readline isn't used.
|