Up to [cvs.NetBSD.org] / pkgsrc / lang / python27
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.115 / (download) - annotate - [select for diffs], Fri Nov 10 16:55:31 2023 UTC (4 months, 2 weeks ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2023Q4-base,
pkgsrc-2023Q4,
HEAD
Changes since 1.114: +2 -2
lines
Diff to previous 1.114 (unified)
Revert previous
Revision 1.114 / (download) - annotate - [select for diffs], Fri Nov 10 12:13:22 2023 UTC (4 months, 2 weeks ago) by nia
Branch: MAIN
Changes since 1.113: +2 -2
lines
Diff to previous 1.113 (unified)
python: Honour user's choice of readline implementation.
Revision 1.113 / (download) - annotate - [select for diffs], Wed Nov 8 13:19:51 2023 UTC (4 months, 2 weeks ago) by wiz
Branch: MAIN
Changes since 1.112: +2 -2
lines
Diff to previous 1.112 (unified)
*: recursive bump for icu 74.1
Revision 1.112 / (download) - annotate - [select for diffs], Fri Oct 27 08:02:29 2023 UTC (5 months ago) by wiz
Branch: MAIN
Changes since 1.111: +2 -2
lines
Diff to previous 1.111 (unified)
python*: needs wide curses
Revision 1.111 / (download) - annotate - [select for diffs], Tue Oct 24 22:09:38 2023 UTC (5 months ago) by wiz
Branch: MAIN
Changes since 1.110: +2 -2
lines
Diff to previous 1.110 (unified)
*: bump for openssl 3
Revision 1.110 / (download) - annotate - [select for diffs], Tue Oct 24 09:12:36 2023 UTC (5 months ago) by wiz
Branch: MAIN
Changes since 1.109: +3 -2
lines
Diff to previous 1.109 (unified)
python*: explicitly add --with-system-expat To make sure expat module is linked against expat library. Bump PKGREVISION.
Revision 1.109 / (download) - annotate - [select for diffs], Mon Oct 23 08:50:35 2023 UTC (5 months ago) by wiz
Branch: MAIN
Changes since 1.108: +7 -1
lines
Diff to previous 1.108 (unified)
python*: add SUPERSEDES
Revision 1.108 / (download) - annotate - [select for diffs], Mon Oct 23 06:35:59 2023 UTC (5 months ago) by wiz
Branch: MAIN
Changes since 1.107: +22 -11
lines
Diff to previous 1.107 (unified)
python*: include some standard modules in the base Python package As proposed on tech-pkg Bump PKGREVISION.
Revision 1.107 / (download) - annotate - [select for diffs], Tue Jun 27 10:35:29 2023 UTC (9 months ago) by riastradh
Branch: MAIN
CVS Tags: pkgsrc-2023Q3-base,
pkgsrc-2023Q3
Changes since 1.106: +3 -14
lines
Diff to previous 1.106 (unified)
python: Override sys.platform with PY_PLATNAME when cross-compiling. For this purpose, factor the PY_PLATNAME definition out into a new lang/pythonNN/platname.mk file. It's not the same for 2.x and 3.x; perhaps we could factor it out further into a single 2.x vs 3.x conditional but this is a more mechanical change that makes it easier to audit for now.
Revision 1.106 / (download) - annotate - [select for diffs], Mon May 29 23:33:48 2023 UTC (9 months, 4 weeks ago) by gutteridge
Branch: MAIN
CVS Tags: pkgsrc-2023Q2-base,
pkgsrc-2023Q2
Changes since 1.105: +2 -2
lines
Diff to previous 1.105 (unified)
python27: add backported security fix for CVE-2023-24329
Revision 1.104.4.1 / (download) - annotate - [select for diffs], Fri Jan 13 19:54:39 2023 UTC (14 months, 2 weeks ago) by bsiegert
Branch: pkgsrc-2022Q4
Changes since 1.104: +2 -2
lines
Diff to previous 1.104 (unified) next main 1.105 (unified)
Pullup ticket #6720 - requested by gutteridge lang/python27: security fix Revisions pulled up: - lang/python27/Makefile 1.105 - lang/python27/distinfo 1.92 - lang/python27/patches/patch-Lib_encodings_idna.py 1.1 - lang/python27/patches/patch-Lib_test_test__codecs.py 1.1 --- Module Name: pkgsrc Committed By: gutteridge Date: Sun Jan 8 00:54:30 UTC 2023 Modified Files: pkgsrc/lang/python27: Makefile distinfo Added Files: pkgsrc/lang/python27/patches: patch-Lib_encodings_idna.py patch-Lib_test_test__codecs.py Log Message: python27: add backported security fix for CVE-2022-45061
Revision 1.105 / (download) - annotate - [select for diffs], Sun Jan 8 00:54:29 2023 UTC (14 months, 2 weeks ago) by gutteridge
Branch: MAIN
CVS Tags: pkgsrc-2023Q1-base,
pkgsrc-2023Q1
Changes since 1.104: +2 -2
lines
Diff to previous 1.104 (unified)
python27: add backported security fix for CVE-2022-45061
Revision 1.104 / (download) - annotate - [select for diffs], Thu Aug 11 01:32:50 2022 UTC (19 months, 2 weeks ago) by gutteridge
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base,
pkgsrc-2022Q3-base,
pkgsrc-2022Q3
Branch point for: pkgsrc-2022Q4
Changes since 1.103: +2 -2
lines
Diff to previous 1.103 (unified)
python27: add backported security patching Fix CVE-2015-20107: Make mailcap refuse to match unsafe filenames/types/params Via Fedora: https://src.fedoraproject.org/rpms/python2.7/raw/a9b12e85bd4d3280e07bc3bfa72a9f2b674cb4ff/f/00382-cve-2015-20107.patch
Revision 1.103 / (download) - annotate - [select for diffs], Sat Jul 23 14:57:33 2022 UTC (20 months ago) by wiz
Branch: MAIN
Changes since 1.102: +2 -1
lines
Diff to previous 1.102 (unified)
python27: set path to pkg-config in environment avoids hardcoding WRKDIR path to it in binary
Revision 1.102 / (download) - annotate - [select for diffs], Fri May 13 19:24:02 2022 UTC (22 months, 2 weeks ago) by tnn
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base,
pkgsrc-2022Q2
Changes since 1.101: +2 -2
lines
Diff to previous 1.101 (unified)
python27: properly undo the isysroot change
Revision 1.101 / (download) - annotate - [select for diffs], Fri May 13 18:42:05 2022 UTC (22 months, 2 weeks ago) by tnn
Branch: MAIN
Changes since 1.100: +6 -2
lines
Diff to previous 1.100 (unified)
python27: patch unixccompiler.py instead and use SUBST for OSX_SDK_PATH (-isysroot probably not wrapper safe)
Revision 1.100 / (download) - annotate - [select for diffs], Fri May 13 17:32:37 2022 UTC (22 months, 2 weeks ago) by tnn
Branch: MAIN
Changes since 1.99: +2 -2
lines
Diff to previous 1.99 (unified)
python27: fix build on macOS We must pass -isysroot with the explicit path to the MacOSX SDK in CFLAGS. Without this setup.py fails to find builtin zlib and bzip2. See comment in ${WRKSRC}/Lib/distutils/unixccompiler.py:find_library_file() for why this is necessary.
Revision 1.96.2.1 / (download) - annotate - [select for diffs], Thu Mar 3 19:33:58 2022 UTC (2 years ago) by bsiegert
Branch: pkgsrc-2021Q4
Changes since 1.96: +3 -2
lines
Diff to previous 1.96 (unified) next main 1.97 (unified)
Pullup ticket #6595 - requested by gutteridge lang/python27: security fix (CVE-2021-4189, CVE-2022-0391) Revisions pulled up: - lang/python27/Makefile 1.99 - lang/python27/distinfo 1.89 - lang/python27/patches/patch-Doc_library_urlparse.rst 1.2 - lang/python27/patches/patch-Lib_ftplib.py 1.1 - lang/python27/patches/patch-Lib_test_test__ftplib.py 1.1 - lang/python27/patches/patch-Lib_test_test__urlparse.py 1.2 - lang/python27/patches/patch-Lib_urlparse.py 1.3 --- Module Name: pkgsrc Committed By: gutteridge Date: Fri Feb 25 22:41:32 UTC 2022 Modified Files: pkgsrc/lang/python27: Makefile distinfo pkgsrc/lang/python27/patches: patch-Doc_library_urlparse.rst patch-Lib_test_test__urlparse.py patch-Lib_urlparse.py Added Files: pkgsrc/lang/python27/patches: patch-Lib_ftplib.py patch-Lib_test_test__ftplib.py Log Message: python27: fix two security issues Addresses CVE-2021-4189 and CVE-2022-0391. Patches sourced via Fedora.
Revision 1.99 / (download) - annotate - [select for diffs], Fri Feb 25 22:41:32 2022 UTC (2 years, 1 month ago) by gutteridge
Branch: MAIN
CVS Tags: pkgsrc-2022Q1-base,
pkgsrc-2022Q1
Changes since 1.98: +2 -2
lines
Diff to previous 1.98 (unified)
python27: fix two security issues Addresses CVE-2021-4189 and CVE-2022-0391. Patches sourced via Fedora.
Revision 1.98 / (download) - annotate - [select for diffs], Thu Jan 20 12:57:13 2022 UTC (2 years, 2 months ago) by jperkin
Branch: MAIN
Changes since 1.97: +8 -1
lines
Diff to previous 1.97 (unified)
python27: Solaris 10 fixes, from pekdon via IRC.
Revision 1.97 / (download) - annotate - [select for diffs], Wed Jan 12 08:49:01 2022 UTC (2 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.96: +2 -2
lines
Diff to previous 1.96 (unified)
python*: remove no-egg support This was added in the pkgsrc stone age when pkgsrc had no egg support, and then carried forward up to python 3.10. This ends now. Bump PKGREVISION.
Revision 1.96 / (download) - annotate - [select for diffs], Wed Dec 8 16:05:22 2021 UTC (2 years, 3 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q4-base
Branch point for: pkgsrc-2021Q4
Changes since 1.95: +2 -2
lines
Diff to previous 1.95 (unified)
revbump for icu and libffi
Revision 1.93.8.2 / (download) - annotate - [select for diffs], Tue Nov 2 18:42:01 2021 UTC (2 years, 4 months ago) by tm
Branch: pkgsrc-2021Q3
Changes since 1.93.8.1: +8 -2
lines
Diff to previous 1.93.8.1 (unified) to branchpoint 1.93 (unified) next main 1.94 (unified)
Pullup ticket #6523 - requested by david lang/python27: bugfix Revisions pulled up: - lang/python27/Makefile 1.95 - lang/python27/distinfo 1.87 - lang/python27/patches/patch-Lib_urlparse.py 1.2 --- Module Name: pkgsrc Committed By: gutteridge Date: Wed Oct 27 23:58:55 UTC 2021 Modified Files: pkgsrc/lang/python27: Makefile distinfo pkgsrc/lang/python27/patches: patch-Lib_urlparse.py Log Message: python27: fix definition of variable added in security patch Correct a merge botch introduced in a previous commit. It was intended that a variable be redefined, but it was committed in an incomplete testing state.
Revision 1.95 / (download) - annotate - [select for diffs], Wed Oct 27 23:58:55 2021 UTC (2 years, 5 months ago) by gutteridge
Branch: MAIN
Changes since 1.94: +8 -2
lines
Diff to previous 1.94 (unified)
python27: fix definition of variable added in security patch Correct a merge botch introduced in a previous commit. It was intended that a variable be redefined, but it was committed in an incomplete testing state.
Revision 1.93.8.1 / (download) - annotate - [select for diffs], Wed Oct 13 21:04:00 2021 UTC (2 years, 5 months ago) by tm
Branch: pkgsrc-2021Q3
Changes since 1.93: +2 -2
lines
Diff to previous 1.93 (unified)
Pullup ticket #6513 - requested by gutteridge lang/python27: security fix Revisions pulled up: - lang/python27/Makefile 1.94 - lang/python27/distinfo 1.85 - lang/python27/patches/patch-Doc_library_cgi.rst 1.1 - lang/python27/patches/patch-Doc_library_urlparse.rst 1.1 - lang/python27/patches/patch-Lib_cgi.py 1.1 - lang/python27/patches/patch-Lib_ctypes_test_test__parameters.py 1.1 - lang/python27/patches/patch-Lib_httplib.py 1.4 - lang/python27/patches/patch-Lib_test_multibytecodec__support.py 1.1 - lang/python27/patches/patch-Lib_test_test__cgi.py 1.1 - lang/python27/patches/patch-Lib_test_test__httplib.py 1.4 - lang/python27/patches/patch-Lib_test_test__urlparse.py 1.1 - lang/python27/patches/patch-Lib_urllib2.py 1.3 - lang/python27/patches/patch-Lib_urlparse.py 1.1 - lang/python27/patches/patch-Modules___ctypes_callproc.c 1.2 --- Module Name: pkgsrc Committed By: gutteridge Date: Sun Oct 10 03:00:59 UTC 2021 Modified Files: pkgsrc/lang/python27: Makefile distinfo pkgsrc/lang/python27/patches: patch-Lib_httplib.py patch-Lib_test_test__httplib.py patch-Lib_urllib2.py patch-Modules___ctypes_callproc.c Added Files: pkgsrc/lang/python27/patches: patch-Doc_library_cgi.rst patch-Doc_library_urlparse.rst patch-Lib_cgi.py patch-Lib_ctypes_test_test__parameters.py patch-Lib_test_multibytecodec__support.py patch-Lib_test_test__cgi.py patch-Lib_test_test__urlparse.py patch-Lib_urlparse.py Log Message: python27: fix various security issues Addresses CVE-2020-27619, CVE-2021-3177, CVE-2021-3733, CVE-2021-3737 and CVE-2021-23336. Patches mostly sourced via Fedora.
Revision 1.94 / (download) - annotate - [select for diffs], Sun Oct 10 03:00:59 2021 UTC (2 years, 5 months ago) by gutteridge
Branch: MAIN
Changes since 1.93: +2 -2
lines
Diff to previous 1.93 (unified)
python27: fix various security issues Addresses CVE-2020-27619, CVE-2021-3177, CVE-2021-3733, CVE-2021-3737 and CVE-2021-23336. Patches mostly sourced via Fedora.
Revision 1.93 / (download) - annotate - [select for diffs], Mon Dec 7 13:14:38 2020 UTC (3 years, 3 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base,
pkgsrc-2021Q2-base,
pkgsrc-2021Q2,
pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4
Branch point for: pkgsrc-2021Q3
Changes since 1.92: +1 -5
lines
Diff to previous 1.92 (unified)
python*: Revert shm_open workaround now it's fixed in mksandbox
Revision 1.92 / (download) - annotate - [select for diffs], Sun Dec 6 11:35:31 2020 UTC (3 years, 3 months ago) by nia
Branch: MAIN
Changes since 1.91: +2 -1
lines
Diff to previous 1.91 (unified)
python*: Disable runtime configure test on sem_getvalue behaviour Like the other test, because /dev/shm isn't available in the build environment doesn't mean it won't be available on the destination machine for the packages.
Revision 1.91 / (download) - annotate - [select for diffs], Sun Dec 6 11:11:31 2020 UTC (3 years, 3 months ago) by nia
Branch: MAIN
Changes since 1.90: +4 -1
lines
Diff to previous 1.90 (unified)
python*: Avoid configure test for POSIX semaphores on Linux. This attempts to build and run a program that uses POSIX semaphores. This fails in a pbulk sandbox that doesn't contain /dev/shm, resulting in a broken package where the idea that the platform doesn't support POSIX semaphores is baked in forever. In newer Python versions, this means Python doesn't even build properly. XXX: We might want to avoid it on other platforms too...
Revision 1.90 / (download) - annotate - [select for diffs], Sun Sep 20 11:06:23 2020 UTC (3 years, 6 months ago) by mgorny
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base,
pkgsrc-2020Q3
Changes since 1.89: +2 -2
lines
Diff to previous 1.89 (unified)
lang/python27: backport vulnerability fixes from Gentoo Backport 3 vulnerability fixes from Python 3.6 using rebased patches from Gentoo. These are: bpo-39017 (CVE-2019-20907): infinite loop in tarfile.py bpo-39503 (CVE-2020-8492): ReDoS on AbstractBasicAuthHandler bpo-39603 (no CVE): header injection via HTTP method
Revision 1.89 / (download) - annotate - [select for diffs], Tue Sep 1 09:26:54 2020 UTC (3 years, 6 months ago) by schmonz
Branch: MAIN
Changes since 1.88: +2 -2
lines
Diff to previous 1.88 (unified)
Avoid MemoryError from "import ctypes" on OpenBSD (PR pkg/55134) for all applicable Pythons. Bump PKGREVISION.
Revision 1.88 / (download) - annotate - [select for diffs], Sat Aug 22 15:05:53 2020 UTC (3 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.87: +2 -1
lines
Diff to previous 1.87 (unified)
python27: bump PKGREVISION for previous
Revision 1.87 / (download) - annotate - [select for diffs], Fri Aug 21 19:39:28 2020 UTC (3 years, 7 months ago) by schmonz
Branch: MAIN
Changes since 1.86: +2 -1
lines
Diff to previous 1.86 (unified)
Pass down PKGVERSION_NOREV in another spot to avoid another PLIST mismatch (for Python-2.7.XX-py2.7.egg-info) on Linux systems with a previous version of this package installed.
Revision 1.86 / (download) - annotate - [select for diffs], Fri Aug 14 19:28:43 2020 UTC (3 years, 7 months ago) by schmonz
Branch: MAIN
Changes since 1.85: +6 -1
lines
Diff to previous 1.85 (unified)
On systems where both of the conditions 1. LD_LIBRARY_PATH does _not_ take precedence over DT_RPATH (e.g. Linux) 2. A previous libpython with the same major.minor is already installed (e.g. a previous version of this package) hold, the built python will be linked with the installed libpython, causing it to report an old teeny version in sys.version_info while staging the install. Then "make package" fails with PLIST mismatches for {,Pattern}Grammar.*.pickle. pkgsrc knows which version we're building. Pass that down instead. For platforms that weren't having this problem, no functional change intended. For platforms that were, this simply restores "make package", so no PKGREVISION bump.
Revision 1.85 / (download) - annotate - [select for diffs], Thu May 21 17:25:13 2020 UTC (3 years, 10 months ago) by leot
Branch: MAIN
CVS Tags: pkgsrc-2020Q2-base,
pkgsrc-2020Q2
Changes since 1.84: +2 -1
lines
Diff to previous 1.84 (unified)
python*: findlib subst class can be a noop It is licit to be a noop for findlib subst class when PREFIX is `/usr/local'. Thanks to <jklos>! (via PR pkg/54758)
Revision 1.84 / (download) - annotate - [select for diffs], Thu May 14 21:43:11 2020 UTC (3 years, 10 months ago) by tnn
Branch: MAIN
Changes since 1.83: +2 -1
lines
Diff to previous 1.83 (unified)
document non-obvious readline build dependency
Revision 1.83 / (download) - annotate - [select for diffs], Mon Apr 20 20:05:56 2020 UTC (3 years, 11 months ago) by adam
Branch: MAIN
Changes since 1.82: +1 -2
lines
Diff to previous 1.82 (unified)
python27: updated to 2.7.18 Python 2.7.18, the last release of Python 2 The CPython core developers are pleased to announce the immediate availability of Python 2.7.18. Python 2.7.18 is the last Python 2.7 release and therefore the last Python 2 release. It's time for the CPython community to say a fond but firm farewell to Python 2. Download this unique, commemorative Python release on python.org. Python 2.7 has been under active development since the release of Python 2.6, more than 11 years ago. Over all those years, CPython's core developers and contributors sedulously applied bug fixes to the 2.7 branch, no small task as the Python 2 and 3 branches diverged. There were large changes midway through Python 2.7's life such as PEP 466's feature backports to the ssl module and hash randomization. Traditionally, these features would never have been added to a branch in maintenance mode, but exceptions were made to keep Python 2 users secure. Thank you to CPython's community for such dedication. Python 2.7 was lucky to have the services of two generations of binary builders and operating system experts, Martin von Löwis and Steve Dower for Windows, and Ronald Oussoren and Ned Deily for macOS. The reason we provided binary Python 2.7 releases for macOS 10.9, an operating system obsoleted by Apple 4 years ago, or why the "Microsoft Visual C++ Compiler for Python 2.7" exists is the dedication of these individuals. Python 3 would be nowhere without the dedication of the wider community. Library maintainers followed CPython by maintaining Python 2 support for many years but also threw their weight behind the Python 3 statement. Linux distributors chased Python 2 out of their archives. Users migrated hundreds of millions of lines of code, developed porting guides, and kept Python 2 in their brain while Python 3 gained 10 years of improvements. Finally, thank you to GvR for creating Python 0.9, 1, 2, and 3. Long live Python 3+!
Revision 1.82 / (download) - annotate - [select for diffs], Sun Mar 8 16:42:28 2020 UTC (4 years ago) by bsiegert
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base,
pkgsrc-2020Q1
Changes since 1.81: +2 -2
lines
Diff to previous 1.81 (unified)
Revbump packages depending on libffi after .so version change. Requested by Matthias Ferdinand and Oskar on pkgsrc-users.
Revision 1.81 / (download) - annotate - [select for diffs], Sat Jan 18 21:49:43 2020 UTC (4 years, 2 months ago) by jperkin
Branch: MAIN
Changes since 1.80: +2 -1
lines
Diff to previous 1.80 (unified)
*: Recursive revision bump for openssl 1.1.1.
Revision 1.80 / (download) - annotate - [select for diffs], Thu Apr 25 15:59:54 2019 UTC (4 years, 11 months ago) by roy
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base,
pkgsrc-2019Q4,
pkgsrc-2019Q3-base,
pkgsrc-2019Q3,
pkgsrc-2019Q2-base,
pkgsrc-2019Q2
Changes since 1.79: +2 -4
lines
Diff to previous 1.79 (unified)
python: Don't install nis_failed.so if no yp headers Because python won't even try to build it. You only see nis_failed.so if there is an error building it, when it wanted to build it, and that should be fixed accordingly. In a nutshell, if the yp headers are installed, python will build the nis module, otherwise it won't. On netbsd systems at least, if you have the yp headers installed and subsequently re-install over the top with MKYP=no you get into the state where the headers are installed, but the functions are no longer in libc. This is an error with *your* system - either rebuild with MKYP=yes OR remove the yp headers from include/rpc and include/rpcsvc. Follow on fix for PR pkg/53673.
Revision 1.79 / (download) - annotate - [select for diffs], Wed Apr 3 13:17:27 2019 UTC (4 years, 11 months ago) by maya
Branch: MAIN
Changes since 1.78: +14 -20
lines
Diff to previous 1.78 (unified)
python*: rework logic used to determine if PLIST.nis is used. Match the logic used by setup.py: it looks for two headers in the default include path. This helps newer glibc linux. Omit PLIST.dll on python3* because it doesn't appear in the PLIST. Make PLIST.dll true on all non-IRIX. tested: NetBSD-current, FreeBSD 11.2, Ubuntu 18.10, CentOS 6.9, Source Mage From Dr. Thomas Orgis, myself, and with pointers to a change from leot. PR pkg/53673
Revision 1.78 / (download) - annotate - [select for diffs], Tue Mar 26 16:12:28 2019 UTC (5 years ago) by gdt
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base,
pkgsrc-2019Q1
Changes since 1.77: +8 -1
lines
Diff to previous 1.77 (unified)
lang/python27: Add comments about NIS detection The logic to determine inclusion of NIS PLIST entries is confusing. Add comments to explain some and question some. This is a comment-only change.
Revision 1.77 / (download) - annotate - [select for diffs], Tue Mar 5 12:43:40 2019 UTC (5 years ago) by adam
Branch: MAIN
Changes since 1.76: +4 -5
lines
Diff to previous 1.76 (unified)
python27: updated to 2.7.16 Python 2.7.16 is a bugfix release in the Python 2.7 series.
Revision 1.76 / (download) - annotate - [select for diffs], Sun Mar 3 10:44:41 2019 UTC (5 years ago) by adam
Branch: MAIN
Changes since 1.75: +8 -15
lines
Diff to previous 1.75 (unified)
python27: clean-up SUBST to match other Python versions
Revision 1.75 / (download) - annotate - [select for diffs], Fri Sep 28 11:01:37 2018 UTC (5 years, 6 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base,
pkgsrc-2018Q4,
pkgsrc-2018Q3-base,
pkgsrc-2018Q3
Changes since 1.74: +10 -6
lines
Diff to previous 1.74 (unified)
Fix for Darwin/Xcode 10 (missing QuickTime.framework); PLIST_VARS cleanup
Revision 1.74 / (download) - annotate - [select for diffs], Sun Jun 17 19:21:21 2018 UTC (5 years, 9 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base,
pkgsrc-2018Q2
Changes since 1.73: +39 -22
lines
Diff to previous 1.73 (unified)
python: pkgsrc changes - Fix buidling curses (consistent across platforms) - Fix finding libraries with ctypes.util.find_library - Enable spwd module on Linux - Cleanup
Revision 1.73 / (download) - annotate - [select for diffs], Wed Nov 22 19:16:20 2017 UTC (6 years, 4 months ago) by bsiegert
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base,
pkgsrc-2018Q1,
pkgsrc-2017Q4-base,
pkgsrc-2017Q4
Changes since 1.72: +2 -2
lines
Diff to previous 1.72 (unified)
ChromeOS support for the older Python versions.
Revision 1.72 / (download) - annotate - [select for diffs], Sun Sep 17 09:54:52 2017 UTC (6 years, 6 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2017Q3-base,
pkgsrc-2017Q3
Changes since 1.71: +1 -2
lines
Diff to previous 1.71 (unified)
lang/python27: update to 2.7.14 Python 2.7.14: Core and Builtins - bpo-30657: Fixed possible integer overflow in PyString_DecodeEscape. - bpo-27945: Fixed various segfaults with dict when input collections are mutated during searching, inserting or comparing. Based on patches by Duane Griffin and Tim Mitchell. - bpo-25794: Fixed type.__setattr__() and type.__delattr__() for non-interned or unicode attribute names. Based on patch by Eryk Sun. - bpo-29935: Fixed error messages in the index() method of tuple and list when pass indices of wrong type. - bpo-28598: Support __rmod__ for subclasses of str being called before str.__mod__. Patch by Martijn Pieters. - bpo-29602: Fix incorrect handling of signed zeros in complex constructor for complex subclasses and for inputs having a __complex__ method. Patch by Serhiy Storchaka. - bpo-29347: Fixed possibly dereferencing undefined pointers when creating weakref objects. - Issue 14376: Allow sys.exit to accept longs as well as ints. Patch by Gareth Rees. - Issue 29028: Fixed possible use-after-free bugs in the subscription of the buffer object with custom index object. - Issue 29145: Fix overflow checks in string, bytearray and unicode. Patch by jan matejek and Xiang Zhang. - Issue 28932: Do not include <sys/random.h> if it does not exist. Extension Modules - bpo-31170: Update vendorized expat to 2.2.4. - Issue 29169: Update zlib to 1.2.11.
Revision 1.71 / (download) - annotate - [select for diffs], Sun Sep 3 08:53:10 2017 UTC (6 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.70: +2 -2
lines
Diff to previous 1.70 (unified)
Follow some redirects.
Revision 1.70 / (download) - annotate - [select for diffs], Wed Feb 1 11:31:50 2017 UTC (7 years, 1 month ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base,
pkgsrc-2017Q2,
pkgsrc-2017Q1-base,
pkgsrc-2017Q1
Changes since 1.69: +2 -1
lines
Diff to previous 1.69 (unified)
Put back bdb bl3, required for the dbm module.
Revision 1.69 / (download) - annotate - [select for diffs], Thu Jan 26 23:10:35 2017 UTC (7 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.68: +2 -12
lines
Diff to previous 1.68 (unified)
Do not install bsddb185 module by default. Bump PKGREVISION. Based on patch from Jesus Cea on tech-pkg. If you need this module, let me know and we can package it separately.
Revision 1.68 / (download) - annotate - [select for diffs], Fri Dec 30 10:53:21 2016 UTC (7 years, 2 months ago) by adam
Branch: MAIN
Changes since 1.67: +1 -2
lines
Diff to previous 1.67 (unified)
Changes 2.7.13: Core and Builtins ----------------- - Issue 28847: dumbdbm no longer writes the index file in when it is not changed and supports reading read-only files. - Issue 11145: Fixed miscellaneous issues with C-style formatting of types with custom __oct__ and __hex__. - Issue 24469: Fixed memory leak caused by int subclasses without overridden tp_free (e.g. C-inherited Cython classes). - Issue 19398: Extra slash no longer added to sys.path components in case of empty compile-time PYTHONPATH components. - Issue 21720: Improve exception message when the type of fromlist is unicode. fromlist parameter of __import__() only accepts str in Python 2 and this will help to identify the problem especially when the unicode_literals future import is used. - Issue 26906: Resolving special methods of uninitialized type now causes implicit initialization of the type instead of a fail. - Issue 18287: PyType_Ready() now checks that tp_name is not NULL. Original patch by Niklas Koep. - Issue 24098: Fixed possible crash when AST is changed in process of compiling it. - Issue 28350: String constants with null character no longer interned. - Issue 27942: String constants now interned recursively in tuples and frozensets. - Issue 15578: Correctly incref the parent module while importing. - Issue 26307: The profile-opt build now applies PGO to the built-in modules. - Issue 26020: set literal evaluation order did not match documented behaviour. - Issue 27870: A left shift of zero by a large integer no longer attempts to allocate large amounts of memory. - Issue 25604: Fix a minor bug in integer true division; this bug could potentially have caused off-by-one-ulp results on platforms with unreliable ldexp implementations. - Issue 27473: Fixed possible integer overflow in str, unicode and bytearray concatenations and repetitions. Based on patch by Xiang Zhang. - Issue 27507: Add integer overflow check in bytearray.extend(). Patch by Xiang Zhang. - Issue 27581: Don't rely on wrapping for overflow check in PySequence_Tuple(). Patch by Xiang Zhang. - Issue 23908: os functions, open() and the io.FileIO constructor now reject unicode paths with embedded null character on Windows instead of silently truncating them. - Issue 27514: Make having too many statically nested blocks a SyntaxError instead of SystemError.
Revision 1.60.2.1 / (download) - annotate - [select for diffs], Tue Sep 6 19:04:27 2016 UTC (7 years, 6 months ago) by bsiegert
Branch: pkgsrc-2016Q2
Changes since 1.60: +1 -2
lines
Diff to previous 1.60 (unified) next main 1.61 (unified)
Pullup ticket #5090 - requested by sevan lang/python27: security fix Revisions pulled up: - lang/python27/Makefile 1.61 - lang/python27/PLIST.common 1.15 - lang/python27/dist.mk 1.12 - lang/python27/distinfo 1.55 - lang/python27/patches/patch-Lib_distutils_unixccompiler.py 1.4 --- Module Name: pkgsrc Committed By: adam Date: Sat Jul 2 15:05:43 UTC 2016 Modified Files: pkgsrc/lang/python27: Makefile PLIST.common dist.mk distinfo pkgsrc/lang/python27/patches: patch-Lib_distutils_unixccompiler.py Log Message: Changes 2.7.2: Core and Builtins ----------------- - Issue 20041: Fixed TypeError when frame.f_trace is set to None. Patch by Xavier de Gaye. - Issue 25702: A --with-lto configure option has been added that will enable link time optimizations at build time during a make profile-opt. Some compilers and toolchains are known to not produce stable code when using LTO, be sure to test things thoroughly before relying on it. It can provide a few % speed up over profile-opt alone. - Issue 26168: Fixed possible refleaks in failing Py_BuildValue() with the "N" format unit. - Issue 27039: Fixed bytearray.remove() for values greater than 127. Patch by Joe Jevnik. - Issue 4806: Avoid masking the original TypeError exception when using star (*) unpacking and the exception was raised from a generator. Based on patch by Hagen Fu:rstenau. - Issue 26659: Make the builtin slice type support cycle collection. - Issue 26718: super.__init__ no longer leaks memory if called multiple times. NOTE: A direct call of super.__init__ is not endorsed! - Issue 13410: Fixed a bug in PyUnicode_Format where it failed to properly ignore errors from a __int__() method. - Issue 26494: Fixed crash on iterating exhausting iterators. Affected classes are generic sequence iterators, iterators of bytearray, list, tuple, set, frozenset, dict, OrderedDict and corresponding views. - Issue 26581: If coding cookie is specified multiple times on a line in Python source code file, only the first one is taken to account. - Issue 22836: Ensure exception reports from PyErr_Display() and PyErr_WriteUnraisable() are sensible even when formatting them produces secondary errors. This affects the reports produced by sys.__excepthook__() and when __del__() raises an exception. - Issue 22847: Improve method cache efficiency. - Issue 25843: When compiling code, don't merge constants if they are equal but have a different types. For example, ``f1, f2 = lambda: 1, lambda: 1.0`` is now correctly compiled to two different functions: ``f1()`` returns ``1`` (``int``) and ``f2()`` returns ``1.0`` (``int``), even if ``1`` and ``1.0`` are equal. - Issue 22995: [UPDATE] Remove the one of the pickleability tests in _PyObject_GetState() due to regressions observed in Cython-based projects. - Issue 25961: Disallowed null characters in the type name. - Issue 22995: Instances of extension types with a state that aren't subclasses of list or dict and haven't implemented any pickle-related methods (__reduce__, __reduce_ex__, __getnewargs__, __getnewargs_ex__, or __getstate__), can no longer be pickled. Including memoryview. - Issue 20440: Massive replacing unsafe attribute setting code with special macro Py_SETREF. - Issue 25421: __sizeof__ methods of builtin types now use dynamic basic size. This allows sys.getsize() to work correctly with their subclasses with __slots__ defined. - Issue 19543: Added Py3k warning for decoding unicode. - Issue 24097: Fixed crash in object.__reduce__() if slot name is freed inside __getattr__. - Issue 24731: Fixed crash on converting objects with special methods __str__, __trunc__, and __float__ returning instances of subclasses of str, long, and float to subclasses of str, long, and float correspondingly. - Issue 26478: Fix semantic bugs when using binary operators with dictionary views and tuples. - Issue 26171: Fix possible integer overflow and heap corruption in zipimporter.get_data(). Library ------- - Issue 26556: Update expat to 2.1.1, fixes CVE-2015-1283. - Fix TLS stripping vulnerability in smptlib, CVE-2016-0772. Reported by Team Oststrom - Issue 7356: ctypes.util: Make parsing of ldconfig output independent of the locale. - Issue 25738: Stop BaseHTTPServer.BaseHTTPRequestHandler.send_error() from sending a message body for 205 Reset Content. Also, don't send the Content-Type header field in responses that don't have a body. Based on patch by Susumu Koshiba. - Issue 21313: Fix the "platform" module to tolerate when sys.version contains truncated build information. - Issue 27211: Fix possible memory corruption in io.IOBase.readline(). - Issue 27114: Fix SSLContext._load_windows_store_certs fails with PermissionError - Issue 14132: Fix urllib.request redirect handling when the target only has a query string. Fix by Ja'n Janech. - Removed the requirements for the ctypes and modulefinder modules to be compatible with earlier Python versions. - Issue 22274: In the subprocess module, allow stderr to be redirected to stdout even when stdout is not redirected. Patch by Akira Li. - Issue 12045: Avoid duplicate execution of command in ctypes.util._get_soname(). Patch by Sijin Joseph. - Issue 26960: Backported 16270 from Python 3 to Python 2, to prevent urllib from hanging when retrieving certain FTP files. - Issue 25745: Fixed leaking a userptr in curses panel destructor. - Issue 17765: weakref.ref() no longer silently ignores keyword arguments. Patch by Georg Brandl. - Issue 26873: xmlrpclib now raises ResponseError on unsupported type tags instead of silently return incorrect result. - Issue 24114: Fix an uninitialized variable in `ctypes.util`. The bug only occurs on SunOS when the ctypes implementation searches for the `crle` program. Patch by Xiang Zhang. Tested on SunOS by Kees Bos. - Issue 26864: In urllib, change the proxy bypass host checking against no_proxy to be case-insensitive, and to not match unrelated host names that happen to have a bypassed hostname as a suffix. Patch by Xiang Zhang. - Issue 26804: urllib will prefer lower_case proxy environment variables over UPPER_CASE or Mixed_Case ones. Patch contributed by Hans-Peter Jansen. - Issue 26837: assertSequenceEqual() now correctly outputs non-stringified differing items. This affects assertListEqual() and assertTupleEqual(). - Issue 26822: itemgetter, attrgetter and methodcaller objects no longer silently ignore keyword arguments. - Issue 26657: Fix directory traversal vulnerability with SimpleHTTPServer on Windows. This fixes a regression that was introduced in 2.7.7. Based on patch by Philipp Hagemeister. - Issue 19377: Add .svg to mimetypes.types_map. - Issue 13952: Add .csv to mimetypes.types_map. Patch by Geoff Wilson. - Issue 16329: Add .webm to mimetypes.types_map. Patch by Giampaolo Rodola'. - Issue 23735: Handle terminal resizing with Readline 6.3+ by installing our own SIGWINCH handler. Patch by Eric Price. - Issue 26644: Raise ValueError rather than SystemError when a negative length is passed to SSLSocket.recv() or read(). - Issue 23804: Fix SSL recv(0) and read(0) methods to return zero bytes instead of up to 1024. - Issue 24266: Ctrl+C during Readline history search now cancels the search mode when compiled with Readline 7. - Issue 23857: Implement PEP 493, adding a Python-2-only ssl module API and environment variable to configure the default handling of SSL/TLS certificates for HTTPS connections. - Issue 26313: ssl.py _load_windows_store_certs fails if windows cert store is empty. Patch by Baji. - Issue 26513: Fixes platform module detection of Windows Server - Issue 23718: Fixed parsing time in week 0 before Jan 1. Original patch by Tama's Bence Gedai. - Issue 26177: Fixed the keys() method for Canvas and Scrollbar widgets. - Issue 15068: Got rid of excessive buffering in the fileinput module. The bufsize parameter is no longer used. - Issue 2202: Fix UnboundLocalError in AbstractDigestAuthHandler.get_algorithm_impls. Initial patch by Mathieu Dupuy. - Issue 26475: Fixed debugging output for regular expressions with the (?x) flag. - Issue 26385: Remove the file if the internal fdopen() call in NamedTemporaryFile() fails. Based on patch by Silent Ghost. - Issue 26309: In the "socketserver" module, shut down the request (closing the connected socket) when verify_request() returns false. Based on patch by Aviv Palivoda. - Issue 25939: On Windows open the cert store readonly in ssl.enum_certificates. - Issue 24303: Fix random EEXIST upon multiprocessing semaphores creation with Linux PID namespaces enabled. - Issue 25698: Importing module if the stack is too deep no longer replaces imported module with the empty one. - Issue 12923: Reset FancyURLopener's redirect counter even if there is an exception. Based on patches by Brian Brazil and Daniel Rocco. - Issue 25945: Fixed a crash when unpickle the functools.partial object with wrong state. Fixed a leak in failed functools.partial constructor. "args" and "keywords" attributes of functools.partial have now always types tuple and dict correspondingly. - Issue 19883: Fixed possible integer overflows in zipimport. - Issue 26147: xmlrpclib now works with unicode not encodable with used non-UTF-8 encoding. - Issue 16620: Fixed AttributeError in msilib.Directory.glob(). - Issue 21847: Fixed xmlrpclib on Unicode-disabled builds. - Issue 6500: Fixed infinite recursion in urllib2.Request.__getattr__(). - Issue 26083: Workaround a subprocess bug that raises an incorrect "ValueError: insecure string pickle" exception instead of the actual exception on some platforms such as Mac OS X when an exception raised in the forked child process prior to the exec() was large enough that it overflowed the internal errpipe_read pipe buffer. - Issue 24103: Fixed possible use after free in ElementTree.iterparse(). - Issue 20954: _args_from_interpreter_flags used by multiprocessing and some tests no longer behaves incorrectly in the presence of the PYTHONHASHSEED environment variable. - Issue 14285: When executing a package with the "python -m package" option, and package initialization raises ImportError, a proper traceback is now reported. - Issue 6478: _strptime's regexp cache now is reset after changing timezone with time.tzset(). - Issue 25718: Fixed copying object with state with boolean value is false. - Issue 25742: :func:`locale.setlocale` now accepts a Unicode string for its second parameter. - Issue 10131: Fixed deep copying of minidom documents. Based on patch by Marian Ganisin. - Issue 25725: Fixed a reference leak in cPickle.loads() when unpickling invalid data including tuple instructions. - Issue 25663: In the Readline completer, avoid listing duplicate global names, and search the global namespace before searching builtins. - Issue 25688: Fixed file leak in ElementTree.iterparse() raising an error. - Issue 23914: Fixed SystemError raised by CPickle unpickler on broken data. - Issue 25924: Avoid unnecessary serialization of getaddrinfo(3) calls on OS X versions 10.5 or higher. Original patch by A. Jesse Jiryu Davis. - Issue 26406: Avoid unnecessary serialization of getaddrinfo(3) calls on current versions of OpenBSD and NetBSD. Patch by A. Jesse Jiryu Davis. IDLE ---- - Issue 5124: Paste with text selected now replaces the selection on X11. This matches how paste works on Windows, Mac, most modern Linux apps, and ttk widgets. Original patch by Serhiy Storchaka. - Issue 24759: Make clear in idlelib.idle_test.__init__ that the directory is a private implementation of test.test_idle and tool for maintainers. - Issue 26673: When tk reports font size as 0, change to size 10. Such fonts on Linux prevented the configuration dialog from opening. - Issue 27044: Add ConfigDialog.remove_var_callbacks to stop memory leaks. - In the 'IDLE-console differences' section of the IDLE doc, clarify how running with IDLE affects sys.modules and the standard streams. - Issue 25507: fix incorrect change in IOBinding that prevented printing. Change also prevented saving shell window with non-ascii characters. Augment IOBinding htest to include all major IOBinding functions. - Issue 25905: Revert unwanted conversion of ' to ? RIGHT SINGLE QUOTATION MARK in README.txt and open this and NEWS.txt with 'ascii'. Re-encode CREDITS.txt to utf-8 and open it with 'utf-8'. - Issue 26417: Prevent spurious errors and incorrect defaults when installing IDLE 2.7 on OS X: default configuration settings are no longer installed from OS X specific copies. Documentation ------------- - Issue 26736: Used HTTPS for external links in the documentation if possible. - Issue 6953: Rework the Readline module documentation to group related functions together, and add more details such as what underlying Readline functions and variables are accessed. - Issue 26014: Guide users to the newer packaging documentation as was done for Python 3.x. In particular, the top-level 2.7 documentation page now links to the newer installer and distributions pages rather than the legacy install and Distutils pages; these are still linked to in the library/distutils doc page. Tests ----- - Issue 21916: Added tests for the turtle module. Patch by ingrid, Gregory Loyse and Jelle Zijlstra. - Issue 25940: Changed test_ssl to use self-signed.pythontest.net. This avoids relying on svn.python.org, which recently changed root certificate. - Issue 25616: Tests for OrderedDict are extracted from test_collections into separate file test_ordered_dict. Build ----- - Issue 22359: Avoid incorrect recursive $(MAKE), and disable the rules for running pgen when cross-compiling. The pgen output is normally saved with the source code anyway, and is still regenerated when doing a native build. Patch by Jonas Wagner and Xavier de Gaye. - Issue 19450: Update Windows builds to use SQLite 3.8.11.0. - Issue 27229: Fix the cross-compiling pgen rule for in-tree builds. Patch by Xavier de Gaye. - Issue 17603: Avoid error about nonexistant fileblocks.o file by using a lower-level check for st_blocks in struct stat. - Issue 26465: Update Windows builds to use OpenSSL 1.0.2g. - Issue 24421: Compile Modules/_math.c once, before building extensions. Previously it could fail to compile properly if the math and cmath builds were concurrent. - Issue 25824: Fixes sys.winver to not include any architecture suffix. - Issue 25348: Added ``--pgo`` and ``--pgo-job`` arguments to ``PCbuild\build.bat`` for building with Profile-Guided Optimization. The old ``PCbuild\build_pgo.bat`` script is now deprecated, and simply calls ``PCbuild\build.bat --pgo %*``. - Issue 25827: Add support for building with ICC to ``configure``, including a new ``--with-icc`` flag. - Issue 25696: Fix installation of Python on UNIX with make -j9. - Issue 26930: Update OS X 10.5+ 32-bit-only installer to build and link with OpenSSL 1.0.2h. - Issue 26268: Update Windows builds to use OpenSSL 1.0.2f. - Issue 25136: Support Apple Xcode 7's new textual SDK stub libraries. Tools/Demos ----------- - Issue 26799: Fix python-gdb.py: don't get C types once when the Python code is loaded, but get C types on demand. The C types can change if python-gdb.py is loaded before the Python executable. Patch written by Thomas Ilsche. C API ----- - Issue 26476: Fixed compilation error when use PyErr_BadInternalCall() in C++. Patch by Jeroen Demeyer. Misc ---- - Issue 17500, and https://github.com/python/pythondotorg/issues/945: Remove unused and outdated icons.
Revision 1.67 / (download) - annotate - [select for diffs], Tue Jul 26 16:45:33 2016 UTC (7 years, 8 months ago) by kamil
Branch: MAIN
CVS Tags: pkgsrc-2016Q4-base,
pkgsrc-2016Q4,
pkgsrc-2016Q3-base,
pkgsrc-2016Q3
Changes since 1.66: +2 -2
lines
Diff to previous 1.66 (unified)
Bump PKGREVISION for previous
Revision 1.66 / (download) - annotate - [select for diffs], Tue Jul 26 16:44:28 2016 UTC (7 years, 8 months ago) by kamil
Branch: MAIN
Changes since 1.65: +3 -10
lines
Diff to previous 1.65 (unified)
Add an option for Python: x11 Fix build on systems with disabled X11 Reported by <schmonz>, Andreas Kusalananda Kahari Tested by Andreas Kusalananda Kahari Possible direction is to make this switch by default disabled on Darwin.
Revision 1.65 / (download) - annotate - [select for diffs], Sat Jul 23 21:12:48 2016 UTC (7 years, 8 months ago) by kamil
Branch: MAIN
Changes since 1.64: +4 -3
lines
Diff to previous 1.64 (unified)
Fix build for X11_TYPE != "native" Noted by <wiz> Solution suggested by <leot>
Revision 1.64 / (download) - annotate - [select for diffs], Sat Jul 23 18:28:26 2016 UTC (7 years, 8 months ago) by kamil
Branch: MAIN
Changes since 1.63: +10 -2
lines
Diff to previous 1.63 (unified)
Fix dlopen(3) calls in _ctypes.so for X11BASE libraries A Python code can dynamically load shared libraries and it's wrapped with a plain dlopen(3) call. The holder of this interface (_ctypes module) without rpath set to X11BASE cannot detect libs like 'GL'. This might be the last step to fix issues with running GUI Python applications on NetBSD. Bump PKGREVISION.
Revision 1.63 / (download) - annotate - [select for diffs], Sat Jul 23 13:09:15 2016 UTC (7 years, 8 months ago) by kamil
Branch: MAIN
Changes since 1.62: +20 -2
lines
Diff to previous 1.62 (unified)
Fixing find_library() on POSIX-like (excluding Darwin) systems. This isn't addressing Python's wrapper for dlopen(3). This possibily addresses mostly NetBSD as other popular OSes have ldconfig. Testing commands: - before applying the patch >>> from ctypes.util import find_library >>> find_library("m") 'libm.so.0' >>> find_library("crypto") 'libcrypto.so.11' >>> find_library("GL") >>> find_library("curl") - after applying the patch >>> from ctypes.util import find_library >>> find_library("m") 'libm.so.0' >>> find_library("crypto") 'libcrypto.so.11' >>> find_library("GL") 'libGL.so.2' >>> find_library("curl") 'libcurl.so.4' This patch doesn't solve the case of custom dirs like $PREFIX/qt5/lib. However it's solving most common cases of using this call. A possible solution is to parse the output "pkg_info -La"... however it's very slow. In other words a cache with libraries might be needed to handle it efficiently. Bump PKGREVISION.
Revision 1.62 / (download) - annotate - [select for diffs], Mon Jul 11 12:17:13 2016 UTC (7 years, 8 months ago) by ryoon
Branch: MAIN
Changes since 1.61: +2 -1
lines
Diff to previous 1.61 (unified)
Bump PKGREVISION. Do not assume longer name for POSIX semaphore under NetBSD According to sem_open(3) man page, NetBSD supports 15 chars length. Fix SemLock errno 63 ENAMETOOLONG under NetBSD.
Revision 1.61 / (download) - annotate - [select for diffs], Sat Jul 2 15:05:43 2016 UTC (7 years, 8 months ago) by adam
Branch: MAIN
Changes since 1.60: +1 -2
lines
Diff to previous 1.60 (unified)
Changes 2.7.2: Core and Builtins ----------------- - Issue 20041: Fixed TypeError when frame.f_trace is set to None. Patch by Xavier de Gaye. - Issue 25702: A --with-lto configure option has been added that will enable link time optimizations at build time during a make profile-opt. Some compilers and toolchains are known to not produce stable code when using LTO, be sure to test things thoroughly before relying on it. It can provide a few % speed up over profile-opt alone. - Issue 26168: Fixed possible refleaks in failing Py_BuildValue() with the "N" format unit. - Issue 27039: Fixed bytearray.remove() for values greater than 127. Patch by Joe Jevnik. - Issue 4806: Avoid masking the original TypeError exception when using star (*) unpacking and the exception was raised from a generator. Based on patch by Hagen Fürstenau. - Issue 26659: Make the builtin slice type support cycle collection. - Issue 26718: super.__init__ no longer leaks memory if called multiple times. NOTE: A direct call of super.__init__ is not endorsed! - Issue 13410: Fixed a bug in PyUnicode_Format where it failed to properly ignore errors from a __int__() method. - Issue 26494: Fixed crash on iterating exhausting iterators. Affected classes are generic sequence iterators, iterators of bytearray, list, tuple, set, frozenset, dict, OrderedDict and corresponding views. - Issue 26581: If coding cookie is specified multiple times on a line in Python source code file, only the first one is taken to account. - Issue 22836: Ensure exception reports from PyErr_Display() and PyErr_WriteUnraisable() are sensible even when formatting them produces secondary errors. This affects the reports produced by sys.__excepthook__() and when __del__() raises an exception. - Issue 22847: Improve method cache efficiency. - Issue 25843: When compiling code, don't merge constants if they are equal but have a different types. For example, ``f1, f2 = lambda: 1, lambda: 1.0`` is now correctly compiled to two different functions: ``f1()`` returns ``1`` (``int``) and ``f2()`` returns ``1.0`` (``int``), even if ``1`` and ``1.0`` are equal. - Issue 22995: [UPDATE] Remove the one of the pickleability tests in _PyObject_GetState() due to regressions observed in Cython-based projects. - Issue 25961: Disallowed null characters in the type name. - Issue 22995: Instances of extension types with a state that aren't subclasses of list or dict and haven't implemented any pickle-related methods (__reduce__, __reduce_ex__, __getnewargs__, __getnewargs_ex__, or __getstate__), can no longer be pickled. Including memoryview. - Issue 20440: Massive replacing unsafe attribute setting code with special macro Py_SETREF. - Issue 25421: __sizeof__ methods of builtin types now use dynamic basic size. This allows sys.getsize() to work correctly with their subclasses with __slots__ defined. - Issue 19543: Added Py3k warning for decoding unicode. - Issue 24097: Fixed crash in object.__reduce__() if slot name is freed inside __getattr__. - Issue 24731: Fixed crash on converting objects with special methods __str__, __trunc__, and __float__ returning instances of subclasses of str, long, and float to subclasses of str, long, and float correspondingly. - Issue 26478: Fix semantic bugs when using binary operators with dictionary views and tuples. - Issue 26171: Fix possible integer overflow and heap corruption in zipimporter.get_data(). Library ------- - Issue 26556: Update expat to 2.1.1, fixes CVE-2015-1283. - Fix TLS stripping vulnerability in smptlib, CVE-2016-0772. Reported by Team Oststrom - Issue 7356: ctypes.util: Make parsing of ldconfig output independent of the locale. - Issue 25738: Stop BaseHTTPServer.BaseHTTPRequestHandler.send_error() from sending a message body for 205 Reset Content. Also, don't send the Content-Type header field in responses that don't have a body. Based on patch by Susumu Koshiba. - Issue 21313: Fix the "platform" module to tolerate when sys.version contains truncated build information. - Issue 27211: Fix possible memory corruption in io.IOBase.readline(). - Issue 27114: Fix SSLContext._load_windows_store_certs fails with PermissionError - Issue 14132: Fix urllib.request redirect handling when the target only has a query string. Fix by Ján Janech. - Removed the requirements for the ctypes and modulefinder modules to be compatible with earlier Python versions. - Issue 22274: In the subprocess module, allow stderr to be redirected to stdout even when stdout is not redirected. Patch by Akira Li. - Issue 12045: Avoid duplicate execution of command in ctypes.util._get_soname(). Patch by Sijin Joseph. - Issue 26960: Backported 16270 from Python 3 to Python 2, to prevent urllib from hanging when retrieving certain FTP files. - Issue 25745: Fixed leaking a userptr in curses panel destructor. - Issue 17765: weakref.ref() no longer silently ignores keyword arguments. Patch by Georg Brandl. - Issue 26873: xmlrpclib now raises ResponseError on unsupported type tags instead of silently return incorrect result. - Issue 24114: Fix an uninitialized variable in `ctypes.util`. The bug only occurs on SunOS when the ctypes implementation searches for the `crle` program. Patch by Xiang Zhang. Tested on SunOS by Kees Bos. - Issue 26864: In urllib, change the proxy bypass host checking against no_proxy to be case-insensitive, and to not match unrelated host names that happen to have a bypassed hostname as a suffix. Patch by Xiang Zhang. - Issue 26804: urllib will prefer lower_case proxy environment variables over UPPER_CASE or Mixed_Case ones. Patch contributed by Hans-Peter Jansen. - Issue 26837: assertSequenceEqual() now correctly outputs non-stringified differing items. This affects assertListEqual() and assertTupleEqual(). - Issue 26822: itemgetter, attrgetter and methodcaller objects no longer silently ignore keyword arguments. - Issue 26657: Fix directory traversal vulnerability with SimpleHTTPServer on Windows. This fixes a regression that was introduced in 2.7.7. Based on patch by Philipp Hagemeister. - Issue 19377: Add .svg to mimetypes.types_map. - Issue 13952: Add .csv to mimetypes.types_map. Patch by Geoff Wilson. - Issue 16329: Add .webm to mimetypes.types_map. Patch by Giampaolo Rodola'. - Issue 23735: Handle terminal resizing with Readline 6.3+ by installing our own SIGWINCH handler. Patch by Eric Price. - Issue 26644: Raise ValueError rather than SystemError when a negative length is passed to SSLSocket.recv() or read(). - Issue 23804: Fix SSL recv(0) and read(0) methods to return zero bytes instead of up to 1024. - Issue 24266: Ctrl+C during Readline history search now cancels the search mode when compiled with Readline 7. - Issue 23857: Implement PEP 493, adding a Python-2-only ssl module API and environment variable to configure the default handling of SSL/TLS certificates for HTTPS connections. - Issue 26313: ssl.py _load_windows_store_certs fails if windows cert store is empty. Patch by Baji. - Issue 26513: Fixes platform module detection of Windows Server - Issue 23718: Fixed parsing time in week 0 before Jan 1. Original patch by Tamás Bence Gedai. - Issue 26177: Fixed the keys() method for Canvas and Scrollbar widgets. - Issue 15068: Got rid of excessive buffering in the fileinput module. The bufsize parameter is no longer used. - Issue 2202: Fix UnboundLocalError in AbstractDigestAuthHandler.get_algorithm_impls. Initial patch by Mathieu Dupuy. - Issue 26475: Fixed debugging output for regular expressions with the (?x) flag. - Issue 26385: Remove the file if the internal fdopen() call in NamedTemporaryFile() fails. Based on patch by Silent Ghost. - Issue 26309: In the "socketserver" module, shut down the request (closing the connected socket) when verify_request() returns false. Based on patch by Aviv Palivoda. - Issue 25939: On Windows open the cert store readonly in ssl.enum_certificates. - Issue 24303: Fix random EEXIST upon multiprocessing semaphores creation with Linux PID namespaces enabled. - Issue 25698: Importing module if the stack is too deep no longer replaces imported module with the empty one. - Issue 12923: Reset FancyURLopener's redirect counter even if there is an exception. Based on patches by Brian Brazil and Daniel Rocco. - Issue 25945: Fixed a crash when unpickle the functools.partial object with wrong state. Fixed a leak in failed functools.partial constructor. "args" and "keywords" attributes of functools.partial have now always types tuple and dict correspondingly. - Issue 19883: Fixed possible integer overflows in zipimport. - Issue 26147: xmlrpclib now works with unicode not encodable with used non-UTF-8 encoding. - Issue 16620: Fixed AttributeError in msilib.Directory.glob(). - Issue 21847: Fixed xmlrpclib on Unicode-disabled builds. - Issue 6500: Fixed infinite recursion in urllib2.Request.__getattr__(). - Issue 26083: Workaround a subprocess bug that raises an incorrect "ValueError: insecure string pickle" exception instead of the actual exception on some platforms such as Mac OS X when an exception raised in the forked child process prior to the exec() was large enough that it overflowed the internal errpipe_read pipe buffer. - Issue 24103: Fixed possible use after free in ElementTree.iterparse(). - Issue 20954: _args_from_interpreter_flags used by multiprocessing and some tests no longer behaves incorrectly in the presence of the PYTHONHASHSEED environment variable. - Issue 14285: When executing a package with the "python -m package" option, and package initialization raises ImportError, a proper traceback is now reported. - Issue 6478: _strptime's regexp cache now is reset after changing timezone with time.tzset(). - Issue 25718: Fixed copying object with state with boolean value is false. - Issue 25742: :func:`locale.setlocale` now accepts a Unicode string for its second parameter. - Issue 10131: Fixed deep copying of minidom documents. Based on patch by Marian Ganisin. - Issue 25725: Fixed a reference leak in cPickle.loads() when unpickling invalid data including tuple instructions. - Issue 25663: In the Readline completer, avoid listing duplicate global names, and search the global namespace before searching builtins. - Issue 25688: Fixed file leak in ElementTree.iterparse() raising an error. - Issue 23914: Fixed SystemError raised by CPickle unpickler on broken data. - Issue 25924: Avoid unnecessary serialization of getaddrinfo(3) calls on OS X versions 10.5 or higher. Original patch by A. Jesse Jiryu Davis. - Issue 26406: Avoid unnecessary serialization of getaddrinfo(3) calls on current versions of OpenBSD and NetBSD. Patch by A. Jesse Jiryu Davis. IDLE ---- - Issue 5124: Paste with text selected now replaces the selection on X11. This matches how paste works on Windows, Mac, most modern Linux apps, and ttk widgets. Original patch by Serhiy Storchaka. - Issue 24759: Make clear in idlelib.idle_test.__init__ that the directory is a private implementation of test.test_idle and tool for maintainers. - Issue 26673: When tk reports font size as 0, change to size 10. Such fonts on Linux prevented the configuration dialog from opening. - Issue 27044: Add ConfigDialog.remove_var_callbacks to stop memory leaks. - In the 'IDLE-console differences' section of the IDLE doc, clarify how running with IDLE affects sys.modules and the standard streams. - Issue 25507: fix incorrect change in IOBinding that prevented printing. Change also prevented saving shell window with non-ascii characters. Augment IOBinding htest to include all major IOBinding functions. - Issue 25905: Revert unwanted conversion of ' to RIGHT SINGLE QUOTATION MARK in README.txt and open this and NEWS.txt with 'ascii'. Re-encode CREDITS.txt to utf-8 and open it with 'utf-8'. - Issue 26417: Prevent spurious errors and incorrect defaults when installing IDLE 2.7 on OS X: default configuration settings are no longer installed from OS X specific copies. Documentation ------------- - Issue 26736: Used HTTPS for external links in the documentation if possible. - Issue 6953: Rework the Readline module documentation to group related functions together, and add more details such as what underlying Readline functions and variables are accessed. - Issue 26014: Guide users to the newer packaging documentation as was done for Python 3.x. In particular, the top-level 2.7 documentation page now links to the newer installer and distributions pages rather than the legacy install and Distutils pages; these are still linked to in the library/distutils doc page. Tests ----- - Issue 21916: Added tests for the turtle module. Patch by ingrid, Gregory Loyse and Jelle Zijlstra. - Issue 25940: Changed test_ssl to use self-signed.pythontest.net. This avoids relying on svn.python.org, which recently changed root certificate. - Issue 25616: Tests for OrderedDict are extracted from test_collections into separate file test_ordered_dict. Build ----- - Issue 22359: Avoid incorrect recursive $(MAKE), and disable the rules for running pgen when cross-compiling. The pgen output is normally saved with the source code anyway, and is still regenerated when doing a native build. Patch by Jonas Wagner and Xavier de Gaye. - Issue 19450: Update Windows builds to use SQLite 3.8.11.0. - Issue 27229: Fix the cross-compiling pgen rule for in-tree builds. Patch by Xavier de Gaye. - Issue 17603: Avoid error about nonexistant fileblocks.o file by using a lower-level check for st_blocks in struct stat. - Issue 26465: Update Windows builds to use OpenSSL 1.0.2g. - Issue 24421: Compile Modules/_math.c once, before building extensions. Previously it could fail to compile properly if the math and cmath builds were concurrent. - Issue 25824: Fixes sys.winver to not include any architecture suffix. - Issue 25348: Added ``--pgo`` and ``--pgo-job`` arguments to ``PCbuild\build.bat`` for building with Profile-Guided Optimization. The old ``PCbuild\build_pgo.bat`` script is now deprecated, and simply calls ``PCbuild\build.bat --pgo %*``. - Issue 25827: Add support for building with ICC to ``configure``, including a new ``--with-icc`` flag. - Issue 25696: Fix installation of Python on UNIX with make -j9. - Issue 26930: Update OS X 10.5+ 32-bit-only installer to build and link with OpenSSL 1.0.2h. - Issue 26268: Update Windows builds to use OpenSSL 1.0.2f. - Issue 25136: Support Apple Xcode 7's new textual SDK stub libraries. Tools/Demos ----------- - Issue 26799: Fix python-gdb.py: don't get C types once when the Python code is loaded, but get C types on demand. The C types can change if python-gdb.py is loaded before the Python executable. Patch written by Thomas Ilsche. C API ----- - Issue 26476: Fixed compilation error when use PyErr_BadInternalCall() in C++. Patch by Jeroen Demeyer. Misc ---- - Issue 17500, and https://github.com/python/pythondotorg/issues/945: Remove unused and outdated icons.
Revision 1.60 / (download) - annotate - [select for diffs], Thu May 26 04:07:32 2016 UTC (7 years, 10 months ago) by dholland
Branch: MAIN
CVS Tags: pkgsrc-2016Q2-base
Branch point for: pkgsrc-2016Q2
Changes since 1.59: +2 -4
lines
Diff to previous 1.59 (unified)
Use LP64PLATFORMS instead of a hardcoded list. PR 51166. Fixes mips64, aargh64, and several others. XXX: make needs a better way to express this logic.
Revision 1.59 / (download) - annotate - [select for diffs], Wed May 25 16:56:41 2016 UTC (7 years, 10 months ago) by leot
Branch: MAIN
Changes since 1.58: +2 -1
lines
Diff to previous 1.58 (unified)
Add ia64 to IS_64BIT_PLATFORM. From scole_mail via PR pkg/51166.
Revision 1.58 / (download) - annotate - [select for diffs], Sun Apr 10 16:39:27 2016 UTC (7 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.57: +1 -4
lines
Diff to previous 1.57 (unified)
Adjust checks for _USE_DESTDIR != no or incorrect references to USE_DESTDIR.
Revision 1.57 / (download) - annotate - [select for diffs], Sat Mar 5 11:28:44 2016 UTC (8 years ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2016Q1-base,
pkgsrc-2016Q1
Changes since 1.56: +2 -2
lines
Diff to previous 1.56 (unified)
Bump PKGREVISION for security/openssl ABI bump.
Revision 1.56 / (download) - annotate - [select for diffs], Thu Feb 25 14:42:56 2016 UTC (8 years, 1 month ago) by jperkin
Branch: MAIN
Changes since 1.55: +2 -4
lines
Diff to previous 1.55 (unified)
Use OPSYSVARS.
Revision 1.55 / (download) - annotate - [select for diffs], Sat Feb 6 11:25:09 2016 UTC (8 years, 1 month ago) by tron
Branch: MAIN
Changes since 1.54: +10 -1
lines
Diff to previous 1.54 (unified)
Use the "cacert.pem" file from the "mozilla-rootcerts" package as an *extra* location to load CA certificates from in the "ssl" module. HTTPS requests to a site with a valid certificate now work out of the box (even without the "mozilla-rootcerts-openssl").
Revision 1.54 / (download) - annotate - [select for diffs], Sun Dec 6 18:22:35 2015 UTC (8 years, 3 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2015Q4-base,
pkgsrc-2015Q4
Changes since 1.53: +1 -2
lines
Diff to previous 1.53 (unified)
Python 2.7.11 is the latest bugfix release of the Python 2.7 series.
Revision 1.53 / (download) - annotate - [select for diffs], Wed Nov 25 14:01:34 2015 UTC (8 years, 4 months ago) by adam
Branch: MAIN
Changes since 1.52: +7 -1
lines
Diff to previous 1.52 (unified)
Fix for libffi include path on Darwin.
Revision 1.52 / (download) - annotate - [select for diffs], Mon Nov 16 13:47:25 2015 UTC (8 years, 4 months ago) by fhajny
Branch: MAIN
Changes since 1.51: +2 -1
lines
Diff to previous 1.51 (unified)
Add python2/python3 wrappers to respective lang/python?? packages. Bump PKGREVISION for python27, python33 and python34.
Revision 1.51 / (download) - annotate - [select for diffs], Sun Nov 8 15:08:00 2015 UTC (8 years, 4 months ago) by sevan
Branch: MAIN
Changes since 1.50: +4 -4
lines
Diff to previous 1.50 (unified)
Remove references to amd64, MACHINE_ARCH x86_64 cover all variants of this architecture in pkgsrc now. Reviewed by wiz@
Revision 1.50 / (download) - annotate - [select for diffs], Mon Sep 7 12:02:05 2015 UTC (8 years, 6 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2015Q3-base,
pkgsrc-2015Q3
Changes since 1.49: +1 -6
lines
Diff to previous 1.49 (unified)
Now that _STRIPFLAG_INSTALL is disabled by default on Darwin, remove manual settings of INSTALL_UNSTRIPPED=yes for Darwin in individual packages.
Revision 1.49 / (download) - annotate - [select for diffs], Sun May 24 07:44:07 2015 UTC (8 years, 10 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2015Q2-base,
pkgsrc-2015Q2
Changes since 1.48: +1 -2
lines
Diff to previous 1.48 (unified)
Changes 2.7.10: This is a bug-fix release.
Revision 1.48 / (download) - annotate - [select for diffs], Tue Mar 3 17:19:58 2015 UTC (9 years ago) by snj
Branch: MAIN
CVS Tags: pkgsrc-2015Q1-base,
pkgsrc-2015Q1
Changes since 1.47: +2 -1
lines
Diff to previous 1.47 (unified)
Fix http://bugs.python.org/issue22885 with patch from that URL. Bump PKGREVISION to 1.
Revision 1.47 / (download) - annotate - [select for diffs], Tue Dec 16 07:40:58 2014 UTC (9 years, 3 months ago) by chopps
Branch: MAIN
CVS Tags: pkgsrc-2014Q4-base,
pkgsrc-2014Q4
Changes since 1.46: +1 -2
lines
Diff to previous 1.46 (unified)
remove PKGREVISION since we bumped the dist version
Revision 1.45.2.1 / (download) - annotate - [select for diffs], Mon Nov 3 14:12:52 2014 UTC (9 years, 4 months ago) by tron
Branch: pkgsrc-2014Q3
Changes since 1.45: +2 -1
lines
Diff to previous 1.45 (unified) next main 1.46 (unified)
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
Revision 1.46 / (download) - annotate - [select for diffs], Sun Nov 2 13:31:11 2014 UTC (9 years, 4 months ago) by spz
Branch: MAIN
Changes since 1.45: +2 -1
lines
Diff to previous 1.45 (unified)
add the patches for Python issue 22518, also known as 22470, from the python source repository. Refresh patches
Revision 1.45 / (download) - annotate - [select for diffs], Thu Jul 17 15:26:49 2014 UTC (9 years, 8 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base
Branch point for: pkgsrc-2014Q3
Changes since 1.44: +11 -2
lines
Diff to previous 1.44 (unified)
Fix SCO OpenServer 5.0.7/3.2 build.
Revision 1.44 / (download) - annotate - [select for diffs], Wed Jul 2 09:53:16 2014 UTC (9 years, 8 months ago) by adam
Branch: MAIN
Changes since 1.43: +1 -2
lines
Diff to previous 1.43 (unified)
Changes 2.7.8: The openssl version bundled in the Windows installer has been updated. A regression in the mimetypes module on Windows has been fixed. A possible overflow in the buffer type has been fixed. A bug in the CGIHTTPServer module which allows arbitrary execution of code in the server root has been patched. A regression in the handling of UNC paths in os.path.join has been fixed
Revision 1.43 / (download) - annotate - [select for diffs], Wed Jun 11 05:55:58 2014 UTC (9 years, 9 months ago) by richard
Branch: MAIN
CVS Tags: pkgsrc-2014Q2-base,
pkgsrc-2014Q2
Changes since 1.42: +2 -2
lines
Diff to previous 1.42 (unified)
avoid conflicting declaration of gethostname on SunOS
Revision 1.42 / (download) - annotate - [select for diffs], Mon Jun 9 17:58:31 2014 UTC (9 years, 9 months ago) by he
Branch: MAIN
Changes since 1.41: +2 -1
lines
Diff to previous 1.41 (unified)
Add patches to fix the remaining two functions reported as being vulnerable to CVE-2013-1752, following the general theme of overflow of line lengths. This fixes the smtp and pop functions. Taken / adapted from http://bugs.python.org/issue16041 and http://bugs.python.org/issue16042. PKGREVISION bumped.
Revision 1.41 / (download) - annotate - [select for diffs], Mon Jun 2 06:12:03 2014 UTC (9 years, 9 months ago) by adam
Branch: MAIN
Changes since 1.40: +1 -2
lines
Diff to previous 1.40 (unified)
Changes 2.7.7: This is a regularly scheduled 2.7 series bugfix and includes numerous bugfixes (http://hg.python.org/cpython/raw-file/f89216059edf/Misc/NEWS) over 2.7.6.
Revision 1.39.2.1 / (download) - annotate - [select for diffs], Mon Apr 14 11:38:44 2014 UTC (9 years, 11 months ago) by tron
Branch: pkgsrc-2014Q1
Changes since 1.39: +7 -1
lines
Diff to previous 1.39 (unified) next main 1.40 (unified)
Pullup ticket #4369 - requested by bsiegert lang/python26: build fix Revisions pulled up: - lang/python26/Makefile 1.63 - lang/python26/distinfo 1.58 - lang/python26/patches/patch-am 1.23 - lang/python27/Makefile 1.40 - lang/python27/distinfo 1.36 - lang/python27/patches/patch-am 1.15 --- Module Name: pkgsrc Committed By: bsiegert Date: Sun Apr 13 14:56:56 UTC 2014 Modified Files: pkgsrc/lang/python26: Makefile distinfo pkgsrc/lang/python26/patches: patch-am Log Message: Redo reverted commit from obache@. Original description: Prevent to detect unwanted builtin openssl. After bump of BUILDLINK_API_DEPENDS.openssl to 1.0.1c, buitin openssl is not acceptable for various platforms. --- Module Name: pkgsrc Committed By: bsiegert Date: Sun Apr 13 15:06:20 UTC 2014 Modified Files: pkgsrc/lang/python27: Makefile distinfo pkgsrc/lang/python27/patches: patch-am Log Message: Reapply reverted commit from obache@. Original description: Prevent to detect unwanted builtin openssl. After bump of BUILDLINK_API_DEPENDS.openssl to 1.0.1c, buitin openssl is not acceptable for various platforms.
Revision 1.40 / (download) - annotate - [select for diffs], Sun Apr 13 15:06:20 2014 UTC (9 years, 11 months ago) by bsiegert
Branch: MAIN
Changes since 1.39: +7 -1
lines
Diff to previous 1.39 (unified)
Reapply reverted commit from obache@. Original description: Prevent to detect unwanted builtin openssl. After bump of BUILDLINK_API_DEPENDS.openssl to 1.0.1c, buitin openssl is not acceptable for various platforms.
Revision 1.39 / (download) - annotate - [select for diffs], Thu Mar 27 05:36:37 2014 UTC (10 years ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base
Branch point for: pkgsrc-2014Q1
Changes since 1.38: +0 -6
lines
Diff to previous 1.38 (unified)
revert last commit, should not be committed during freeze.
Revision 1.38 / (download) - annotate - [select for diffs], Thu Mar 27 05:22:33 2014 UTC (10 years ago) by obache
Branch: MAIN
Changes since 1.37: +7 -1
lines
Diff to previous 1.37 (unified)
Prevent to detect unwanted builtin openssl. After bump of BUILDLINK_API_DEPENDS.openssl to 1.0.1c, buitin openssl is not acceptable for various platforms.
Revision 1.37 / (download) - annotate - [select for diffs], Wed Mar 12 12:40:57 2014 UTC (10 years ago) by obache
Branch: MAIN
Changes since 1.36: +3 -3
lines
Diff to previous 1.36 (unified)
For smtpd.py, only rename with ${PYVERSUFFIX} to be installed as a tool, or rename of module name affect to other parts using this module. Noticed by Benjamin Lorenz in tech-pkg@. Additionally, set ALTERNATIVE for bin/smtpd.py.
Revision 1.36 / (download) - annotate - [select for diffs], Wed Feb 12 23:28:17 2014 UTC (10 years, 1 month ago) by tron
Branch: MAIN
Changes since 1.35: +1 -11
lines
Diff to previous 1.35 (unified)
Remove now unnecessary package list handling for OpenSSL 0.9.*.
Revision 1.35 / (download) - annotate - [select for diffs], Wed Feb 12 23:18:05 2014 UTC (10 years, 1 month ago) by tron
Branch: MAIN
Changes since 1.34: +2 -2
lines
Diff to previous 1.34 (unified)
Recursive PKGREVISION bump for OpenSSL API version bump.
Revision 1.33.2.1 / (download) - annotate - [select for diffs], Mon Feb 10 18:13:44 2014 UTC (10 years, 1 month ago) by spz
Branch: pkgsrc-2013Q4
Changes since 1.33: +2 -1
lines
Diff to previous 1.33 (unified) next main 1.34 (unified)
Pullup ticket #4319 - requested by tron lang/python27: security fix Revisions pulled up: - lang/python27/Makefile 1.34 - lang/python27/distinfo 1.30 - lang/python27/patches/patch-Modules_socketmodule.c 1.1 ------------------------------------------------------------------- Module Name: pkgsrc Committed By: tron Date: Sun Feb 9 09:02:50 UTC 2014 Modified Files: pkgsrc/lang/python27: Makefile distinfo Added Files: pkgsrc/lang/python27/patches: patch-Modules_socketmodule.c Log Message: Add fix for security vulnerability reported in SA56624. Patch taken from Python Mercurial repository. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 pkgsrc/lang/python27/Makefile cvs rdiff -u -r1.29 -r1.30 pkgsrc/lang/python27/distinfo cvs rdiff -u -r0 -r1.1 \ pkgsrc/lang/python27/patches/patch-Modules_socketmodule.c
Revision 1.34 / (download) - annotate - [select for diffs], Sun Feb 9 09:02:50 2014 UTC (10 years, 1 month ago) by tron
Branch: MAIN
Changes since 1.33: +2 -1
lines
Diff to previous 1.33 (unified)
Add fix for security vulnerability reported in SA56624. Patch taken from Python Mercurial repository.
Revision 1.33 / (download) - annotate - [select for diffs], Thu Dec 12 11:34:23 2013 UTC (10 years, 3 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base
Branch point for: pkgsrc-2013Q4
Changes since 1.32: +7 -1
lines
Diff to previous 1.32 (unified)
Search the SDK path on OSX, otherwise for Xcode 5 certain modules will not be built, due to the headers not being installed in /usr/include by default.
Revision 1.32 / (download) - annotate - [select for diffs], Tue Nov 12 18:57:25 2013 UTC (10 years, 4 months ago) by adam
Branch: MAIN
Changes since 1.31: +1 -2
lines
Diff to previous 1.31 (unified)
Changes 2.7.6: This is a 2.7 series bugfix release. Most importantly, it resolves an issue that caused the interactive prompt to crash on OS X 10.9. It also includes numerous bugfixes over 2.7.5.
Revision 1.31 / (download) - annotate - [select for diffs], Sun Nov 10 12:12:32 2013 UTC (10 years, 4 months ago) by obache
Branch: MAIN
Changes since 1.30: +4 -2
lines
Diff to previous 1.30 (unified)
Fixes missing rpath in pkg-config file. Bump PKGREVISION.
Revision 1.29.2.1 / (download) - annotate - [select for diffs], Wed Oct 16 16:02:35 2013 UTC (10 years, 5 months ago) by tron
Branch: pkgsrc-2013Q3
Changes since 1.29: +2 -2
lines
Diff to previous 1.29 (unified) next main 1.30 (unified)
Pullup ticket #4246 - requested by joerg lang/python27: build fix Revisions pulled up: - lang/python27/Makefile 1.30 --- Module Name: pkgsrc Committed By: joerg Date: Tue Oct 15 20:46:41 UTC 2013 Modified Files: pkgsrc/lang/python27: Makefile Log Message: PowerPC64 is a 64bit platform.
Revision 1.30 / (download) - annotate - [select for diffs], Tue Oct 15 20:46:41 2013 UTC (10 years, 5 months ago) by joerg
Branch: MAIN
Changes since 1.29: +2 -2
lines
Diff to previous 1.29 (unified)
PowerPC64 is a 64bit platform.
Revision 1.29 / (download) - annotate - [select for diffs], Fri Sep 20 21:49:52 2013 UTC (10 years, 6 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2013Q3-base
Branch point for: pkgsrc-2013Q3
Changes since 1.28: +3 -2
lines
Diff to previous 1.28 (unified)
Bump PKGREVISION. * Pass /usr/bin/env interpreter check for more files, fix build on OmniOS.
Revision 1.28 / (download) - annotate - [select for diffs], Tue Sep 10 14:22:30 2013 UTC (10 years, 6 months ago) by joerg
Branch: MAIN
Changes since 1.27: +2 -2
lines
Diff to previous 1.27 (unified)
Always pass rpath argument with -Wl prefix, especially if clang is not called gcc. Bump revision.
Revision 1.25.2.1 / (download) - annotate - [select for diffs], Wed Aug 21 11:47:14 2013 UTC (10 years, 7 months ago) by tron
Branch: pkgsrc-2013Q2
Changes since 1.25: +2 -1
lines
Diff to previous 1.25 (unified) next main 1.26 (unified)
Pullup ticket #4213 - requested by spz lang/python27: security patch Revisions pulled up: - lang/python27/Makefile 1.27 - lang/python27/PLIST.common 1.6 - lang/python27/distinfo 1.25 - lang/python27/patches/patch-Lib_test_nullbytecert.pem 1.1 - lang/python27/patches/patch-Lib_test_test__ssl.py 1.1 - lang/python27/patches/patch-Misc_NEWS 1.1 - lang/python27/patches/patch-Modules___ssl.c 1.2 --- Module Name: pkgsrc Committed By: spz Date: Sun Aug 18 13:42:14 UTC 2013 Modified Files: pkgsrc/lang/python27: Makefile PLIST.common distinfo pkgsrc/lang/python27/patches: patch-Modules___ssl.c Added Files: pkgsrc/lang/python27/patches: patch-Lib_test_nullbytecert.pem patch-Lib_test_test__ssl.py patch-Misc_NEWS Log Message: patch for CVE-2013-4238 taken from http://hg.python.org/cpython/rev/bd2360476bdb
Revision 1.27 / (download) - annotate - [select for diffs], Sun Aug 18 13:42:14 2013 UTC (10 years, 7 months ago) by spz
Branch: MAIN
Changes since 1.26: +2 -1
lines
Diff to previous 1.26 (unified)
patch for CVE-2013-4238 taken from http://hg.python.org/cpython/rev/bd2360476bdb
Revision 1.26 / (download) - annotate - [select for diffs], Mon Jul 15 02:02:24 2013 UTC (10 years, 8 months ago) by ryoon
Branch: MAIN
Changes since 1.25: +1 -2
lines
Diff to previous 1.25 (unified)
* .include "../../devel/readline/buildlink3.mk" with USE_GNU_READLINE=yes are replaced with .include "../../devel/readline/buildlink3.mk", and USE_GNU_READLINE are removed, * .include "../../devel/readline/buildlink3.mk" without USE_GNU_READLINE are replaced with .include "../../mk/readline.buildlink3.mk".
Revision 1.25 / (download) - annotate - [select for diffs], Wed Apr 17 10:00:57 2013 UTC (10 years, 11 months ago) by sbd
Branch: MAIN
CVS Tags: pkgsrc-2013Q2-base
Branch point for: pkgsrc-2013Q2
Changes since 1.24: +2 -1
lines
Diff to previous 1.24 (unified)
Add MKDIR_P to the configure env.
Revision 1.24 / (download) - annotate - [select for diffs], Sat Apr 13 12:55:53 2013 UTC (10 years, 11 months ago) by obache
Branch: MAIN
Changes since 1.23: +2 -2
lines
Diff to previous 1.23 (unified)
Cygwin also require gmake to build.
Revision 1.23 / (download) - annotate - [select for diffs], Fri Apr 12 09:03:41 2013 UTC (10 years, 11 months ago) by adam
Branch: MAIN
Changes since 1.22: +3 -4
lines
Diff to previous 1.22 (unified)
Changes 2.7.4: This is a 2.7 series bugfix release. It includes hundreds of bugfixes over 2.7.3.
Revision 1.22 / (download) - annotate - [select for diffs], Fri Feb 8 12:23:24 2013 UTC (11 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2013Q1-base,
pkgsrc-2013Q1
Changes since 1.21: +3 -1
lines
Diff to previous 1.21 (unified)
When using destdir, the clean stage isn't privileged.
Revision 1.21 / (download) - annotate - [select for diffs], Wed Feb 6 23:22:38 2013 UTC (11 years, 1 month ago) by jperkin
Branch: MAIN
Changes since 1.20: +2 -2
lines
Diff to previous 1.20 (unified)
PKGREVISION bumps for the security/openssl 1.0.1d update.
Revision 1.20 / (download) - annotate - [select for diffs], Tue Oct 2 20:11:51 2012 UTC (11 years, 5 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2012Q4-base,
pkgsrc-2012Q4
Changes since 1.19: +1 -3
lines
Diff to previous 1.19 (unified)
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Revision 1.19 / (download) - annotate - [select for diffs], Sat Sep 15 10:05:20 2012 UTC (11 years, 6 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base,
pkgsrc-2012Q3
Changes since 1.18: +2 -2
lines
Diff to previous 1.18 (unified)
recursive bump from libffi shlib major bump (additionaly, reset PKGREVISION of qt4-* sub packages from base qt4 update)
Revision 1.18 / (download) - annotate - [select for diffs], Tue Aug 14 18:19:01 2012 UTC (11 years, 7 months ago) by drochner
Branch: MAIN
Changes since 1.17: +2 -1
lines
Diff to previous 1.17 (unified)
avoid POSIX semaphores on NetBSD -- at least on -current they cause serious misbehavior (access to closed file descriptors, fd leaks) which makes eg xentools completely unusable bump PKGREV
Revision 1.17 / (download) - annotate - [select for diffs], Sun May 13 09:00:43 2012 UTC (11 years, 10 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2012Q2-base,
pkgsrc-2012Q2
Changes since 1.16: +3 -3
lines
Diff to previous 1.16 (unified)
fixes reverse condition usage of CHECK_BUILTIN.openssl.
Revision 1.16 / (download) - annotate - [select for diffs], Thu May 10 08:10:00 2012 UTC (11 years, 10 months ago) by sbd
Branch: MAIN
Changes since 1.15: +3 -5
lines
Diff to previous 1.15 (unified)
"sys.platform is now always 'linux2' on Linux", so revert the linux3 handling and always set PY_PLATNAME to 'linux2'.
Revision 1.15 / (download) - annotate - [select for diffs], Fri Apr 13 18:47:27 2012 UTC (11 years, 11 months ago) by adam
Branch: MAIN
Changes since 1.14: +2 -3
lines
Diff to previous 1.14 (unified)
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
Revision 1.14 / (download) - annotate - [select for diffs], Sat Mar 24 12:04:36 2012 UTC (12 years ago) by tron
Branch: MAIN
CVS Tags: pkgsrc-2012Q1-base,
pkgsrc-2012Q1
Changes since 1.13: +2 -2
lines
Diff to previous 1.13 (unified)
Add a fix for the DoS vulnerability reported in CVE-2012-1150 taken from the Python Mercurial repository.
Revision 1.13 / (download) - annotate - [select for diffs], Fri Mar 16 14:21:36 2012 UTC (12 years ago) by abs
Branch: MAIN
Changes since 1.12: +2 -2
lines
Diff to previous 1.12 (unified)
Pickup PLIST.Linux2 from python27 not python24 - fix build on at least RedHat ES 5.6
Revision 1.12 / (download) - annotate - [select for diffs], Mon Mar 5 08:23:24 2012 UTC (12 years ago) by sbd
Branch: MAIN
Changes since 1.11: +5 -1
lines
Diff to previous 1.11 (unified)
python install different files on Linux-2.* and Linux-3.*
Revision 1.9.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 23:35:28 2012 UTC (12 years, 1 month ago) by tron
Branch: pkgsrc-2011Q4
Changes since 1.9: +2 -1
lines
Diff to previous 1.9 (unified) next main 1.10 (unified)
Pullup ticket #3685 - requested by drochner lang/python25: security patch lang/python26: security patch lang/python27: security patch lang/python31: security patch Revisions pulled up: - lang/python25/Makefile 1.37 via patch - lang/python25/distinfo 1.22 - lang/python25/patches/patch-CVE-2012-0845 1.1 - lang/python26/Makefile 1.45 via patch - lang/python26/distinfo 1.43 - lang/python26/patches/patch-CVE-2012-0845 1.1 - lang/python27/Makefile 1.11 via patch - lang/python27/distinfo 1.15 - lang/python27/patches/patch-CVE-2012-0845 1.1 - lang/python31/Makefile 1.6 via patch - lang/python31/distinfo 1.8 - lang/python31/patches/patch-CVE-2012-0845 1.1 --- Module Name: pkgsrc Committed By: drochner Date: Wed Feb 15 12:21:41 UTC 2012 Modified Files: pkgsrc/lang/python26: Makefile distinfo Added Files: pkgsrc/lang/python26/patches: patch-CVE-2012-0845 Log Message: add patch from Python issue#14001 to fix xmlrpc server endless loop by malformed request bump PKGREV --- Module Name: pkgsrc Committed By: drochner Date: Wed Feb 15 16:08:26 UTC 2012 Modified Files: pkgsrc/lang/python25: Makefile distinfo pkgsrc/lang/python27: Makefile distinfo pkgsrc/lang/python31: Makefile distinfo Added Files: pkgsrc/lang/python25/patches: patch-CVE-2012-0845 pkgsrc/lang/python27/patches: patch-CVE-2012-0845 pkgsrc/lang/python31/patches: patch-CVE-2012-0845 Log Message: apply fix for CVE-2012-0845 to other Python versions too (2.4 is not affected)
Revision 1.11 / (download) - annotate - [select for diffs], Wed Feb 15 16:08:26 2012 UTC (12 years, 1 month ago) by drochner
Branch: MAIN
Changes since 1.10: +2 -2
lines
Diff to previous 1.10 (unified)
apply fix for CVE-2012-0845 to other Python versions too (2.4 is not affected)
Revision 1.10 / (download) - annotate - [select for diffs], Wed Jan 18 14:00:30 2012 UTC (12 years, 2 months ago) by adam
Branch: MAIN
Changes since 1.9: +2 -1
lines
Diff to previous 1.9 (unified)
Revbump after updating db5
Revision 1.9 / (download) - annotate - [select for diffs], Sat Oct 29 14:40:00 2011 UTC (12 years, 5 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base
Branch point for: pkgsrc-2011Q4
Changes since 1.8: +2 -1
lines
Diff to previous 1.8 (unified)
Revert last commit, and simple fix. Drop "@pkgdir lib/python${PY_VER_SUFFIX}/test/data" from PLIST.common_end, it should be removed at updated to 2.7.1rc1.
Revision 1.8 / (download) - annotate - [select for diffs], Sat Oct 29 13:45:50 2011 UTC (12 years, 5 months ago) by marino
Branch: MAIN
Changes since 1.7: +1 -2
lines
Diff to previous 1.7 (unified)
lang/python27: Fix pkg_delete error Fixes the following error: > pkg_delete python27-2.7.2 pkg_delete: Directory '/usr/pkg/lib/python2.7/test/data' disappeared, skipping
Revision 1.7 / (download) - annotate - [select for diffs], Fri Sep 16 19:17:52 2011 UTC (12 years, 6 months ago) by bsiegert
Branch: MAIN
CVS Tags: pkgsrc-2011Q3-base,
pkgsrc-2011Q3
Changes since 1.6: +4 -2
lines
Diff to previous 1.6 (unified)
Add MirBSD support here, too, same as in python26.
Revision 1.6 / (download) - annotate - [select for diffs], Fri Sep 16 08:50:44 2011 UTC (12 years, 6 months ago) by adam
Branch: MAIN
Changes since 1.5: +8 -1
lines
Diff to previous 1.5 (unified)
One again, fix for Clang and interger overflow, this time is should be correct
Revision 1.5 / (download) - annotate - [select for diffs], Mon Jun 13 11:31:13 2011 UTC (12 years, 9 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2011Q2-base,
pkgsrc-2011Q2
Changes since 1.4: +1 -2
lines
Diff to previous 1.4 (unified)
Update python27 to 2.7.2. What's New in Python 2.7.2? =========================== *Release date: 2011-06-11* Library ------- - Issue #12009: Fixed regression in netrc file comment handling. Extension Modules ----------------- - Issue #1221: Make pyexpat.__version__ equal to the Python version. What's New in Python 2.7.2 release candidate 1? =============================================== *Release date: 2011-05-29* Core and Builtins ----------------- - Issue #9670: Increase the default stack size for secondary threads on Mac OS X and FreeBSD to reduce the chances of a crash instead of a "maximum recursion depth" RuntimeError exception. (patch by Ronald Oussoren) - Correct lookup of __dir__ on objects. This allows old-style classes to have __dir__. It also causes errors besides AttributeError found on lookup to be propagated. - Issue #1195: Fix input() if it is interrupted by CTRL+d and then CTRL+c, clear the end-of-file indicator after CTRL+d. - Issue #8651: PyArg_Parse*() functions raise an OverflowError if the file doesn't have PY_SSIZE_T_CLEAN define and the size doesn't fit in an int (length bigger than 2^31-1 bytes). - Issue #8651: Fix "z#" format of PyArg_Parse*() function: the size was not written if PY_SSIZE_T_CLEAN is defined. - Issue #9756: When calling a method descriptor or a slot wrapper descriptor, the check of the object type doesn't read the __class__ attribute anymore. Fix a crash if a class override its __class__ attribute (e.g. a proxy of the str type). Patch written by Andreas Stührk. - Issue #10517: After fork(), reinitialize the TLS used by the PyGILState_* APIs, to avoid a crash with the pthread implementation in RHEL 5. Patch by Charles-François Natali. - Issue #6780: fix starts/endswith error message to mention that tuples are accepted too. - Issue #5057: fix a bug in the peepholer that led to non-portable pyc files between narrow and wide builds while optimizing BINARY_SUBSCR on non-BMP chars (e.g. u"\U00012345"[0]). - Issue #11650: PyOS_StdioReadline() retries fgets() if it was interrupted (EINTR), for example if the program is stopped with CTRL+z on Mac OS X. Patch written by Charles-Francois Natali. - Issue #11144: Ensure that int(a_float) returns an int whenever possible. Previously, there were some corner cases where a long was returned even though the result was within the range of an int. - Issue #11450: Don't truncate hg version info in Py_GetBuildInfo() when there are many tags (e.g. when using mq). Patch by Nadeem Vawda. - Issue #10451: memoryview objects could allow to mutate a readable buffer. Initial patch by Ross Lagerwall. - Issue #10892: Don't segfault when trying to delete __abstractmethods__ from a class. - Issue #8020: Avoid a crash where the small objects allocator would read non-Python managed memory while it is being modified by another thread. Patch by Matt Bandy. - Issue #11004: Repaired edge case in deque.count(). - Issue #8278: On Windows and with a NTFS filesystem, os.stat() and os.utime() can now handle dates after 2038. - Issue #4236: Py_InitModule4 now checks the import machinery directly rather than the Py_IsInitialized flag, avoiding a Fatal Python error in certain circumstances when an import is done in __del__. - issue #11828: startswith and endswith don't accept None as slice index. Patch by Torsten Becker. - Issue #10674: Remove unused 'dictmaker' rule from grammar. - Issue #10596: Fix float.__mod__ to have the same behaviour as float.__divmod__ with respect to signed zeros. -4.0 % 4.0 should be 0.0, not -0.0. - Issue #11386: bytearray.pop() now throws IndexError when the bytearray is empty, instead of OverflowError. Library ------- - Issue #12161: Cause StringIO.getvalue() to raise a ValueError when used on a closed StringIO instance. - Issue #12182: Fix pydoc.HTMLDoc.multicolumn() if Python uses the new (true) division (python -Qnew). Patch written by Ralf W. Grosse-Kunstleve. - Issue #12175: RawIOBase.readall() now returns None if read() returns None. - Issue #12175: FileIO.readall() now raises a ValueError instead of an IOError if the file is closed. - Issue #1441530: In imaplib, use makefile() to wrap the SSL socket to avoid heap fragmentation and MemoryError with some malloc implementations. - Issue #12100: Don't reset incremental encoders of CJK codecs at each call to their encode() method anymore, but continue to call the reset() method if the final argument is True. - Issue #12124: zipimport doesn't keep a reference to zlib.decompress() anymore to be able to unload the module. - Issue #11088: don't crash when using F5 to run a script in IDLE on MacOSX with Tk 8.5. - Issue #10154, #10090: change the normalization of UTF-8 to "UTF-8" instead of "UTF8" in the locale module as the latter is not supported MacOSX and OpenBSD. - Issue #9516: avoid errors in sysconfig when MACOSX_DEPLOYMENT_TARGET is set in shell. - Issue #12050: zlib.decompressobj().decompress() now clears the unconsumed_tail attribute when called without a max_length argument. - Issue #12062: In the `io` module, fix a flushing bug when doing a certain type of I/O sequence on a file opened in read+write mode (namely: reading, seeking a bit forward, writing, then seeking before the previous write but still within buffered data, and writing again). - Issue #8498: In socket.accept(), allow to specify 0 as a backlog value in order to accept exactly one connection. Patch by Daniel Evers. - Issue #12012: ssl.PROTOCOL_SSLv2 becomes optional. - Issue #11164: Remove obsolete allnodes test from minidom test. - Issue #11927: SMTP_SSL now uses port 465 by default as documented. Patch by Kasun Herath. - Issue 11999: fixed sporadic sync failure mailbox.Maildir due to its trying to detect mtime changes by comparing to the system clock instead of to the previous value of the mtime. - Issue #10684: shutil.move used to delete a folder on case insensitive filesystems when the source and destination name where the same except for the case. - Issue #11982: fix json.loads('""') to return u'' rather than ''. - Issue #11277: mmap.mmap() calls fcntl(fd, F_FULLFSYNC) on Mac OS X to get around a mmap bug with sparse files. Patch written by Steffen Daode Nurpmeso. - Issue #10761: Fix tarfile.extractall failure when symlinked files are present. Initial patch by Scott Leerssen. - Issue #11763: don't use difflib in TestCase.assertMultiLineEqual if the strings are too long. - Issue #11236: getpass.getpass responds to ctrl-c or ctrl-z on terminal. - Issue #11768: The signal handler of the signal module only calls Py_AddPendingCall() for the first signal to fix a deadlock on reentrant or parallel calls. PyErr_SetInterrupt() writes also into the wake up file. - Issue #11875: collections.OrderedDict's __reduce__ was temporarily mutating the object instead of just working on a copy. - Issue #11442: Add a charset parameter to the Content-type in SimpleHTTPServer to avoid XSS attacks. - Issue #11467: Fix urlparse behavior when handling urls which contains scheme specific part only digits. Patch by Santoso Wijaya. - collections.Counter().copy() now works correctly for subclasses. - Issue #11474: Fix the bug with url2pathname() handling of '/C|/' on Windows. Patch by Santoso Wijaya. - Issue #9233: Fix json.loads('{}') to return a dict (instead of a list), when _json is not available. - Issue #11703: urllib2.geturl() does not return correct url when the original url contains #fragment. - Issue #10019: Fixed regression in json module where an indent of 0 stopped adding newlines and acted instead like 'None'. - Issue #5162: Treat services like frozen executables to allow child spawning from multiprocessing.forking on Windows. - Issue #4877: Fix a segfault in xml.parsers.expat while attempting to parse a closed file. - Issue #11830: Remove unnecessary introspection code in the decimal module. It was causing a failed import in the Turkish locale where the locale sensitive str.upper() method caused a name mismatch. - Issue #8428: Fix a race condition in multiprocessing.Pool when terminating worker processes: new processes would be spawned while the pool is being shut down. Patch by Charles-François Natali. - Issue #7311: Fix HTMLParser to accept non-ASCII attribute values. - Issue #10963: Ensure that subprocess.communicate() never raises EPIPE. - Issue #11662: Make urllib and urllib2 ignore redirections if the scheme is not HTTP, HTTPS or FTP (CVE-2011-1521). - Issue #11256: Fix inspect.getcallargs on functions that take only keyword arguments. - Issue #11696: Fix ID generation in msilib. - Issue #9696: Fix exception incorrectly raised by xdrlib.Packer.pack_int when trying to pack a negative (in-range) integer. - Issue #11675: multiprocessing.[Raw]Array objects created from an integer size are now zeroed on creation. This matches the behaviour specified by the documentation. - Issue #7639: Fix short file name generation in bdist_msi. - Issue #11666: let help() display named tuple attributes and methods that start with a leading underscore. - Issue #11673: Fix multiprocessing Array and RawArray constructors to accept a size of type 'long', rather than only accepting 'int'. - Issue #10042: Fixed the total_ordering decorator to handle cross-type comparisons that could lead to infinite recursion. - Issue #10979: unittest stdout buffering now works with class and module setup and teardown. - Issue #11569: use absolute path to the sysctl command in multiprocessing to ensure that it will be found regardless of the shell PATH. This ensures that multiprocessing.cpu_count works on default installs of MacOSX. - Issue #11500: Fixed a bug in the os x proxy bypass code for fully qualified IP addresses in the proxy exception list. - Issue #11131: Fix sign of zero in plus and minus operations when the context rounding mode is ROUND_FLOOR. - Issue #5622: Fix curses.wrapper to raise correct exception if curses initialization fails. - Issue #11391: Writing to a mmap object created with ``mmap.PROT_READ|mmap.PROT_EXEC`` would segfault instead of raising a TypeError. Patch by Charles-François Natali. - Issue #11306: mailbox in certain cases adapts to an inability to open certain files in read-write mode. Previously it detected this by checking for EACCES, now it also checks for EROFS. - Issue #11265: asyncore now correctly handles EPIPE, EBADF and EAGAIN errors on accept(), send() and recv(). - Issue #11326: Add the missing connect_ex() implementation for SSL sockets, and make it work for non-blocking connects. - Issue #10956: Buffered I/O classes retry reading or writing after a signal has arrived and the handler returned successfully. - Issue #10680: Fix mutually exclusive arguments for argument groups in argparse. - Issue #4681: Allow mmap() to work on file sizes and offsets larger than 4GB, even on 32-bit builds. Initial patch by Ross Lagerwall, adapted for 32-bit Windows. - Issue #10360: In WeakSet, do not raise TypeErrors when testing for membership of non-weakrefable objects. - Issue #10549: Fix pydoc traceback when text-documenting certain classes. - Issue #940286: pydoc.Helper.help() ignores input/output init parameters. - Issue #11171: Fix detection of config/Makefile when --prefix != --exec-prefix, which caused Python to not start. - Issue #11116: any error during addition of a message to a mailbox now causes a rollback, instead of leaving the mailbox partially modified. - Issue #8275: Fix passing of callback arguments with ctypes under Win64. Patch by Stan Mihai. - Issue #10940: Workaround an IDLE hang on Mac OS X 10.6 when using the menu accelerators for Open Module, Go to Line, and New Indent Width. The accelerators still work but no longer appear in the menu items. - Issue #10907: Warn OS X 10.6 IDLE users to use ActiveState Tcl/Tk 8.5, rather than the currently problematic Apple-supplied one, when running with the 64-/32-bit installer variant. - Issue #11052: Correct IDLE menu accelerators on Mac OS X for Save commands. - Issue #10949: Improved robustness of rotating file handlers. - Issue #10955: Fix a potential crash when trying to mmap() a file past its length. Initial patch by Ross Lagerwall. - Issue #10898: Allow compiling the posix module when the C library defines a symbol named FSTAT. - Issue #6075: IDLE on Mac OS X now works with both Carbon AquaTk and Cocoa AquaTk. - Issue #10916: mmap should not segfault when a file is mapped using 0 as length and a non-zero offset, and an attempt to read past the end of file is made (IndexError is raised instead). Patch by Ross Lagerwall. - Issue #10875: Update Regular Expression HOWTO; patch by 'SilentGhost'. - Issue #10827: Changed the rules for 2-digit years. The time.asctime function will now format any year when ``time.accept2dyear`` is false and will accept years >= 1000 otherwise. The year range accepted by ``time.mktime`` and ``time.strftime`` is still system dependent, but ``time.mktime`` will now accept full range supported by the OS. Conversion of 2-digit years to 4-digit is deprecated. - Issue #10869: Fixed bug where ast.increment_lineno modified the root node twice. - Issue #7858: Raise an error properly when os.utime() fails under Windows on an existing file. - Issue #3839: wsgiref should not override a Content-Length header set by the application. Initial patch by Clovis Fabricio. - Issue #10806, issue #9905: Fix subprocess pipes when some of the standard file descriptors (0, 1, 2) are closed in the parent process. Initial patch by Ross Lagerwall. - Issue #4662: os.tempnam(), os.tmpfile() and os.tmpnam() now raise a py3k DeprecationWarning. - Subclasses of collections.OrderedDict now work correctly with __missing__. - Issue #10753 - Characters ';', '=' and ',' in the PATH_INFO environment variable won't be quoted when the URI is constructed by the wsgiref.util 's request_uri method. According to RFC 3986, these characters can be a part of params in PATH component of URI and need not be quoted. - Issue #10738: Fix webbrowser.Opera.raise_opts - Issue #9824: SimpleCookie now encodes , and ; in values to cater to how browsers actually parse cookies. - Issue #1379416: eliminated a source of accidental unicode promotion in email.header.Header.encode. - Issue #5258/#10642: if site.py encounters a .pth file that generates an error, it now prints the filename, line number, and traceback to stderr and skips the rest of that individual file, instead of stopping processing entirely. - Issue #10750: The ``raw`` attribute of buffered IO objects is now read-only. - Issue #10242: unittest.TestCase.assertItemsEqual makes too many assumptions about input. - Issue #10611: SystemExit should not cause a unittest test run to exit. - Issue #6791: Limit header line length (to 65535 bytes) in http.client, to avoid denial of services from the other party. - Issue #10404: Use ctl-button-1 on OSX for the context menu in Idle. - Issue #9907: Fix tab handling on OSX when using editline by calling rl_initialize first, then setting our custom defaults, then reading .editrc. - Issue #4188: Avoid creating dummy thread objects when logging operations from the threading module (with the internal verbose flag activated). - Issue #9721: Fix the behavior of urljoin when the relative url starts with a ';' character. Patch by Wes Chow. - Issue #10714: Limit length of incoming request in http.server to 65536 bytes for security reasons. Initial patch by Ross Lagerwall. - Issue #9558: Fix distutils.command.build_ext with VS 8.0. - Issue #10695: passing the port as a string value to telnetlib no longer causes debug mode to fail. - Issue #10107: Warn about unsaved files in IDLE on OSX. - Issue #10406: Enable Rstrip IDLE extension on OSX (just like on other platforms). - Issue #10478: Reentrant calls inside buffered IO objects (for example by way of a signal handler) now raise a RuntimeError instead of freezing the current process. - Issue #10497: Fix incorrect use of gettext in argparse. - Issue #10464: netrc now correctly handles lines with embedded '#' characters. - Issue #1731717: Fixed the problem where subprocess.wait() could cause an OSError exception when The OS had been told to ignore SIGCLD in our process or otherwise not wait for exiting child processes. - Issue #9509: argparse now properly handles IOErrors raised by argparse.FileType. - Issue #9348: Raise an early error if argparse nargs and metavar don't match. - Issue #8982: Improve the documentation for the argparse Namespace object. - Issue #9343: Document that argparse parent parsers must be configured before their children. - Issue #9026: Fix order of argparse sub-commands in help messages. - Issue #9347: Fix formatting for tuples in argparse type= error messages. Extension Modules ----------------- - Stop using the old interface for providing methods and attributes in the _sre module. Among other things, this gives these classes ``__class__`` attributes. (See #12099) - Issue #10169: Fix argument parsing in socket.sendto() to avoid error masking. - Issue #12051: Fix segfault in json.dumps() while encoding highly-nested objects using the C accelerations. - Issue #12017: Fix segfault in json.loads() while decoding highly-nested objects using the C accelerations. - Issue #1838: Prevent segfault in ctypes, when _as_parameter_ on a class is set to an instance of the class. - Issue #678250: Make mmap flush a noop on ACCESS_READ and ACCESS_COPY. Build ----- - Issue #11217: For 64-bit/32-bit Mac OS X universal framework builds, ensure "make install" creates symlinks in --prefix bin for the "-32" files in the framework bin directory like the installer does. - Issue #11411: Fix 'make DESTDIR=' with a relative destination. - Issue #10709: Add updated AIX notes in Misc/README.AIX. - Issue #11184: Fix large-file support on AIX. - Issue #941346: Fix broken shared library build on AIX. - Issue #11268: Prevent Mac OS X Installer failure if Documentation package had previously been installed. - Issue #11079: The /Applications/Python x.x folder created by the Mac OS X installers now includes a link to the installed documentation. - Issue #11054: Allow Mac OS X installer builds to again work on 10.5 with the system-provided Python. - Issue #10843: Update third-party library versions used in OS X 32-bit installer builds: bzip2 1.0.6, readline 6.1.2, SQLite 3.7.4 (with FTS3/FTS4 and RTREE enabled), and ncursesw 5.5 (wide-char support enabled). - Don't run pgen twice when using make -j. - Issue #7716: Under Solaris, don't assume existence of /usr/xpg4/bin/grep in the configure script but use $GREP instead. Patch by Fabian Groffen. - Issue #10475: Don't hardcode compilers for LDSHARED/LDCXXSHARED on NetBSD and DragonFly BSD. Patch by Nicolas Joly. - Issue #10655: Fix the build on PowerPC on Linux with GCC when building with timestamp profiling (--with-tsc): the preprocessor test for the PowerPC support now looks for "__powerpc__" as well as "__ppc__": the latter seems to only be present on OS X; the former is the correct one for Linux with GCC. - Issue #1099: Fix the build on MacOSX when building a framework with pydebug using GCC 4.0. IDLE ---- - Issue #11718: IDLE's open module dialog couldn't find the __init__.py file in a package. Tests ----- - Issue #12205: Fix test_subprocess failure due to uninstalled test data. - Issue #5723: Improve json tests to be executed with and without accelerations. - Issue #11910: Fix test_heapq to skip the C tests when _heapq is missing. - Fix test_startfile to wait for child process to terminate before finishing. - Issue #11719: Fix message about unexpected test_msilib skip on non-Windows platforms. Patch by Nadeem Vawda. - Issue #7108: Fix test_commands to not fail when special attributes ('@' or '.') appear in 'ls -l' output. - Issue #11490: test_subprocess:test_leaking_fds_on_error no longer gives a false positive if the last directory in the path is inaccessible. - Issue #10822: Fix test_posix:test_getgroups failure under Solaris. Patch by Ross Lagerwall. - Issue #6293: Have regrtest.py echo back sys.flags. This is done by default in whole runs and enabled selectively using ``--header`` when running an explicit list of tests. Original patch by Collin Winter. - Issue #775964: test_grp now skips YP/NIS entries instead of failing when encountering them. - Issue #7110: regrtest now sends test failure reports and single-failure tracebacks to stderr rather than stdout.
Revision 1.4 / (download) - annotate - [select for diffs], Sat Apr 23 10:35:28 2011 UTC (12 years, 11 months ago) by tron
Branch: MAIN
Changes since 1.3: +3 -5
lines
Diff to previous 1.3 (unified)
Correct path to Python interpreter in all ".py" files to fix build with revision 1.26 of "pkgsrc/mk/check/check-interpreter.mk". Bump package revision because the binary package changed.
Revision 1.3 / (download) - annotate - [select for diffs], Fri Apr 22 13:42:06 2011 UTC (12 years, 11 months ago) by obache
Branch: MAIN
Changes since 1.2: +2 -2
lines
Diff to previous 1.2 (unified)
recursive bump from gettext-lib shlib bump.
Revision 1.2 / (download) - annotate - [select for diffs], Mon Mar 28 16:00:07 2011 UTC (13 years ago) by drochner
Branch: MAIN
CVS Tags: pkgsrc-2011Q1-base,
pkgsrc-2011Q1
Changes since 1.1: +2 -1
lines
Diff to previous 1.1 (unified)
fix a security issue, using patches from upstream: stricter redirect handling in urllib, to prevent redirects to eg "file://" URLs (CVE-2011-1521) bump PKGREV
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Tue Feb 22 08:51:58 2011 UTC (13 years, 1 month ago) by obache
Branch: TNF
CVS Tags: pkgsrc-base
Changes since 1.1: +0 -0
lines
Diff to previous 1.1 (unified)
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')``.
Revision 1.1 / (download) - annotate - [select for diffs], Tue Feb 22 08:51:58 2011 UTC (13 years, 1 month ago) by obache
Branch: MAIN
Initial revision