pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: PL/Python: Make tests pass with Python 3.5 4+ messages / 1 participants [nested] [flat]
* pgsql: PL/Python: Make tests pass with Python 3.5 @ 2015-08-14 04:02 Peter Eisentraut <peter_e@gmx.net> 0 siblings, 0 replies; 4+ messages in thread From: Peter Eisentraut @ 2015-08-14 04:02 UTC (permalink / raw) To: pgsql-committers PL/Python: Make tests pass with Python 3.5 The error message wording for AttributeError has changed in Python 3.5. For the plpython_error test, add a new expected file. In the plpython_subtransaction test, we didn't really care what the exception is, only that it is something coming from Python. So use a generic exception instead, which has a message that doesn't vary across versions. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/f16d52269a196f7f303abe3b978d95ade265f05f Modified Files -------------- src/pl/plpython/expected/README | 1 + src/pl/plpython/expected/plpython_error_5.out | 428 ++++++++++++++++++++ .../plpython/expected/plpython_subtransaction.out | 12 +- .../expected/plpython_subtransaction_0.out | 8 +- .../expected/plpython_subtransaction_5.out | 8 +- src/pl/plpython/sql/plpython_subtransaction.sql | 4 +- 6 files changed, 445 insertions(+), 16 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: PL/Python: Make tests pass with Python 3.5 @ 2015-11-14 18:54 Peter Eisentraut <peter_e@gmx.net> 0 siblings, 0 replies; 4+ messages in thread From: Peter Eisentraut @ 2015-11-14 18:54 UTC (permalink / raw) To: pgsql-committers PL/Python: Make tests pass with Python 3.5 The error message wording for AttributeError has changed in Python 3.5. For the plpython_error test, add a new expected file. In the plpython_subtransaction test, we didn't really care what the exception is, only that it is something coming from Python. So use a generic exception instead, which has a message that doesn't vary across versions. Branch ------ REL9_4_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/f1b898759f4936e9185698e8624da832a99b933e Modified Files -------------- src/pl/plpython/expected/README | 1 + src/pl/plpython/expected/plpython_error_5.out | 428 ++++++++++++++++++++ .../plpython/expected/plpython_subtransaction.out | 12 +- .../expected/plpython_subtransaction_0.out | 8 +- .../expected/plpython_subtransaction_5.out | 8 +- src/pl/plpython/sql/plpython_subtransaction.sql | 4 +- 6 files changed, 445 insertions(+), 16 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: PL/Python: Make tests pass with Python 3.5 @ 2015-11-14 18:54 Peter Eisentraut <peter_e@gmx.net> 0 siblings, 0 replies; 4+ messages in thread From: Peter Eisentraut @ 2015-11-14 18:54 UTC (permalink / raw) To: pgsql-committers PL/Python: Make tests pass with Python 3.5 The error message wording for AttributeError has changed in Python 3.5. For the plpython_error test, add a new expected file. In the plpython_subtransaction test, we didn't really care what the exception is, only that it is something coming from Python. So use a generic exception instead, which has a message that doesn't vary across versions. Branch ------ REL9_3_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/a37ab812c7a2a99917e01f07ac4958712ea02637 Modified Files -------------- src/pl/plpython/expected/README | 1 + src/pl/plpython/expected/plpython_error_5.out | 428 ++++++++++++++++++++ .../plpython/expected/plpython_subtransaction.out | 12 +- .../expected/plpython_subtransaction_0.out | 8 +- .../expected/plpython_subtransaction_5.out | 8 +- src/pl/plpython/sql/plpython_subtransaction.sql | 4 +- 6 files changed, 445 insertions(+), 16 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: PL/Python: Make tests pass with Python 3.5 @ 2015-11-14 18:54 Peter Eisentraut <peter_e@gmx.net> 0 siblings, 0 replies; 4+ messages in thread From: Peter Eisentraut @ 2015-11-14 18:54 UTC (permalink / raw) To: pgsql-committers PL/Python: Make tests pass with Python 3.5 The error message wording for AttributeError has changed in Python 3.5. For the plpython_error test, add a new expected file. In the plpython_subtransaction test, we didn't really care what the exception is, only that it is something coming from Python. So use a generic exception instead, which has a message that doesn't vary across versions. Branch ------ REL9_2_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/82076c1e40eb93717ede3c82f59e7711090b63a8 Modified Files -------------- src/pl/plpython/expected/README | 1 + src/pl/plpython/expected/plpython_error_5.out | 403 ++++++++++++++++++++ .../plpython/expected/plpython_subtransaction.out | 12 +- .../expected/plpython_subtransaction_0.out | 8 +- .../expected/plpython_subtransaction_5.out | 8 +- src/pl/plpython/sql/plpython_subtransaction.sql | 4 +- 6 files changed, 420 insertions(+), 16 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2015-11-14 18:54 UTC | newest] Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2015-08-14 04:02 pgsql: PL/Python: Make tests pass with Python 3.5 Peter Eisentraut <peter_e@gmx.net> 2015-11-14 18:54 pgsql: PL/Python: Make tests pass with Python 3.5 Peter Eisentraut <peter_e@gmx.net> 2015-11-14 18:54 pgsql: PL/Python: Make tests pass with Python 3.5 Peter Eisentraut <peter_e@gmx.net> 2015-11-14 18:54 pgsql: PL/Python: Make tests pass with Python 3.5 Peter Eisentraut <peter_e@gmx.net>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox