./lang/python34, Interpreted, interactive, object-oriented programming language

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.4.6, Package name: python34-3.4.6, Maintainer: pkgsrc-users

Python is an interpreted, interactive, object-oriented
programming language that combines remarkable power with
very clear syntax. For an introduction to programming in
Python you are referred to the Python Tutorial. The
Python Library Reference documents built-in and standard
types, constants, functions and modules. Finally, the
Python Reference Manual describes the syntax and semantics
of the core language in (perhaps too) much detail.

Python's basic power can be extended with your own modules
written in C or C++. On most systems such modules may be
dynamically loaded. Python is also adaptable as an exten-
sion language for existing applications. See the internal
documentation for hints.

This package provides Python version 3.4.x.

MESSAGE.SunOS [+/-]

Required to run:
[devel/libffi]

Required to build:
[devel/readline] [pkgtools/cwrappers]

Package options: x11

Master sites:

SHA1: ef7dbec63d45760701534990511d686e3acbbe4f
RMD160: a669de69e6728141a6c960877c486c1f094b560d
Filesize: 14134.367 KB

Version history: (Expand)


CVS history: (Expand)


   2017-02-01 12:47:45 by Jonathan Perkin | Files touched by this commit (3)
Log message:
Put back bdb bl3, required for the dbm module.
   2017-01-26 10:45:23 by Jonathan Perkin | Files touched by this commit (9)
Log message:
Remove obsolete bsddb bits carried over from python2.  Patch from jcea in
joyent/pkgsrc#457.
   2017-01-19 02:25:09 by Wen Heping | Files touched by this commit (4) | Package updated
Log message:
Update to 3.4.6

Upstream changes:
What's New in Python 3.4.6?
===========================

Release date: 2017-01-16

There were no changes between 3.4.6rc1 and 3.4.6 final.

What's New in Python 3.4.6rc1?
==============================

Release date: 2017-01-02

Core and Builtins
-----------------

- Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X
  when decode astral characters.  Patch by Xiang Zhang.

- Issue #28426: Fixed potential crash in PyUnicode_AsDecodedObject() in debug
  build.

Library
-------

- Issue #28563: Fixed possible DoS and arbitrary code execution when handle
  plural form selections in the gettext module.  The expression parser now
  supports exact syntax supported by GNU gettext.

- In the curses module, raise an error if window.getstr() or window.instr() is
  passed a negative value.

- Issue #27783: Fix possible usage of uninitialized memory in operator.methodcaller.

- Issue #27774: Fix possible Py_DECREF on unowned object in _sre.

- Issue #27760: Fix possible integer overflow in binascii.b2a_qp.

- Issue #27758: Fix possible integer overflow in the _csv module for large record
  lengths.

- Issue #27568: Prevent HTTPoxy attack (CVE-2016-1000110). Ignore the
  HTTP_PROXY variable when REQUEST_METHOD environment is set, which indicates
  that the script is in CGI mode.

- Issue #27759: Fix selectors incorrectly retain invalid file descriptors.
  Patch by Mark Williams.

Build
-----

- Issue #28248: Update Windows build to use OpenSSL 1.0.2j.

Tests
-----

- Issue #27369: In test_pyexpat, avoid testing an error message detail that
  changed in Expat 2.2.0.
   2017-01-06 00:16:43 by Roy Marples | Files touched by this commit (9)
Log message:
Fix prior patches to use is_pad(3) rather than is_keypad(3).
Bump py-curses.
   2017-01-02 21:52:47 by Roy Marples | Files touched by this commit (7)
Log message:
se ncurses is_keypad function rather than directly looking at the
WINDOW structure.
Include <term.h> when needed and rename lines and columns vars to avoid
conflicts.
Builds and works with NetBSD-8 curses, so use mk/curses.buildlink3.mk
and test for getsyx(3) in curses rather than indescriminately linking
to ncurses.
   2016-09-18 14:36:41 by Kamil Rytarowski | Files touched by this commit (2)
Log message:
Forward port patches from python27 for dlopen(3)

Original changes in python27/Makefile r1.62-r1.67
=================================================

Add an option for Python: x11

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'.

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.
   2016-07-02 17:23:33 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
Changes 3.4.5:
Core and Builtins
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 25939: On Windows open the cert store readonly in ssl.enum_certificates.
Issue 26012: Don’t traverse into symlinks for ** pattern in pathlib.Path.[r]glob().
Issue 24120: Ignore PermissionError when traversing a tree with \ 
pathlib.Path.[r]glob(). Patch by Ulrich Petri.
Skip getaddrinfo if host is already resolved. Patch by A. Jesse Jiryu Davis.
Add asyncio.timeout() context manager.
Issue 26050: Add asyncio.StreamReader.readuntil() method. Patch by Марк \ 
Коренберг.
Tests
Issue 25940: Changed test_ssl to use self-signed.pythontest.net. This avoids \ 
relying on svn.python.org, which recently changed root certificate.
   2016-05-13 18:35:03 by Adam Ciarcinski | Files touched by this commit (4)
Log message:
Changes 3.4.4:
This is a bug-fix release.