packaged for wip by pho.
This module defines a class for types with a default value. Instances
are provided for '()', Set, Map, Int, Integer, Float, Double, Ratio,
Maybe, '[]', '->' and IO.
Upstream changes
----------------
Changes in version 3.3.14ga10, 27. April 2014
[x3270] Restored the ability to use the special 3270 fonts with code
page 1047.
Changes in version 3.3.14ga9, 13. April 2014
[all 3270] Fixed a crash when disabling tracing after opening the
trace file fails.
Changes in version 3.3.14beta8, 31. March 2014
[all 3270] Changed the keyboard to unlock when a BIND-IMAGE is received.
This matches the behavior of PCOMM and is consistent with some comments
found on IBM webpages. The net result is that the keyboard will be unlocked
(and scripts may be allowed to proceed) earlier than with previous versions
of the emulators. This is good for talking to hosts that don't send an initial
Write command (as can happen with CICS); previously this Write was the only
trigger for unlocking the keyboard at connect or BIND time. But it is bad if a
script implicitly depended on the old behavior. Scripts confused by this change
may need to add a Wait(InputField) to cover these cases.
[all 3270] Got rid of the E status for keyboard lock in the scripting prompt.
The status is now L (locked) or U (unlocked).
[all 3270] Added decoding of UNBIND reasons to traces.
[all 3270] Increased the number of situations where keyboard input can result
in typeahead instead of drops.
Changes in version 3.3.14ga6, 23. January 2014
[all] Fixed a problem with displaying text in NVT mode when the host does
no TELNET negotiation.
[all] Deprecated the dsTrace and eventTrace resources (and associated
toggles and x3270 menu options) and replaced them with a new single trace
resource and toggle. The old resources and toggles are still available, but
are effectively aliases for the new single setting.
Changes in version 3.3.14alpha5, 30. December 2013
[x3270] Turned the scrollbar on by default. Mapped the PageUp and
PageDown keys to the (new) Scroll action, to scroll up or down one screen,
respectively. Modified the Reset action to cancel any screen scrolling.
[all Windows] Got everything to build under MSVC again, using either
the command line or MS Visual Studio. A Visual Studio solution file is now
included in the source tarball. Windows targets also cross-compile again
with the latest Cygwin MinGW.
Changes in version 3.3.14alpha4, 21. December 2013
[all] Added a printTextScreensPerPage resource to control how many
screens of text are displayed per page when tracing screens to the printer.
[all] Corrected screen tracing to the printer so it observes the
printer.name and printer.command resources.
Changes in version 3.3.14alpha3, 16. December 2013
[all, wc3270] Fixed problem with message display during file
transfers initiated by scripts.
[all] Fixed a problem reading files with the Source action, when the
file does not end with a CR or NL.
Changes in version 3.3.14alpha2, 4. November 2013
[all] Added support for CICS IND$FILE file transfers.
Changes in version 3.3.14alpha1, 30. October 2013
[all] Allow file transfers to start when the screen is unformatted.
[all] Fixed a problem with the initial data stream trace snapshot
when the screen is unformatted.
A wrapper function was put around the Windows snprintf function,
to ensure that it always NUL-terminates strings. The lack of such a
wrapper could lead to string overflows in some situations.
- Support float and 32/24 bit integer output also with fixed-point decoders (conversion from 16 bit precision).
- A-Law output encoding is actually implemented now (Michael introduced the encoding back in the old days without ever implementing theconversion table, apparently).
- Added --with-cpu=arm_fpu as decoder choice for runtime switch between plain fpu code and NEON.
- Fix ARM builds to work properly on debian systems without special CFLAGS (NEON decoder, specifically).
- Make scripts/benchmark-cpu.pl check the return value instead of delivering crazy timings for crashed mpg123.
- Trigger track initialization in mpg123_info() to avoid use of uninitialized variables (watch out for MPG123_NEED_MORE return value!).
- Fix integer code to 32 bit numbers where it would waste 64 bit on modern systems.
- Add non-executable stack marking also to ARM assembly.
- auerswald
- Fix several potential security issues in the NAS server.
See http://radscan.com/pipermail/nas/2013-August/001270.html for
a description. In addition, CVE numbers have been defined for
these issues:
CVE-2013-4256
CVE-2013-4257
CVE-2013-4258
- Fixed some warnings while building some of the clients.
- narrow a possible race condition in
auvoxware.c:disableProcessFlow() reported by Paul Fox.
- steve_mcintyre
- add a format string to aulog.c (found using -Wformat-security warnings)
- Don't preprocess man pages
- Add proper includes in server/os/connection.c to prevent some
compile warnings and a possible server coredump under the right
conditions on x86_64 Linux systems.
Before, anita depended on qemu0 or qemu. Now, it has options for
qemu-0, qemu (currently 2) and xen (currently 4.1). By default, all
are off because all of them are quite large and they need only be
present at run time.
Discussed with gson@, who did not object.
NetBSD's shell, and passing the -m option to NetBSD's "su" command to support
users without login shells.
Add the PREFIX to all script PATHs. This can allow sudo to be installed and
used as an alternative to su, should there be any value in doing that.
Bump PKGREVISION.
These releases address a caching issue which might lead to cache poisoning and an incorrect validation of safe redirect targets. Since these issues will affect the majority of users we strongly encourage everyone to upgrade.
Fixed testing using relative server folder
Fixed Python v3 tests on Windows
Fix introspection for Django and Python v3
Error with unicode arguments in prepared statements
Remove the patch which included in upstream
Upstream changes:
Python 3.4.1
Release date: 2014-05-18
Core and Builtins
Issue #21418: Fix a crash in the builtin function super() when called without argument and without current frame (ex: embedded Python).
Issue #21425: Fix flushing of standard streams in the interactive interpreter.
Issue #21435: In rare cases, when running finalizers on objects in cyclic trash a bad pointer dereference could occur due to a subtle flaw in internal iteration logic.
Library
Issue #10744: Fix PEP 3118 format strings on ctypes objects with a nontrivial shape.
Issue #20998: Fixed re.fullmatch() of repeated single character pattern with ignore case. Original patch by Matthew Barnett.
Issue #21075: fileinput.FileInput now reads bytes from standard stream if binary mode is specified. Patch by Sam Kimbrel.
Issue #21396: Fix TextIOWrapper(..., write_through=True) to not force a flush() on the underlying binary stream. Patch by akira.
Issue #21470: Do a better job seeding the random number generator by using enough bytes to span the full state space of the Mersenne Twister.
Issue #21398: Fix an unicode error in the pydoc pager when the documentation contains characters not encodable to the stdout encoding.
Tests
Issue #17756: Fix test_code test when run from the installed location.
Issue #17752: Fix distutils tests when run from the installed location.
IDLE
Issue #18104: Add idlelib/idle_test/htest.py with a few sample tests to begin consolidating and improving human-validated tests of Idle. Change other files as needed to work with htest. Running the module as __main__ runs all tests.
Python 3.4.1rc1
Release date: 2014-05-05
Core and Builtins
Issue #21274: Define PATH_MAX for GNU/Hurd in Python/pythonrun.c.
Issue #21209: Fix sending tuples to custom generator objects with the yield from syntax.
Issue #21134: Fix segfault when str is called on an uninitialized UnicodeEncodeError, UnicodeDecodeError, or UnicodeTranslateError object.
Issue #19537: Fix PyUnicode_DATA() alignment under m68k. Patch by Andreas Schwab.
Issue #20929: Add a type cast to avoid shifting a negative number.
Issue #20731: Properly position in source code files even if they are opened in text mode. Patch by Serhiy Storchaka.
Issue #20637: Key-sharing now also works for instance dictionaries of subclasses. Patch by Peter Ingebretson.
Issue #12546: Allow x00 to be used as a fill character when using str, int, float, and complex __format__ methods.
Issue #13598: Modify string.Formatter to support auto-numbering of replacement fields. It now matches the behavior of str.format() in this regard. Patches by Phil Elson and Ramchandra Apte.
Library
Issue #21088: Bugfix for curses.window.addch() regression in 3.4.0. In porting to Argument Clinic, the first two arguments were reversed.
Issue #21469: Reduced the risk of false positives in robotparser by checking to make sure that robots.txt has been read or does not exist prior to returning True in can_fetch().
Issue #21321: itertools.islice() now releases the reference to the source iterator when the slice is exhausted. Patch by Anton Afanasyev.
Issue #9815: assertRaises now tries to clear references to local variables in the exceptions traceback.
Issue #13204: Calling sys.flags.__new__ would crash the interpreter, now it raises a TypeError.
Issue #19385: Make operations on a closed dbm.dumb database always raise the same exception.
Issue #21207: Detect when the os.urandom cached fd has been closed or replaced, and open it anew.
Issue #21291: subprocesss Popen.wait() is now thread safe so that multiple threads may be calling wait() or poll() on a Popen instance at the same time without losing the Popen.returncode value.
Issue #21127: Path objects can now be instantiated from str subclass instances (such as numpy.str_).
Issue #15002: urllib.response object to use _TemporaryFileWrapper (and _TemporaryFileCloser) facility. Provides a better way to handle file descriptor close. Patch contributed by Christian Theune.
Issue #12220: mindom now raises a custom ValueError indicating it doesnt support spaces in URIs instead of letting a split ValueError bubble up.
Issue #21239: patch.stopall() didnt work deterministically when the same name was patched more than once.
Issue #21222: Passing name keyword argument to mock.create_autospec now works.
Issue #21197: Add lib64 -> lib symlink in venvs on 64-bit non-OS X POSIX.
Issue #17498: Some SMTP servers disconnect after certain errors, violating strict RFC conformance. Instead of losing the error code when we issue the subsequent RSET, smtplib now returns the error code and defers raising the SMTPServerDisconnected error until the next command is issued.
Issue #17826: setting an iterable side_effect on a mock function created by create_autospec now works. Patch by Kushal Das.
Issue #7776: Fix Host: header and reconnection when using http.client.HTTPConnection.set_tunnel(). Patch by Nikolaus Rath.
Issue #20968: unittest.mock.MagicMock now supports division. Patch by Johannes Baiter.
Fix arbitrary memory access in JSONDecoder.raw_decode with a negative second parameter. Bug reported by Guido Vranken.
Issue #21169: getpass now handles non-ascii characters that the input stream encoding cannot encode by re-encoding using the replace error handler.
Issue #21171: Fixed undocumented filter API of the rot13 codec. Patch by Berker Peksag.
Issue #21172: isinstance check relaxed from dict to collections.Mapping.
Issue #21155: asyncio.EventLoop.create_unix_server() now raises a ValueError if path and sock are specified at the same time.
Issue #21149: Improved thread-safety in logging cleanup during interpreter shutdown. Thanks to Devin Jeanpierre for the patch.
Issue #20145: assertRaisesRegex and assertWarnsRegex now raise a TypeError if the second argument is not a string or compiled regex.
Issue #21058: Fix a leak of file descriptor in tempfile.NamedTemporaryFile(), close the file descriptor if io.open() fails
Issue #21200: Return None from pkgutil.get_loader() when __spec__ is missing.
Issue #21013: Enhance ssl.create_default_context() when used for server side sockets to provide better security by default.
Issue #20633: Replace relative import by absolute import.
Issue #20980: Stop wrapping exception when using ThreadPool.
Issue #21082: In os.makedirs, do not set the process-wide umask. Note this changes behavior of makedirs when exist_ok=True.
Issue #20990: Fix issues found by pyflakes for multiprocessing.
Issue #21015: SSL contexts will now automatically select an elliptic curve for ECDH key exchange on OpenSSL 1.0.2 and later, and otherwise default to prime256v1.
Issue #20995: Enhance default ciphers used by the ssl module to enable better security an prioritize perfect forward secrecy.
Issue #20884: Dont assume that __file__ is defined on importlib.__init__.
Issue #21499: Ignore __builtins__ in several test_importlib.test_api tests.
Issue #20879: Delay the initialization of encoding and decoding tables for base32, ascii85 and base85 codecs in the base64 module, and delay the initialization of the unquote_to_bytes() table of the urllib.parse module, to not waste memory if these modules are not used.
Issue #19157: Include the broadcast address in the usuable hosts for IPv6 in ipaddress.
Issue #11599: When an external command (e.g. compiler) fails, distutils now prints out the whole command line (instead of just the command name) if the environment variable DISTUTILS_DEBUG is set.
Issue #4931: distutils should not produce unhelpful error: None messages anymore. distutils.util.grok_environment_error is kept but doc-deprecated.
Issue #20875: Prevent possible gzip read is not defined NameError. Patch by Claudiu Popa.
Issue #11558: email.message.Message.attach now returns a more useful error message if attach is called on a message for which is_multipart is False.
Issue #20283: RE pattern methods now accept the string keyword parameters as documented. The pattern and source keyword parameters are left as deprecated aliases.
Issue #20778: Fix modulefinder to work with bytecode-only modules.
Issue #20791: copy.copy() now doesnt make a copy when the input is a bytes object. Initial patch by Peter Otten.
Issue #19748: On AIX, time.mktime() now raises an OverflowError for year outsize range [1902; 2037].
Issue #20816: Fix inspect.getcallargs() to raise correct TypeError for missing keyword-only arguments. Patch by Jeremiah Lowin.
Issue #20817: Fix inspect.getcallargs() to fail correctly if more than 3 arguments are missing. Patch by Jeremiah Lowin.
Issue #6676: Ensure a meaningful exception is raised when attempting to parse more than one XML document per pyexpat xmlparser instance. (Original patches by Hirokazu Yamamoto and Amaury Forgeot dArc, with suggested wording by David Gutteridge)
Issue #21117: Fix inspect.signature to better support functools.partial. Due to the specifics of functools.partial implementation, positional-or-keyword arguments passed as keyword arguments become keyword-only.
Issue #21209: Fix asyncio.tasks.CoroWrapper to workaround a bug in yield-from implementation in CPythons prior to 3.4.1.
asyncio: Add gi_{frame,running,code} properties to CoroWrapper (upstream issue #163).
Issue #21311: Avoid exception in _osx_support with non-standard compiler configurations. Patch by John Szakmeister.
Issue #11571: Ensure that the turtle window becomes the topmost window when launched on OS X.
Extension Modules
Issue #21276: posixmodule: Dont define USE_XATTRS on KFreeBSD and the Hurd.
Issue #21226: Set up modules properly in PyImport_ExecCodeModuleObject (and friends).
IDLE
Issue #21139: Change default paragraph width to 72, the PEP 8 recommendation.
Issue #21284: Paragraph reformat test passes after user changes reformat width.
Issue #17654: Ensure IDLE menus are customized properly on OS X for non-framework builds and for all variants of Tk.
Build
The Windows build now includes OpenSSL 1.0.1g
Issue #21285: Refactor and fix curses configure check to always search in a ncursesw directory.
Issue #15234: For BerkelyDB and Sqlite, only add the found library and include directories if they arent already being searched. This avoids an explicit runtime library dependency.
Issue #20644: OS X installer build support for documentation build changes in 3.4.1: assume externally supplied sphinx-build is available in /usr/bin.
C API
Issue #20942: PyImport_ImportFrozenModuleObject() no longer sets __file__ to match what importlib does; this affects _frozen_importlib as well as any module loaded using imp.init_frozen().
Documentation
Issue #17386: Expanded functionality of the Doc/make.bat script to make it much more comparable to Doc/Makefile.
Issue #21043: Remove the recommendation for specific CA organizations and to mention the ability to load the OS certificates.
Issue #20765: Add missing documentation for PurePath.with_name() and PurePath.with_suffix().
Issue #19407: New package installation and distribution guides based on the Python Packaging Authority tools. Existing guides have been retained as legacy links from the distutils docs, as they still contain some required reference material for tool developers that isnt recorded anywhere else.
Issue #19697: Document cases where __main__.__spec__ is None.
Tests
Issue #18604: Consolidated checks for GUI availability. All platforms now at least check whether Tk can be instantiated when the GUI resource is requested.
Issue #21275: Fix a socket test on KFreeBSD.
Issue #21223: Pass test_site/test_startup_imports when some of the extensions are built as builtins.
Issue #20635: Added tests for Tk geometry managers.
Add test case for freeze.
Issue #20743: Fix a reference leak in test_tcl.
Issue #21097: Move test_namespace_pkgs into test_importlib.
Issue #20939: Avoid various network test failures due to new redirect of http://www.python.org/ to https://www.python.org: use http://www.example.com instead.
Issue #20668: asyncio tests no longer rely on tests.txt file. (Patch by Vajrasky Kok)
Issue #21093: Prevent failures of ctypes test_macholib on OS X if a copy of libz exists in $HOME/lib or /usr/local/lib.
Tools/Demos
Add support for yield from to 2to3.
Add support for the PEP 465 matrix multiplication operator to 2to3.
Issue #16047: Fix module exception list and __file__ handling in freeze. Patch by Meador Inge.
Issue #11824: Consider ABI tags in freeze. Patch by Meador Inge.
Issue #20535: PYTHONWARNING no longer affects the run_tests.py script. Patch by Arfrever Frehtes Taifersar Arahesis.
libxkbcommon 0.4.2 - 2014-05-15
==================
- Fixed a bug where explicitly passing "--enable-x11" to ./configure would
in fact disable it (regressed in 0.4.1).
- Added @since version annotations to the API documentation for everything
introduced after the initial stable release (0.2.0).
- Added a section to the documentation about keysym transformations, and
clarified which functions perform a given transformation.
- XKB files which fail to compile during keymap construction can no longer
have any effect on the resulting keymap: changes are only applied when
the entire compilation succeeds.
Note: this was a minor correctness issue inherited from xkbcomp.
- Fix an out-of-bounds array access in src/x11/util.c:adopt_atoms()
error-handling code.
Note: it seems impossible to trigger in the current code since the input
size cannot exceed the required size.
What's new in psycopg 2.5.3
^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Work around `pip issue #1630 <https://github.com/pypa/pip/issues/1630>`__
making installation via ``pip -e git+url`` impossible (🎫`#18`).
- Copy operations correctly set the `cursor.rowcount` attribute
(🎫`#180`).
- It is now possible to call `get_transaction_status()` on closed connections.
- Fixed unsafe access to object names causing assertion failures in
Python 3 debug builds (🎫`#188`).
- Mark the connection closed if found broken on `poll()` (from 🎫`#192`
discussion)
- Fixed handling of dsn and closed attributes in connection subclasses
failing to connect (from 🎫`#192` discussion).
- Added arbitrary but stable order to `Range` objects, thanks to
Chris Withers (🎫`#193`).
- Avoid blocking async connections on connect (🎫`#194`). Thanks to
Adam Petrovich for the bug report and diagnosis.
- Don't segfault using poorly defined cursor subclasses which forgot to call
the superclass init (🎫`#195`).
- Mark the connection closed when a Socket connection is broken, as it
happens for TCP connections instead (🎫`#196`).
- Fixed overflow opening a lobject with an oid not fitting in a signed int
(🎫`#203`).
- Fixed handling of explicit default ``cursor_factory=None`` in
`connection.cursor()` (🎫`#210`).
- Fixed possible segfault in named cursors creation.
- Fixed debug build on Windows, thanks to James Emerton.