]> granicus.if.org Git - python/log
python
10 years agomerge 2.7.9 release branch
Benjamin Peterson [Sat, 6 Dec 2014 16:36:48 +0000 (11:36 -0500)]
merge 2.7.9 release branch

10 years agonote that sslv3 may not be available
Benjamin Peterson [Sat, 6 Dec 2014 16:36:32 +0000 (11:36 -0500)]
note that sslv3 may not be available

10 years agomerge 2.7.9 release branch
Benjamin Peterson [Sat, 6 Dec 2014 03:02:33 +0000 (22:02 -0500)]
merge 2.7.9 release branch

10 years agoallow ssl module to compile if openssl doesn't support SSL 3 (closes #22935)
Benjamin Peterson [Sat, 6 Dec 2014 02:59:35 +0000 (21:59 -0500)]
allow ssl module to compile if openssl doesn't support SSL 3 (closes #22935)

Patch by Kurt Roeckx.

10 years agomerge 2.7.9 release branch
Benjamin Peterson [Sat, 6 Dec 2014 02:09:58 +0000 (21:09 -0500)]
merge 2.7.9 release branch

10 years agosync idle news from 2.7 branch
Benjamin Peterson [Sat, 6 Dec 2014 02:09:47 +0000 (21:09 -0500)]
sync idle news from 2.7 branch

10 years agoUpdate idlelib/NEWS.txt.
Terry Jan Reedy [Sat, 6 Dec 2014 01:49:23 +0000 (20:49 -0500)]
Update idlelib/NEWS.txt.

10 years agoIssue #16893: Update Idle doc chapter to match current Idle and add new
Terry Jan Reedy [Sat, 6 Dec 2014 01:25:14 +0000 (20:25 -0500)]
Issue #16893: Update Idle doc chapter to match current Idle and add new
information.

10 years agomerge 2.7.9 release branch
Benjamin Peterson [Sat, 6 Dec 2014 01:16:53 +0000 (20:16 -0500)]
merge 2.7.9 release branch

10 years agoadd a default limit for the amount of data xmlrpclib.gzip_decode will return (closes...
Benjamin Peterson [Sat, 6 Dec 2014 01:15:15 +0000 (20:15 -0500)]
add a default limit for the amount of data xmlrpclib.gzip_decode will return (closes #16043)

10 years agosmtplib: limit amount read from the network (closes #16042)
Benjamin Peterson [Sat, 6 Dec 2014 01:05:18 +0000 (20:05 -0500)]
smtplib: limit amount read from the network (closes #16042)

10 years agoin poplib, limit maximum line length that we read from the network (closes #16041)
Benjamin Peterson [Sat, 6 Dec 2014 01:02:38 +0000 (20:02 -0500)]
in poplib, limit maximum line length that we read from the network (closes #16041)

Patch from Berker Peksag.

10 years agoEdit Menus section of Idle doc. Make menu entries match current Idle in order
Terry Jan Reedy [Fri, 5 Dec 2014 07:42:54 +0000 (02:42 -0500)]
Edit Menus section of Idle doc.  Make menu entries match current Idle in order
and case.  Edit some of the explanatory sentences and end all with a period.

10 years agoIssue #3068: Document the new Configure Extensions dialog and menu entry.
Terry Jan Reedy [Thu, 4 Dec 2014 06:22:41 +0000 (01:22 -0500)]
Issue #3068: Document the new Configure Extensions dialog and menu entry.

10 years agoIssue #16893: Update 2.7 version of Idle doc to match 3.4 doc as of the just
Terry Jan Reedy [Thu, 4 Dec 2014 05:55:46 +0000 (00:55 -0500)]
Issue #16893: Update 2.7 version of Idle doc to match 3.4 doc as of the just
committed 6db65ff985b6.

10 years agoFix #22987: update the compatibility matrix for a SSLv23 client.
Antoine Pitrou [Wed, 3 Dec 2014 19:00:56 +0000 (20:00 +0100)]
Fix #22987: update the compatibility matrix for a SSLv23 client.

10 years agoIssue #14099: ZipFile.open() no longer reopen the underlying file. Objects
Serhiy Storchaka [Wed, 3 Dec 2014 07:11:12 +0000 (09:11 +0200)]
Issue #14099: ZipFile.open() no longer reopen the underlying file.  Objects
returned by ZipFile.open() can now operate independently of the ZipFile even
if the ZipFile was created by passing in a file-like object as the first
argument to the constructor.

10 years agomerge 2.7.9 release branch
Benjamin Peterson [Tue, 2 Dec 2014 23:45:45 +0000 (18:45 -0500)]
merge 2.7.9 release branch

10 years agonuke ancient script with dubious license (closes #12987)
Benjamin Peterson [Tue, 2 Dec 2014 23:45:23 +0000 (18:45 -0500)]
nuke ancient script with dubious license (closes #12987)

10 years agoAdd NEWS items for Idle patches already in 2.7.9rc1.
Terry Jan Reedy [Mon, 1 Dec 2014 21:59:02 +0000 (16:59 -0500)]
Add NEWS items for Idle patches already in 2.7.9rc1.

10 years agoRemoved duplicated words in in comments and docs.
Serhiy Storchaka [Mon, 1 Dec 2014 16:16:30 +0000 (18:16 +0200)]
Removed duplicated words in in comments and docs.

10 years agoIssue #21032. Fixed socket leak if HTTPConnection.getresponse() fails.
Serhiy Storchaka [Mon, 1 Dec 2014 11:07:28 +0000 (13:07 +0200)]
Issue #21032. Fixed socket leak if HTTPConnection.getresponse() fails.
Original patch by Martin Panter.

10 years agoIssue #22943: bsddb tests are locale independend now.
Serhiy Storchaka [Mon, 1 Dec 2014 08:34:23 +0000 (10:34 +0200)]
Issue #22943: bsddb tests are locale independend now.
This fixes tests on 8-bit locales (in particular on Windows).

10 years agomerge 2.7.9 release branch
Benjamin Peterson [Sun, 30 Nov 2014 16:51:48 +0000 (11:51 -0500)]
merge 2.7.9 release branch

10 years agobackout fac649bf2d10 (#9179) for further consideration
Benjamin Peterson [Sun, 30 Nov 2014 16:47:54 +0000 (11:47 -0500)]
backout fac649bf2d10 (#9179) for further consideration

10 years agomerge 2.7.9 release branch
Benjamin Peterson [Sun, 30 Nov 2014 04:06:22 +0000 (23:06 -0500)]
merge 2.7.9 release branch

10 years agothis is why tests are great
Benjamin Peterson [Sun, 30 Nov 2014 04:06:06 +0000 (23:06 -0500)]
this is why tests are great

10 years agomerge 2.7.9 release branch
Benjamin Peterson [Sun, 30 Nov 2014 03:57:15 +0000 (22:57 -0500)]
merge 2.7.9 release branch

10 years agoadd context parameter to xmlrpclib.ServerProxy (#22960)
Benjamin Peterson [Sun, 30 Nov 2014 03:55:35 +0000 (22:55 -0500)]
add context parameter to xmlrpclib.ServerProxy (#22960)

Patch from Alex Gaynor.

10 years agomerge 2.7.9 release branch
Benjamin Peterson [Fri, 28 Nov 2014 02:40:35 +0000 (20:40 -0600)]
merge 2.7.9 release branch

10 years agogive a nice message when installer is launched w/o admin rights (closes #16561)
Benjamin Peterson [Fri, 28 Nov 2014 02:39:02 +0000 (20:39 -0600)]
give a nice message when installer is launched w/o admin rights (closes #16561)

10 years agoIssue #21280: Fixed a bug in shutil.make_archive() when create an archive of
Serhiy Storchaka [Thu, 27 Nov 2014 22:50:06 +0000 (00:50 +0200)]
Issue #21280: Fixed a bug in shutil.make_archive() when create an archive of
current directory in current directory.

10 years agoIssue #22314: pydoc now works when the LINES environment variable is set.
Serhiy Storchaka [Thu, 27 Nov 2014 22:09:05 +0000 (00:09 +0200)]
Issue #22314: pydoc now works when the LINES environment variable is set.

10 years agoIssue #18905: "pydoc -p 0" now outputs actually used port. Based on patch by
Serhiy Storchaka [Thu, 27 Nov 2014 21:45:37 +0000 (23:45 +0200)]
Issue #18905: "pydoc -p 0" now outputs actually used port.  Based on patch by
Wieland Hoffmann.

10 years agoIssue #21514: The documentation of the json module now refers to new JSON RFC
Serhiy Storchaka [Thu, 27 Nov 2014 17:41:34 +0000 (19:41 +0200)]
Issue #21514: The documentation of the json module now refers to new JSON RFC
7159 instead of obsoleted RFC 4627.

10 years agoIssue #22609: Constructors and update methods of mapping classes in the
Serhiy Storchaka [Thu, 27 Nov 2014 17:02:56 +0000 (19:02 +0200)]
Issue #22609: Constructors and update methods of mapping classes in the
collections module now accept the self keyword argument.

10 years agopydoc: Add a note about setting PAGER to affect console output pagination.
Zachary Ware [Thu, 27 Nov 2014 05:44:25 +0000 (23:44 -0600)]
pydoc: Add a note about setting PAGER to affect console output pagination.

Suggested by James Lowden on docs@.

10 years agoremove tautological condition (closes #22954)
Benjamin Peterson [Thu, 27 Nov 2014 05:03:11 +0000 (23:03 -0600)]
remove tautological condition (closes #22954)

10 years agouse skipUnless
Benjamin Peterson [Wed, 26 Nov 2014 20:35:56 +0000 (14:35 -0600)]
use skipUnless

10 years agoAdds missing revocation.crl test file to msi.py
Steve Dower [Wed, 26 Nov 2014 17:32:41 +0000 (09:32 -0800)]
Adds missing revocation.crl test file to msi.py

10 years agoAdds missing files to msi.py
Steve Dower [Wed, 26 Nov 2014 17:20:00 +0000 (09:20 -0800)]
Adds missing files to msi.py

10 years agoUpdate msi.py and uuids.py for 2.7.9 releases
Steve Dower [Wed, 26 Nov 2014 06:43:06 +0000 (22:43 -0800)]
Update msi.py and uuids.py for 2.7.9 releases

10 years agoadd 2.7.10 news section
Benjamin Peterson [Wed, 26 Nov 2014 01:15:39 +0000 (19:15 -0600)]
add 2.7.10 news section

10 years agoAdded tag v2.7.9rc1 for changeset 40eada278702
Benjamin Peterson [Wed, 26 Nov 2014 00:27:39 +0000 (18:27 -0600)]
Added tag v2.7.9rc1 for changeset 40eada278702

10 years ago2.7.9rc1 v2.7.9rc1
Benjamin Peterson [Wed, 26 Nov 2014 00:27:24 +0000 (18:27 -0600)]
2.7.9rc1

10 years agoupdate pydoc-topics
Benjamin Peterson [Wed, 26 Nov 2014 00:25:06 +0000 (18:25 -0600)]
update pydoc-topics

10 years agodisable tests that always fail on windows (#22943)
Benjamin Peterson [Tue, 25 Nov 2014 23:37:09 +0000 (17:37 -0600)]
disable tests that always fail on windows (#22943)

10 years agouse more ugly but hopefully more robust method
Benjamin Peterson [Tue, 25 Nov 2014 22:12:32 +0000 (16:12 -0600)]
use more ugly but hopefully more robust method

10 years agohandle errors without a reason attribute
Benjamin Peterson [Tue, 25 Nov 2014 21:43:58 +0000 (15:43 -0600)]
handle errors without a reason attribute

10 years agodon't fail tests when www.python.org can't be validated by the system
Benjamin Peterson [Tue, 25 Nov 2014 21:16:55 +0000 (15:16 -0600)]
don't fail tests when www.python.org can't be validated by the system

10 years agoremove incorrect plural
Benjamin Peterson [Tue, 25 Nov 2014 20:54:45 +0000 (14:54 -0600)]
remove incorrect plural

10 years agodebugging: print ca certs loaded into default ctx
Benjamin Peterson [Tue, 25 Nov 2014 05:25:29 +0000 (23:25 -0600)]
debugging: print ca certs loaded into default ctx

10 years agoIssue #16056: Rename test methods to avoid conflict.
Berker Peksag [Mon, 24 Nov 2014 21:57:00 +0000 (23:57 +0200)]
Issue #16056: Rename test methods to avoid conflict.

10 years agoIssue #20351: Add examples for csv.DictReader and csv.DictWriter.
Berker Peksag [Mon, 24 Nov 2014 21:50:46 +0000 (23:50 +0200)]
Issue #20351: Add examples for csv.DictReader and csv.DictWriter.

Patch by Charles-Axel Dein.

10 years agoFix faulty indent.
Ned Deily [Mon, 24 Nov 2014 04:55:55 +0000 (20:55 -0800)]
Fix faulty indent.

10 years agois OpenIndiana actually sunos?
Benjamin Peterson [Mon, 24 Nov 2014 04:34:04 +0000 (22:34 -0600)]
is OpenIndiana actually sunos?

10 years agoloosen solaris test
Benjamin Peterson [Mon, 24 Nov 2014 04:22:59 +0000 (22:22 -0600)]
loosen solaris test

10 years agoskip test_gdb on OpenIndiana
Benjamin Peterson [Mon, 24 Nov 2014 04:02:47 +0000 (22:02 -0600)]
skip test_gdb on OpenIndiana

10 years agopep 476: verify certificates by default (#22417)
Benjamin Peterson [Mon, 24 Nov 2014 03:02:02 +0000 (21:02 -0600)]
pep 476: verify certificates by default (#22417)

10 years agogive urllib.urlopen a context parameter (closes #22927)
Benjamin Peterson [Mon, 24 Nov 2014 02:55:24 +0000 (20:55 -0600)]
give urllib.urlopen a context parameter (closes #22927)

10 years agoadd NEWS note for #22921
Benjamin Peterson [Mon, 24 Nov 2014 02:15:31 +0000 (20:15 -0600)]
add NEWS note for #22921

10 years agofix versionchanged version
Benjamin Peterson [Mon, 24 Nov 2014 02:13:55 +0000 (20:13 -0600)]
fix versionchanged version

10 years agoallow hostname to be passed to SSLContext even if OpenSSL doesn't support SNI (closes...
Benjamin Peterson [Mon, 24 Nov 2014 02:13:31 +0000 (20:13 -0600)]
allow hostname to be passed to SSLContext even if OpenSSL doesn't support SNI (closes #22921)

Patch from Donald Stufft.

10 years agofix this test when sizeof(long) < sizeof(size_t)
Benjamin Peterson [Sun, 23 Nov 2014 19:17:57 +0000 (13:17 -0600)]
fix this test when sizeof(long) < sizeof(size_t)

10 years agoremove strange casts
Benjamin Peterson [Sun, 23 Nov 2014 18:58:54 +0000 (12:58 -0600)]
remove strange casts

10 years agoremove py3k warning guard
Benjamin Peterson [Sun, 23 Nov 2014 17:52:46 +0000 (11:52 -0600)]
remove py3k warning guard

10 years agoallow passing cert/ssl information to urllib2.urlopen and httplib.HTTPSConnection
Benjamin Peterson [Sun, 23 Nov 2014 17:42:45 +0000 (11:42 -0600)]
allow passing cert/ssl information to urllib2.urlopen and httplib.HTTPSConnection

This is basically a backport of issues #9003 and #22366.

10 years agoinitialize _makefile_refs earlier so things don't blow up when close() is called...
Benjamin Peterson [Sun, 23 Nov 2014 17:16:48 +0000 (11:16 -0600)]
initialize _makefile_refs earlier so things don't blow up when close() is called in the constructor

10 years agoBackport disabling of SSLv3 in ssl._create_stdlib_context() (issue #22638).
Antoine Pitrou [Fri, 17 Oct 2014 17:28:30 +0000 (19:28 +0200)]
Backport disabling of SSLv3 in ssl._create_stdlib_context() (issue #22638).

The backport currently doesn't achieve anything since the function isn't used (yet).

10 years agoFix 2to3 reference link in pyporting.rst.
Ned Deily [Sun, 23 Nov 2014 00:03:40 +0000 (16:03 -0800)]
Fix 2to3 reference link in pyporting.rst.

10 years agoRemove line breaks in OS X installer README screen.
Ned Deily [Sat, 22 Nov 2014 22:35:43 +0000 (14:35 -0800)]
Remove line breaks in OS X installer README screen.

10 years agoAdd downloads page link to OS X installer README screens.
Ned Deily [Sat, 22 Nov 2014 22:17:05 +0000 (14:17 -0800)]
Add downloads page link to OS X installer README screens.

10 years agoIssue #17293: socket.gethostbyname() can raise an exception of FreeBSD.
Serhiy Storchaka [Fri, 21 Nov 2014 19:54:43 +0000 (21:54 +0200)]
Issue #17293: socket.gethostbyname() can raise an exception of FreeBSD.

10 years agoAdd regression issue number to Misc/NEWS entry.
Antoine Pitrou [Fri, 21 Nov 2014 01:05:06 +0000 (02:05 +0100)]
Add regression issue number to Misc/NEWS entry.

10 years agoIssue #21963: backout issue #1856 patch (avoid crashes and lockups when
Antoine Pitrou [Fri, 21 Nov 2014 01:04:21 +0000 (02:04 +0100)]
Issue #21963: backout issue #1856 patch (avoid crashes and lockups when
daemon threads run while the interpreter is shutting down; instead,
these threads are now killed when they try to take the GIL), as it seems
to break some existing code.

10 years agoIssue #22827: Backport the new Distributing and Instaling Docs from 3.4
Donald Stufft [Thu, 20 Nov 2014 14:38:31 +0000 (09:38 -0500)]
Issue #22827: Backport the new Distributing and Instaling Docs from 3.4

10 years agoIssue 22878: PEP 477 - "make install" and "make altinstall" integration
Ned Deily [Thu, 20 Nov 2014 10:11:03 +0000 (02:11 -0800)]
Issue 22878: PEP 477 - "make install" and "make altinstall" integration

The backport of ensurepip to 2.7.9 allows pip to optionally be installed
or upgraded using the bundled pip provided by the new ensurepip module.
The option can be specified persistently using the configure option:

    ./configure --with-ensurepip[=upgrade|install|no]

It can also be overridden on either the "install" or "altinstall" targets:

    make [alt]install ENSUREPIP=[upgrade|install|no]

For Python 2, the default option is "no" (do not install pip).

10 years agoIssue #22453: Fexed reference leaks when format error messages in ceval.c.
Serhiy Storchaka [Tue, 18 Nov 2014 22:11:05 +0000 (00:11 +0200)]
Issue #22453: Fexed reference leaks when format error messages in ceval.c.
Warn against the use of leaking macro PyObject_REPR().

10 years agoIssue #18637: Fixed an error in _PyNode_SizeOf declaration.
Serhiy Storchaka [Tue, 18 Nov 2014 15:29:47 +0000 (17:29 +0200)]
Issue #18637: Fixed an error in _PyNode_SizeOf declaration.
Patch by Roumen Petrov.

10 years agoIssue #22193: Fixed integer overflow error in sys.getsizeof().
Serhiy Storchaka [Sat, 15 Nov 2014 11:21:01 +0000 (13:21 +0200)]
Issue #22193: Fixed integer overflow error in sys.getsizeof().
Fixed an error in _PySys_GetSizeOf declaration.

10 years agoUpdate OS X installer documentation files for 2.7.9.
Ned Deily [Sat, 15 Nov 2014 02:57:13 +0000 (18:57 -0800)]
Update OS X installer documentation files for 2.7.9.

10 years agoIssue #22877: PEP 477 - OS X installer for 2.7.9 now installs pip.
Ned Deily [Sat, 15 Nov 2014 02:53:59 +0000 (18:53 -0800)]
Issue #22877: PEP 477 - OS X installer for 2.7.9 now installs pip.

10 years agoFix description.
Georg Brandl [Fri, 14 Nov 2014 10:20:07 +0000 (11:20 +0100)]
Fix description.

10 years agoCloses #22868: make example less ambiguous.
Georg Brandl [Fri, 14 Nov 2014 10:12:53 +0000 (11:12 +0100)]
Closes #22868: make example less ambiguous.

10 years agoClose #22300 by tweaking 2.7.9 What's New announcements
Nick Coghlan [Fri, 14 Nov 2014 10:05:04 +0000 (20:05 +1000)]
Close #22300 by tweaking 2.7.9 What's New announcements

10 years agoIssue #22850: Backport ensurepip Windows installer changes to 2.7
Steve Dower [Thu, 13 Nov 2014 03:02:20 +0000 (19:02 -0800)]
Issue #22850: Backport ensurepip Windows installer changes to 2.7

10 years agoDefine a __hash__ to quiet down a -3 warning
Donald Stufft [Tue, 11 Nov 2014 17:32:57 +0000 (12:32 -0500)]
Define a __hash__ to quiet down a -3 warning

10 years agoUpgrade setuptools to 7.0
Donald Stufft [Tue, 11 Nov 2014 15:53:50 +0000 (10:53 -0500)]
Upgrade setuptools to 7.0

10 years agoImplement PEP 477 - Backport ensurepip (PEP 453) to 2.7
Donald Stufft [Tue, 11 Nov 2014 15:24:11 +0000 (10:24 -0500)]
Implement PEP 477 - Backport ensurepip (PEP 453) to 2.7

* Backports ensurepip to the 2.7 branch
* Backports some of the improved documentation to the 2.7 branch.
* Adds a private backport of the 3.x mock library as test._mock_backport
  to enable saner testing of ensurepip.

Key Differences from 3.x:

* Ensurepip does not have any Makefile integration, specifically
  it is not ran by default in the Makefile.
* There is no venv module in 2.7, so downstream distributors can
  completely disable ensurepip, ideally with a message redirecting
  to the correct way to install pip.
* To match the ``python`` command in 2.7, ensurepip will install
  the unversioned ``pip`` command as well.
* No-op and hide --default-pip and add --no-default-pip to restore
  the 3.x behavor on 2.7.

10 years agoIssue #22845: Improved formatting of dis documentation.
Serhiy Storchaka [Tue, 11 Nov 2014 08:02:57 +0000 (10:02 +0200)]
Issue #22845: Improved formatting of dis documentation.

10 years agoIssue #12728: Different Unicode characters having the same uppercase but
Serhiy Storchaka [Mon, 10 Nov 2014 10:37:02 +0000 (12:37 +0200)]
Issue #12728: Different Unicode characters having the same uppercase but
different lowercase are now matched in case-insensitive regular expressions.

10 years agoIssue #22821: Fixed fcntl() with integer argument on 64-bit big-endian
Serhiy Storchaka [Mon, 10 Nov 2014 08:42:06 +0000 (10:42 +0200)]
Issue #22821: Fixed fcntl() with integer argument on 64-bit big-endian
platforms.

10 years agoUse internal links where possible
Raymond Hettinger [Mon, 10 Nov 2014 01:25:42 +0000 (17:25 -0800)]
Use internal links where possible

10 years agoIssue 22830: Clarify docs for functools.cmp_to_key().
Raymond Hettinger [Mon, 10 Nov 2014 01:10:17 +0000 (17:10 -0800)]
Issue 22830:  Clarify docs for functools.cmp_to_key().

10 years agoRemove unused import
Raymond Hettinger [Sat, 8 Nov 2014 06:47:30 +0000 (22:47 -0800)]
Remove unused import

10 years agoSilence the failure of test_pyclbr after adding a property in sre_parse
Serhiy Storchaka [Fri, 7 Nov 2014 20:31:54 +0000 (22:31 +0200)]
Silence the failure of test_pyclbr after adding a property in sre_parse
(issue #814253).

10 years agoIssues #814253, #9179: Group references and conditional group references now
Serhiy Storchaka [Fri, 7 Nov 2014 19:43:45 +0000 (21:43 +0200)]
Issues #814253, #9179: Group references and conditional group references now
work in lookbehind assertions in regular expressions.

10 years agoBackported tests for issue #22406.
Serhiy Storchaka [Fri, 7 Nov 2014 12:07:43 +0000 (14:07 +0200)]
Backported tests for issue #22406.

10 years agoIssue #17293: uuid.getnode() now determines MAC address on AIX using netstat.
Serhiy Storchaka [Fri, 7 Nov 2014 10:19:23 +0000 (12:19 +0200)]
Issue #17293: uuid.getnode() now determines MAC address on AIX using netstat.
Based on patch by Aivars Kalvāns.

10 years agoIssue #22769: Fixed ttk.Treeview.tag_has() when called without arguments.
Serhiy Storchaka [Fri, 7 Nov 2014 10:02:11 +0000 (12:02 +0200)]
Issue #22769: Fixed ttk.Treeview.tag_has() when called without arguments.