Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace a few more 'char' types with 'signed char', to fix test failures | Thomas Heller | 2006-04-06 | 1 | -5/+5 |
| | | | | on platforms (ppc debian) where 'char' is unsigned. | ||||
* | This change shouldn't have any functional effect. Coverity was | Neal Norwitz | 2006-04-06 | 1 | -1/+1 |
| | | | | complaining because it seemed like parameters_iter could be NULL. | ||||
* | Fix unchecked return result from Coverity. | Neal Norwitz | 2006-04-06 | 1 | -0/+2 |
| | |||||
* | Handle ssize_t | Neal Norwitz | 2006-04-06 | 1 | -2/+2 |
| | |||||
* | Handle error conditions from PyString_ConcatAndDel(). | Neal Norwitz | 2006-04-06 | 1 | -1/+6 |
| | |||||
* | Handle ssize_t | Neal Norwitz | 2006-04-06 | 1 | -3/+4 |
| | | | | | | No need to INCREF then let PyString_ConcatAndDel() DECREF. Just use PyString_Concat(). Handle error condition if we can't concat. | ||||
* | Explicitely use 'signed char', to avoid problems on platforms with unsigned ↵ | Thomas Heller | 2006-04-05 | 1 | -26/+26 |
| | | | | char type. | ||||
* | Explicitely use 'signed char', to avoid problems on platforms with unsigned ↵ | Thomas Heller | 2006-04-05 | 1 | -2/+2 |
| | | | | char type. | ||||
* | upgrade to final version of pysqlite 2.2.0 | Anthony Baxter | 2006-04-05 | 9 | -30/+23 |
| | |||||
* | docstring tweak | Fredrik Lundh | 2006-04-04 | 1 | -1/+1 |
| | |||||
* | SF Bug #1448488 - make collectionsmodule build on Cygwin, using the same | Anthony Baxter | 2006-04-04 | 1 | -2/+6 |
| | | | | techniques as in Modules/xxsubtype.c | ||||
* | Fix a couple of memory issues | Neal Norwitz | 2006-04-04 | 1 | -3/+3 |
| | |||||
* | Update to pysqlite 2.2.0 | Anthony Baxter | 2006-04-04 | 12 | -129/+416 |
| | |||||
* | Properly support empty woperation in win32_startfile; | Martin v. Löwis | 2006-04-03 | 1 | -9/+12 |
| | | | | correct arguments to ShellExecuteW. | ||||
* | Try to fix the build on Mac OS X 10.3. The 'live_support' segment | Thomas Heller | 2006-04-03 | 1 | -1/+1 |
| | | | | attribute is not supported in this version. | ||||
* | - add missing chunk for patch #1117961 | Matthias Klose | 2006-04-03 | 1 | -2/+2 |
| | |||||
* | - Patch #360466: Replace the MD5 implementation from RSA Data Security Inc | Matthias Klose | 2006-04-03 | 4 | -344/+465 |
| | | | | with the implementation from http://sourceforge.net/projects/libmd5-rfc/. | ||||
* | Try to fix the tests on OpenBSD. Apparently OpenBSD passes | Thomas Heller | 2006-04-03 | 1 | -2/+2 |
| | | | | structure parameters differently than other posix-like systems. | ||||
* | Bug #1451503: allow unicode filenames in os.startfile(). | Georg Brandl | 2006-04-03 | 1 | -0/+35 |
| | |||||
* | Whitespace: break long line | Neal Norwitz | 2006-04-03 | 1 | -1/+2 |
| | |||||
* | Make ssize_t clean | Neal Norwitz | 2006-04-01 | 4 | -6/+6 |
| | |||||
* | backport r243 from the pysqlite2 svn repository - lowers the required version | Anthony Baxter | 2006-04-01 | 3 | -126/+151 |
| | | | | | | of SQLite3 from 3.2.2 to 3.0.8, by providing an alternative to sqlite3_transfer_bindings. setup.py also handles the common (in debian and ubuntu, at least) case of a buggy sqlite3.h SQLITE_VERSION_NUMBER. | ||||
* | Patch #1459631: documnent zlib.Decompress.flush() length parameter. | Georg Brandl | 2006-04-01 | 1 | -1/+3 |
| | |||||
* | Bug #1460564: document that socket.fromfd() duplicates the given | Georg Brandl | 2006-04-01 | 1 | -2/+3 |
| | | | | file descriptor. | ||||
* | merged the sqlite-integration branch. | Anthony Baxter | 2006-04-01 | 22 | -0/+4142 |
| | | | | | | | This is based on pysqlite2.1.3, and provides a DB-API interface in the standard library. You'll need sqlite 3.2.2 or later to build this - if you have an earlier version, the C extension module will not be built. | ||||
* | In the fdopen(fd, 'a') case on UNIX, don't try to set fd's flags to -1 if | Thomas Wouters | 2006-03-31 | 1 | -1/+1 |
| | | | | fcntl() and fdopen() both fail. Will backport. | ||||
* | Add guards against fcntl() not being available on Windows. | Georg Brandl | 2006-03-31 | 1 | -0/+4 |
| | |||||
* | bug #1461855: make os.fdopen() add the O_APPEND flag if using "a" mode. | Georg Brandl | 2006-03-31 | 1 | -2/+13 |
| | | | | | | glibc, for example, does this already on its own, but it seems that the solaris libc doesn't. This leads to Python code being able to over- write file contents even though having specified "a" mode. | ||||
* | Patch #1380952: fix SSL objects timing out on consecutive read()s | Georg Brandl | 2006-03-31 | 1 | -8/+15 |
| | |||||
* | Remove unnecessary casts from type object initializers. | Georg Brandl | 2006-03-30 | 3 | -35/+35 |
| | |||||
* | Try to build _ctypes on x86 openbsd. | Thomas Heller | 2006-03-30 | 2 | -0/+2 |
| | |||||
* | In format strings slinging Py_ssize_t, unconditionally | Tim Peters | 2006-03-28 | 1 | -22/+9 |
| | | | | | interpolate PY_FORMAT_SIZE_T instead of #if'ing on MS_WIN64. | ||||
* | Try to get rid of a Coverity warning by consistently using origpending. | Neal Norwitz | 2006-03-28 | 1 | -1/+1 |
| | |||||
* | Make itertools.tee and its internal teedataobject participate in GC. This | Thomas Wouters | 2006-03-27 | 1 | -19/+71 |
| | | | | | alone does not solve the leak in test_generators, unfortunately, but it is part of test_generators' problem and it does solve other cycles. | ||||
* | Fix reference leaks introduced by the recent incremental codec | Hye-Shik Chang | 2006-03-27 | 2 | -41/+52 |
| | | | | changes. | ||||
* | Years in the making. | Tim Peters | 2006-03-26 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | objimpl.h, pymem.h: Stop mapping PyMem_{Del, DEL} and PyMem_{Free, FREE} to PyObject_{Free, FREE} in a release build. They're aliases for the system free() now. _subprocess.c/sp_handle_dealloc(): Since the memory was originally obtained via PyObject_NEW, it must be released via PyObject_FREE (or _DEL). pythonrun.c, tokenizer.c, parsermodule.c: I lost count of the number of PyObject vs PyMem mismatches in these -- it's like the specific function called at each site was picked at random, sometimes even with memory obtained via PyMem getting released via PyObject. Changed most to use PyObject uniformly, since the blobs allocated are predictably small in most cases, and obmalloc is generally faster than system mallocs then. If extension modules in real life prove as sloppy as Python's front end, we'll have to revert the objimpl.h + pymem.h part of this patch. Note that no problems will show up in a debug build (all calls still go thru obmalloc then). Problems will show up only in a release build, most likely segfaults. | ||||
* | Utilize %zd for Py_ssize_t formatting instead of casting to long. | Hye-Shik Chang | 2006-03-26 | 1 | -4/+4 |
| | |||||
* | Allow long objects as a position value of error callbacks returned. | Hye-Shik Chang | 2006-03-26 | 1 | -8/+12 |
| | |||||
* | Patch #1443155: Add the incremental codecs support for CJK codecs. | Hye-Shik Chang | 2006-03-26 | 3 | -316/+826 |
| | | | | (reviewed by Walter Dörwald) | ||||
* | Try to fix broken compile on openbsd. | Neal Norwitz | 2006-03-26 | 1 | -4/+4 |
| | |||||
* | Fix some int/Py_ssize_t issues which led to compiler warnings | Thomas Heller | 2006-03-22 | 1 | -6/+6 |
| | | | | on 64-bit platforms. | ||||
* | Include <malloc.h> on windows, to avoid warnings when compiling with mingw. | Thomas Heller | 2006-03-22 | 4 | -45/+52 |
| | | | | | | | | | Don't use SEH when compiling wth mingw. Use IS_INTRESOURCE to determine function name from function ordinal. Rewrite the code that allocates and frees callback functions, hopefully this avoids the coverty warnings: Remove the THUNK typedef, and move the definition of struct ffi_info into the header file. | ||||
* | Try to repair at least one segfault on the Mac buildbot, | Tim Peters | 2006-03-21 | 1 | -12/+42 |
| | | | | | | | | | | | | | | | | | | | | | | as diagnosed by Nick Coghlan. test_capi.py: A test module should never spawn a thread as a side effect of being imported. Because this one did, the segfault one of its thread tests caused didn't occur until a few tests after test_regrtest.py thought test_capi was finished. Repair that. Also join() the thread spawned at the end, so that test_capi is truly finished when regrtest reports that it's done. _testcapimodule.c test_thread_state(): this spawns a couple of non-threading.py threads, passing them a PyObject* argument, but did nothing to ensure that those threads finished before returning. As a result, the PyObject* _could_ (although this was unlikely) get decref'ed out of existence before the threads got around to using it. Added explicit synchronization (via a Python mutex) so that test_thread_state can reliably wait for its spawned threads to finish. | ||||
* | Avoid a potential double-free bug. | Thomas Heller | 2006-03-20 | 2 | -2/+3 |
| | |||||
* | Apply patch from Martin v. Loewis: Avoid function pointer casts. | Thomas Heller | 2006-03-20 | 2 | -34/+34 |
| | | | | https://sourceforge.net/tracker/?func=detail&atid=532156&aid=1453037&group_id=71702 | ||||
* | Damn Coverity. I can't even sneak in a leak any more. :-) | Neal Norwitz | 2006-03-20 | 1 | -1/+1 |
| | |||||
* | Fix another bug found by Coverty. | Thomas Heller | 2006-03-20 | 1 | -1/+1 |
| | |||||
* | Fix bug found by Coverty. | Thomas Heller | 2006-03-20 | 1 | -1/+1 |
| | |||||
* | Accessing unaligned structure fields works now on all architectures. | Thomas Heller | 2006-03-20 | 1 | -46/+104 |
| | | | | Including unittest. | ||||
* | The helper is only necessary for wait3/4. | Neal Norwitz | 2006-03-20 | 1 | -0/+2 |
| |