taskTransport Sample Protocol - Tasks: task #9683, DTest name property problem with...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

task #9683: DTest name property problem with python2.6

Submitted by:  lionel duroyon <lduroyon>
Submitted on:  Tue 08 Sep 2009 04:48:03 PM UTC  
 
Category:  DTest Should Start On:  Tue 08 Sep 2009 12:00:00 AM UTC
Should be Finished on:  Thu 01 Oct 2009 12:00:00 AM UTC Priority:  5 - Normal
Status:  In Progress Privacy:  Public
Percent Complete:  90% Assigned to:  lionel duroyon <lduroyon>
Open/Closed:  Open Effort:  0.00

Wed 30 Sep 2009 03:36:36 PM UTC, comment #2:

to work with python versions <= 2.6 we are now using :

if not "name" in dir(threading.Thread):
def __getName(self):
return self.getName()

name = property(fget=__getName)

lionel duroyon <lduroyon>
Project MemberIn charge of this item.
Tue 08 Sep 2009 04:53:13 PM UTC, comment #1:

Name property is not defined in python2.5 for threading module whereas it is in python2.6.

dtest-autotest works when we comment
"
#def __getName(self):
# return self.getName()

#name = property(fget=__getName)
"
in dtester.py

lionel duroyon <lduroyon>
Project MemberIn charge of this item.
Tue 08 Sep 2009 04:48:03 PM UTC, original submission:

We get a
"
self.getName()
RuntimeError: maximum recursion depth exceeded
"
when running dtest-autotest with python2.6

lionel duroyon <lduroyon>
Project MemberIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by lduroyon (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-09-30 lduroyon Percent Complete50% => 90%
    2009-09-08 lduroyon Percent Complete40% => 50%

    Back to the top


    Powered by Savane 3.4