Up to [cvs.NetBSD.org] / pkgsrc / lang / python27 / patches
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
python: pkgsrc changes - Fix buidling curses (consistent across platforms) - Fix finding libraries with ctypes.util.find_library - Enable spwd module on Linux - Cleanup
Add patch from: https://hg.python.org/cpython/rev/eddcb6671a48 to fix build with LibreSSL and stop our OpenBSD bulk builds from being murdered. Defuzz patches.
Pullup ticket #4536 - requested by spz lang/python27: security update Revisions pulled up: - lang/python27/Makefile 1.46 - lang/python27/distinfo 1.47 - lang/python27/patches/patch-Misc_NEWS 1.5 - lang/python27/patches/patch-Modules_getpath.c 1.2 - lang/python27/patches/patch-Objects_unicodeobject.c 1.1 - lang/python27/patches/patch-Python_codecs.c 1.1 - lang/python27/patches/patch-ab 1.3 - lang/python27/patches/patch-ad 1.2 - lang/python27/patches/patch-ae 1.2 - lang/python27/patches/patch-ah 1.3 - lang/python27/patches/patch-am 1.18 - lang/python27/patches/patch-an 1.2 - lang/python27/patches/patch-ao 1.5 - lang/python27/patches/patch-au 1.7 - lang/python27/patches/patch-av 1.2 - lang/python27/patches/patch-aw 1.2 - lang/python27/patches/patch-ax 1.5 - lang/python27/patches/patch-az 1.4 - lang/python27/patches/patch-pyconfig.h.in 1.3 - lang/python27/patches/patch-xa 1.2 --- Module Name: pkgsrc Committed By: spz Date: Sun Nov 2 13:31:11 UTC 2014 Modified Files: pkgsrc/lang/python27: Makefile distinfo pkgsrc/lang/python27/patches: patch-Misc_NEWS patch-Modules_getpath.c patch-ab patch-ad patch-ae patch-ah patch-am patch-an patch-ao patch-au patch-av patch-aw patch-ax patch-az patch-pyconfig.h.in patch-xa Added Files: pkgsrc/lang/python27/patches: patch-Objects_unicodeobject.c patch-Python_codecs.c Log Message: add the patches for Python issue 22518, also known as 22470, from the python source repository. Refresh patches
add the patches for Python issue 22518, also known as 22470, from the python source repository. Refresh patches
Changes 2.7.3: * An ordered dictionary type * New unittest features including test skipping, new assert methods, and test discovery * A much faster io module * Automatic numbering of fields in the str.format() method * Float repr improvements backported from 3.x * Tile support for Tkinter * A backport of the memoryview object from 3.x * Set literals * Set and dictionary comprehensions * Dictionary views * New syntax for nested with statements * The sysconfig module
Import python27-2.7.1 as lang/python27.
Python 2.7 is intended to be the last major release in the 2.x series.
The Python maintainers are planning to focus their future efforts on
the Python 3.x series.
This means that 2.7 will remain in place for a long time, running
production systems that have not been ported to Python 3.x.
Two consequences of the long-term significance of 2.7 are:
* It's very likely the 2.7 release will have a longer period of
maintenance compared to earlier 2.x versions. Python 2.7 will
continue to be maintained while the transition to 3.x continues, and
the developers are planning to support Python 2.7 with bug-fix
releases beyond the typical two years.
* A policy decision was made to silence warnings only of interest to
developers. :exc:`DeprecationWarning` and its
descendants are now ignored unless otherwise requested, preventing
users from seeing warnings triggered by an application. This change
was also made in the branch that will become Python 3.2. (Discussed
on stdlib-sig and carried out in :issue:`7319`.)
In previous releases, :exc:`DeprecationWarning` messages were
enabled by default, providing Python developers with a clear
indication of where their code may break in a future major version
of Python.
However, there are increasingly many users of Python-based
applications who are not directly involved in the development of
those applications. :exc:`DeprecationWarning` messages are
irrelevant to such users, making them worry about an application
that's actually working correctly and burdening application developers
with responding to these concerns.
You can re-enable display of :exc:`DeprecationWarning` messages by
running Python with the :option:`-Wdefault <-W>` (short form:
:option:`-Wd <-W>`) switch, or by setting the :envvar:`PYTHONWARNINGS`
environment variable to ``"default"`` (or ``"d"``) before running
Python. Python code can also re-enable them
by calling ``warnings.simplefilter('default')``.
Initial revision