The NetBSD Project

CVS log for pkgsrc/lang/python/srcdist.mk

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / lang / python

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu May 28 03:58:33 2026 UTC (5 months, 2 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, HEAD
Diff to: previous 1.46: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.46: +5 -5 lines
python: cleanup, reviewed by @wiz

Revision 1.46: download - view: text, markup, annotated - select for diffs
Tue Sep 30 16:07:37 2025 UTC (13 months, 2 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4
Diff to: previous 1.45: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.45: +2 -2 lines
*: use ${DESTDIR}${PREFIX} instead of ${DESTDIR}/${PREFIX}

Revision 1.45: download - view: text, markup, annotated - select for diffs
Thu Jan 16 23:30:07 2025 UTC (21 months, 4 weeks ago) by gutteridge
Branches: MAIN
CVS tags: pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2, pkgsrc-2025Q1-base, pkgsrc-2025Q1
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -2 lines
python/srcdist.mk: fix grammar in a comment

Revision 1.44: download - view: text, markup, annotated - [selected for diffs]
Tue Jan 7 19:35:08 2025 UTC (22 months, 1 week ago) by riastradh
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +2 -2 lines
lang/python*: No need for :U with USE_CROSS_COMPILE.

After including bsd.prefs.mk or bsd.fast.prefs.mk, this is guaranteed
to be defined.  If it isn't, there's a bug (like misspelling it),
which we should flag early rather than quietly suppress.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Jun 27 10:31:21 2023 UTC (3 years, 4 months ago) by riastradh
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3
Diff to: previous 1.42: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.42: +10 -1 lines
lang/python: Handle TOOLBASE/LOCALBASE split.

New TOOL_PYTHONBIN is for executing at build-time, old PYTHONBIN is
a path that will work at run-time and can be baked into the package.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue Sep 6 09:05:59 2022 UTC (4 years, 2 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3
Diff to: previous 1.41: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.41: +2 -2 lines
python: Allow PYDISTUTILSPKG to be overridden on a per-package basis.

This is useful for allowing packages that install python egg metadata
to benefit from the PRINT_PLIST_AWK defined in egg.mk even if they don't
actually use setup.py or normal Python build tools.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Dec 30 21:33:09 2021 UTC (4 years, 10 months ago) by tnn
Branches: MAIN
CVS tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1
Diff to: previous 1.40: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.40: +7 -1 lines
python/srcdist.mk: clean up droppings that may be left in ${PYLIB}

Fixes some fallout from recent setuptools update, see thread:
https://mail-index.netbsd.org/pkgsrc-users/2021/12/30/msg034938.html

Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Jan 8 13:44:41 2020 UTC (6 years, 10 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1
Diff to: previous 1.39: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.39: +2 -6 lines
Always extract the full Python distfile for modules.

This retires an old "optimisation" that over time has created more
problems than it solved, including various questions from users about
the ignored patch failures.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sun Dec 15 14:42:26 2019 UTC (6 years, 11 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4
Diff to: previous 1.38: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.38: +2 -2 lines
Fix building internal modules for Python 3.8; clean-ups

Revision 1.38: download - view: text, markup, annotated - select for diffs
Wed Jun 5 13:44:17 2019 UTC (7 years, 5 months ago) by sjmulder
Branches: MAIN
CVS tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2
Diff to: previous 1.37: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.37: +5 -1 lines
lang/python: make built-in modules depend on distversion

Built-in Python modules are built from extracted Python sources and
therefere bound to that specific Python version. For example, trying to
build a module from Python 2.7.16 against an installed Python 2.7.13 is
likely to cause errors.

This commit makes built-in Python modules depend on the full current
Python version.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Jul 3 03:55:40 2018 UTC (8 years, 4 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3
Diff to: previous 1.36: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.36: +2 -2 lines
python37: added version 3.7.0

Python 3.7.0 is the newest major release of the Python language, and it contains many new features and optimizations.

Among the major new features in Python 3.7 are:

PEP 539, new C API for thread-local storage
PEP 545, Python documentation translations
New documentation translations: Japanese, French, and Korean.
PEP 552, Deterministic pyc files
PEP 553, Built-in breakpoint()
PEP 557, Data Classes
PEP 560, Core support for typing module and generic types
PEP 562, Customization of access to module attributes
PEP 563, Postponed evaluation of annotations
PEP 564, Time functions with nanosecond resolution
PEP 565, Improved DeprecationWarning handling
PEP 567, Context Variables
Avoiding the use of ASCII as a default text encoding (PEP 538, legacy C locale coercion and PEP 540, forced UTF-8 runtime mode)
The insertion-order preservation nature of dict objects is now an official part of the Python language spec.
Notable performance improvements in many areas.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sun Jan 1 14:34:26 2017 UTC (9 years, 10 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1
Diff to: previous 1.35: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.35: +2 -2 lines
What’s New In Python 3.6

Summary – Release highlights
New syntax features:

PEP 498, formatted string literals.
PEP 515, underscores in numeric literals.
PEP 526, syntax for variable annotations.
PEP 525, asynchronous generators.
PEP 530: asynchronous comprehensions.
New library modules:

secrets: PEP 506 – Adding A Secrets Module To The Standard Library.
CPython implementation improvements:

The dict type has been reimplemented to use a more compact representation based on a proposal by Raymond Hettinger and similar to the PyPy dict implementation. This resulted in dictionaries using 20% to 25% less memory when compared to Python 3.5.
Customization of class creation has been simplified with the new protocol.
The class attribute definition order is now preserved.
The order of elements in **kwargs now corresponds to the order in which keyword arguments were passed to the function.
DTrace and SystemTap probing support has been added.
The new PYTHONMALLOC environment variable can now be used to debug the interpreter memory allocation and access errors.
Significant improvements in the standard library:

The asyncio module has received new features, significant usability and performance improvements, and a fair amount of bug fixes. Starting with Python 3.6 the asyncio module is no longer provisional and its API is considered stable.
A new file system path protocol has been implemented to support path-like objects. All standard library functions operating on paths have been updated to work with the new protocol.
The datetime module has gained support for Local Time Disambiguation.
The typing module received a number of improvements and is no longer provisional.
The tracemalloc module has been significantly reworked and is now used to provide better output for ResourceWarning as well as provide better diagnostics for memory allocation errors. See the PYTHONMALLOC section for more information.
Security improvements:

The new secrets module has been added to simplify the generation of cryptographically strong pseudo-random numbers suitable for managing secrets such as account authentication, tokens, and similar.
On Linux, os.urandom() now blocks until the system urandom entropy pool is initialized to increase the security. See the PEP 524 for the rationale.
The hashlib and ssl modules now support OpenSSL 1.1.0.
The default settings and feature set of the ssl module have been improved.
The hashlib module received support for the BLAKE2, SHA-3 and SHAKE hash algorithms and the scrypt() key derivation function.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat Dec 5 20:44:22 2015 UTC (10 years, 11 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4
Diff to: previous 1.34: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.34: +5 -1 lines
Python 3.5 standard modules albo require clinic

Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri Sep 17 07:11:41 2010 UTC (16 years, 2 months ago) by obache
Branches: MAIN
CVS tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3
Diff to: previous 1.33: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.33: +3 -30 lines
Share distfile related information for each python variants with
srcdist.mk to make update simplicity.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Sep 4 15:31:29 2010 UTC (16 years, 2 months ago) by tron
Branches: MAIN
Diff to: previous 1.32: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.32: +3 -3 lines
Update for Python 2.6.6.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Sun May 2 14:09:44 2010 UTC (16 years, 6 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2010Q2-base, pkgsrc-2010Q2
Diff to: previous 1.31: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.31: +3 -3 lines
Update for python26-2.6.5.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Apr 7 22:20:54 2010 UTC (16 years, 7 months ago) by gdt
Branches: MAIN
CVS tags: pkgsrc-2010Q1-base, pkgsrc-2010Q1
Diff to: previous 1.30: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.30: +3 -3 lines
Adjust to new version of Python 2.5 (pointed out by Dennis den Brok in
private mail).

Revision 1.30: download - view: text, markup, annotated - select for diffs
Tue Nov 3 02:21:05 2009 UTC (17 years ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2009Q4-base, pkgsrc-2009Q4
Diff to: previous 1.29: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.29: +3 -3 lines
Update for Python26-2.6.4

Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Oct 21 06:36:24 2009 UTC (17 years ago) by wiz
Branches: MAIN
Diff to: previous 1.28: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.28: +3 -3 lines
Update for python26-2.6.3.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Sep 7 18:21:43 2009 UTC (17 years, 2 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2009Q3-base, pkgsrc-2009Q3
Diff to: previous 1.27: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.27: +1 -11 lines
Retire Python 2.3 support.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Apr 19 14:46:21 2009 UTC (17 years, 7 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2009Q2-base, pkgsrc-2009Q2
Diff to: previous 1.26: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.26: +12 -2 lines
Add untested entry for python26.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Apr 11 19:42:23 2009 UTC (17 years, 7 months ago) by snj
Branches: MAIN
Diff to: previous 1.25: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.25: +3 -3 lines
Update python25 to 2.5.4.  Spammy changes:

What's New in Python 2.5.4?
===========================

*Release date: 23-Dec-2008*

Core and builtins
-----------------

- Revert patch for #1706039, as it can crash the interpreter.

- Added test case to ensure attempts to read from a file opened for writing
  fail.


What's New in Python 2.5.3?
===========================

*Release date: 19-Dec-2008*


Build
-----

- In the OSX installer, update SQLite to 3.6.7, and change bsddb URL.
  Build against system Tcl framework.

What's New in Python 2.5.3c1?
=============================

*Release date: 13-Dec-2008*

Core and builtins
-----------------

- Issue #1706039: Support continued reading from a file even after
  EOF was hit.

- Issue #1683: prevent forking from interfering in threading storage.

- Issue #4597: Fixed several opcodes that weren't always propagating
  exceptions.

- Issue #4589: Propagated an exception thrown by a context manager's
  __exit__ method's result while it's being converted to bool.

- Issue #4317: Fixed a crash in the imageop.rgb2rgb8() function.

- Issue #4230: If ``__getattr__`` is a descriptor, it now functions correctly.

- Issue #4048: The parser module now correctly validates relative imports.

- Issue #4176: Fixed a crash when pickling an object which ``__reduce__``
  method does not return iterators for the 4th and 5th items.

- Issue #3967: Fixed a crash in the count() and find() methods of string-like
  objects, when the "start" parameter is a huge value.

- Issue #3936: The parser warnings for using "as" and "with" as variable names
  didn't fire after import statements.

- Issue #3751: str.rpartition would perform a left-partition when called with
  a unicode argument.

- Issue #3537: Fix an assertion failure when an empty but presized dict
  object was stored in the freelist.

- Apply security patches from Apple.

- Issue #2620: Overflow checking when allocating or reallocating memory
  was not always being done properly in some python types and extension
  modules.  PyMem_MALLOC, PyMem_REALLOC, PyMem_NEW and PyMem_RESIZE have
  all been updated to perform better checks and places in the code that
  would previously leak memory on the error path when such an allocation
  failed have been fixed.

- Issue #2242: Fix a crash when decoding invalid utf-7 input on certain
  Windows / Visual Studio versions.

- Issue #3360: Fix incorrect parsing of '020000000000.0', which
  produced a ValueError instead of giving the correct float.

- Issue #3242: Fix a crash inside the print statement, if sys.stdout is
  set to a custom object whose write() method happens to install
  another file in sys.stdout.

- Issue #3088: Corrected a race condition in classes derived from
  threading.local: the first member set by a thread could be saved in
  another thread's dictionary.

- Issue #3100: Corrected a crash on deallocation of a subclassed weakref which
  holds the last (strong) reference to its referent.

- Issue #1686386: Tuple's tp_repr did not take into account the possibility of
  having a self-referential tuple, which is possible from C code.  Nor did
  object's tp_str consider that a type's tp_str could do something that could
  lead to an inifinite recursion.  Py_ReprEnter() and Py_EnterRecursiveCall(),
  respectively, fixed the issues.  (Backport of r58288 from trunk.)

- Patch #1442: properly report exceptions when the PYTHONSTARTUP file
  cannot be executed.

- The compilation of a class nested in another class used to leak one
  reference on the outer class name.

- Issue #1477: With narrow Unicode builds, the unicode escape sequence
  \Uxxxxxxxx did not accept values outside the Basic Multilingual Plane.  This
  affected raw unicode literals and the 'raw-unicode-escape' codec.  Now
  UTF-16 surrogates are generated in this case, like normal unicode literals
  and the 'unicode-escape' codec.

- Issue #2321: use pymalloc for unicode object string data to reduce
  memory usage in some circumstances.

- Issue #2238: Some syntax errors in *args and **kwargs expressions could give
  bogus error messages.

- Issue #2587: In the C API, PyString_FromStringAndSize() takes a signed size
  parameter but was not verifying that it was greater than zero.  Values
  less than zero will now raise a SystemError and return NULL to indicate a
  bug in the calling C code.

- Issue #2588, #2589: Fix potential integer underflow and overflow
  conditions in the PyOS_vsnprintf C API function.

- Issue #1204: The configure script now tests for additional libraries
  that may be required when linking against readline.  This fixes issues
  with x86_64 builds on some platforms (a few Linux flavors and OpenBSD).

- Issue #3678: Correctly pass LDFLAGS and LDLAST to the linker on shared
  library targets in the Makefile.

Library
-------

- Issue #3767: Convert Tk object to string in tkColorChooser.

- Issue #4342: Always convert Text.index result to string.

- Issue 3248: Allow placing ScrolledText in a PanedWindow.

- Issue #4084: Fix max, min, max_mag and min_mag Decimal methods to
  give correct results in the case where one argument is a quiet NaN
  and the other is a finite number that requires rounding.

- Issue #1776581 and #4302. Minor corrections to smtplib.

- Issue #3774: Fixed an error when create a Tkinter menu item without command
  and then remove it.

- Assigning methods to ctypes.Structure and ctypes.Union subclasses
  after creation of the class does now work correctly.  See Issue #1700288.

- Issue #3895: _lsprof could be crashed with an external timer that did not
  return a float when a Profiler object is garbage collected.

- Issues #3968 and #3969: two minor turtle problems.

- Issue #3547: Fixed ctypes structures bitfields of varying integer
  sizes.

- Issue #3762: platform.architecture() fails if python is lanched via
  its symbolic link.

- Issue #3554: ctypes.string_at and ctypes.wstring_at did call Python
  api functions without holding the GIL, which could lead to a fatal
  error when they failed.

- Issue #2234: distutils failed for some versions of the cygwin compiler. The
  version reported by these tools does not necessarily follow the python
  version numbering scheme, so the module is less strict when parsing it.

- Issue #2222: Fixed reference leak when occured os.rename()
  fails unicode conversion on 2nd parameter. (windows only)

- Issue #3134: shutil referenced undefined WindowsError symbol.

- Issue #1342811: Fix leak in Tkinter.Menu.delete. Commands associated to
  menu entries were not deleted.

- Issue #799428: Fix Tkinter.Misc._nametowidget to unwrap Tcl command objects.

- Issue #3339: dummy_thread.acquire() could return None which is not a valid
  return value.

- Issue #3116 and #1792:  Fix quadratic behavior in marshal.dumps().

- Issue #2682: ctypes callback functions no longer contain a cyclic
  reference to themselves.

- Issue #2670:  Fix a failure in urllib2.build_opener(), when passed two
  handlers that derive the same default base class.

- Issue #2495: tokenize.untokenize now inserts a space between two consecutive
  string literals; previously, ["" ""] was rendered as [""""], which is
  incorrect python code.

- Issue #2482: Make sure that the coefficient of a Decimal is always
  stored as a str instance, not as a unicode instance.  This ensures
  that str(Decimal) is always an instance of str.  This fixes a
  regression from Python 2.5.1 to Python 2.5.2.

- Issue #2478: fix failure of decimal.Decimal(0).sqrt()

- Issue #2432: give DictReader the dialect and line_num attributes
  advertised in the docs.

- Issue #1747858: Fix chown to work with large uid's and gid's on 64-bit
  platforms.

- Bug #2220: handle rlcompleter attribute match failure more gracefully.

- Bug #1725737: In distutil's sdist, exclude RCS, CVS etc. also in the
  root directory, and also exclude .hg, .git, .bzr, and _darcs.

- Bug #1389051: imaplib causes excessive memory fragmentation when reading
  large messages.

- Bug #1389051, 1092502: fix excessively large memory allocations when
  calling .read() on a socket object wrapped with makefile().

- Bug #1433694: minidom's .normalize() failed to set .nextSibling for
  last child element.

- Issue #2791: subprocess.Popen.communicate explicitly closes its
  stdout and stderr fds rather than leaving them open until the
  instance is destroyed.

- Issue #2632: Prevent socket.read(bignumber) from over allocating memory
  in the common case when the data is returned from the underlying socket
  in increments much smaller than bignumber.

- Issue #1857: subprocess.Popen.poll gained an additional _deadstate keyword
  argument in python 2.5, this broke code that subclassed Popen to include its
  own poll method.  Fixed my moving _deadstate to an _internal_poll method.

- Issue #2113: Fix error in subprocess.Popen if the select system call is
  interrupted by a signal.

- Issue #874900: after an os.fork() call the threading module state is cleaned
  up in the child process to prevent deadlock and report proper thread counts
  if the new process uses the threading module.

- Issue #3309: Fix bz2.BZFile iterator to release its internal lock
  properly when raising an exception due to the bz2file being closed.
  Prevents a deadlock.


Extension Modules
-----------------

- Issue #1040026: Fix os.times result on systems where HZ is incorrect.

- Issue #4228: Pack negative values the same way as 2.4 in struct's L format.

- Security Issue #2: imageop did not validate arguments correctly and could
  segfault as a result.

- Issue 3886: [CVE-2008-2316] Possible integer overflow in the _hashopenssl
  module was closed.

- Issue 1179: [CVE-2007-4965] Integer overflow in imageop module.
  Also fixes rgbimg module.

- Issue #3205: When iterating over a BZ2File fails allocating memory, raise
  a MemoryError rather than silently stop the iteration.

- Patch #2111: Avoid mmap segfault when modifying a PROT_READ block.

- zlib.decompressobj().flush(value) no longer crashes the interpreter when
  passed a value less than or equal to zero.

- issue2858: Fix potential memory corruption when bsddb.db.DBEnv.lock_get
  and other bsddb.db object constructors raised an exception.

- Issue #3120: On 64-bit Windows the subprocess module was truncating handles.

- Issue #1471: Arguments to fcntl.ioctl are no longer broken on 64-bit OpenBSD
  and similar platforms due to sign extension.

- Issue #3312: Fix two crashes in sqlite3.


Tests
-----

- Issue #3863: Disabled a unit test of fork being called from a thread
  when running on platforms known to exhibit OS bugs when attempting that.

- Issue #3261: test_cookielib had an improper file encoding specified.

- Patch #2232: os.tmpfile might fail on Windows if the user has no
  permission to create files in the root directory.


Documentation
-------------

Build
-----

- Issue #4368: Don't define _XOPEN_SOURCE on FreeBSD 4.*.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Feb 9 21:09:21 2009 UTC (17 years, 9 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2009Q1-base, pkgsrc-2009Q1
Diff to: previous 1.24: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.24: +1 -11 lines
Remove Python 2.1 support.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Dec 2 22:15:12 2008 UTC (17 years, 11 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2008Q4-base, pkgsrc-2008Q4
Diff to: previous 1.23: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.23: +4 -4 lines
Fix for python23 update to 2.3.7.
Noted by Robert Elz in PR 40082.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Nov 29 18:52:22 2008 UTC (17 years, 11 months ago) by snj
Branches: MAIN
Diff to: previous 1.22: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.22: +1 -11 lines
Oops, forgot to commit these.  Remove python15 support.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri Apr 25 16:11:11 2008 UTC (18 years, 6 months ago) by tnn
Branches: MAIN
CVS tags: pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, cwrapper, cube-native-xorg-base, cube-native-xorg
Diff to: previous 1.21: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.21: +1 -23 lines
De-orbit support for python 2.0 and python 2.2 under the "three major
releases is enough" rule of thumb. (python 2.3 was released 5 years ago.)
Keep python 1.5 and 2.1 though, because there are a handful of packages
that still need them.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu Apr 24 01:39:25 2008 UTC (18 years, 6 months ago) by tnn
Branches: MAIN
Diff to: previous 1.20: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.20: +12 -2 lines
prepare for arrival of Python 2.5

Revision 1.19.8.1: download - view: text, markup, annotated - select for diffs
Sun Apr 20 15:56:44 2008 UTC (18 years, 7 months ago) by spz
Branches: pkgsrc-2008Q1
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.19: +3 -3 lines
Pullup ticket 2334 - requested by drochner
security updates for python24

Revisions pulled up:
- pkgsrc/lang/python24/Makefile           1.41,1.42
- pkgsrc/lang/python24/distinfo           1.27,1.28
- pkgsrc/lang/python24/PLIST.common       1.9
- pkgsrc/lang/python24/patches/patch-au   1.1
- pkgsrc/lang/python/srcdist.mk           1.20

   Module Name:    pkgsrc
   Committed By:   drochner
   Date:           Fri Apr 11 10:32:33 UTC 2008

   Modified Files:
           pkgsrc/lang/python24: Makefile distinfo
   Added Files:
           pkgsrc/lang/python24/patches: patch-au

   Log Message:
   fix possible buffer overflow by negative atguments to zlib.flush(),
   from upstream CVS, bump PKGREVISION

   To generate a diff of this commit:
   cvs rdiff -r1.40 -r1.41 pkgsrc/lang/python24/Makefile
   cvs rdiff -r1.26 -r1.27 pkgsrc/lang/python24/distinfo
   cvs rdiff -r0 -r1.1 pkgsrc/lang/python24/patches/patch-au

---
   Module Name:    pkgsrc
   Committed By:   drochner
   Date:           Fri Apr 11 10:44:09 UTC 2008

   Modified Files:
           pkgsrc/lang/python24: Makefile PLIST.common distinfo

   Log Message:
   update to 2.4.5
   This release includes just a small number of fixes, primarily preventing
   crashes of the interpreter in certain boundary cases.

   To generate a diff of this commit:
   cvs rdiff -r1.41 -r1.42 pkgsrc/lang/python24/Makefile
   cvs rdiff -r1.8 -r1.9 pkgsrc/lang/python24/PLIST.common
   cvs rdiff -r1.27 -r1.28 pkgsrc/lang/python24/distinfo

---
   Module Name:    pkgsrc
   Committed By:   drochner
   Date:           Fri Apr 11 10:44:48 UTC 2008

   Modified Files:
           pkgsrc/lang/python: srcdist.mk

   Log Message:
   update for 2.4.5

   To generate a diff of this commit:
   cvs rdiff -r1.19 -r1.20 pkgsrc/lang/python/srcdist.mk

Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri Apr 11 10:44:48 2008 UTC (18 years, 7 months ago) by drochner
Branches: MAIN
Diff to: previous 1.19: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.19: +3 -3 lines
update for 2.4.5

Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Jun 8 18:50:05 2007 UTC (19 years, 5 months ago) by tron
Branches: MAIN
CVS tags: pkgsrc-2008Q1-base, pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2
Branch point for: pkgsrc-2008Q1
Diff to: previous 1.18: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.18: +3 -3 lines
Correct version number for Python 2.4.x.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Apr 12 20:21:48 2006 UTC (20 years, 7 months ago) by drochner
Branches: MAIN
CVS tags: pkgsrc-2007Q1-base, pkgsrc-2007Q1, pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2
Diff to: previous 1.17: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.17: +3 -3 lines
update python24 to 2.4.3
Python 2.4 is now in bugfix-only mode, no new features are being added. At
least 50 bugs have been squashed since Python 2.4.2, including a number of
bugs and potential bugs found by Coverity.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Oct 2 10:50:57 2005 UTC (21 years, 1 month ago) by recht
Branches: MAIN
CVS tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1, pkgsrc-2005Q4-base, pkgsrc-2005Q4
Diff to: previous 1.16: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.16: +3 -3 lines
sync with new Python 2.4 version

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue May 10 22:27:44 2005 UTC (21 years, 6 months ago) by abs
Branches: MAIN
CVS tags: pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2
Diff to: previous 1.15: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.15: +3 -3 lines
Fix srcdist.mk usage for _PYTHON_VERSION 24, and add reminder comment to
python24/Makefile for next update

Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Feb 16 10:41:50 2005 UTC (21 years, 9 months ago) by tron
Branches: MAIN
CVS tags: pkgsrc-2005Q1-base, pkgsrc-2005Q1
Diff to: previous 1.14: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.14: +3 -3 lines
Update two more occurances of the old version number.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Feb 16 10:38:02 2005 UTC (21 years, 9 months ago) by tron
Branches: MAIN
Diff to: previous 1.13: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.13: +2 -2 lines
Update Python 2.3.x version number here, too.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Jan 23 20:41:46 2005 UTC (21 years, 9 months ago) by recht
Branches: MAIN
Diff to: previous 1.12: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.12: +5 -5 lines
Build Python with thread support by default and turn the existing
python*-pth packages into meta-packages which will install the non-pth
packages. Bump PKGREVISIONs on the non-pth versions to propagate the
thread change, but leave the *-pth versions untouched to not affect
existing installations.
Sync all PYTHON_VERSIONS_AFFECTED lines in package Makefiles.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Dec 5 23:39:03 2004 UTC (21 years, 11 months ago) by recht
Branches: MAIN
CVS tags: pkgsrc-2004Q4-base, pkgsrc-2004Q4
Diff to: previous 1.11: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.11: +12 -2 lines
add Python 2.4

Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Jun 2 12:30:55 2004 UTC (22 years, 5 months ago) by recht
Branches: MAIN
CVS tags: pkgsrc-2004Q3-base, pkgsrc-2004Q3, pkgsrc-2004Q2-base, pkgsrc-2004Q2
Diff to: previous 1.10: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.10: +4 -4 lines
catch up with the Python 2.3.4 update

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Dec 23 17:24:42 2003 UTC (22 years, 10 months ago) by recht
Branches: MAIN
CVS tags: pkgsrc-2004Q1-base, pkgsrc-2004Q1
Diff to: previous 1.9: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.9: +4 -4 lines
update to 2.3.3
This is a bug-fix release for Python 2.3 that fixes a number of bugs,
including a couple of serious errors with weakrefs and the cyclic garbage
collector. There are also a number of fixes to the standard library
- see the release notes ( http://www.python.org/2.3.3/NEWS.html )for details.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Dec 8 21:13:56 2003 UTC (22 years, 11 months ago) by recht
Branches: MAIN
Diff to: previous 1.8: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.8: +4 -4 lines
Update to Python 2.3.2

Changes in Python:
Quite a few fixes.. See NEWS for details.

Changes in the pkg:
- add FreeBSD patches from the FreeBSD port
- add fix for a fatal bug in type's GC handling causes segfaults
  (via FreeBSD port)
  see http://cvs.sourceforge.net/viewcvs.py/python/python/dist/src/Misc/NEWS?r1=1.831.4.75&r2=1.831.4.76&diff_format=u
- always build the db 1.85 module (on all platforms)

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Aug 4 08:15:47 2003 UTC (23 years, 3 months ago) by drochner
Branches: MAIN
CVS tags: pkgsrc-2003Q4-base, pkgsrc-2003Q4
Diff to: previous 1.7: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.7: +12 -2 lines
prepare for Python-2.3

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Jun 6 17:31:17 2003 UTC (23 years, 5 months ago) by drochner
Branches: MAIN
Diff to: previous 1.6: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.6: +4 -4 lines
update Python22 to 2.2.3
This is a bugfix release.
Also, use the LINK_ALL_LIBGCC_HACK just introduced to link the
interpreter against libgcc. This should fix PR pkg/16144 in the
Python2.2 (and NetBSD-1.5) case.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Oct 25 10:52:25 2002 UTC (24 years ago) by drochner
Branches: MAIN
CVS tags: netbsd-1-6-1-base, netbsd-1-6-1
Diff to: previous 1.5: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.5: +2 -2 lines
another Python version

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Oct 15 16:16:34 2002 UTC (24 years, 1 month ago) by tsarna
Branches: MAIN
Diff to: previous 1.4: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.4: +4 -4 lines
Upgrade python22 package from 2.2.1 to 2.2.2.

Mostly bug fixes, a few enhancements, notably in the email package.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Aug 20 20:00:14 2002 UTC (24 years, 3 months ago) by drochner
Branches: MAIN
Diff to: previous 1.3: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.3: +2 -2 lines
teach it about python21-pth

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Apr 15 12:29:14 2002 UTC (24 years, 7 months ago) by drochner
Branches: MAIN
CVS tags: pkgviews-base, pkgviews, netbsd-1-6-RELEASE-base, netbsd-1-6, buildlink2-base, buildlink2
Diff to: previous 1.2: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.2: +7 -7 lines
update for new distfiles

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Jan 29 19:21:58 2002 UTC (24 years, 9 months ago) by drochner
Branches: MAIN
CVS tags: netbsd-1-5-PATCH003
Diff to: previous 1.1: preferred, colored; selected 1.44: preferred, colored
Changes since revision 1.1: +11 -1 lines
tell it about Python-1.5

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Jan 28 09:04:07 2002 UTC (24 years, 9 months ago) by drochner
Branches: MAIN
Diff to: selected 1.44: preferred, colored
collect definition for stuff built from the Python source distribution
(ie Python itself and various modules which depend on additional libs
- eg ncurses and gdbm) in one place

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>