durusmail: durus-users: Durus 3.7 on Windows oid allocation issue
Durus 3.7 on Windows oid allocation issue
2007-09-06
2007-09-06
2007-09-06
2007-09-06
2007-09-06
2007-09-06
Durus 3.7 on Windows oid allocation issue
David K. Hess
2007-09-06
Do you mean Python optimization? This is unrelated to py2exe:

$ python
Python 2.5.1 (r251:54863, Aug 10 2007, 06:08:23)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> assert 1==0
Traceback (most recent call last):
   File "", line 1, in 
AssertionError
 >>>
$ python -O
Python 2.5.1 (r251:54863, Aug 10 2007, 06:08:23)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> assert 1==0
 >>>
$

I wasn't concerned with using optimization until I encountered this.
I've used it a lot for some Windows apps and never had a problem
before. Usually problems that pop up are related to modules that like
to assume that they live in Lib/site-packages on disk and try
accessing those directories.

Dave

------
David K. Hess
Cell 214.684.5448 | Fax 214.764.7183
dhess@fishsoftware.com


On Sep 6, 2007, at 3:10 PM, David Binger wrote:

> This seems like a reasonable fix to me for the problem you noticed.
>
> Are you not concerned that other behaviors are optimized out by
> py2exe?
>
> On Sep 6, 2007, at 3:55 PM, David K. Hess wrote:
>
>> Here's my proposed fix:
>>
>>             new_oid = self.new_oid()
>>             assert ROOT_OID == new_oid
>
>



This email message is for the sole use of the intended recipient(s) and may
contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution is prohibited. If you
are not the intended recipient, please contact the sender by reply email and
delete and destroy all copies of the original message.
reply