Message5088

Author thijs
Recipients thijs
Date 2009-09-02.16:21:28
SpamBayes Score 1.9428903e-15
Marked as misclassified No
Message-id <1251908488.59.0.154250233441.issue1456@psf.upfronthosting.co.za>
In-reply-to
Content
While testing Jython 2.5.1rc1 with PyAMF 0.5 trunk (r2754) I'm getting unexpected 
errors that don't show up in CPython:

$ jython
Jython 2.5.1rc1 (Release_2_5_1rc1:6736:6741, Sep 1 2009, 10:37:37) 
[Java HotSpot(TM) 64-Bit Server VM (Apple Inc.)] on java1.6.0_13
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> import pyamf
>>> pyamf.register_package(sys, 'com.example.test')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "pyamf/__init__.py", line 1680, in register_package
    classes = filter(check_attr, [get(x) for x in keys])
  File "pyamf/__init__.py", line 1647, in <lambda>
    get = lambda x: getattr(module, x)
AttributeError: write-only attr: trace

$ python
Python 2.5.1 (r251:54863, Feb  6 2009, 19:02:12) 
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> import pyamf
>>> pyamf.register_package(sys, 'com.example.test')
{}
History
Date User Action Args
2009-09-02 16:21:28thijssetrecipients: + thijs
2009-09-02 16:21:28thijssetmessageid: <1251908488.59.0.154250233441.issue1456@psf.upfronthosting.co.za>
2009-09-02 16:21:28thijslinkissue1456 messages
2009-09-02 16:21:28thijscreate