<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/psycopg2.git/psycopg/adapter_datetime.c, 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>Moved datatime compatibility macros with others</title>
<updated>2018-01-10T22:53:56+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2018-01-10T22:24:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=b99c8ab2dee17a040902d8329532a7f7cc3fcded'/>
<id>b99c8ab2dee17a040902d8329532a7f7cc3fcded</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>define a "polyfill" inline for python 2 compatibility</title>
<updated>2018-01-10T22:53:43+00:00</updated>
<author>
<name>Glyph</name>
<email>glyph@twistedmatrix.com</email>
</author>
<published>2017-12-12T11:12:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=632cfe0617080c8c169d006482772b4dc1e2398f'/>
<id>632cfe0617080c8c169d006482772b4dc1e2398f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>use accessor macros for pypy3 compatibility</title>
<updated>2018-01-10T22:53:37+00:00</updated>
<author>
<name>Glyph</name>
<email>glyph@twistedmatrix.com</email>
</author>
<published>2017-12-12T11:06:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=ae227effe2bcc63cacbb2ee41a39345f0934e578'/>
<id>ae227effe2bcc63cacbb2ee41a39345f0934e578</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid a possible null deref, tz might be NULL.</title>
<updated>2016-04-18T15:28:50+00:00</updated>
<author>
<name>Gabriel Kihlman</name>
<email>gk@romab.com</email>
</author>
<published>2016-04-18T15:28:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=5ce00f8e5baa79548122b438c8f4d9f92eec682a'/>
<id>5ce00f8e5baa79548122b438c8f4d9f92eec682a</id>
<content type='text'>
Found by clang static analyzer.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Found by clang static analyzer.
</pre>
</div>
</content>
</entry>
<entry>
<title>Cast time into timetz when the tzinfo field is set.</title>
<updated>2014-11-13T08:32:06+00:00</updated>
<author>
<name>Hyunjun Kim</name>
<email>yoloseem@gmail.com</email>
</author>
<published>2014-11-13T08:32:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=4dbda021458eaf972865ef356f657d57c4eb5d0a'/>
<id>4dbda021458eaf972865ef356f657d57c4eb5d0a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't import psycopg2.tz into the C extension</title>
<updated>2014-08-28T01:17:46+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2014-08-25T22:08:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=54d904138dc7c3f8d39fa928c836474faa18dcd6'/>
<id>54d904138dc7c3f8d39fa928c836474faa18dcd6</id>
<content type='text'>
This makes possible to import _psycopg directly, after adding the
package directory to the pythonpath. This enables hacks such as:

    sys.path.insert(0, '/path/to/psycopg2')
    import _psycopg
    sys.modules['psycopg2._psycopg'] = _psycopg
    sys.path.pop(0)

which can work around e.g. the problem of #201, freeze that cannot
freeze psycopg2. Well, freeze cannot freeze it because it's just not
designed to deal with C extensions. At least now the frozen application
can hack the pythonpath and work around the limitation by importing
_psycopg as above and then doing the rest of the imports normally.

Keeping long-lived references to python objects is bad anyway: the
tz module couldn't be reloaded before.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes possible to import _psycopg directly, after adding the
package directory to the pythonpath. This enables hacks such as:

    sys.path.insert(0, '/path/to/psycopg2')
    import _psycopg
    sys.modules['psycopg2._psycopg'] = _psycopg
    sys.path.pop(0)

which can work around e.g. the problem of #201, freeze that cannot
freeze psycopg2. Well, freeze cannot freeze it because it's just not
designed to deal with C extensions. At least now the frozen application
can hack the pythonpath and work around the limitation by importing
_psycopg as above and then doing the rest of the imports normally.

Keeping long-lived references to python objects is bad anyway: the
tz module couldn't be reloaded before.
</pre>
</div>
</content>
</entry>
<entry>
<title>Dropped almost-no-op customized objects repr()</title>
<updated>2014-08-15T01:54:10+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2014-08-15T01:06:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=95165cef7d6157945802ffeb98d51c43fd4033e9'/>
<id>95165cef7d6157945802ffeb98d51c43fd4033e9</id>
<content type='text'>
The default repr is enough: it prints &lt;TypeName at 0xADDR&gt; instead of
&lt;TypeName object at 0xADDR&gt;.

The only people being hurt by this change are the ones using doctests:
they deserve it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The default repr is enough: it prints &lt;TypeName at 0xADDR&gt; instead of
&lt;TypeName object at 0xADDR&gt;.

The only people being hurt by this change are the ones using doctests:
they deserve it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Dropped GC support for several objects</title>
<updated>2013-04-05T00:02:47+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2013-04-05T00:02:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=e14440d96d5aa70285e77bb26b979ea0dad84d6d'/>
<id>e14440d96d5aa70285e77bb26b979ea0dad84d6d</id>
<content type='text'>
Non-containers don't need GC. It was half-baked anyway
as the tp_clear was often not set. Dropped tp_traverse too
for these objects as unused.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Non-containers don't need GC. It was half-baked anyway
as the tp_clear was often not set. Dropped tp_traverse too
for these objects as unused.
</pre>
</div>
</content>
</entry>
<entry>
<title>PyType_GenericAlloc is the default allocator: no need to specify</title>
<updated>2013-03-20T23:53:20+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2013-03-20T22:27:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=d5316d7eb2e3cb75bbfdbd9b7a10f10240c4f462'/>
<id>d5316d7eb2e3cb75bbfdbd9b7a10f10240c4f462</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Dropped "customized" pg_free functions</title>
<updated>2013-03-20T01:48:21+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2013-03-20T01:34:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=5dfba462da063f8520ed55d193b929fa8257e3a8'/>
<id>5dfba462da063f8520ed55d193b929fa8257e3a8</id>
<content type='text'>
The defaut is already to call PyObject_GC_Del.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The defaut is already to call PyObject_GC_Del.
</pre>
</div>
</content>
</entry>
</feed>
