Changeset 106:f15a519a0903 in livinglogic.python.orasql

Show
Ignore:
Timestamp:
04/26/06 14:36:58 (13 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Merge in 1.5 NEWS entry.

Update various repr() methods.

Files:
2 modified

Legend:

Unmodified
Added
Removed
  • NEWS.xml

    r103 r106  
    1 <section><title>Changes in 1.6 (released ??/??/2006)</title> 
     1<section><title>Changes in 1.7 (released ??/??/2006)</title> 
    22<ulist> 
    33<item>The method <method>iterobjects</method> has been moved from 
     
    77<item><class>LLProc</class> now recognizes the <lit>c_out</lit> 
    88parameter used by <module>ll.toxic</module> 0.8.</item> 
     9</ulist> 
     10</section> 
     11 
     12 
     13<section><title>Changes in 1.6 (released 04/26/2006)</title> 
     14<ulist> 
     15<item>Added a <class>SessionPool</class> (a subclass of <module>cx_Oracle</module>s 
     16<class>SessionPool</class>) whose <method>acquire</method> method 
     17returns <module>ll.orasql.Connection</module> objects.</item> 
    918</ulist> 
    1019</section> 
  • orasql.py

    r105 r106  
    262262 
    263263    def __repr__(self): 
    264         return "<%s.%s object connection=%r at 0x%x>" % (self.__class__.__module__, self.__class__.__name__, self.connectstring(), id(self)) 
     264        return "<%s.%s object db=%r at 0x%x>" % (self.__class__.__module__, self.__class__.__name__, self.connectstring(), id(self)) 
    265265 
    266266 
     
    276276 
    277277    def __repr__(self): 
    278         return "<%s.%s object connection=%r at 0x%x>" % (self.__class__.__module__, self.__class__.__name__, self.connectstring(), id(self)) 
     278        return "<%s.%s object db=%r at 0x%x>" % (self.__class__.__module__, self.__class__.__name__, self.connectstring(), id(self)) 
    279279 
    280280    def __xrepr__(self, mode):