Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clear errno before calling opendir() and readdir(). | Georg Brandl | 2006-04-11 | 1 | -0/+1 |
| | |||||
* | Bug #1467952: os.listdir() now correctly raises an error if readdir() | Georg Brandl | 2006-04-11 | 1 | -0/+6 |
| | | | | fails with an error condition. | ||||
* | SF Patch #1463867: Improved generator finalization to allow generators | Phillip J. Eby | 2006-04-10 | 1 | -1/+5 |
| | | | | | | | | that are suspended outside of any try/except/finally blocks to be garbage collected even if they are part of a cycle. Generators that suspend inside of an active try/except or try/finally block (including those created by a ``with`` statement) are still not GC-able if they are part of a cycle, however. | ||||
* | Fix warning about ptsname not being a prototype on Solaris. Is this ↵ | Neal Norwitz | 2006-04-10 | 1 | -1/+1 |
| | | | | prototype even necessary anymore? | ||||
* | Get rid of warnings about using chars as subscripts | Neal Norwitz | 2006-04-10 | 2 | -3/+3 |
| | | | | on Alpha (and possibly other platforms) by using Py_CHARMASK(). | ||||
* | Fix some warnings on HP-UX when using cc/aCC | Neal Norwitz | 2006-04-10 | 3 | -6/+4 |
| | |||||
* | Fix problem (not checking return result) reported by Coverity | Neal Norwitz | 2006-04-09 | 1 | -1/+4 |
| | |||||
* | Fix bsddb.db.DBError derived exceptions so they can be unpickled. | Gregory P. Smith | 2006-04-08 | 1 | -6/+22 |
| | | | | | Also adds some backwards compatibility when compiling _bsddb.c on earlier python versions (needed for pybsddb). | ||||
* | Patch #1462080: Conditionalize some NETLINK defines. | Martin v. Löwis | 2006-04-06 | 1 | -0/+11 |
| | |||||
* | Expose RTLD_LOCAL and RTLD_GLOBAL always from the _ctypes extension module. | Thomas Heller | 2006-04-06 | 1 | -2/+12 |
| | | | | | | | If RTLD_LOCAL is not #defined in any header file (Windows), set it to 0. If RTLD_GLOBAL is not #defined, set it equal to RTLD_LOCAL. This should fix ctypes on cygwin. | ||||
* | 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 |
| |