- 03 Apr, 2010 4 commits
-
-
Hanno Schlichting authored
Give both wrapper classes a ``__getnewargs__`` method, which causes the ZODB optimization to fail and create persistent references using the ``_p_oid`` alone. This happens to be the persistent oid of the wrapped object. This lets these objects to be persisted correctly, even though they are passed to the ZODB in a wrapped state.
-
http://dev.plone.org/plone/ticket/10318Hanno Schlichting authored
Added failing tests for http://dev.plone.org/plone/ticket/10318. This shows an edge-case where AQ wrappers can be pickled using the specific combination of cPickle, pickle protocol one and a custom Pickler class with an ``inst_persistent_id`` hook. Unfortunately this is the exact combination used by ZODB3.
-
Hanno Schlichting authored
-
Hanno Schlichting authored
-
- 23 Feb, 2010 5 commits
-
-
Hanno Schlichting authored
-
Hanno Schlichting authored
-
Hanno Schlichting authored
-
Hanno Schlichting authored
Fix the ``tp_name`` of the ImplicitAcquisitionWrapper and ExplicitAcquisitionWrapper to match their Python visible names and thus have a correct ``__name__``.
-
Hanno Schlichting authored
Expand the ``tp_name`` of our extension types to hold the fully qualified name. This ensures classes have their ``__module__`` set correctly.
-
- 14 Feb, 2010 3 commits
-
-
Hanno Schlichting authored
-
Hanno Schlichting authored
-
Hanno Schlichting authored
Added support for method cache in Acquisition. Patch contributed by Yoshinori K. Okuji. See LP #486182.
-
- 29 Oct, 2009 5 commits
-
-
Hanno Schlichting authored
-
Hanno Schlichting authored
-
Andreas Zeidler authored
add extra tests for the modified version of `PyObject_GetIter` used for iteration support (see https://bugs.launchpad.net/zope2/+bug/360761)
-
Andreas Zeidler authored
fix iteration proxying to pass `self` acquisition-wrapped into `__iter__` and `__getitem__` (fixes https://bugs.launchpad.net/zope2/+bug/360761)
-
https://bugs.launchpad.net/zope2/+bug/360761/comments/7Andreas Zeidler authored
first add [https://bugs.launchpad.net/zope2/+bug/360761/comments/7 the tests] kindly provided by Tres
-
- 30 Sep, 2009 1 commit
-
-
Tres Seaver authored
-
- 09 Aug, 2009 2 commits
-
-
Martijn Pieters authored
-
Martijn Pieters authored
-
- 08 Aug, 2009 4 commits
-
-
Hanno Schlichting authored
-
Hanno Schlichting authored
-
Hanno Schlichting authored
-
Martijn Pieters authored
Define a FORMAT_N macro and use it wherever a python int needs to be built from a Py_ssize_t variable
-
- 07 Aug, 2009 2 commits
-
-
Hanno Schlichting authored
-
Martijn Pieters authored
Most likely this is not the only 'i' -> 'n' fix required.
-
- 02 Aug, 2009 3 commits
-
-
Tres Seaver authored
-
Tres Seaver authored
-
Tres Seaver authored
o See http://www.python.org/dev/peps/pep-0353/ for details.
-
- 15 Apr, 2009 3 commits
-
-
Hanno Schlichting authored
-
Hanno Schlichting authored
-
Andreas Zeidler authored
update for r94905: the proxy for `__iter__` must not rely on the object to have an `__iter__` itself, but also support fall-back iteration via `__getitem__` (this fixes https://bugs.launchpad.net/zope2/+bug/360761)
-
- 08 Feb, 2009 1 commit
-
-
Hanno Schlichting authored
-
- 24 Jan, 2009 3 commits
-
-
Hanno Schlichting authored
-
Hanno Schlichting authored
-
Hanno Schlichting authored
-
- 21 Jan, 2009 1 commit
-
-
Andreas Zeidler authored
-
- 26 Oct, 2008 1 commit
-
-
Sidnei da Silva authored
-
- 26 Aug, 2008 1 commit
-
-
Hanno Schlichting authored
-
- 26 Apr, 2008 1 commit
-
-
Hanno Schlichting authored
-