summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #647 from jdufresne/drop-unused-scriptsDaniele Varrazzo2017-12-104-161/+0
|\ | | | | Remove unused scripts maketypes.sh & buildtypes.py
| * Remove unused scripts maketypes.sh & buildtypes.pyJon Dufresne2017-12-104-161/+0
|/ | | | Refs #645
* Merge pull request #646 from jdufresne/drop-deprecatedDaniele Varrazzo2017-12-104-28/+2
|\ | | | | Drop long deprecated function register_tstz_w_secs()
| * Drop long deprecated function register_tstz_w_secs()Jon Dufresne2017-12-104-28/+2
|/ | | | | | | | | | Deprecated in commit b263fbf274f9085a1bddca018ed8a50d37023fc7 on 2010-01-13. The deprecation warning was first released in version 2.2.2. The function used to register an alternate type caster for TIMESTAMP WITH TIME ZONE to deal with historical time zones with seconds in the UTC offset. These are now correctly handled by the default type caster, so currently the function doesn't do anything.
* Merge branch 'goodbye-psycopg1'Daniele Varrazzo2017-12-043-97/+1
|\
| * Dropped psycopg1 modulegoodbye-psycopg1Daniele Varrazzo2017-12-043-97/+1
|/
* Merge branch 'master' into wsDaniele Varrazzo2017-12-0229-144/+69
|\
| * Merge remote-tracking branch 'jdufresne/egg-info'Daniele Varrazzo2017-12-021-0/+1
| |\
| | * Add *.egg-info directories to .gitignoreJon Dufresne2017-12-011-0/+1
| | |
| * | Merge remote-tracking branch 'jdufresne/import-unittest'Daniele Varrazzo2017-12-0222-22/+40
| |\ \
| | * | Always import the system unittestJon Dufresne2017-12-0122-22/+40
| | |/ | | | | | | | | | | | | | | | | | | There is no need to import testutils.unittest instead of simply unittest. They are simple aliases. Use system unittest to be more regular, consistent as well as idiomatic with the wider Python community.
| * | Merge remote-tracking branch 'jdufresne/leading0'Daniele Varrazzo2017-12-021-1/+1
| |\ \
| | * | Drop leading 0's from numeric literalsJon Dufresne2017-12-011-1/+1
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not compatible with Python3. Makes the code more forward compatible with modern Pythons. In Python2, it was an alternative syntax for octal. $ python3 >>> 01 File "<stdin>", line 1 01 ^ SyntaxError: invalid token
| * | Merge remote-tracking branch 'jdufresne/next-func'Daniele Varrazzo2017-12-026-20/+17
| |\ \
| | * | Use builtin function next() throughout projectJon Dufresne2017-12-016-20/+17
| | |/ | | | | | | | | | | | | | | | | | | Available since Python 2.6. Use of .next() is deprecated and not supported in Python 3. Forward compatible with modern Python. https://docs.python.org/2/library/functions.html#next
| * | Merge remote-tracking branch 'jdufresne/more-json'Daniele Varrazzo2017-12-021-56/+0
| |\ \
| | * | Remove test decorators for json moduleJon Dufresne2017-12-011-56/+0
| | |/ | | | | | | | | | | | | | | | | | | | | | The json module is available in all Python versions supported by psycopg2. No need to check for its presence when executing tests. Should have been included with d58844e5483483240f97537e9a77b4e79cea2ab3 but was missed.
| * | Merge remote-tracking branch 'jdufresne/sorted'Daniele Varrazzo2017-12-021-7/+0
| |\ \
| | * | Remove sorted() workaround; available on all supported PythonsJon Dufresne2017-12-011-7/+0
| | |/ | | | | | | | | | | | | | | | Introduced in Python 2.4 and the oldest supported Python is 2.7. https://docs.python.org/2/library/functions.html#sorted
| * | Merge remote-tracking branch 'jdufresne/script-to-py3'Daniele Varrazzo2017-12-025-38/+10
| |\ \ | | |/ | |/|
| | * Remove unnecessary script_to_py3; make scripts compatible insteadJon Dufresne2017-12-015-38/+10
| |/ | | | | | | Part of the work towards moving tests out of the installed package.
* | Dropped .sln fileDaniele Varrazzo2017-12-021-43/+0
| |
* | Trim trailing whitespace from all files throughout projectJon Dufresne2017-12-0152-324/+286
|/ | | | | | Many editors automatically trim whitespace on save. By trimming all files in one go, makes future diffs cleaner without extraneous whitespace changes.
* Fixed NEWS file entriesDaniele Varrazzo2017-12-011-8/+4
| | | | | | - 2.6.3 has not been released (yet). Fixes for bug #420, bug #462 were relased in 2.7. - Added missing report for bug #489 fixed in 2.7.
* Merge branch 'bug-633'Daniele Varrazzo2017-11-293-2/+19
|\
| * Collect rowcount in executemany even when discarding resultsDaniele Varrazzo2017-11-293-2/+19
|/ | | | Closes #633.
* Build and test packages with libpq 10.1 and OpenSSL 1.0.2mDaniele Varrazzo2017-11-283-12/+13
|
* Merge branch 'fix-libpq-version'Daniele Varrazzo2017-11-282-4/+8
|\
| * Fixed __libpq_version__ for Postgres >= 10.1Daniele Varrazzo2017-11-282-4/+8
|/ | | | | | | | | The version should be considered as 10.0.1; the number was generated as 10.1.0 instead. Version number bumped to test building new wheels packages. Fix #632.
* Merge branch 'rm-eol'Daniele Varrazzo2017-11-2829-156/+89
|\ | | | | | | Fix #626, close #628.
| * Use dict comprehensionsDaniele Varrazzo2017-11-282-6/+3
| |
| * Dropped unused test functionsDaniele Varrazzo2017-11-281-3/+0
| |
| * Documentation tweaked to omit Python 2.6 distinctionsDaniele Varrazzo2017-11-282-14/+12
| |
| * Add news and update version checkHugo2017-11-282-2/+12
| |
| * Drop support for EOL Python 3.0-3.3Hugo2017-11-284-17/+4
| |
| * Remove trailing semicolonsHugo2017-11-281-3/+3
| |
| * Remove redundant parenthesesHugo2017-11-285-7/+7
| |
| * __slots__ should be a tupleHugo2017-11-281-1/+1
| |
| * Rewrite list creation as list literalHugo2017-11-281-3/+1
| |
| * Replace comparison with None with equality operatorHugo2017-11-281-1/+1
| |
| * Update to Exception as e, print()Hugo2017-11-284-37/+37
| |
| * Simplify BooleanHugo2017-11-281-1/+1
| |
| * Remove redundant hasattr checksHugo2017-11-282-33/+3
| |
| * Drop support for EOL Python 2.6Hugo2017-11-289-34/+10
|/
* Merge remote-tracking branch 'jdufresne/json-docs'Daniele Varrazzo2017-11-282-10/+4
|\
| * Update documentation to reflect JSON import behaviorJon Dufresne2017-11-282-10/+4
| | | | | | | | | | | | | | | | The docs don't need to describe what will happen on Python versions before 2.6 as they are unsupported by psycopg2. Should have been included in commit d58844e5483483240f97537e9a77b4e79cea2ab3, but was missed.
* | Merge remote-tracking branch 'jdufresne/with-statement'Daniele Varrazzo2017-11-282-4/+0
|\ \ | |/ |/|
| * Remove "from __future__ import with_statement"Jon Dufresne2017-11-282-4/+0
|/ | | | | All versions of Python supported by psycopg2 have builtin support for the with statement. The import is unnecessary noise.
* Merge branch 'python3_mintimeloggingconnection'Daniele Varrazzo2017-11-282-0/+3
|\
| * Mention MinTimeLoggingCursor fix in NEWS fileDaniele Varrazzo2017-11-281-0/+6
| |