<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/psycopg2.git/tests/test_with.py, branch separate-binary</title>
<subtitle>github.com: psycopg/psycopg2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/'/>
<entry>
<title>Use modern except syntax throughout project</title>
<updated>2017-11-21T04:00:35+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2017-11-21T04:00:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=390e43fcb191d1b52ca747e2b71f938f9df52c95'/>
<id>390e43fcb191d1b52ca747e2b71f938f9df52c95</id>
<content type='text'>
The syntax "except Exception, exc:" is deprecated. All Python versions
supported by psycopg2 support the newer, modern syntax. Forward
compatible with future Python versions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The syntax "except Exception, exc:" is deprecated. All Python versions
supported by psycopg2 support the newer, modern syntax. Forward
compatible with future Python versions.
</pre>
</div>
</content>
</entry>
<entry>
<title>Python source cleanup using flake8</title>
<updated>2016-10-10T23:11:55+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2016-10-10T23:10:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=91d2158de7954daccb0a22885021c8416d1d5c6c'/>
<id>91d2158de7954daccb0a22885021c8416d1d5c6c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>More tests tweaks</title>
<updated>2015-02-08T12:51:36+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2015-02-08T12:50:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=296caa4556aa643601b7f63c7b08f97a6494db85'/>
<id>296caa4556aa643601b7f63c7b08f97a6494db85</id>
<content type='text'>
Named cursors on old server versions have a different prefetch behaviour.
This has hidden me the supported range of the 24:00 time format.
Let's have another go at full testing...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Named cursors on old server versions have a different prefetch behaviour.
This has hidden me the supported range of the 24:00 time format.
Let's have another go at full testing...
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't try to close the server cursor in error state</title>
<updated>2014-09-16T05:57:34+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2014-09-16T05:46:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=1b48033345c912ea60ff5fca822bef13c3400067'/>
<id>1b48033345c912ea60ff5fca822bef13c3400067</id>
<content type='text'>
`close()` is implicitly called by `__exit__()`, so an exit on error
would run a query on a inerr connection, causing another exception
hiding the original one. The fix is on `close()`, not on `__exit__()`,
because the semantic of the latter is simply to call the former.

Closes #262.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`close()` is implicitly called by `__exit__()`, so an exit on error
would run a query on a inerr connection, causing another exception
hiding the original one. The fix is on `close()`, not on `__exit__()`,
because the semantic of the latter is simply to call the former.

Closes #262.
</pre>
</div>
</content>
</entry>
<entry>
<title>Testing boilerplate unified in a single base class</title>
<updated>2013-04-06T23:23:30+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2013-04-06T23:23:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=0e06addc9fa09a40c0406bfae327df6d8dcf7c2e'/>
<id>0e06addc9fa09a40c0406bfae327df6d8dcf7c2e</id>
<content type='text'>
The class makes a connection always available, allows creating
new connection and closes everything on tear down.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The class makes a connection always available, allows creating
new connection and closes everything on tear down.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make sure to call subclasses methods on context exit</title>
<updated>2012-12-03T03:37:47+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2012-12-03T03:37:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=12645db754f9f665f8959a6072628ddb094f9abf'/>
<id>12645db754f9f665f8959a6072628ddb094f9abf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added support for with statement for connection and cursor</title>
<updated>2012-12-03T02:50:24+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2012-12-03T02:50:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=cc605032f5c0c00bee21ab34e5e13b9d866a795e'/>
<id>cc605032f5c0c00bee21ab34e5e13b9d866a795e</id>
<content type='text'>
The implementation should be conform to the DBAPI, although the "with"
extension has not been released yet.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The implementation should be conform to the DBAPI, although the "with"
extension has not been released yet.
</pre>
</div>
</content>
</entry>
</feed>
