Re: PATCH: add some new exceptions
"Harald Armin Massa" <[email protected]>
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Message-ID | <[email protected]> |
James, I just looked at one sentence: > I extended the test suite to verify that the new exceptions are being > raised correctly. While working on this, I also made some changes to > the way the Connection.*Error attributes are handled, which should be > a bit simpler and fixes a reference leak. Do I understand correctly that there is a reference leak SOMEWHERE in Connection Error Handling in actual psycopg2 ? because I have a VERY spurios ntdll.dll exception (i.e. Windows crying out, uncatchable), which only sometimes appears; The usual point of crash is after testing the connection and putting the connection object into garbage. That you found and fixed that leak be fabulous news and would entitle you to beer by me @ EuroPython. Best wishes, Harald -- GHUM Harald Massa persuadere et programmare Harald Armin Massa Spielberger Straße 49 70435 Stuttgart 0173/9409607 fx 01212-5-13695179 - EuroPython 2008 will take place in Vilnius, Lithuania - Stay tuned!