"Martijn Pieters" <[EMAIL PROTECTED]> writes:
> On Thu, Jun 26, 2008 at 5:26 AM, Ross Patterson <[EMAIL PROTECTED]> wrote:
>> This seems wrong in that the object subclasses
>> Persistent but is being used in a way that doesn't allow it to be stored
>> in a ZODB. Why do the FSObject classes subcla
"Martijn Pieters" <[EMAIL PROTECTED]> writes:
> On Thu, Jun 26, 2008 at 7:15 PM, Ross Patterson <[EMAIL PROTECTED]> wrote:
>>> I think because they are also used to create TTW skin objects; hit
>>> 'customize' on one such object in the skins directory and a copy is
>>> created that *is* persisted.
"Martijn Pieters" <[EMAIL PROTECTED]> writes:
> On Thu, Jun 26, 2008 at 10:08 PM, Ross Patterson <[EMAIL PROTECTED]> wrote:
>> But since the FSObjects provide IPersistent, they can be added to a
>> connection. If they're added to a connection, the object can be
>> ghosted when that connection is
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martijn Pieters wrote:
> On Fri, Jun 27, 2008 at 6:53 PM, Ross Patterson <[EMAIL PROTECTED]> wrote:
>> "Martijn Pieters" <[EMAIL PROTECTED]> writes:
>>> But the code never does that. When cloning a file-based FSObject, a
>>> new instance is created and
Tres Seaver <[EMAIL PROTECTED]> writes:
> Martijn Pieters wrote:
>> On Fri, Jun 27, 2008 at 6:53 PM, Ross Patterson <[EMAIL PROTECTED]> wrote:
>>> "Martijn Pieters" <[EMAIL PROTECTED]> writes:
But the code never does that. When cloning a file-based FSObject, a
new instance is created and
Ross Patterson wrote:
Tres Seaver <[EMAIL PROTECTED]> writes:
Martijn Pieters wrote:
On Fri, Jun 27, 2008 at 6:53 PM, Ross Patterson <[EMAIL PROTECTED]> wrote:
"Martijn Pieters" <[EMAIL PROTECTED]> writes:
But the code never does that. When cloning a file-based FSObject, a
new instance is cr
Laurence Rowe <[EMAIL PROTECTED]> writes:
> Ross Patterson wrote:
>> Tres Seaver <[EMAIL PROTECTED]> writes:
>>
>>> Martijn Pieters wrote:
On Fri, Jun 27, 2008 at 6:53 PM, Ross Patterson <[EMAIL PROTECTED]> wrote:
> "Martijn Pieters" <[EMAIL PROTECTED]> writes:
>> But the code never d
Ross Patterson wrote at 2008-6-30 10:34 -0700:
> ...
>> Creating a savepoint seems to do the trick:
>>
> from persistent import Persistent
> import transaction
> app.pob = Persistent()
> app.pob._p_oid is None
>> True
> s = transaction.savepoint()
> app.pob._p_oid
>> '\x00\x