| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
pages of 4k entries each. This should fix compiler problems on some
platforms.
|
|
|
|
|
|
| |
"man tcp" on Solaris says that TCP_NODELAY is defined in
netinet/tcp.h, and the Open Groups Unix98 spec agrees
(http://www.opengroup.org/onlinepubs/009619199/ninettcp.htm).
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
The Setup.in entry is sort of a lie; it links with -lexpat, but
Expat's Makefile doesn't actually build a libexpat.a. I'll send
Expat's author a patch to do that; if he doesn't accept it, this
rule will have to list Expat's object files (ick!), or have a
comment explaining how to build a .a file.
|
| |
|
| |
|
|
|
|
| |
NOTE: THIS IS VERY ROUGH ALPHA CODE!
|
|
|
|
|
|
| |
None in an argument list *terminates* the argument list: further
arguments are *ignored*. This isn't kosher, but too much code relies
on it, implicitly. For example, IDLE was pretty broken.
|
|
|
|
| |
in scope on systems where mode_t isn't the same size as int...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reformatted for 8-space tabs and fitted into 80-char lines by GvR.
Mark writes:
* the Win32 version now accepts the same args as the Unix version.
The win32 specific "tag" param is now optional. The end result is
that the exact same test suite runs on Windows (definately a worthy
goal!).
* I changed the error object. All occurences of the error, except
for 1, corresponds to an underlying OS error. This one was changed
to a ValueError (a better error for that condition), and the module
error object is now simply EnvironmentError. All win32 error
routines now call the new Windows specific error handler.
|
|
|
|
|
| |
changed from 8.0 to 8.1 and I see no big reason to use objects in 8.0.
At least now it works again with all versions from 8.0 - 8.3.
|
| |
|
|
|
|
|
|
|
|
|
| |
(1) In opendir(), don't call the lock-release macros; we're
manipulating list objects and that shouldn't be done in unlocked
state.
(2) Don't use posix_strint() for chmod() -- the mode_t arg might be a
64 bit int (reported by Nick Maclaren).
|
| |
|
|
|
|
| |
Careful, this has had zero testing (except by Peter)!
|
|
|
|
| |
(Needs testing on Win32.)
|
|
|
|
|
|
|
| |
This was originally submitted by Martin von Loewis as part of his
Unicode patch; all I did was add special cases for Python int and
float objects and rearrange the object type tests somewhat to speed up
the common cases (string, int, float, tuple, unicode, object).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The attached patch set includes a workaround to get Python with
Unicode compile on BSDI 4.x (courtesy Thomas Wouters; the cause
is a bug in the BSDI wchar.h header file) and Python interfaces
for the MBCS codec donated by Mark Hammond.
Also included are some minor corrections w/r to the docs of
the new "es" and "es#" parser markers (use PyMem_Free() instead
of free(); thanks to Mark Hammond for finding these).
The unicodedata tests are now in a separate file
(test_unicodedata.py) to avoid problems if the module cannot
be found.
|
|
|
|
|
| |
8.0. There really is no excuse, and for who really still wants those,
they can go back to Python 1.5.2.
|
|
|
|
|
| |
Martin von Loewis (whose more elaborate patch to use objects is still
under review).
|
|
|
|
|
|
|
|
| |
argument format strings.
THIS WILL PROBABLY BREAK LOTS OF CODE!!!
Also fixed a bogus string in an error message in getsockaddrlen().
|
|
|
|
|
|
|
| |
a Py_BEGIN_ALLOW_THREADS/Py_END_ALLOW_THREADS block, but it
calls Py_BLOCK_THREADS anyway. The change moves Py_BLOCK_THREADS
to inside the if, so it's only executed when the function
actually returns unexpectedly.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Attached you find an update of the Unicode implementation.
The patch is against the current CVS version. I would appreciate
if someone with CVS checkin permissions could check the changes
in.
The patch contains all bugs and patches sent this week and also
fixes a leak in the codecs code and a bug in the free list code
for Unicode objects (which only shows up when compiling Python
with Py_DEBUG; thanks to MarkH for spotting this one).
|
|
|
|
| |
Also, wrap long line.
|
| |
|
| |
|
|
|
|
| |
mode ('V') and in binary mode ('X').
|
|
|
|
| |
Written by Marc-Andre Lemburg.
|
|
|
|
| |
the builtin codecs. Written by Marc-Andre Lemburg.
|
| |
|
| |
|
|
|
|
|
| |
and USE_TMPNAM_R at the top of the file and refer to them later; this
catches a second reference to 'tmpnam_r' that I didn't spot first time around.
|
|
|
|
| |
building a threaded Python.
|
|
|
|
|
|
|
|
|
|
|
| |
This patch fixes 3 small problems.
1) If a map is used which is generated with 'makedbm -a',
the trailing '\0' is now handled correctely.
2) The nis.maps() function skipped the first map in the output list.
3) The library '-lnsl' is added in Setup.in (needed on Linux glibc2 and
Solaris systems. Maybe on other systems too?)
[I note that this still doesn't work when you are using NIS+ --GvR]
|
|
|
|
| |
PyArg_ParseTuple() format string arguments as possible.
|
|
|
|
| |
mp_bits_per_limb with GMP 2.0
|
|
|
|
|
| |
just a typo in some Linux header; the real symbol is
_SC_AIO_LISTIO_MAX.
|
|
|
|
|
|
|
| |
This patch allows building the Python 'mpzmodule' under SuSE Linux
without having to install the source package of the GMP-libary.
The gmp-mparam.h seems to be an internal header file. The patch
shouldn't hurt any other platforms.
|
| |
|
|
|
|
|
|
|
| |
The same problem (mixed mallocs) exists for the pcre stack.
The buffers md->... are allocated via PyMem_RESIZE in grow_stack(),
while in free_stack() they are released with free() instead of
PyMem_DEL().
|
|
|
|
|
|
| |
The buffers self->regex and self->regex_extra are allocated in
pcre_compile() and pcre_study() via pcre_malloc, but are released
via free() instead of pcre_free.
|
|
|
|
|
|
|
|
|
|
|
| |
(e.g. used for ZIP files).
The patch includes code that says:
+ Copyright (C) 1986 Gary S. Brown. You may use this program, or
+ code or tables extracted from it, as desired without restriction.
My interpretation (and Jim's) is that Gary S Brown has no claims under
copyright, patent or other rights or interests. Lawyers might disagree.
|
|
|
|
|
|
| |
database is closed. Raise gdbm.error instead.
Bug report #198 submitted by Barry Haddow <bhaddow@orbism.com>.
|
|
|
|
|
| |
Attached is patch (against 1.5.2 release) to allow some modules
to be buildable as pyd's (usual &PyType_Type stuff).
|
| |
|
|
|
|
| |
is defined...
|
|
|
|
| |
compilation on NT Alpha. Mostly added casts etc.
|
|
|
|
|
|
| |
Herborth, the code in list2set() that sets max unconditionally to 0
should not be used on BeOS. So be it. Anybody using BeOS, please
test!
|