[Python-checkins] CVS: python/nondist/peps pep-0249.txt,1.2,1.3

M.-A. Lemburg lemburg@users.sourceforge.net
Fri, 27 Apr 2001 04:20:16 -0700


Update of /cvsroot/python/python/nondist/peps
In directory usw-pr-cvs1:/tmp/cvs-serv22478

Modified Files:
	pep-0249.txt 
Log Message:
Addded clarifications proposed by Federico Di Gregorio.



Index: pep-0249.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0249.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** pep-0249.txt	2001/03/30 16:56:15	1.2
--- pep-0249.txt	2001/04/27 11:20:14	1.3
***************
*** 199,203 ****
              if any operation is attempted with the connection. The
              same applies to all cursor objects trying to use the
!             connection.
              
          commit()
--- 199,206 ----
              if any operation is attempted with the connection. The
              same applies to all cursor objects trying to use the
!             connection.  Note that closing a connection without
!             committing the changes first will cause an implicit
!             rollback to be performed.
! 
              
          commit()
***************
*** 233,237 ****
  
      These objects represent a database cursor, which is used to
!     manage the context of a fetch operation.
          
      Cursor Objects should respond to the following methods and
--- 236,246 ----
  
      These objects represent a database cursor, which is used to
!     manage the context of a fetch operation. Cursors created from 
!     the same connection are not isolated, i.e., any changes
!     done to the database by a cursor are immediately visible by the
!     other cursors. Cursors created from different connections can
!     or can not be isolated, depending on how the transaction support
!     is implemented (see also the connection's rollback() and commit() 
!     methods.)
          
      Cursor Objects should respond to the following methods and
***************
*** 244,248 ****
              describing one result column: (name, type_code,
              display_size, internal_size, precision, scale,
!             null_ok). This attribute will be None for operations that
              do not return rows or if the cursor has not had an
              operation invoked via the executeXXX() method yet.
--- 253,261 ----
              describing one result column: (name, type_code,
              display_size, internal_size, precision, scale,
!             null_ok). The first two items (name and type_code) are
!             mandatory, the other five are optional and must be set to
!             None if meaningfull values are not provided.
! 
!             This attribute will be None for operations that
              do not return rows or if the cursor has not had an
              operation invoked via the executeXXX() method yet.