diff -u python2.6-2.6.2/debian/control python2.6-2.6.2/debian/control --- python2.6-2.6.2/debian/control +++ python2.6-2.6.2/debian/control @@ -1,20 +1,18 @@ Source: python2.6 Section: python Priority: optional -Maintainer: Ubuntu Core Developers -XSBC-Original-Maintainer: Matthias Klose -Build-Depends: debhelper (>= 5), autoconf, automake1.10, libreadline5-dev, libncursesw5-dev (>= 5.3), tk8.5-dev, zlib1g-dev, blt-dev (>= 2.4z), libssl-dev, sharutils, libbz2-dev, libbluetooth-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], locales [!armel !hppa !ia64 !mipsel], libsqlite3-dev, libffi-dev (>= 3.0.5), mime-support, libgpm2 [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], netbase, lsb-release, bzip2, libdb-dev -Build-Depends-Indep: python-sphinx +Maintainer: Matthias Klose +Build-Depends: debhelper (>= 5.0.42~), autoconf, automake1.10, libreadline5-dev, libncursesw5-dev (>= 5.3), tk8.4-dev, zlib1g-dev, blt-dev (>= 2.4z), libssl-dev, sharutils, libbz2-dev, libbluetooth-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], locales [!armel !hppa !ia64 !mipsel], libsqlite3-dev, libffi4-dev (>= 3.0.5), mime-support, libgpmg1 [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], netbase, lsb-release, bzip2, libdb-dev Build-Conflicts: tcl8.3-dev, tk8.3-dev, python2.6-xml, python-xml, libgdbm-dev XS-Python-Version: 2.6 -Standards-Version: 3.8.0 +Standards-Version: 3.8.2 Vcs-Browser: https://code.launchpad.net/~doko/python/pkg2.6 Vcs-Bzr: http://bazaar.launchpad.net/~doko/python/pkg2.6 Package: python2.6 Architecture: any Priority: optional -Depends: python2.6-minimal (= ${binary:Version}), mime-support, ${shlibs:Depends} +Depends: python2.6-minimal (= ${binary:Version}), mime-support, ${shlibs:Depends}, ${misc:Depends} Suggests: python2.6-doc, python2.6-profiler, binutils Provides: python2.6-cjkcodecs, python2.6-ctypes, python2.6-elementtree, python2.6-celementtree, python2.6-wsgiref XB-Python-Version: 2.6 @@ -26,11 +24,11 @@ Package: python2.6-minimal Architecture: any Priority: required -Depends: ${shlibs:Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: python2.6 Suggests: binfmt-support Replaces: python2.6 (<< 2.6) -Conflicts: binfmt-support (<< 1.1.2), python-central (<< 0.6.11ubuntu6) +Conflicts: binfmt-support (<< 1.1.2) XB-Python-Runtime: python2.6 XB-Python-Version: 2.6 Description: A minimal subset of the Python language (version 2.6) @@ -43,7 +41,7 @@ Architecture: any Section: libs Priority: optional -Depends: python2.6 (= ${binary:Version}), ${shlibs:Depends} +Depends: python2.6 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Replaces: python2.6 (<< 2.6) Description: Shared Python runtime library (version 2.6) Version 2.6 of the high-level, interactive object oriented language, @@ -55,16 +53,16 @@ Package: python2.6-examples Architecture: all -Depends: python2.6 (>= ${source:Version}) +Depends: python2.6 (>= ${source:Version}), ${misc:Depends} Description: Examples for the Python language (v2.6) Examples, Demos and Tools for Python (v2.6). These are files included in the upstream Python distribution (v2.6). Package: python2.6-dev Architecture: any -Depends: python2.6 (= ${binary:Version}), libpython2.6 (= ${binary:Version}), ${shlibs:Depends} +Depends: python2.6 (= ${binary:Version}), libpython2.6 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Recommends: libc6-dev | libc-dev -Replaces: python2.6 (<< 2.6.2~rc1-0ubuntu2) +Replaces: python2.6 (<< 2.6.2-1) Description: Header files and a static library for Python (v2.6) Header files, a static library and development tools for building Python (v2.6) modules, extending the Python interpreter or embedding @@ -74,7 +72,7 @@ Package: idle-python2.6 Architecture: all -Depends: python2.6, python-tk (>= 2.6~a3), python2.6-tk +Depends: python2.6, python-tk (>= 2.6~a3), python2.6-tk, ${misc:Depends} Enhances: python2.6 Replaces: python2.6 (<< 2.6.1-2) XB-Python-Version: 2.6 @@ -85,6 +83,7 @@ Package: python2.6-doc Section: doc Architecture: all +Depends: libjs-jquery, ${misc:Depends} Suggests: python2.6 Description: Documentation for the high-level object-oriented language Python (v2.6) These is the official set of documentation for the interactive high-level @@ -103,9 +102,10 @@ * Distributing Python Modules Package: python2.6-dbg +Section: debug Architecture: any Priority: extra -Depends: python2.6 (>= ${binary:Version}), ${shlibs:Depends} +Depends: python2.6 (>= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Suggests: python-gdbm-dbg, python-tk-dbg Description: Debug Build of the Python Interpreter (version 2.6) Python interpreter configured with --pydebug. Dynamically loaded modules are diff -u python2.6-2.6.2/debian/control.in python2.6-2.6.2/debian/control.in --- python2.6-2.6.2/debian/control.in +++ python2.6-2.6.2/debian/control.in @@ -2,18 +2,17 @@ Section: python Priority: optional Maintainer: Matthias Klose -Build-Depends: debhelper (>= 5), autoconf, automake1.10, libreadline5-dev, libncursesw5-dev (>= 5.3), tk8.5-dev, zlib1g-dev, blt-dev (>= 2.4z), libssl-dev, sharutils, libbz2-dev, libbluetooth-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], locales [!armel !hppa !ia64 !mipsel], libsqlite3-dev, libffi-dev (>= 3.0.5), mime-support, libgpm2 [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], netbase, lsb-release, bzip2, libdb-dev -Build-Depends-Indep: python-sphinx +Build-Depends: debhelper (>= 5.0.42~), autoconf, automake1.10, libreadline5-dev, libncursesw5-dev (>= 5.3), tk8.4-dev, zlib1g-dev, blt-dev (>= 2.4z), libssl-dev, sharutils, libbz2-dev, libbluetooth-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], locales [!armel !hppa !ia64 !mipsel], libsqlite3-dev, libffi4-dev (>= 3.0.5), mime-support, libgpmg1 [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], netbase, lsb-release, bzip2, libdb-dev Build-Conflicts: tcl8.3-dev, tk8.3-dev, @PVER@-xml, python-xml, libgdbm-dev XS-Python-Version: @VER@ -Standards-Version: 3.8.0 +Standards-Version: 3.8.2 Vcs-Browser: https://code.launchpad.net/~doko/python/pkg@VER@ Vcs-Bzr: http://bazaar.launchpad.net/~doko/python/pkg@VER@ Package: @PVER@ Architecture: any Priority: @PRIO@ -Depends: @PVER@-minimal (= ${binary:Version}), mime-support, ${shlibs:Depends} +Depends: @PVER@-minimal (= ${binary:Version}), mime-support, ${shlibs:Depends}, ${misc:Depends} Suggests: @PVER@-doc, @PVER@-profiler, binutils Provides: @PVER@-cjkcodecs, @PVER@-ctypes, @PVER@-elementtree, @PVER@-celementtree, @PVER@-wsgiref XB-Python-Version: @VER@ @@ -25,11 +24,11 @@ Package: @PVER@-minimal Architecture: any Priority: @MINPRIO@ -Depends: ${shlibs:Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: @PVER@ Suggests: binfmt-support Replaces: @PVER@ (<< 2.6) -Conflicts: binfmt-support (<< 1.1.2), python-central (<< 0.6.11ubuntu6) +Conflicts: binfmt-support (<< 1.1.2) XB-Python-Runtime: @PVER@ XB-Python-Version: @VER@ Description: A minimal subset of the Python language (version @VER@) @@ -42,7 +41,7 @@ Architecture: any Section: libs Priority: @PRIO@ -Depends: @PVER@ (= ${binary:Version}), ${shlibs:Depends} +Depends: @PVER@ (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Replaces: @PVER@ (<< 2.6) Description: Shared Python runtime library (version @VER@) Version @VER@ of the high-level, interactive object oriented language, @@ -54,16 +53,16 @@ Package: @PVER@-examples Architecture: all -Depends: @PVER@ (>= ${source:Version}) +Depends: @PVER@ (>= ${source:Version}), ${misc:Depends} Description: Examples for the Python language (v@VER@) Examples, Demos and Tools for Python (v@VER@). These are files included in the upstream Python distribution (v@VER@). Package: @PVER@-dev Architecture: any -Depends: @PVER@ (= ${binary:Version}), lib@PVER@ (= ${binary:Version}), ${shlibs:Depends} +Depends: @PVER@ (= ${binary:Version}), lib@PVER@ (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Recommends: libc6-dev | libc-dev -Replaces: @PVER@ (<< 2.6.2~rc1-0ubuntu2) +Replaces: @PVER@ (<< 2.6.2-1) Description: Header files and a static library for Python (v@VER@) Header files, a static library and development tools for building Python (v@VER@) modules, extending the Python interpreter or embedding @@ -73,7 +72,7 @@ Package: idle-@PVER@ Architecture: all -Depends: @PVER@, python-tk (>= 2.6~a3), @PVER@-tk +Depends: @PVER@, python-tk (>= 2.6~a3), @PVER@-tk, ${misc:Depends} Enhances: @PVER@ Replaces: @PVER@ (<< 2.6.1-2) XB-Python-Version: @VER@ @@ -84,6 +83,7 @@ Package: @PVER@-doc Section: doc Architecture: all +Depends: libjs-jquery, ${misc:Depends} Suggests: @PVER@ Description: Documentation for the high-level object-oriented language Python (v@VER@) These is the official set of documentation for the interactive high-level @@ -102,9 +102,10 @@ * Distributing Python Modules Package: @PVER@-dbg +Section: debug Architecture: any Priority: extra -Depends: @PVER@ (>= ${binary:Version}), ${shlibs:Depends} +Depends: @PVER@ (>= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Suggests: python-gdbm-dbg, python-tk-dbg Description: Debug Build of the Python Interpreter (version @VER@) Python interpreter configured with --pydebug. Dynamically loaded modules are diff -u python2.6-2.6.2/debian/PVER-minimal.postinst.in python2.6-2.6.2/debian/PVER-minimal.postinst.in --- python2.6-2.6.2/debian/PVER-minimal.postinst.in +++ python2.6-2.6.2/debian/PVER-minimal.postinst.in @@ -45,10 +45,10 @@ fi ) bc=no - if [ -z "$2" ] || dpkg --compare-versions "$2" lt 2.6.1-1ubuntu8 \ - || [ -f /var/lib/python/@PVER@_installed ]; then - bc=yes - fi + #if [ -z "$2" ] || dpkg --compare-versions "$2" lt 2.6.1-1ubuntu8 \ + # || [ -f /var/lib/python/@PVER@_installed ]; then + # bc=yes + #fi if grep -sq '^unsupported-versions[^#]*@PVER@' /usr/share/python/debian_defaults then # FIXME: byte compile anyway? diff -u python2.6-2.6.2/debian/libpython.symbols.in python2.6-2.6.2/debian/libpython.symbols.in --- python2.6-2.6.2/debian/libpython.symbols.in +++ python2.6-2.6.2/debian/libpython.symbols.in @@ -104,6 +104,7 @@ PyDictIterKey_Type@Base @VER@ PyDictIterValue_Type@Base @VER@ PyDictProxy_New@Base @VER@ + PyDictProxy_Type@Base 2.6.2 PyDict_Clear@Base @VER@ PyDict_Contains@Base @VER@ PyDict_Copy@Base @VER@ @@ -124,6 +125,7 @@ PyDict_Type@Base @VER@ PyDict_Update@Base @VER@ PyDict_Values@Base @VER@ + PyEllipsis_Type@Base 2.6.2 PyEnum_Type@Base @VER@ PyErr_BadArgument@Base @VER@ PyErr_BadInternalCall@Base @VER@ @@ -232,9 +234,6 @@ PyExc_ValueError@Base @VER@ PyExc_Warning@Base @VER@ PyExc_ZeroDivisionError@Base @VER@ - PyFPE_counter@Base @VER@ - PyFPE_dummy@Base @VER@ - PyFPE_jbuf@Base @VER@ PyFile_AsFile@Base @VER@ PyFile_DecUseCount@Base @VER@ PyFile_FromFile@Base @VER@ @@ -288,6 +287,7 @@ PyGen_NeedsFinalizing@Base @VER@ PyGen_New@Base @VER@ PyGen_Type@Base @VER@ + PyGetSetDescr_Type@Base 2.6.2 PyGrammar_AddAccelerators@Base @VER@ PyGrammar_FindDFA@Base @VER@ PyGrammar_LabelRepr@Base @VER@ @@ -386,6 +386,7 @@ PyMem_Free@Base @VER@ PyMem_Malloc@Base @VER@ PyMem_Realloc@Base @VER@ + PyMemberDescr_Type@Base 2.6.2 PyMember_Get@Base @VER@ PyMember_GetOne@Base @VER@ PyMember_Set@Base @VER@ @@ -1137,6 +1138,10 @@ _Py_translatelabels@Base @VER@ _Py_upper__doc__@Base @VER@ + PyFPE_counter@Base @VER@ + PyFPE_dummy@Base @VER@ + PyFPE_jbuf@Base @VER@ + # don't check for the following symbols, found in extensions # which either can be built as builtin or extension. diff -u python2.6-2.6.2/debian/rules python2.6-2.6.2/debian/rules --- python2.6-2.6.2/debian/rules +++ python2.6-2.6.2/debian/rules @@ -82,6 +82,7 @@ with_fpectl = yes else PY_MINPRIO = $(PY_PRIO) + with_fpectl = yes endif CC = gcc @@ -466,7 +467,7 @@ touch stamp-doc-html build-doc: patch-stamp stamp-build-doc -stamp-build-doc: stamp-doc-html +stamp-build-doc: #stamp-doc-html touch stamp-build-doc control-file: @@ -498,8 +499,8 @@ rm -f patch-stamp* pxxx rm -f debian/test_results - -$(MAKE) -C Doc clean - -$(MAKE) -f Makefile.pre.in srcdir=. distclean + $(MAKE) -C Doc clean + sed 's/^@/#/' Makefile.pre.in | $(MAKE) -f - srcdir=. distclean rm -rf Lib/test/db_home rm -rf $(buildd_static) $(buildd_shared) $(buildd_debug) $(buildd_shdebug) find -name '*.py[co]' | xargs -r rm -f @@ -558,6 +559,9 @@ rm -f $(d)/usr/bin/smtpd.py rm -rf $(d)/usr/lib/python$(VER)/ctypes/macholib + : # fix some file permissions + chmod a-x $(d)/$(scriptdir)/{fractions,lib-tk/Tix}.py + : # move manpages to new names if [ -d $(d)/usr/man/man1 ]; then \ mkdir -p $(d)/usr/share/man; \ @@ -848,20 +852,24 @@ touch stamp-install +dh_args = -N$(p_doc) + # Build architecture-independent files here. binary-indep: $(install_target) $(build_target) stamp-build-doc stamp-control dh_testdir -i dh_testroot -i +ifeq (0,1) : # $(p_doc) package dh_installdirs -p$(p_doc) \ usr/share/doc/$(p_base) \ usr/share/doc/$(p_doc) dh_installdocs -p$(p_doc) cp -a Doc/build/html $(d_doc)/usr/share/doc/$(p_base)/ - + rm -f $(d_doc)/usr/share/doc/$(p_base)/html/_static/jquery.js dh_link -p$(p_doc) \ - /usr/share/doc/$(p_base)/html /usr/share/doc/$(p_doc)/html + /usr/share/doc/$(p_base)/html /usr/share/doc/$(p_doc)/html \ + /usr/share/javacript/jquery.js /usr/share/doc/$(p_base)/html/_static/jquery.js : # devhelp docs python debian/pyhtml2devhelp.py \ @@ -870,11 +878,11 @@ gzip -9v $(d_doc)/usr/share/doc/$(p_base)/html/$(PVER).devhelp dh_link -p$(p_doc) \ /usr/share/doc/$(p_base)/html /usr/share/devhelp/books/$(PVER) +endif dh_installdebconf -i $(dh_args) dh_installexamples -i $(dh_args) dh_installmenu -i $(dh_args) - dh_desktop -i $(dh_args) -dh_icons -i $(dh_args) || dh_iconcache -i $(dh_args) dh_installchangelogs -i $(dh_args) dh_link -i $(dh_args) @@ -902,7 +910,6 @@ # dh_installdebconf -a dh_installexamples -a dh_installmenu -a - dh_desktop -a -dh_icons -a || dh_iconcache -a # dh_installmime -a dh_installchangelogs -a diff -u python2.6-2.6.2/debian/changelog python2.6-2.6.2/debian/changelog --- python2.6-2.6.2/debian/changelog +++ python2.6-2.6.2/debian/changelog @@ -1,158 +1,64 @@ -python2.6 (2.6.2-0ubuntu2) karmic; urgency=low +python2.6 (2.6.2-2~hardy1) hardy; urgency=low - * Update to 20090619, taken from the 2.6 release branch. - * distutils: Always install into `/usr/local/lib/python2.6/dist-packages' - if an option `--prefix=/usr/local' is present (except for virtualenv - and PYTHONUSERBASE installations). LP: #362570. - - -- Matthias Klose Fri, 19 Jun 2009 14:40:09 +0200 - -python2.6 (2.6.2-0ubuntu1) jaunty; urgency=low - - * Final Python 2.6.2 release (no code changes compared to last upload). - * Always use `site-packages' as site directory name in virtualenv. - - -- Matthias Klose Wed, 15 Apr 2009 14:18:36 +0200 - -python2.6 (2.6.2~rc1-0ubuntu2) jaunty; urgency=low - - * Update to 20090414, taken from the 2.6 release branch. - - No numbered table of contents for the docs, not in sphinx-0.5. - - Fix issues #5731, #5741. - * Revert the change to interpret an unexpanded prefix in get_python_lib(). - * Fix build failure on ia64. - * Move the bdist_wininst files into the -dev package (only needed to build - windows installers). - * Document changes to the site directory name in the installation manual. - - -- Matthias Klose Tue, 14 Apr 2009 08:09:24 +0200 - -python2.6 (2.6.2~rc1-0ubuntu1) jaunty; urgency=low - - * Update to the 2.6.2 release candidate. - * Work around an automake m4 expansion bug ('${prefix}' and '${exec_prefix}' - are passed unexpanded to get_python_lib()). Assume in this case, that the - expansion is '/usr/local', it's not safe to assume '/usr' in this case. - This is really, really ugly, just hoping that the automake maintainers are - punished for this bug by one hell level deeper than me for this hack. - LP: #350016. - - -- Matthias Klose Wed, 08 Apr 2009 02:29:05 +0200 - -python2.6 (2.6.1-1ubuntu11) jaunty; urgency=low - - * Update to 20090405, taken from the 2.6 release branch. - - Fix issue #1651995, _convert_ref for non-ASCII characters. LP: #240929. - - Fix issue #3845, in PyRun_SimpleFileExFlags avoid invalid memory access - with short file names. LP: #234798. - - Fix issues #5190, #5444, #5471, #5615, #5617, #5631, #1326077, #1726172. - - Fix documentation issues #3427, #4411, #4882, #5018, #5298, #5370, - #5432, #5563, #5580, #5598, #5601, #5618, #5635, #5642, #5655, #1096310, - #1530012, #1675026, #1718017, #1742837, - * Fix issue #1113244: Py_XINCREF, Py_DECREF, Py_XDECREF: Add - `do { ... } while (0)' to avoid compiler warnings. Closes: #516956. - - -- Matthias Klose Mon, 06 Apr 2009 00:36:01 +0200 - -python2.6 (2.6.1-1ubuntu10) jaunty; urgency=low - - [Matthias Klose] - * Always use the `unix_prefix' scheme for setup.py install in a virtualenv - setup. LP: #339904. - - [Marc Deslauriers] - * debian/pyhtml2devhelp.py: Update parsing logic. + * Update to 20090719, taken from the 2.6 release branch. + * Build for Ubutu 8.04, don't run the rtinstall/rtremove scripts + for python2.6. + * Don't build the python2.6-doc package (dependencies not available in hardy). - -- Matthias Klose Sat, 04 Apr 2009 11:11:32 +0200 + -- Matthias Klose Sun, 19 Jul 2009 12:58:14 -0400 -python2.6 (2.6.1-1ubuntu9) jaunty; urgency=low +python2.6 (2.6.2-2) experimental; urgency=low - * debian/control.in: - Add conflict with the intrepid version of python-central - to ensure clean upgrades (LP: #354228). - * debian/PVER-minimal.postinst.in: - - Run the rtinstall scripts again for versions less than - 2.6.1-1ubuntu8 to ensure the byte compiliation is done - for all python packages. + * Symbol _Py_force_double@Base is i386 only. Closes: #534208. - -- Michael Vogt Fri, 03 Apr 2009 10:41:02 +0200 + -- Matthias Klose Tue, 23 Jun 2009 06:14:40 +0200 -python2.6 (2.6.1-1ubuntu8) jaunty; urgency=low +python2.6 (2.6.2-1) experimental; urgency=low - [Matthias Klose] - * Update to 20090402, taken from the 2.6 release branch. - - Fix issues #2625, #5068, #5387, #5536, #5561, #5619, #5632. + * Final Python 2.6.2 release. + - Update Doc/tools/sphinxext/download.html. Closes: #526797. + * Update to 20090621, taken from the 2.6 release branch. + * Address issues when working with PYTHONUSERBASE and non standard prefix (pointed out by Larry Hastings): - distutils.sysconfig.get_python_lib(): Only return ".../dist-packages" if prefix is the default prefix and if PYTHONUSERBASE is not set in the environment. - site.addusersitepackages(): Add USER_BASE/.../dist-packages to sys.path. - * Do not add /usr/lib/pythonXY.zip on sys.path. - - [Marc Deslauriers] - * debian/pyhtml2devhelp.py: update for python 2.6 - * debian/rules: re-enable documentation files for devhelp. LP: #338791. - - [Michael Vogt] - * Fix missing rtinstall calls by inverting the supported/unsupported - check. LP: #353251. - - -- Matthias Klose Thu, 02 Apr 2009 17:34:21 +0200 - -python2.6 (2.6.1-1ubuntu7) jaunty; urgency=low - - * Fix symbols file for 64bit architectures. - - -- Matthias Klose Sat, 28 Mar 2009 16:05:37 +0100 - -python2.6 (2.6.1-1ubuntu6) jaunty; urgency=low + * Always use the `unix_prefix' scheme for setup.py install in a virtualenv + setup. LP: #339904. + * Don't make the setup.py install options --install-layout=deb and --prefix + conflict with each other. + * distutils: Always install into `/usr/local/lib/python2.6/dist-packages' + if an option `--prefix=/usr/local' is present (except for virtualenv + and PYTHONUSERBASE installations). LP: #362570. + * Always use `site-packages' as site directory name in virtualenv. - * Configure with --enable-unicode=ucs4, accidentially removed in - 2.6.1-1ubuntu5. + * Do not add /usr/lib/pythonXY.zip on sys.path. * Add symbols files for libpython2.6 and python2.6-dbg, don't include symbols from builtins, which can either be built as builtins or extensions. * Keep an empty lib-dynload in python2.6-minimal to avoid a warning on startup. - * Revert changes from 2.6.1-1ubuntu5.1. - - -- Matthias Klose Fri, 27 Mar 2009 19:47:17 +0100 - -python2.6 (2.6.1-1ubuntu5.1) jaunty; urgency=low - - * revert to 2.6.1-1ubuntu4 because the -1ubuntu5 upload breaks - the entire pygtk and makes important apps like update-manager - no longer start (LP: #349467) - - -- Michael Vogt Fri, 27 Mar 2009 11:26:41 +0100 - -python2.6 (2.6.1-1ubuntu5) jaunty; urgency=low - - * Update to 20090322, taken from the 2.6 release branch. - - Fix issue #4258: Use 30-bit digits for Python longs, on 64-bit platforms. - - Fix comment macro in python manpage. * Build a shared library configured --with-pydebug. LP: #322580. * Fix some lintian warnings. - - -- Matthias Klose Sun, 22 Mar 2009 14:27:24 +0100 - -python2.6 (2.6.1-1ubuntu4) jaunty; urgency=low - - * Don't make the setup.py install options --install-layout=deb and --prefix - conflict with each other. - - -- Matthias Klose Thu, 19 Mar 2009 14:00:12 +0100 - -python2.6 (2.6.1-1ubuntu3) jaunty; urgency=low - * Use the information in /etc/lsb-release for platform.dist(). LP: #196526. - * Fix typo in installation scheme, introduced in previous upload. + * Move the bdist_wininst files into the -dev package (only needed to build + windows installers). + * Document changes to the site directory name in the installation manual. + * Fix issue #1113244: Py_XINCREF, Py_DECREF, Py_XDECREF: Add + `do { ... } while (0)' to avoid compiler warnings. Closes: #516956. + * debian/pyhtml2devhelp.py: update for python 2.6 (Marc Deslauriers). + * debian/rules: re-enable documentation files for devhelp. LP: #338791. + * python2.6-doc: Depend on libjs-jquery, use jquery.js from this package. + Closes: #523482. - -- Matthias Klose Wed, 18 Mar 2009 19:44:34 +0100 + -- Matthias Klose Sun, 21 Jun 2009 16:12:15 +0200 -python2.6 (2.6.1-1ubuntu2) jaunty; urgency=low +python2.6 (2.6.1-3) experimental; urgency=low - * Update installation schemes: LP: #338395. + * Update to 20090318, taken from the 2.6 release branch. + * Use the information in /etc/lsb-release for platform.dist(). + * Update installation schemes: LP: #338395. Closes: #520278. - When the --prefix option is used for setup.py install, Use the `unix_prefix' scheme. - Use the `deb_system' scheme if --install-layout=deb is specified. @@ -161,16 +67,18 @@ - The options --install-layout=deb and --prefix are exclusive. * Don't fail installation/removal if directories in /usr/local cannot be created. LP: #338227. + * Don't try to move away the site-packages directory. There never was a + python2.6 upload using site-packages. Closes: #518780. + * Fix build failure on mips/mipsel. Closes: #519386. - -- Matthias Klose Wed, 18 Mar 2009 12:12:34 +0100 + -- Matthias Klose Wed, 18 Mar 2009 22:17:20 +0100 -python2.6 (2.6.1-1ubuntu1) jaunty; urgency=low +python2.6 (2.6.1-2) experimental; urgency=low - * Update to 20090302, taken from the 2.6 release branch. * Move libpython2.6.a into the python2.6-dev package. * Move idlelib into the idle-python2.6 package. - -- Matthias Klose Wed, 25 Feb 2009 18:42:19 +0100 + -- Matthias Klose Wed, 25 Feb 2009 18:42:19 +0100 python2.6 (2.6.1-1) experimental; urgency=low diff -u python2.6-2.6.2/debian/patches/svn-updates.dpatch python2.6-2.6.2/debian/patches/svn-updates.dpatch --- python2.6-2.6.2/debian/patches/svn-updates.dpatch +++ python2.6-2.6.2/debian/patches/svn-updates.dpatch @@ -1,6 +1,6 @@ #! /bin/sh -e -# DP: SVN updates of the release26-maint branch (until 2009-06-19). +# DP: SVN updates of the release26-maint branch (until 2009-07-19). dir= if [ $# -eq 3 -a "$2" = '-d' ]; then @@ -31,8 +31,8 @@ Index: Python/ceval.c =================================================================== ---- Python/ceval.c (.../tags/r262) (Revision 73476) -+++ Python/ceval.c (.../branches/release26-maint) (Revision 73476) +--- Python/ceval.c (.../tags/r262) (Revision 74094) ++++ Python/ceval.c (.../branches/release26-maint) (Revision 74094) @@ -3911,10 +3911,17 @@ PCALL(PCALL_METHOD); else if (PyType_Check(func)) @@ -73,8 +73,8 @@ Py_XDECREF(kwdict); Index: Python/pymath.c =================================================================== ---- Python/pymath.c (.../tags/r262) (Revision 73476) -+++ Python/pymath.c (.../branches/release26-maint) (Revision 73476) +--- Python/pymath.c (.../tags/r262) (Revision 74094) ++++ Python/pymath.c (.../branches/release26-maint) (Revision 74094) @@ -1,5 +1,18 @@ #include "Python.h" @@ -103,10 +103,27 @@ copysign(double x, double y) { /* use atan2 to distinguish -0. from 0. */ +Index: Python/import.c +=================================================================== +--- Python/import.c (.../tags/r262) (Revision 74094) ++++ Python/import.c (.../branches/release26-maint) (Revision 74094) +@@ -879,7 +879,11 @@ + { + FILE *fp; + time_t mtime = srcstat->st_mtime; +- mode_t mode = srcstat->st_mode; ++#ifdef MS_WINDOWS /* since Windows uses different permissions */ ++ mode_t mode = srcstat->st_mode & ~S_IEXEC; ++#else ++ mode_t mode = srcstat->st_mode & ~S_IXUSR & ~S_IXGRP & ~S_IXOTH; ++#endif + + fp = open_exclusive(cpathname, mode); + if (fp == NULL) { Index: Python/marshal.c =================================================================== ---- Python/marshal.c (.../tags/r262) (Revision 73476) -+++ Python/marshal.c (.../branches/release26-maint) (Revision 73476) +--- Python/marshal.c (.../tags/r262) (Revision 74094) ++++ Python/marshal.c (.../branches/release26-maint) (Revision 74094) @@ -1179,6 +1179,20 @@ return Py_None; } @@ -230,8 +247,8 @@ PyModule_AddIntConstant(mod, "version", Py_MARSHAL_VERSION); Index: Python/pystrtod.c =================================================================== ---- Python/pystrtod.c (.../tags/r262) (Revision 73476) -+++ Python/pystrtod.c (.../branches/release26-maint) (Revision 73476) +--- Python/pystrtod.c (.../tags/r262) (Revision 74094) ++++ Python/pystrtod.c (.../branches/release26-maint) (Revision 74094) @@ -229,7 +229,7 @@ /* Ensure that any exponent, if present, is at least MIN_EXPONENT_DIGITS in length. */ @@ -250,10 +267,139 @@ /* If format_char is 'Z', make sure we have at least one character after the decimal point (and make sure we have a decimal point). */ +Index: Python/bltinmodule.c +=================================================================== +--- Python/bltinmodule.c (.../tags/r262) (Revision 74094) ++++ Python/bltinmodule.c (.../branches/release26-maint) (Revision 74094) +@@ -1556,14 +1556,40 @@ + builtin_print(PyObject *self, PyObject *args, PyObject *kwds) + { + static char *kwlist[] = {"sep", "end", "file", 0}; +- static PyObject *dummy_args; ++ static PyObject *dummy_args = NULL; ++ static PyObject *unicode_newline = NULL, *unicode_space = NULL; ++ static PyObject *str_newline = NULL, *str_space = NULL; ++ PyObject *newline, *space; + PyObject *sep = NULL, *end = NULL, *file = NULL; +- int i, err; ++ int i, err, use_unicode = 0; + + if (dummy_args == NULL) { + if (!(dummy_args = PyTuple_New(0))) + return NULL; + } ++ if (str_newline == NULL) { ++ str_newline = PyString_FromString("\n"); ++ if (str_newline == NULL) ++ return NULL; ++ str_space = PyString_FromString(" "); ++ if (str_space == NULL) { ++ Py_CLEAR(str_newline); ++ return NULL; ++ } ++ unicode_newline = PyUnicode_FromString("\n"); ++ if (unicode_newline == NULL) { ++ Py_CLEAR(str_newline); ++ Py_CLEAR(str_space); ++ return NULL; ++ } ++ unicode_space = PyUnicode_FromString(" "); ++ if (unicode_space == NULL) { ++ Py_CLEAR(str_newline); ++ Py_CLEAR(str_space); ++ Py_CLEAR(unicode_space); ++ return NULL; ++ } ++ } + if (!PyArg_ParseTupleAndKeywords(dummy_args, kwds, "|OOO:print", + kwlist, &sep, &end, &file)) + return NULL; +@@ -1573,26 +1599,56 @@ + if (file == Py_None) + Py_RETURN_NONE; + } ++ if (sep == Py_None) { ++ sep = NULL; ++ } ++ else if (sep) { ++ if (PyUnicode_Check(sep)) { ++ use_unicode = 1; ++ } ++ else if (!PyString_Check(sep)) { ++ PyErr_Format(PyExc_TypeError, ++ "sep must be None, str or unicode, not %.200s", ++ sep->ob_type->tp_name); ++ return NULL; ++ } ++ } ++ if (end == Py_None) ++ end = NULL; ++ else if (end) { ++ if (PyUnicode_Check(end)) { ++ use_unicode = 1; ++ } ++ else if (!PyString_Check(end)) { ++ PyErr_Format(PyExc_TypeError, ++ "end must be None, str or unicode, not %.200s", ++ end->ob_type->tp_name); ++ return NULL; ++ } ++ } + +- if (sep && sep != Py_None && !PyString_Check(sep) && +- !PyUnicode_Check(sep)) { +- PyErr_Format(PyExc_TypeError, +- "sep must be None, str or unicode, not %.200s", +- sep->ob_type->tp_name); +- return NULL; ++ if (!use_unicode) { ++ for (i = 0; i < PyTuple_Size(args); i++) { ++ if (PyUnicode_Check(PyTuple_GET_ITEM(args, i))) { ++ use_unicode = 1; ++ break; ++ } ++ } + } +- if (end && end != Py_None && !PyString_Check(end) && +- !PyUnicode_Check(end)) { +- PyErr_Format(PyExc_TypeError, +- "end must be None, str or unicode, not %.200s", +- end->ob_type->tp_name); +- return NULL; ++ if (use_unicode) { ++ newline = unicode_newline; ++ space = unicode_space; + } ++ else { ++ newline = str_newline; ++ space = str_space; ++ } + + for (i = 0; i < PyTuple_Size(args); i++) { + if (i > 0) { +- if (sep == NULL || sep == Py_None) +- err = PyFile_WriteString(" ", file); ++ if (sep == NULL) ++ err = PyFile_WriteObject(space, file, ++ Py_PRINT_RAW); + else + err = PyFile_WriteObject(sep, file, + Py_PRINT_RAW); +@@ -1605,8 +1661,8 @@ + return NULL; + } + +- if (end == NULL || end == Py_None) +- err = PyFile_WriteString("\n", file); ++ if (end == NULL) ++ err = PyFile_WriteObject(newline, file, Py_PRINT_RAW); + else + err = PyFile_WriteObject(end, file, Py_PRINT_RAW); + if (err) Index: Python/sysmodule.c =================================================================== ---- Python/sysmodule.c (.../tags/r262) (Revision 73476) -+++ Python/sysmodule.c (.../branches/release26-maint) (Revision 73476) +--- Python/sysmodule.c (.../tags/r262) (Revision 74094) ++++ Python/sysmodule.c (.../branches/release26-maint) (Revision 74094) @@ -1161,7 +1161,7 @@ @@ -263,10 +409,23 @@ svn_revision = svnversion; else if (istag) { len = strlen(_patchlevel_revision); +Index: Python/_warnings.c +=================================================================== +--- Python/_warnings.c (.../tags/r262) (Revision 74094) ++++ Python/_warnings.c (.../branches/release26-maint) (Revision 74094) +@@ -304,6 +304,8 @@ + } + if (rc == 1) { + text = PyObject_Str(message); ++ if (text == NULL) ++ goto cleanup; + category = (PyObject*)message->ob_type; + } + else { Index: Include/patchlevel.h =================================================================== ---- Include/patchlevel.h (.../tags/r262) (Revision 73476) -+++ Include/patchlevel.h (.../branches/release26-maint) (Revision 73476) +--- Include/patchlevel.h (.../tags/r262) (Revision 74094) ++++ Include/patchlevel.h (.../branches/release26-maint) (Revision 74094) @@ -27,7 +27,7 @@ #define PY_RELEASE_SERIAL 0 @@ -278,8 +437,8 @@ /* Subversion Revision number of this file (not of the repository) */ Index: Include/pymath.h =================================================================== ---- Include/pymath.h (.../tags/r262) (Revision 73476) -+++ Include/pymath.h (.../branches/release26-maint) (Revision 73476) +--- Include/pymath.h (.../tags/r262) (Revision 74094) ++++ Include/pymath.h (.../branches/release26-maint) (Revision 74094) @@ -77,6 +77,21 @@ #define Py_MATH_E 2.7182818284590452354 #endif @@ -349,8 +508,8 @@ #define Py_IS_FINITE(X) (!Py_IS_INFINITY(X) && !Py_IS_NAN(X)) Index: Include/descrobject.h =================================================================== ---- Include/descrobject.h (.../tags/r262) (Revision 73476) -+++ Include/descrobject.h (.../branches/release26-maint) (Revision 73476) +--- Include/descrobject.h (.../tags/r262) (Revision 74094) ++++ Include/descrobject.h (.../branches/release26-maint) (Revision 74094) @@ -68,6 +68,9 @@ } PyWrapperDescrObject; @@ -363,8 +522,8 @@ PyAPI_FUNC(PyObject *) PyDescr_NewClassMethod(PyTypeObject *, PyMethodDef *); Index: Include/pymacconfig.h =================================================================== ---- Include/pymacconfig.h (.../tags/r262) (Revision 73476) -+++ Include/pymacconfig.h (.../branches/release26-maint) (Revision 73476) +--- Include/pymacconfig.h (.../tags/r262) (Revision 74094) ++++ Include/pymacconfig.h (.../branches/release26-maint) (Revision 74094) @@ -67,7 +67,19 @@ #define WORDS_BIGENDIAN 1 #endif /* __BIG_ENDIAN */ @@ -387,8 +546,8 @@ #endif /* PYMACCONFIG_H */ Index: Include/sliceobject.h =================================================================== ---- Include/sliceobject.h (.../tags/r262) (Revision 73476) -+++ Include/sliceobject.h (.../branches/release26-maint) (Revision 73476) +--- Include/sliceobject.h (.../tags/r262) (Revision 74094) ++++ Include/sliceobject.h (.../branches/release26-maint) (Revision 74094) @@ -25,6 +25,7 @@ } PySliceObject; @@ -397,10 +556,142 @@ #define PySlice_Check(op) (Py_TYPE(op) == &PySlice_Type) +Index: Demo/turtle/tdemo_chaos.py +=================================================================== +--- Demo/turtle/tdemo_chaos.py (.../tags/r262) (Revision 74094) ++++ Demo/turtle/tdemo_chaos.py (.../branches/release26-maint) (Revision 74094) +@@ -1,11 +1,13 @@ +-# Datei: chaosplotter.py +-# Autor: Gregor Lingl +-# Datum: 31. 5. 2008 ++# File: tdemo_chaos.py ++# Author: Gregor Lingl ++# Date: 2009-06-24 + +-# Ein einfaches Programm zur Demonstration von "chaotischem Verhalten". ++# A demonstration of chaos + + from turtle import * + ++N = 80 ++ + def f(x): + return 3.9*x*(1-x) + +@@ -15,47 +17,41 @@ + def h(x): + return 3.9*x-3.9*x*x + +-def coosys(): +- penup() +- goto(-1,0) ++def jumpto(x, y): ++ penup(); goto(x,y) ++ ++def line(x1, y1, x2, y2): ++ jumpto(x1, y1) + pendown() +- goto(n+1,0) +- penup() +- goto(0, -0.1) +- pendown() +- goto(-0.1, 1.1) ++ goto(x2, y2) + +-def plot(fun, start, farbe): ++def coosys(): ++ line(-1, 0, N+1, 0) ++ line(0, -0.1, 0, 1.1) ++ ++def plot(fun, start, colour): ++ pencolor(colour) + x = start +- pencolor(farbe) +- penup() +- goto(0, x) ++ jumpto(0, x) + pendown() + dot(5) +- for i in range(n): ++ for i in range(N): + x=fun(x) + goto(i+1,x) + dot(5) + + def main(): +- global n +- n = 80 +- ox=-250.0 +- oy=-150.0 +- ex= -2.0*ox / n +- ey=300.0 +- + reset() +- setworldcoordinates(-1.0,-0.1, n+1, 1.1) ++ setworldcoordinates(-1.0,-0.1, N+1, 1.1) + speed(0) + hideturtle() + coosys() + plot(f, 0.35, "blue") + plot(g, 0.35, "green") + plot(h, 0.35, "red") ++ # Now zoom in: + for s in range(100): +- setworldcoordinates(0.5*s,-0.1, n+1, 1.1) +- ++ setworldcoordinates(0.5*s,-0.1, N+1, 1.1) + return "Done!" + + if __name__ == "__main__": +Index: Demo/tkinter/matt/menu-simple.py +=================================================================== +--- Demo/tkinter/matt/menu-simple.py (.../tags/r262) (Revision 74094) ++++ Demo/tkinter/matt/menu-simple.py (.../branches/release26-maint) (Revision 74094) +@@ -48,7 +48,7 @@ + File_button.menu = Menu(File_button) + + # add an item. The first param is a menu entry type, +- # must be one of: "cascade", "checkbutton", "command", "radiobutton", "seperator" ++ # must be one of: "cascade", "checkbutton", "command", "radiobutton", "separator" + # see menu-demo-2.py for examples of use + File_button.menu.add_command(label='New...', underline=0, + command=new_file) +Index: Demo/tkinter/matt/menu-all-types-of-entries.py +=================================================================== +--- Demo/tkinter/matt/menu-all-types-of-entries.py (.../tags/r262) (Revision 74094) ++++ Demo/tkinter/matt/menu-all-types-of-entries.py (.../branches/release26-maint) (Revision 74094) +@@ -110,12 +110,12 @@ + Cascade_button.menu.choices = Menu(Cascade_button.menu) + + # ...and this is a menu that cascades from that. +- Cascade_button.menu.choices.wierdones = Menu(Cascade_button.menu.choices) ++ Cascade_button.menu.choices.weirdones = Menu(Cascade_button.menu.choices) + + # then you define the menus from the deepest level on up. +- Cascade_button.menu.choices.wierdones.add_command(label='avacado') +- Cascade_button.menu.choices.wierdones.add_command(label='belgian endive') +- Cascade_button.menu.choices.wierdones.add_command(label='beefaroni') ++ Cascade_button.menu.choices.weirdones.add_command(label='avacado') ++ Cascade_button.menu.choices.weirdones.add_command(label='belgian endive') ++ Cascade_button.menu.choices.weirdones.add_command(label='beefaroni') + + # definition of the menu one level up... + Cascade_button.menu.choices.add_command(label='Chocolate') +@@ -125,8 +125,8 @@ + Cascade_button.menu.choices.add_command(label='Rocky Road') + Cascade_button.menu.choices.add_command(label='BubbleGum') + Cascade_button.menu.choices.add_cascade( +- label='Wierd Flavors', +- menu=Cascade_button.menu.choices.wierdones) ++ label='Weird Flavors', ++ menu=Cascade_button.menu.choices.weirdones) + + # and finally, the definition for the top level + Cascade_button.menu.add_cascade(label='more choices', Index: configure.in =================================================================== ---- configure.in (.../tags/r262) (Revision 73476) -+++ configure.in (.../branches/release26-maint) (Revision 73476) +--- configure.in (.../tags/r262) (Revision 74094) ++++ configure.in (.../branches/release26-maint) (Revision 74094) @@ -767,7 +767,7 @@ then SVNVERSION="svnversion \$(srcdir)" @@ -478,8 +769,8 @@ Index: Objects/complexobject.c =================================================================== ---- Objects/complexobject.c (.../tags/r262) (Revision 73476) -+++ Objects/complexobject.c (.../branches/release26-maint) (Revision 73476) +--- Objects/complexobject.c (.../tags/r262) (Revision 74094) ++++ Objects/complexobject.c (.../branches/release26-maint) (Revision 74094) @@ -785,7 +785,7 @@ complex_int(PyObject *v) { @@ -533,10 +824,23 @@ s=end; if (*s=='J' || *s=='j') { +Index: Objects/abstract.c +=================================================================== +--- Objects/abstract.c (.../tags/r262) (Revision 74094) ++++ Objects/abstract.c (.../branches/release26-maint) (Revision 74094) +@@ -2244,7 +2244,7 @@ + + /* Iterate over seq. Result depends on the operation: + PY_ITERSEARCH_COUNT: -1 if error, else # of times obj appears in seq. +- PY_ITERSEARCH_INDEX: 0-based index of first occurence of obj in seq; ++ PY_ITERSEARCH_INDEX: 0-based index of first occurrence of obj in seq; + set ValueError and return -1 if none found; also return -1 on error. + Py_ITERSEARCH_CONTAINS: return 1 if obj in seq, else 0; -1 on error. + */ Index: Objects/object.c =================================================================== ---- Objects/object.c (.../tags/r262) (Revision 73476) -+++ Objects/object.c (.../branches/release26-maint) (Revision 73476) +--- Objects/object.c (.../tags/r262) (Revision 74094) ++++ Objects/object.c (.../branches/release26-maint) (Revision 74094) @@ -2,6 +2,7 @@ /* Generic object operations; and implementation of None (NoObject) */ @@ -545,6 +849,15 @@ #ifdef __cplusplus extern "C" { +@@ -1959,7 +1960,7 @@ + none_dealloc(PyObject* ignore) + { + /* This should never get called, but we also don't want to SEGV if +- * we accidently decref None out of existance. ++ * we accidentally decref None out of existence. + */ + Py_FatalError("deallocating None"); + } @@ -2022,28 +2023,132 @@ _Py_ReadyTypes(void) { @@ -686,10 +999,41 @@ } +Index: Objects/methodobject.c +=================================================================== +--- Objects/methodobject.c (.../tags/r262) (Revision 74094) ++++ Objects/methodobject.c (.../branches/release26-maint) (Revision 74094) +@@ -230,12 +230,9 @@ + PyObject *res; + int eq; + +- if ((op != Py_EQ && op != Py_NE) || +- !PyCFunction_Check(self) || +- !PyCFunction_Check(other)) +- { +- /* Py3K warning if types are not equal and comparison isn't == or != */ +- if (PyErr_WarnPy3k("builtin_function_or_method inequality " ++ if (op != Py_EQ && op != Py_NE) { ++ /* Py3K warning if comparison isn't == or !=. */ ++ if (PyErr_WarnPy3k("builtin_function_or_method order " + "comparisons not supported in 3.x", 1) < 0) { + return NULL; + } +@@ -243,6 +240,10 @@ + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; + } ++ else if (!PyCFunction_Check(self) || !PyCFunction_Check(other)) { ++ Py_INCREF(Py_NotImplemented); ++ return Py_NotImplemented; ++ } + a = (PyCFunctionObject *)self; + b = (PyCFunctionObject *)other; + eq = a->m_self == b->m_self; Index: Objects/typeobject.c =================================================================== ---- Objects/typeobject.c (.../tags/r262) (Revision 73476) -+++ Objects/typeobject.c (.../branches/release26-maint) (Revision 73476) +--- Objects/typeobject.c (.../tags/r262) (Revision 74094) ++++ Objects/typeobject.c (.../branches/release26-maint) (Revision 74094) @@ -928,6 +928,9 @@ assert(base); } @@ -712,8 +1056,8 @@ */ Index: Objects/unicodeobject.c =================================================================== ---- Objects/unicodeobject.c (.../tags/r262) (Revision 73476) -+++ Objects/unicodeobject.c (.../branches/release26-maint) (Revision 73476) +--- Objects/unicodeobject.c (.../tags/r262) (Revision 74094) ++++ Objects/unicodeobject.c (.../branches/release26-maint) (Revision 74094) @@ -616,15 +616,25 @@ count = vargs; #endif @@ -818,10 +1162,32 @@ break; } case 'U': +@@ -1704,7 +1688,7 @@ + charsleft = (charsleft << 16) | ch; + /* out, charsleft, bitsleft = */ ENCODE(out, charsleft, bitsleft); + +- /* If the next character is special then we dont' need to terminate ++ /* If the next character is special then we don't need to terminate + the shift sequence. If the next character is not a BASE64 character + or '-' then the shift sequence will be terminated implicitly and we + don't have to insert a '-'. */ +Index: Objects/listsort.txt +=================================================================== +--- Objects/listsort.txt (.../tags/r262) (Revision 74094) ++++ Objects/listsort.txt (.../branches/release26-maint) (Revision 74094) +@@ -309,7 +309,7 @@ + A:10000 B:20000 C:10000 + + we dare not merge A with C first, because if A, B and C happen to contain +-a common element, it would get out of order wrt its occurence(s) in B. The ++a common element, it would get out of order wrt its occurrence(s) in B. The + merging must be done as (A+B)+C or A+(B+C) instead. + + So merging is always done on two consecutive runs at a time, and in-place, Index: Objects/descrobject.c =================================================================== ---- Objects/descrobject.c (.../tags/r262) (Revision 73476) -+++ Objects/descrobject.c (.../branches/release26-maint) (Revision 73476) +--- Objects/descrobject.c (.../tags/r262) (Revision 74094) ++++ Objects/descrobject.c (.../branches/release26-maint) (Revision 74094) @@ -456,7 +456,7 @@ 0, /* tp_descr_set */ }; @@ -918,8 +1284,8 @@ PyErr_Clear(); Index: Objects/unicodectype.c =================================================================== ---- Objects/unicodectype.c (.../tags/r262) (Revision 73476) -+++ Objects/unicodectype.c (.../branches/release26-maint) (Revision 73476) +--- Objects/unicodectype.c (.../tags/r262) (Revision 74094) ++++ Objects/unicodectype.c (.../branches/release26-maint) (Revision 74094) @@ -76,13 +76,8 @@ Py_UNICODE _PyUnicode_ToTitlecase(register Py_UNICODE ch) { @@ -937,8 +1303,8 @@ Index: Objects/unicodetype_db.h =================================================================== ---- Objects/unicodetype_db.h (.../tags/r262) (Revision 73476) -+++ Objects/unicodetype_db.h (.../branches/release26-maint) (Revision 73476) +--- Objects/unicodetype_db.h (.../tags/r262) (Revision 74094) ++++ Objects/unicodetype_db.h (.../branches/release26-maint) (Revision 74094) @@ -118,7 +118,7 @@ {0, 0, 0, 0, 7, 4}, {0, 0, 0, 0, 8, 4}, @@ -959,8 +1325,8 @@ }; Index: Objects/stringlib/string_format.h =================================================================== ---- Objects/stringlib/string_format.h (.../tags/r262) (Revision 73476) -+++ Objects/stringlib/string_format.h (.../branches/release26-maint) (Revision 73476) +--- Objects/stringlib/string_format.h (.../tags/r262) (Revision 74094) ++++ Objects/stringlib/string_format.h (.../branches/release26-maint) (Revision 74094) @@ -329,8 +329,9 @@ *name_idx = get_integer(name); break; @@ -975,8 +1341,8 @@ Index: Objects/frameobject.c =================================================================== ---- Objects/frameobject.c (.../tags/r262) (Revision 73476) -+++ Objects/frameobject.c (.../branches/release26-maint) (Revision 73476) +--- Objects/frameobject.c (.../tags/r262) (Revision 74094) ++++ Objects/frameobject.c (.../branches/release26-maint) (Revision 74094) @@ -70,7 +70,7 @@ int new_iblock = 0; /* The new value of f_iblock */ unsigned char *code = NULL; /* The bytecode for the frame... */ @@ -1022,8 +1388,8 @@ Index: Objects/sliceobject.c =================================================================== ---- Objects/sliceobject.c (.../tags/r262) (Revision 73476) -+++ Objects/sliceobject.c (.../branches/release26-maint) (Revision 73476) +--- Objects/sliceobject.c (.../tags/r262) (Revision 74094) ++++ Objects/sliceobject.c (.../branches/release26-maint) (Revision 74094) @@ -22,7 +22,7 @@ return PyString_FromString("Ellipsis"); } @@ -1035,8 +1401,8 @@ 0, /* tp_basicsize */ Index: Objects/floatobject.c =================================================================== ---- Objects/floatobject.c (.../tags/r262) (Revision 73476) -+++ Objects/floatobject.c (.../branches/release26-maint) (Revision 73476) +--- Objects/floatobject.c (.../tags/r262) (Revision 74094) ++++ Objects/floatobject.c (.../branches/release26-maint) (Revision 74094) @@ -1263,6 +1263,20 @@ >>> 3.14159.hex()\n\ '0x1.921f9f01b866ep+1'"); @@ -1162,11 +1528,37 @@ return PyFloat_FromString(x, NULL); return PyNumber_Float(x); } +Index: Misc/HISTORY +=================================================================== +--- Misc/HISTORY (.../tags/r262) (Revision 74094) ++++ Misc/HISTORY (.../branches/release26-maint) (Revision 74094) +@@ -9862,7 +9862,7 @@ + Also (quite separately, but strangely related to the philosophical + issue above) fix abspath() so that if win32api exists, it doesn't fail + when the path doesn't actually exist -- if GetFullPathName() fails, +- fall back on the old strategy (join with getcwd() if neccessary, and ++ fall back on the old strategy (join with getcwd() if necessary, and + then use normpath()). + + * configure.in, configure, config.h.in, acconfig.h: +Index: Misc/AIX-NOTES +=================================================================== +--- Misc/AIX-NOTES (.../tags/r262) (Revision 74094) ++++ Misc/AIX-NOTES (.../branches/release26-maint) (Revision 74094) +@@ -22,7 +22,7 @@ + (2) Stefan Esser (se@MI.Uni-Koeln.DE), in work done to compile Python + 1.0.0 on AIX 3.2.4, reports that AIX compilers don't like the LANG + environment varaiable set to European locales. This makes the compiler +- generate floating point constants using "," as the decimal seperator, ++ generate floating point constants using "," as the decimal separator, + which the assembler doesn't understand (or perhaps it is the other way + around, with the assembler expecting, but not getting "," in float + numbers). "LANG=C; export LANG" solves the problem, as does Index: Misc/NEWS =================================================================== ---- Misc/NEWS (.../tags/r262) (Revision 73476) -+++ Misc/NEWS (.../branches/release26-maint) (Revision 73476) -@@ -4,12 +4,145 @@ +--- Misc/NEWS (.../tags/r262) (Revision 74094) ++++ Misc/NEWS (.../branches/release26-maint) (Revision 74094) +@@ -4,12 +4,170 @@ (editors: check NEWS.help for information about editing NEWS using ReST.) @@ -1180,9 +1572,18 @@ +Core and Builtins +----------------- ++- Issue #6070: On posix platforms import no longer copies the execute bit ++ from the .py file to the .pyc file if it is set. ++ +- Issue #4547: When debugging a very large function, it was not always + possible to update the lineno attribute of the current frame. + ++- Issue #4618: When unicode arguments are passed to print(), the default ++ separator and end should be unicode also. ++ ++- Issue #6119: Fixed a incorrect Py3k warning about order comparisons of builtin ++ functions and methods. ++ +- Issue #5330: C functions called with keyword arguments were not reported by + the various profiling modules (profile, cProfile). Patch by Hagen F�rstenau. + @@ -1224,6 +1625,16 @@ +Library +------- + ++- Issue #6415: Fixed warnings.warn sagfault on bad formatted string. ++ ++- Issue #6344: Fixed a crash of mmap.read() when passed a negative argument. ++ ++- Issue #5230: pydoc would report no documentation found if a module generated ++ a 'not found' import error when loaded; it now reports the import errors. ++ Thanks to Lucas Prado Melo for initial fix and collaboration on the tests. ++ ++- Issue #6274: Fixed possible file descriptors leak in subprocess.py ++ +- Issue #6271: mmap tried to close invalid file handle (-1) when annonymous. + (On Unix) + @@ -1290,6 +1701,9 @@ + makeunicodedata.py and regenerated the Unicode database (This fixes + u'\u1d79'.lower() == '\x00'). + ++- Issue #1202: zipfile module would cause a DeprecationWarning when storing ++ files with a CRC32 > 2**31-1. ++ +Extension Modules +----------------- + @@ -1298,6 +1712,9 @@ +Build +----- + ++- Issue 5390: Add uninstall icon independent of whether file ++ extensions are installed. ++ +- Issue #6094: Build correctly with Subversion 1.7. + +- Issue #5726: Make Modules/ld_so_aix return the actual exit code of the @@ -1314,10 +1731,17 @@ What's New in Python 2.6.2 rc 1 =============================== -@@ -109,10 +242,42 @@ +@@ -109,10 +267,49 @@ Library ------- ++- Issue #2622: Fixed an ImportError when importing email.messsage from a ++ standalone application built with py2exe or py2app. ++ ++- Issue #6455: Fixed test_build_ext under win32. ++ ++- Issue #6403: Fixed package path usage in build_ext. ++ +- Issue #6287: Added the license field in Distutils documentation. + +- Issue #6263: Fixed syntax error in distutils.cygwincompiler. @@ -1358,7 +1782,7 @@ platforms. Initial patch by Paul Moore. - Issue #1491431: Fixed distutils.filelist.glob_to_re for edge cases. -@@ -135,10 +300,6 @@ +@@ -135,10 +332,6 @@ - Actually make the SimpleXMLRPCServer CGI handler work. @@ -1369,7 +1793,7 @@ - Issue 2625: added missing iteritems() call to the for loop in mailbox.MH.get_message(). -@@ -161,7 +322,7 @@ +@@ -161,7 +354,7 @@ - Issue #5261: Patch multiprocessing's semaphore.c to support context manager use: "with multiprocessing.Lock()" works now. @@ -1378,7 +1802,7 @@ socket.SO_REUSEADDR on all connections so that the user no longer needs to wait 120 seconds for the socket to expire. -@@ -433,6 +594,9 @@ +@@ -433,6 +626,9 @@ Build ----- @@ -1388,7 +1812,7 @@ - Link the shared python library with $(MODLIBS). - Issue #5134: Silence compiler warnings when compiling sqlite with VC++. -@@ -459,7 +623,7 @@ +@@ -459,7 +655,7 @@ - Issue #5635: Fix running test_sys with tracing enabled. - regrtest no longer treats ImportError as equivalent to SkipTest. Imports @@ -1397,10 +1821,19 @@ from test support, which does the conversion. - Issue #5083: New 'gui' resource for regrtest. +@@ -909,7 +1105,7 @@ + - Issue #3575: Incremental decoder's decode function now takes bytearray + by using 's*' instead of 't#'. + +-- Issue #2222: Fixed reference leak when occured os.rename() ++- Issue #2222: Fixed reference leak when occurred os.rename() + fails unicode conversion on 2nd parameter. (windows only) + + - Issue 2464. urllib2 now supports a malformation in the URL received Index: Misc/ACKS =================================================================== ---- Misc/ACKS (.../tags/r262) (Revision 73476) -+++ Misc/ACKS (.../branches/release26-maint) (Revision 73476) +--- Misc/ACKS (.../tags/r262) (Revision 74094) ++++ Misc/ACKS (.../branches/release26-maint) (Revision 74094) @@ -12,6 +12,7 @@ David Abrahams @@ -1433,7 +1866,15 @@ Sebastien Keim Robert Kern Randall Kern -@@ -475,6 +479,7 @@ +@@ -460,6 +464,7 @@ + Craig McPheeters + Lambert Meertens + Bill van Melle ++Lucas Prado Melo + Luke Mewburn + Mike Meyer + Steven Miale +@@ -475,6 +480,7 @@ The Dragon De Monsyne Skip Montanaro Paul Moore @@ -1441,7 +1882,7 @@ James A Morrison Sjoerd Mullender Sape Mullender -@@ -527,6 +532,7 @@ +@@ -527,6 +533,7 @@ Samuele Pedroni Marcel van der Peijl Steven Pemberton @@ -1449,7 +1890,7 @@ Mark Perrego Trevor Perrin Tim Peters -@@ -678,6 +684,7 @@ +@@ -678,6 +685,7 @@ Kalle Svensson Paul Swartz Thenault Sylvain @@ -1457,10 +1898,36 @@ Geoff Talvola William Tanksley Christian Tanzer +Index: Misc/cheatsheet +=================================================================== +--- Misc/cheatsheet (.../tags/r262) (Revision 74094) ++++ Misc/cheatsheet (.../branches/release26-maint) (Revision 74094) +@@ -481,7 +481,7 @@ + s.isupper() return True if all characters in s are uppercase, False (6) + otherwise. + s.join(seq) return a concatenation of the strings in the sequence +- seq, seperated by 's's. ++ seq, separated by 's's. + s.ljust(width) return s left justified in a string of length width. (1), + (8) + s.lower() return a copy of s converted to lowercase. +@@ -1556,10 +1556,10 @@ + asctime( + timeTuple), + strftime( +-format, return a formated string representing time. ++format, return a formatted string representing time. + timeTuple) + mktime(tuple) inverse of localtime(). Return a float. +-strptime( parse a formated string representing time, return tuple as in ++strptime( parse a formatted string representing time, return tuple as in + string[, gmtime(). + format]) + sleep(secs) Suspend execution for seconds. can be a float. Index: Tools/unicode/makeunicodedata.py =================================================================== ---- Tools/unicode/makeunicodedata.py (.../tags/r262) (Revision 73476) -+++ Tools/unicode/makeunicodedata.py (.../branches/release26-maint) (Revision 73476) +--- Tools/unicode/makeunicodedata.py (.../tags/r262) (Revision 74094) ++++ Tools/unicode/makeunicodedata.py (.../branches/release26-maint) (Revision 74094) @@ -371,33 +371,32 @@ flags |= UPPER_MASK # use delta predictor for upper/lower/title if it fits @@ -1516,10 +1983,23 @@ flags |= NODELTA_MASK # decimal digit, integer digit decimal = 0 +Index: Tools/scripts/texi2html.py +=================================================================== +--- Tools/scripts/texi2html.py (.../tags/r262) (Revision 74094) ++++ Tools/scripts/texi2html.py (.../branches/release26-maint) (Revision 74094) +@@ -38,7 +38,7 @@ + # rpyron 2002-05-07 + # Robert Pyron + # 1. BUGFIX: In function makefile(), strip blanks from the nodename. +-# This is necesary to match the behavior of parser.makeref() and ++# This is necessary to match the behavior of parser.makeref() and + # parser.do_node(). + # 2. BUGFIX fixed KeyError in end_ifset (well, I may have just made + # it go away, rather than fix it) Index: Tools/msi/msi.py =================================================================== ---- Tools/msi/msi.py (.../tags/r262) (Revision 73476) -+++ Tools/msi/msi.py (.../branches/release26-maint) (Revision 73476) +--- Tools/msi/msi.py (.../tags/r262) (Revision 74094) ++++ Tools/msi/msi.py (.../branches/release26-maint) (Revision 74094) @@ -1007,6 +1007,7 @@ lib.add_file("test_difflib_expect.html") lib.add_file("check_soundcard.vbs") @@ -1528,10 +2008,32 @@ lib.glob("*.uue") lib.glob("*.pem") lib.glob("*.pck") +@@ -1253,7 +1254,7 @@ + "", r"[TARGETDIR]Python.exe", "REGISTRY.def"), + ("DisplayIcon", -1, + r"Software\Microsoft\Windows\CurrentVersion\Uninstall\%s" % product_code, +- "DisplayIcon", "[TARGETDIR]python.exe", "REGISTRY.def") ++ "DisplayIcon", "[TARGETDIR]python.exe", "REGISTRY") + ]) + # Shortcuts, see "Shortcut Table" + add_data(db, "Directory", +Index: PC/os2vacpp/makefile.omk +=================================================================== +--- PC/os2vacpp/makefile.omk (.../tags/r262) (Revision 74094) ++++ PC/os2vacpp/makefile.omk (.../branches/release26-maint) (Revision 74094) +@@ -220,7 +220,7 @@ + + # zlibmodule.c -- Wrapper of ZLib Compression API (GZip Format) + # puremodule.c -- Wrapper of Purify Debugging API (Probably Non-OS/2) +- # dlmodule.c -- Some Wierd Form of Data Processing Module ++ # dlmodule.c -- Some Weird Form of Data Processing Module + # xxmodule.c -- Template to Create Your Own Module + + # Index: PC/pyconfig.h =================================================================== ---- PC/pyconfig.h (.../tags/r262) (Revision 73476) -+++ PC/pyconfig.h (.../branches/release26-maint) (Revision 73476) +--- PC/pyconfig.h (.../tags/r262) (Revision 74094) ++++ PC/pyconfig.h (.../branches/release26-maint) (Revision 74094) @@ -405,11 +405,11 @@ /* Define to 1 if you have the `copysign' function. */ #define HAVE_COPYSIGN 1 @@ -1547,10 +2049,35 @@ /* Define if on AIX 3. System headers sometimes define this. +Index: PC/_winreg.c +=================================================================== +--- PC/_winreg.c (.../tags/r262) (Revision 74094) ++++ PC/_winreg.c (.../branches/release26-maint) (Revision 74094) +@@ -25,7 +25,7 @@ + + /* The win32api module reports the function name that failed, + but this concept is not in the Python core. +- Hopefully it will one day, and in the meantime I dont ++ Hopefully it will one day, and in the meantime I don't + want to lose this info... + */ + #define PyErr_SetFromWindowsErrWithFunction(rc, fnname) \ +@@ -694,9 +694,9 @@ + ** Note that fixupMultiSZ and countString have both had changes + ** made to support "incorrect strings". The registry specification + ** calls for strings to be terminated with 2 null bytes. It seems +-** some commercial packages install strings which dont conform, ++** some commercial packages install strings which don't conform, + ** causing this code to fail - however, "regedit" etc still work +-** with these strings (ie only we dont!). ++** with these strings (ie only we don't!). + */ + static void + fixupMultiSZ(char **str, char *data, int len) Index: Doc/TODO.txt =================================================================== ---- Doc/TODO.txt (.../tags/r262) (Revision 73476) -+++ Doc/TODO.txt (.../branches/release26-maint) (Revision 73476) +--- Doc/TODO.txt (.../tags/r262) (Revision 74094) ++++ Doc/TODO.txt (.../branches/release26-maint) (Revision 74094) @@ -1,6 +0,0 @@ -To do -===== @@ -1560,8 +2087,8 @@ -* care about XXX comments Index: Doc/about.rst =================================================================== ---- Doc/about.rst (.../tags/r262) (Revision 73476) -+++ Doc/about.rst (.../branches/release26-maint) (Revision 73476) +--- Doc/about.rst (.../tags/r262) (Revision 74094) ++++ Doc/about.rst (.../branches/release26-maint) (Revision 74094) @@ -7,8 +7,8 @@ `_ sources by *Sphinx*, a document processor specifically written for the Python documentation. @@ -1585,21 +2112,21 @@ .. include:: ACKS.txt Index: Doc/make.bat =================================================================== ---- Doc/make.bat (.../tags/r262) (Revision 73476) -+++ Doc/make.bat (.../branches/release26-maint) (Revision 73476) +--- Doc/make.bat (.../tags/r262) (Revision 74094) ++++ Doc/make.bat (.../branches/release26-maint) (Revision 74094) @@ -34,7 +34,7 @@ goto end :checkout -svn co %SVNROOT%/doctools/trunk/sphinx tools/sphinx -+svn co %SVNROOT%/external/Sphinx-0.6.1/sphinx tools/sphinx ++svn co %SVNROOT%/external/Sphinx-0.6.2/sphinx tools/sphinx svn co %SVNROOT%/external/docutils-0.5/docutils tools/docutils svn co %SVNROOT%/external/Jinja-2.1.1/jinja2 tools/jinja2 svn co %SVNROOT%/external/Pygments-0.11.1/pygments tools/pygments Index: Doc/distutils/setupscript.rst =================================================================== ---- Doc/distutils/setupscript.rst (.../tags/r262) (Revision 73476) -+++ Doc/distutils/setupscript.rst (.../branches/release26-maint) (Revision 73476) +--- Doc/distutils/setupscript.rst (.../tags/r262) (Revision 74094) ++++ Doc/distutils/setupscript.rst (.../branches/release26-maint) (Revision 74094) @@ -565,6 +565,8 @@ +----------------------+---------------------------+-----------------+--------+ | ``platforms`` | a list of platforms | list of strings | | @@ -1625,8 +2152,8 @@ Index: Doc/distutils/apiref.rst =================================================================== ---- Doc/distutils/apiref.rst (.../tags/r262) (Revision 73476) -+++ Doc/distutils/apiref.rst (.../branches/release26-maint) (Revision 73476) +--- Doc/distutils/apiref.rst (.../tags/r262) (Revision 74094) ++++ Doc/distutils/apiref.rst (.../branches/release26-maint) (Revision 74094) @@ -886,11 +886,9 @@ prefix of all files and directories in the archive. *root_dir* and *base_dir* both default to the current directory. Returns the name of the archive file. @@ -1698,8 +2225,8 @@ Index: Doc/using/cmdline.rst =================================================================== ---- Doc/using/cmdline.rst (.../tags/r262) (Revision 73476) -+++ Doc/using/cmdline.rst (.../branches/release26-maint) (Revision 73476) +--- Doc/using/cmdline.rst (.../tags/r262) (Revision 74094) ++++ Doc/using/cmdline.rst (.../branches/release26-maint) (Revision 74094) @@ -351,7 +351,7 @@ Skip the first line of the source, allowing use of non-Unix forms of ``#!cmd``. This is intended for a DOS specific hack only. @@ -1711,8 +2238,8 @@ .. cmdoption:: -3 Index: Doc/extending/extending.rst =================================================================== ---- Doc/extending/extending.rst (.../tags/r262) (Revision 73476) -+++ Doc/extending/extending.rst (.../branches/release26-maint) (Revision 73476) +--- Doc/extending/extending.rst (.../tags/r262) (Revision 74094) ++++ Doc/extending/extending.rst (.../branches/release26-maint) (Revision 74094) @@ -47,7 +47,7 @@ which pulls in the Python API (you can add a comment describing the purpose of the module and a copyright notice if you like). @@ -1724,8 +2251,8 @@ headers on some systems, you *must* include :file:`Python.h` before any standard Index: Doc/c-api/sequence.rst =================================================================== ---- Doc/c-api/sequence.rst (.../tags/r262) (Revision 73476) -+++ Doc/c-api/sequence.rst (.../branches/release26-maint) (Revision 73476) +--- Doc/c-api/sequence.rst (.../tags/r262) (Revision 74094) ++++ Doc/c-api/sequence.rst (.../branches/release26-maint) (Revision 74094) @@ -13,6 +13,7 @@ @@ -1884,8 +2411,8 @@ Returns the length of *o*, assuming that *o* was returned by Index: Doc/c-api/buffer.rst =================================================================== ---- Doc/c-api/buffer.rst (.../tags/r262) (Revision 73476) -+++ Doc/c-api/buffer.rst (.../branches/release26-maint) (Revision 73476) +--- Doc/c-api/buffer.rst (.../tags/r262) (Revision 74094) ++++ Doc/c-api/buffer.rst (.../branches/release26-maint) (Revision 74094) @@ -13,9 +13,10 @@ single: buffer interface @@ -2311,8 +2838,8 @@ + changes in your code for properly supporting 64-bit systems. Index: Doc/c-api/list.rst =================================================================== ---- Doc/c-api/list.rst (.../tags/r262) (Revision 73476) -+++ Doc/c-api/list.rst (.../branches/release26-maint) (Revision 73476) +--- Doc/c-api/list.rst (.../tags/r262) (Revision 74094) ++++ Doc/c-api/list.rst (.../branches/release26-maint) (Revision 74094) @@ -17,8 +17,9 @@ .. index:: single: ListType (in module types) @@ -2505,8 +3032,8 @@ .. cfunction:: int PyList_Reverse(PyObject *list) Index: Doc/c-api/structures.rst =================================================================== ---- Doc/c-api/structures.rst (.../tags/r262) (Revision 73476) -+++ Doc/c-api/structures.rst (.../branches/release26-maint) (Revision 73476) +--- Doc/c-api/structures.rst (.../tags/r262) (Revision 74094) ++++ Doc/c-api/structures.rst (.../branches/release26-maint) (Revision 74094) @@ -9,28 +9,29 @@ object types for Python. This section describes these structures and how they are used. @@ -2738,8 +3265,8 @@ + :cfunc:`PyObject_GenericGetAttr` function. Index: Doc/c-api/gcsupport.rst =================================================================== ---- Doc/c-api/gcsupport.rst (.../tags/r262) (Revision 73476) -+++ Doc/c-api/gcsupport.rst (.../branches/release26-maint) (Revision 73476) +--- Doc/c-api/gcsupport.rst (.../tags/r262) (Revision 74094) ++++ Doc/c-api/gcsupport.rst (.../branches/release26-maint) (Revision 74094) @@ -9,7 +9,8 @@ references requires support from object types which are "containers" for other objects which may also be containers. Types which do not store references to @@ -2892,8 +3419,8 @@ + in a reference cycle. Index: Doc/c-api/intro.rst =================================================================== ---- Doc/c-api/intro.rst (.../tags/r262) (Revision 73476) -+++ Doc/c-api/intro.rst (.../branches/release26-maint) (Revision 73476) +--- Doc/c-api/intro.rst (.../tags/r262) (Revision 74094) ++++ Doc/c-api/intro.rst (.../branches/release26-maint) (Revision 74094) @@ -44,7 +44,7 @@ ````, ````, ````, and ```` (if available). @@ -2905,8 +3432,8 @@ headers on some systems, you *must* include :file:`Python.h` before any standard Index: Doc/c-api/set.rst =================================================================== ---- Doc/c-api/set.rst (.../tags/r262) (Revision 73476) -+++ Doc/c-api/set.rst (.../branches/release26-maint) (Revision 73476) +--- Doc/c-api/set.rst (.../tags/r262) (Revision 74094) ++++ Doc/c-api/set.rst (.../branches/release26-maint) (Revision 74094) @@ -116,7 +116,11 @@ ``len(anyset)``. Raises a :exc:`PyExc_SystemError` if *anyset* is not a :class:`set`, :class:`frozenset`, or an instance of a subtype. @@ -2921,8 +3448,8 @@ Macro form of :cfunc:`PySet_Size` without error checking. Index: Doc/c-api/slice.rst =================================================================== ---- Doc/c-api/slice.rst (.../tags/r262) (Revision 73476) -+++ Doc/c-api/slice.rst (.../branches/release26-maint) (Revision 73476) +--- Doc/c-api/slice.rst (.../tags/r262) (Revision 74094) ++++ Doc/c-api/slice.rst (.../branches/release26-maint) (Revision 74094) @@ -22,35 +22,47 @@ .. cfunction:: PyObject* PySlice_New(PyObject *start, PyObject *stop, PyObject *step) @@ -2990,8 +3517,8 @@ + systems. Index: Doc/c-api/long.rst =================================================================== ---- Doc/c-api/long.rst (.../tags/r262) (Revision 73476) -+++ Doc/c-api/long.rst (.../branches/release26-maint) (Revision 73476) +--- Doc/c-api/long.rst (.../tags/r262) (Revision 74094) ++++ Doc/c-api/long.rst (.../branches/release26-maint) (Revision 74094) @@ -106,7 +106,11 @@ .. versionadded:: 1.6 @@ -3006,8 +3533,8 @@ Create a Python integer or long integer from the pointer *p*. The pointer value Index: Doc/c-api/init.rst =================================================================== ---- Doc/c-api/init.rst (.../tags/r262) (Revision 73476) -+++ Doc/c-api/init.rst (.../branches/release26-maint) (Revision 73476) +--- Doc/c-api/init.rst (.../tags/r262) (Revision 74094) ++++ Doc/c-api/init.rst (.../branches/release26-maint) (Revision 74094) @@ -419,10 +419,9 @@ The Python interpreter needs to keep some bookkeeping information separate per thread --- for this it uses a data structure called :ctype:`PyThreadState`. @@ -3045,8 +3572,8 @@ :cfunc:`PyGILState_\*` functions to do all of the above automatically. The Index: Doc/c-api/string.rst =================================================================== ---- Doc/c-api/string.rst (.../tags/r262) (Revision 73476) -+++ Doc/c-api/string.rst (.../branches/release26-maint) (Revision 73476) +--- Doc/c-api/string.rst (.../tags/r262) (Revision 74094) ++++ Doc/c-api/string.rst (.../branches/release26-maint) (Revision 74094) @@ -58,7 +58,11 @@ *len* on success, and *NULL* on failure. If *v* is *NULL*, the contents of the string are uninitialized. @@ -3128,8 +3655,8 @@ Encode a string object using the codec registered for *encoding* and return the Index: Doc/c-api/object.rst =================================================================== ---- Doc/c-api/object.rst (.../tags/r262) (Revision 73476) -+++ Doc/c-api/object.rst (.../branches/release26-maint) (Revision 73476) +--- Doc/c-api/object.rst (.../tags/r262) (Revision 74094) ++++ Doc/c-api/object.rst (.../branches/release26-maint) (Revision 74094) @@ -351,7 +351,11 @@ and mapping protocols, the sequence length is returned. On error, ``-1`` is returned. This is the equivalent to the Python expression ``len(o)``. @@ -3144,8 +3671,8 @@ Return element of *o* corresponding to the object *key* or *NULL* on failure. Index: Doc/c-api/arg.rst =================================================================== ---- Doc/c-api/arg.rst (.../tags/r262) (Revision 73476) -+++ Doc/c-api/arg.rst (.../branches/release26-maint) (Revision 73476) +--- Doc/c-api/arg.rst (.../tags/r262) (Revision 74094) ++++ Doc/c-api/arg.rst (.../branches/release26-maint) (Revision 74094) @@ -10,46 +10,48 @@ :ref:`extending-index`. @@ -3860,8 +4387,8 @@ Index: Doc/c-api/typeobj.rst =================================================================== ---- Doc/c-api/typeobj.rst (.../tags/r262) (Revision 73476) -+++ Doc/c-api/typeobj.rst (.../branches/release26-maint) (Revision 73476) +--- Doc/c-api/typeobj.rst (.../tags/r262) (Revision 74094) ++++ Doc/c-api/typeobj.rst (.../branches/release26-maint) (Revision 74094) @@ -64,7 +64,11 @@ This field is not inherited by subtypes. @@ -3876,8 +4403,8 @@ This is the type's type, in other words its metatype. It is initialized by the Index: Doc/c-api/type.rst =================================================================== ---- Doc/c-api/type.rst (.../tags/r262) (Revision 73476) -+++ Doc/c-api/type.rst (.../branches/release26-maint) (Revision 73476) +--- Doc/c-api/type.rst (.../tags/r262) (Revision 74094) ++++ Doc/c-api/type.rst (.../branches/release26-maint) (Revision 74094) @@ -76,7 +76,11 @@ .. versionadded:: 2.2 @@ -3892,8 +4419,8 @@ .. versionadded:: 2.2 Index: Doc/c-api/dict.rst =================================================================== ---- Doc/c-api/dict.rst (.../tags/r262) (Revision 73476) -+++ Doc/c-api/dict.rst (.../branches/release26-maint) (Revision 73476) +--- Doc/c-api/dict.rst (.../tags/r262) (Revision 74094) ++++ Doc/c-api/dict.rst (.../branches/release26-maint) (Revision 74094) @@ -19,8 +19,9 @@ single: DictType (in module types) single: DictionaryType (in module types) @@ -4112,8 +4639,8 @@ for key, value in seq2: Index: Doc/c-api/allocation.rst =================================================================== ---- Doc/c-api/allocation.rst (.../tags/r262) (Revision 73476) -+++ Doc/c-api/allocation.rst (.../branches/release26-maint) (Revision 73476) +--- Doc/c-api/allocation.rst (.../tags/r262) (Revision 74094) ++++ Doc/c-api/allocation.rst (.../branches/release26-maint) (Revision 74094) @@ -11,16 +11,21 @@ .. cfunction:: PyVarObject* _PyObject_NewVar(PyTypeObject *type, Py_ssize_t size) @@ -4270,8 +4797,8 @@ + object. Index: Doc/c-api/unicode.rst =================================================================== ---- Doc/c-api/unicode.rst (.../tags/r262) (Revision 73476) -+++ Doc/c-api/unicode.rst (.../branches/release26-maint) (Revision 73476) +--- Doc/c-api/unicode.rst (.../tags/r262) (Revision 74094) ++++ Doc/c-api/unicode.rst (.../branches/release26-maint) (Revision 74094) @@ -71,13 +71,21 @@ Return the size of the object. *o* has to be a :ctype:`PyUnicodeObject` (not checked). @@ -4648,8 +5175,8 @@ Compare two strings and return -1, 0, 1 for less than, equal, and greater than, Index: Doc/c-api/marshal.rst =================================================================== ---- Doc/c-api/marshal.rst (.../tags/r262) (Revision 73476) -+++ Doc/c-api/marshal.rst (.../branches/release26-maint) (Revision 73476) +--- Doc/c-api/marshal.rst (.../tags/r262) (Revision 74094) ++++ Doc/c-api/marshal.rst (.../branches/release26-maint) (Revision 74094) @@ -5,25 +5,26 @@ Data marshalling support ======================== @@ -4759,8 +5286,8 @@ + changes in your code for properly supporting 64-bit systems. Index: Doc/c-api/tuple.rst =================================================================== ---- Doc/c-api/tuple.rst (.../tags/r262) (Revision 73476) -+++ Doc/c-api/tuple.rst (.../branches/release26-maint) (Revision 73476) +--- Doc/c-api/tuple.rst (.../tags/r262) (Revision 74094) ++++ Doc/c-api/tuple.rst (.../branches/release26-maint) (Revision 74094) @@ -42,7 +42,11 @@ Return a new tuple object of size *len*, or *NULL* on failure. @@ -4871,8 +5398,8 @@ Clear the free list. Return the total number of freed items. Index: Doc/c-api/mapping.rst =================================================================== ---- Doc/c-api/mapping.rst (.../tags/r262) (Revision 73476) -+++ Doc/c-api/mapping.rst (.../branches/release26-maint) (Revision 73476) +--- Doc/c-api/mapping.rst (.../tags/r262) (Revision 74094) ++++ Doc/c-api/mapping.rst (.../branches/release26-maint) (Revision 74094) @@ -12,7 +12,8 @@ function always succeeds. @@ -4897,8 +5424,8 @@ Remove the mapping for object *key* from the object *o*. Return ``-1`` on Index: Doc/c-api/objbuffer.rst =================================================================== ---- Doc/c-api/objbuffer.rst (.../tags/r262) (Revision 73476) -+++ Doc/c-api/objbuffer.rst (.../branches/release26-maint) (Revision 73476) +--- Doc/c-api/objbuffer.rst (.../tags/r262) (Revision 74094) ++++ Doc/c-api/objbuffer.rst (.../branches/release26-maint) (Revision 74094) @@ -2,31 +2,47 @@ .. _abstract-buffer: @@ -4975,8 +5502,8 @@ + Index: Doc/reference/datamodel.rst =================================================================== ---- Doc/reference/datamodel.rst (.../tags/r262) (Revision 73476) -+++ Doc/reference/datamodel.rst (.../branches/release26-maint) (Revision 73476) +--- Doc/reference/datamodel.rst (.../tags/r262) (Revision 74094) ++++ Doc/reference/datamodel.rst (.../branches/release26-maint) (Revision 74094) @@ -1858,11 +1858,11 @@ reverse iteration. It should return a new iterator object that iterates over all the objects in the container in reverse order. @@ -4996,8 +5523,8 @@ Index: Doc/reference/compound_stmts.rst =================================================================== ---- Doc/reference/compound_stmts.rst (.../tags/r262) (Revision 73476) -+++ Doc/reference/compound_stmts.rst (.../branches/release26-maint) (Revision 73476) +--- Doc/reference/compound_stmts.rst (.../tags/r262) (Revision 74094) ++++ Doc/reference/compound_stmts.rst (.../branches/release26-maint) (Revision 74094) @@ -1,4 +1,3 @@ - .. _compound: @@ -5032,8 +5559,8 @@ .. _finally: Index: Doc/reference/expressions.rst =================================================================== ---- Doc/reference/expressions.rst (.../tags/r262) (Revision 73476) -+++ Doc/reference/expressions.rst (.../branches/release26-maint) (Revision 73476) +--- Doc/reference/expressions.rst (.../tags/r262) (Revision 74094) ++++ Doc/reference/expressions.rst (.../branches/release26-maint) (Revision 74094) @@ -1177,6 +1177,7 @@ @@ -5054,8 +5581,8 @@ Expression lists Index: Doc/reference/simple_stmts.rst =================================================================== ---- Doc/reference/simple_stmts.rst (.../tags/r262) (Revision 73476) -+++ Doc/reference/simple_stmts.rst (.../branches/release26-maint) (Revision 73476) +--- Doc/reference/simple_stmts.rst (.../tags/r262) (Revision 74094) ++++ Doc/reference/simple_stmts.rst (.../branches/release26-maint) (Revision 74094) @@ -386,9 +386,10 @@ object is (converted and) written, unless the output system believes it is positioned at the beginning of a line. This is the case (1) when no characters @@ -5085,8 +5612,8 @@ The :keyword:`global` statement Index: Doc/reference/executionmodel.rst =================================================================== ---- Doc/reference/executionmodel.rst (.../tags/r262) (Revision 73476) -+++ Doc/reference/executionmodel.rst (.../branches/release26-maint) (Revision 73476) +--- Doc/reference/executionmodel.rst (.../tags/r262) (Revision 74094) ++++ Doc/reference/executionmodel.rst (.../branches/release26-maint) (Revision 74094) @@ -231,7 +231,7 @@ :keyword:`except` clause is selected by object identity. An arbitrary value can be raised along with the identifying string which can be passed to the handler. @@ -5098,8 +5625,8 @@ change from one version of Python to the next without warning and should not be Index: Doc/reference/lexical_analysis.rst =================================================================== ---- Doc/reference/lexical_analysis.rst (.../tags/r262) (Revision 73476) -+++ Doc/reference/lexical_analysis.rst (.../branches/release26-maint) (Revision 73476) +--- Doc/reference/lexical_analysis.rst (.../tags/r262) (Revision 74094) ++++ Doc/reference/lexical_analysis.rst (.../branches/release26-maint) (Revision 74094) @@ -339,8 +339,10 @@ The following identifiers are used as reserved words, or *keywords* of the @@ -5114,8 +5641,20 @@ assert else if pass yield Index: Doc/tools/sphinxext/indexsidebar.html =================================================================== ---- Doc/tools/sphinxext/indexsidebar.html (.../tags/r262) (Revision 73476) -+++ Doc/tools/sphinxext/indexsidebar.html (.../branches/release26-maint) (Revision 73476) +--- Doc/tools/sphinxext/indexsidebar.html (.../tags/r262) (Revision 74094) ++++ Doc/tools/sphinxext/indexsidebar.html (.../branches/release26-maint) (Revision 74094) +@@ -2,9 +2,9 @@ +

Download these documents

+

Docs for other versions

+ + @@ -12,12 +12,10 @@
    {# XXX: many of these should probably be merged in the main docs #} @@ -5131,8 +5670,8 @@
  • Other Doc Collections
  • Index: Doc/tools/sphinxext/indexcontent.html =================================================================== ---- Doc/tools/sphinxext/indexcontent.html (.../tags/r262) (Revision 73476) -+++ Doc/tools/sphinxext/indexcontent.html (.../branches/release26-maint) (Revision 73476) +--- Doc/tools/sphinxext/indexcontent.html (.../tags/r262) (Revision 74094) ++++ Doc/tools/sphinxext/indexcontent.html (.../branches/release26-maint) (Revision 74094) @@ -9,10 +9,10 @@ start here