| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Will backport.
|
|
|
|
|
|
|
| |
This adds signal.set_wakeup_fd(fd) which sets a file descriptor to
which a zero byte will be written whenever a C exception handler runs.
I added a simple C API as well, PySignal_SetWakeupFd(fd).
|
|
|
|
| |
Py_REFCNT. Macros for b/w compatibility are available.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
list.__init__. Not a backport candidate.
|
| |
|
|
|
|
|
|
|
|
|
| |
- Backported a workaround for a bug in SQLite 3.2.x/3.3.x versions where a
statement recompilation with no bound parameters lead to a segfault
- Backported a fix necessary because of an SQLite API change in version
3.5.
This prevents segfaults when executing empty queries, like our test suite
does
|
|
|
|
|
| |
in signalmodule.c more robust. Includes Martin von Loewis's suggestion
to set is_tripped after .tripped.
|
|
|
|
| |
os.access now returns True on Windows for any existing directory.
|
|
|
|
|
|
| |
on 32-bit systems on 64-bit systems, and vice versa. As a consequence
of the change, Random pickles created by Python 2.6 cannot be loaded
in Python 2.5.
|
|
|
|
| |
initialization of the type slots.
|
|
|
|
|
| |
The new msvc9compiler module supports VS 2005 and VS 2008. I've also fixed build_ext to support PCbuild8 and PCbuild9 and backported my fix for xxmodule.c from py3k. The old code msvccompiler is still in place in case somebody likes to build an extension with VS 2003 or earlier.
I've also updated the cygwin compiler module for VS 2005 and VS 2008. It works with VS 2005 but I'm unable to test it with VS 2008. We have to wait for a new version of cygwin.
|
|
|
|
|
| |
Georg Brandl has added fchmod() and fchown(). I've contributed lchown but I'm not able to test it on Linux. However it should be available on Mac and some other flavors of Unix.
I've made a quick test of fchmod() and fchown() on my system. They are working as expected.
|
|
|
|
| |
implementation in C.
|
|
|
|
| |
Also document a few other O_ constants that were missing from documentation.
|
|
|
|
|
| |
I've finished the last task for the PCbuild9 directory today. I don't think there is much left to do. Now you can all play around with the shiny new VS 2008 and try the PGO builds. I was able to get a speed improvement of about 10% on py3k.
Have fun! :)
|
| |
|
|
|
|
|
|
|
| |
Solves issue1460.
Might not be a backport candidate: a new API function was added,
and some code may rely on details in utf-7.py.
|
| |
|
|
|
|
| |
executable
|
|
|
|
|
|
|
|
| |
Currently on Windows set_error() make use of a large array which maps
socket error numbers to error messages.
This patch removes that array and just lets PyErr_SetExcFromWindowsErr()
generate the message by using the Win32 function FormatMessage().
|
|
|
|
|
|
|
|
| |
fixed indention to tabs
use Py_RETURN_NONE macro
added more error checks to on_completion_display_matches_hook
open question: Does PyList_SetItem(l, i, o) steal a reference to o in the case of an error?
|
|
|
|
| |
is a Python hook function. Fixes #1425.
|
|
|
|
| |
collections.deque().
|
|
|
|
| |
* get compiling with older versions of python again for a stand alone release.
|
|
|
|
| |
Improve test_lock's tempdir creation and cleanup.
|
|
|
|
|
|
|
|
|
|
| |
pay attention to them when opening an existing database. This means
that d[] behaves properly even on databases previously created with DB_DUP
or DB_DUPSORT flags to allow duplicate keys.
http://sourceforge.net/tracker/index.php?func=detail&aid=477182&group_id=13900&atid=113900
Do not backport, this bugfix could be considered an API change.
|
|
|
|
|
| |
have NULL bytes in them. Replace the errant strdup with a
malloc+memcpy. Adds a unit test for the correct behavior.
|
| |
|
|
|
|
| |
See issue 1324.
|
| |
|
|
|
|
|
|
| |
See also https://bugs.launchpad.net/bugs/72505.
Ported from release25-maint branch.
|
| |
|
| |
|
|
|
|
| |
being initialized. (gcc warning and Coverity 202)
|
| |
|
|
|
|
| |
unbounded deques.
|
|
|
|
|
|
| |
string key (and probably a few other situations with string keys).
This was reported with a patch as pybsddb sourceforge bug 1708868 by
jjjhhhlll at gmail.
|
|
|
|
|
|
|
|
|
|
|
| |
object available as bsddb.db.api. This is based on the patch submitted
by Duncan Grisby here:
http://sourceforge.net/tracker/index.php?func=detail&aid=1551895&group_id=13900&atid=313900
See this thread for additional info:
http://sourceforge.net/mailarchive/forum.php?thread_name=E1GAVDK-0002rk-Iw%40apasphere.com&forum_name=pybsddb-users
It also cleans up the code a little by removing some ifdef/endifs for
python prior to 2.1 and for unsupported Berkeley DB <= 3.2.
|
|
|
|
| |
ubuntu buildbots.
|
| |
|
|
|
|
|
|
|
| |
This code was broken if save() returned a negative number since i contained
a boolean value and then we compared i < 0 which should never be true.
Will backport (assuming it's necessary)
|
|
|
|
| |
Fix a compiler warning about passing a PyTypeObject* instead of PyObject*.
|
|
|
|
|
|
| |
Add maxlen support to deque() and fixup docs.
Partially fix __reduce__(). The None as a third arg was no longer supported.
Still needs work on __reduce__() to handle recursive inputs.
|
| |
|
| |
|
|
|
|
|
|
| |
PyObject_Print().
Closes issue #1164.
|