]> granicus.if.org Git - python/log
python
9 years agoIssue #26167: Backported copy tests.
Serhiy Storchaka [Sun, 6 Mar 2016 13:03:16 +0000 (15:03 +0200)]
Issue #26167: Backported copy tests.

9 years agoIssue #26475: Fixed debugging output for regular expressions with the (?x) flag.
Serhiy Storchaka [Sun, 6 Mar 2016 07:15:47 +0000 (09:15 +0200)]
Issue #26475: Fixed debugging output for regular expressions with the (?x) flag.

9 years agoIssue #26486: Backported some pickle tests from 3.x.
Serhiy Storchaka [Sun, 6 Mar 2016 07:05:47 +0000 (09:05 +0200)]
Issue #26486: Backported some pickle tests from 3.x.

9 years agoIssue #26485: Fix Sphinx warning in Doc/license.rst
Berker Peksag [Sat, 5 Mar 2016 11:55:04 +0000 (13:55 +0200)]
Issue #26485: Fix Sphinx warning in Doc/license.rst

Patch by Julien.

9 years agoissue26484 - fix the broken table in the doc about len().
Gregory P. Smith [Sat, 5 Mar 2016 00:32:36 +0000 (16:32 -0800)]
issue26484 - fix the broken table in the doc about len().

9 years agoIssue #26476: Fixed compilation error when use PyErr_BadInternalCall() in C++.
Serhiy Storchaka [Thu, 3 Mar 2016 16:16:27 +0000 (18:16 +0200)]
Issue #26476: Fixed compilation error when use PyErr_BadInternalCall() in C++.
Patch by Jeroen Demeyer.

9 years agoIssue #26246: Set initial value of the hidden attr when creating copy button.
Berker Peksag [Wed, 2 Mar 2016 17:44:24 +0000 (19:44 +0200)]
Issue #26246: Set initial value of the hidden attr when creating copy button.

Patch by Liang-Bo Wang.

9 years agoIssue #26385: Cleanup NamedTemporaryFile if fdopen() fails, by SilentGhost
Martin Panter [Mon, 29 Feb 2016 00:31:38 +0000 (00:31 +0000)]
Issue #26385: Cleanup NamedTemporaryFile if fdopen() fails, by SilentGhost

9 years agoFix typo.
Georg Brandl [Sun, 28 Feb 2016 20:09:36 +0000 (21:09 +0100)]
Fix typo.

9 years agoIssue 13573: Document that csv.writer uses str() for floats instead of repr().
Raymond Hettinger [Sun, 28 Feb 2016 07:34:54 +0000 (23:34 -0800)]
Issue 13573: Document that csv.writer uses str() for floats instead of repr().

9 years agoIssue #22836: Keep exception reports sensible despite errors
Martin Panter [Sun, 28 Feb 2016 00:18:43 +0000 (00:18 +0000)]
Issue #22836: Keep exception reports sensible despite errors

9 years ago#26246: update copybutton.js after JQuery update. Patch by Liang-Bo Wang.
Ezio Melotti [Sat, 27 Feb 2016 06:39:36 +0000 (08:39 +0200)]
#26246: update copybutton.js after JQuery update.  Patch by Liang-Bo Wang.

9 years agoIssue #24421: Compile _math.c separately to avoid race condition
Martin Panter [Wed, 3 Feb 2016 05:19:44 +0000 (05:19 +0000)]
Issue #24421: Compile _math.c separately to avoid race condition

9 years agoFix rstlint to also look for indented comments that should be directives.
Georg Brandl [Thu, 25 Feb 2016 19:14:10 +0000 (20:14 +0100)]
Fix rstlint to also look for indented comments that should be directives.

9 years agoIssue #25801: Fixed resource warnings in test_zipfile64.
Serhiy Storchaka [Thu, 25 Feb 2016 10:55:19 +0000 (12:55 +0200)]
Issue #25801: Fixed resource warnings in test_zipfile64.
Patch by SilentGhost.

9 years agoIssue #25136: Add reference to 'xcode-select --install' to Mac README.
Ned Deily [Wed, 24 Feb 2016 14:33:51 +0000 (01:33 +1100)]
Issue #25136: Add reference to 'xcode-select --install' to Mac README.

9 years agoChange OS X installer builds targeted for 10.10 and above to build
Ned Deily [Wed, 24 Feb 2016 14:01:02 +0000 (01:01 +1100)]
Change OS X installer builds targeted for 10.10 and above to build
and link with a private copy of OpenSSL, like installers targeted
for 10.5 already do, since Apple has deprecated use of the system
OpenSSL and removed its header files from the Xcode 7 SDK.  Note
that this configuration is not currently used to build any
python.org-supplied installers and that the private copy of
OpenSSL requires its own root certificates.

9 years agoIssue #25136: Support Apple Xcode 7's new textual SDK stub libraries.
Ned Deily [Wed, 24 Feb 2016 13:55:24 +0000 (00:55 +1100)]
Issue #25136: Support Apple Xcode 7's new textual SDK stub libraries.

As of Xcode 7, SDKs for Apple platforms now include textual-format stub
libraries whose file names have a .tbd extension rather than the
standard OS X .dylib extension.  The Apple compiler tool chain handles
these stub libraries transparently and the installed system shared libraries
are still .dylibs.  However, the new stub libraries cause problems for
third-party programs that support building with Apple SDKs and make
build-time decisions based on the presence or paths of system-supplied
shared libraries in the SDK.  In particular, building Python itself with
an SDK fails to find system-supplied libraries during setup.py's build of
standard library extension modules.  The solution is to have
find_library_file() in Distutils search for .tbd files, along with
the existing types (.a, .so, and .dylib).  Patch by Tim Smith.

9 years agoIssue #5824: Fix DatagramRequestHandler tests by binding the client socket
Martin Panter [Wed, 24 Feb 2016 04:45:33 +0000 (04:45 +0000)]
Issue #5824: Fix DatagramRequestHandler tests by binding the client socket

9 years agoIssue #22088: Clarify base-64 alphabets and which characters are discarded
Martin Panter [Tue, 23 Feb 2016 22:30:50 +0000 (22:30 +0000)]
Issue #22088: Clarify base-64 alphabets and which characters are discarded

* There are only two base-64 alphabets defined by the RFCs, not three
* Due to the internal translation, plus (+) and slash (/) are never discarded
* standard_ and urlsafe_b64decode() discard characters as well

9 years agoIssue #26406: Avoid unnecessary serialization of getaddrinfo(3) calls on
Ned Deily [Tue, 23 Feb 2016 11:03:39 +0000 (22:03 +1100)]
Issue #26406: Avoid unnecessary serialization of getaddrinfo(3) calls on
current versions of OpenBSD and NetBSD.  Patch by A. Jesse Jiryu Davis.

9 years agoIssue #26417: Prevent spurious errors and incorrect defaults when
Ned Deily [Tue, 23 Feb 2016 09:45:57 +0000 (20:45 +1100)]
Issue #26417: Prevent spurious errors and incorrect defaults when
installing IDLE 2.7 on OS X: default configuration settings are
no longer installed from OS X specific copies.

9 years agoIssue #26268: Update Windows builds to use OpenSSL 1.0.2f
Zachary Ware [Mon, 22 Feb 2016 10:08:30 +0000 (04:08 -0600)]
Issue #26268: Update Windows builds to use OpenSSL 1.0.2f

9 years agoIssue #26261: Clarify NamedTemporaryFile name attribute vs file.name
Martin Panter [Mon, 22 Feb 2016 10:10:00 +0000 (10:10 +0000)]
Issue #26261: Clarify NamedTemporaryFile name attribute vs file.name

9 years agoFix errors in XML-RPC client example code
Martin Panter [Mon, 22 Feb 2016 09:10:54 +0000 (09:10 +0000)]
Fix errors in XML-RPC client example code

* httplib.HTTP (deprecated and does not work) → HTTPConnection
* Server (deprecated) → ServerProxy

9 years agoAdded simple threading example to logging cookbook.
Vinay Sajip [Sat, 20 Feb 2016 19:02:04 +0000 (19:02 +0000)]
Added simple threading example to logging cookbook.

9 years agoIssues #22468, #21996, #22208: Clarify gettarinfo() and TarInfo usage
Martin Panter [Fri, 19 Feb 2016 23:34:56 +0000 (23:34 +0000)]
Issues #22468, #21996, #22208: Clarify gettarinfo() and TarInfo usage

* Make it more obvious gettarinfo() is based on stat(), and that non-ordinary
  files may need special care
* Filename taken from fileobj.name; suggest dummy arcname as a workaround
* Indicate TarInfo may be used directly, not just via gettarinfo()

9 years agoCloses #20169: fix inner links random doc.
Georg Brandl [Fri, 19 Feb 2016 07:57:23 +0000 (08:57 +0100)]
Closes #20169: fix inner links random doc.

9 years agoIssue #15608: Improve socketserver module documentation
Martin Panter [Fri, 19 Feb 2016 03:27:46 +0000 (03:27 +0000)]
Issue #15608: Improve socketserver module documentation

* Add headings for each concrete and mix-in class and list methods and
  attributes under them
* Fix class and method cross references
* Changed RequestHandler to BaseRequestHandler and added class heading
* Pull out Stream/DatagramRequestHandler definitions
* Reordered the request handler setup(), handle(), finish() methods
* Document constructor parameters for the server classes

9 years agoIssue #26309: Rewrite test in main thread and avoid race condition
Martin Panter [Fri, 19 Feb 2016 02:16:42 +0000 (02:16 +0000)]
Issue #26309: Rewrite test in main thread and avoid race condition

9 years agoIssue #26309: Shut down SocketServer request if verify_request() is false
Martin Panter [Thu, 18 Feb 2016 10:43:55 +0000 (10:43 +0000)]
Issue #26309: Shut down SocketServer request if verify_request() is false

Based on patch by Aviv Palivoda.

9 years agofix typo (closes #26378)
Benjamin Peterson [Thu, 18 Feb 2016 07:42:46 +0000 (23:42 -0800)]
fix typo (closes #26378)

9 years agoopen the cert store readonly
Benjamin Peterson [Thu, 18 Feb 2016 06:13:19 +0000 (22:13 -0800)]
open the cert store readonly

Patch from Chi Hsuan Yen.

9 years agoIssue #25924: Avoid unnecessary serialization of getaddrinfo(3) calls on OS X
Ned Deily [Mon, 15 Feb 2016 05:51:24 +0000 (16:51 +1100)]
Issue #25924: Avoid unnecessary serialization of getaddrinfo(3) calls on OS X
versions 10.5 or higher.  Original patch by A. Jesse Jiryu Davis.

9 years agoIssue #26268: Update OS X 10.5+ installer build to use OpenSSL 1.0.2f.
Ned Deily [Mon, 15 Feb 2016 05:42:36 +0000 (16:42 +1100)]
Issue #26268: Update OS X 10.5+ installer build to use OpenSSL 1.0.2f.

9 years agoIssue #24303: Fix random EEXIST upon multiprocessing semaphores creation with
Charles-François Natali [Fri, 12 Feb 2016 22:39:21 +0000 (22:39 +0000)]
Issue #24303: Fix random EEXIST upon multiprocessing semaphores creation with
Linux PID namespaces enabled.

9 years agoCloses #26320: fix stylesheet after Sphinx update.
Georg Brandl [Wed, 10 Feb 2016 12:44:29 +0000 (13:44 +0100)]
Closes #26320: fix stylesheet after Sphinx update.

9 years agoIssue #25698: Importing module if the stack is too deep no longer replaces
Serhiy Storchaka [Wed, 10 Feb 2016 08:28:06 +0000 (10:28 +0200)]
Issue #25698: Importing module if the stack is too deep no longer replaces
imported module with the empty one.

9 years agoIssue #26304: Change "allows to <verb>" to "allows <verb>ing" or similar
Martin Panter [Wed, 10 Feb 2016 05:44:01 +0000 (05:44 +0000)]
Issue #26304: Change "allows to <verb>" to "allows <verb>ing" or similar

The original form is incorrect grammar and feels awkward, even though the
meaning is clear.

9 years agoIssues #26310, #26311: Fix typos in the documentation
Martin Panter [Wed, 10 Feb 2016 01:17:51 +0000 (01:17 +0000)]
Issues #26310, #26311: Fix typos in the documentation

9 years agoIssue #25983: Added tests for multi-argument type().
Serhiy Storchaka [Mon, 8 Feb 2016 18:27:52 +0000 (20:27 +0200)]
Issue #25983: Added tests for multi-argument type().

9 years agoClarify "cardinality of" as "number of elements in" as many readers do
Gregory P. Smith [Mon, 8 Feb 2016 17:59:14 +0000 (09:59 -0800)]
Clarify "cardinality of" as "number of elements in" as many readers do
not have a math vocabulary.

9 years agoUpdates build to use SHA256 hash when signing files
Steve Dower [Mon, 8 Feb 2016 17:26:25 +0000 (09:26 -0800)]
Updates build to use SHA256 hash when signing files

9 years agoIssue #26198: Fixed error messages for some argument parsing errors.
Serhiy Storchaka [Sun, 7 Feb 2016 23:05:48 +0000 (01:05 +0200)]
Issue #26198: Fixed error messages for some argument parsing errors.
Fixed the documented about buffer overflow error for "es#" and "et#" format
units.

9 years agofix hash member name (closes #22847)
Benjamin Peterson [Sun, 7 Feb 2016 06:36:06 +0000 (22:36 -0800)]
fix hash member name (closes #22847)

9 years agoIssue #25179: Preparatory cleanup of existing docs on string formatting
Martin Panter [Mon, 8 Feb 2016 01:34:09 +0000 (01:34 +0000)]
Issue #25179: Preparatory cleanup of existing docs on string formatting

* There was a link pointing to the section on the string.Formatter class (and
  multiple links in Python 3), when the section on the common format string
  syntax is probably more appropriate
* Fix references to various format() functions and methods
* Nested replacement fields may contain conversions and format specifiers,
  and this is tested in Python 3; see Issue #19729 for instance

9 years agoFix userinfo example presented in urllib2 howto.
Senthil Kumaran [Sat, 6 Feb 2016 03:35:57 +0000 (19:35 -0800)]
Fix userinfo example presented in urllib2 howto.

9 years agofix debug assertion
Benjamin Peterson [Fri, 5 Feb 2016 06:26:10 +0000 (22:26 -0800)]
fix debug assertion

10 years agoIssue #22847: Improve method cache efficiency.
Antoine Pitrou [Fri, 14 Nov 2014 23:56:27 +0000 (00:56 +0100)]
Issue #22847: Improve method cache efficiency.

9 years agoIssue #12923: Reset FancyURLopener's redirect counter even on exception
Martin Panter [Thu, 4 Feb 2016 06:01:35 +0000 (06:01 +0000)]
Issue #12923: Reset FancyURLopener's redirect counter even on exception

Based on patches by Brian Brazil and Daniel Rocco.

9 years agoPython for .NET has moved to Github.
Zachary Ware [Thu, 4 Feb 2016 04:05:46 +0000 (22:05 -0600)]
Python for .NET has moved to Github.

Reported by Denis Akhiyarov on docs@

9 years agoIssue #25945: Fixed bugs in functools.partial.
Serhiy Storchaka [Tue, 2 Feb 2016 16:45:59 +0000 (18:45 +0200)]
Issue #25945: Fixed bugs in functools.partial.
Fixed a crash when unpickle the functools.partial object with wrong state.
Fixed a leak in failed functools.partial constructor.
"args" and "keywords" attributes of functools.partial have now always types
tuple and dict correspondingly.

9 years agoIssue #26244: Clarify default zlib compression level in documentation
Martin Panter [Wed, 3 Feb 2016 07:06:33 +0000 (07:06 +0000)]
Issue #26244: Clarify default zlib compression level in documentation

Based on patch by Aviv Palivoda.

9 years agoIssue #26173: Separate bad cert file tests and client rejection test
Martin Panter [Mon, 1 Feb 2016 21:58:11 +0000 (21:58 +0000)]
Issue #26173: Separate bad cert file tests and client rejection test

Test test_wrong_cert() runs a server that rejects the client's certificate,
so ECONNRESET is reasonable in addition to SSLError. On the other hand, the
other three tests don't even need to run a server because they are just
testing the parsing of invalid certificate files.

This should fix intermittent failures on Windows where ECONNRESET was not
being caught.

9 years agoIssue #25934: Default to /fp:strict for ICC builds
Zachary Ware [Sat, 30 Jan 2016 01:06:00 +0000 (19:06 -0600)]
Issue #25934: Default to /fp:strict for ICC builds

9 years agoIssue #26173: Fix test_ssl confusion with non-existing cert and wrongcert.pem
Martin Panter [Sat, 30 Jan 2016 02:36:00 +0000 (02:36 +0000)]
Issue #26173: Fix test_ssl confusion with non-existing cert and wrongcert.pem

Testing for a non-existing certificate file is already done in test_errors().
The wrongcert.pem test was originally testing behaviour with a mismatched
certificate.

9 years agoIssue #19023: Document ctypes array and pointer classes
Martin Panter [Fri, 29 Jan 2016 10:12:19 +0000 (10:12 +0000)]
Issue #19023: Document ctypes array and pointer classes

Also add some more tests. Based on patch by Sye van der Veen.

9 years agoFixed a crash in new tests in test_getargs2 added in 60a2d67dacb3 (issue #26198).
Serhiy Storchaka [Thu, 28 Jan 2016 22:55:37 +0000 (00:55 +0200)]
Fixed a crash in new tests in test_getargs2 added in 60a2d67dacb3 (issue #26198).

9 years agoFixed an infinite loop in zipimport caused by cebcd2fd3e1f (issue #19883).
Serhiy Storchaka [Thu, 28 Jan 2016 22:37:28 +0000 (00:37 +0200)]
Fixed an infinite loop in zipimport caused by cebcd2fd3e1f (issue #19883).

9 years agoIssue #19883: Fixed possible integer overflows in zipimport.
Serhiy Storchaka [Thu, 28 Jan 2016 19:32:53 +0000 (21:32 +0200)]
Issue #19883: Fixed possible integer overflows in zipimport.

9 years agoIssue #26198: Added tests for string-related format units of PyArg_Parse*()
Serhiy Storchaka [Thu, 28 Jan 2016 17:56:04 +0000 (19:56 +0200)]
Issue #26198: Added tests for string-related format units of PyArg_Parse*()
functions: "s", "s*", "s#", "t#", "z", "z*", "z#", "w", "w*", "w#", "u",
"u#", "es", "et", "es#", "et#" and "c".

9 years agoIssue #25507: revert incorrect movement of idleConf import in a37ea1d56e98.
Terry Jan Reedy [Wed, 27 Jan 2016 16:51:45 +0000 (11:51 -0500)]
Issue #25507: revert incorrect movement of idleConf import in a37ea1d56e98.
Augment htest to include all major IOBinding functions.

9 years agoFix typo in test.rst
Berker Peksag [Mon, 25 Jan 2016 06:24:57 +0000 (08:24 +0200)]
Fix typo in test.rst

Reported by Mike Scalora on docs@p.o.

9 years agodoc: i18n HTML templates
Victor Stinner [Sat, 23 Jan 2016 11:55:11 +0000 (12:55 +0100)]
doc: i18n HTML templates

Issue #25907: Use {% trans %} tags in HTML templates to ease the translation of
the documentation. The tag comes from Jinja templating system, used by Sphinx.

Patch written by Julien Palard.

9 years agoPer issue21949 and issue1629: Document the Py_SIZE, Py_TYPE, Py_REFCNT macros.
Gregory P. Smith [Fri, 22 Jan 2016 21:17:41 +0000 (13:17 -0800)]
Per issue21949 and issue1629: Document the Py_SIZE, Py_TYPE, Py_REFCNT macros.
This was already done in the 3.5 branch; this just does the same in the 2.7
branch.

9 years agocode_richcompare() now uses the constants types
Victor Stinner [Fri, 22 Jan 2016 11:33:12 +0000 (12:33 +0100)]
code_richcompare() now uses the constants types

Issue #25843: When compiling code, don't merge constants if they are equal but
have a different types. For example, "f1, f2 = lambda: 1, lambda: 1.0" is now
correctly compiled to two different functions: f1() returns 1 (int) and f2()
returns 1.0 (int), even if 1 and 1.0 are equal.

Add a new _PyCode_ConstantKey() private function.

9 years agoreject negative data_size
Benjamin Peterson [Fri, 22 Jan 2016 06:02:46 +0000 (22:02 -0800)]
reject negative data_size

9 years agoUpgrade pip to 8.0.2
Donald Stufft [Fri, 22 Jan 2016 02:57:17 +0000 (21:57 -0500)]
Upgrade pip to 8.0.2

9 years agoIssue #18620: Improve Pool examples in multiprocessing documentation
Berker Peksag [Thu, 21 Jan 2016 22:07:00 +0000 (00:07 +0200)]
Issue #18620: Improve Pool examples in multiprocessing documentation

A single call to Pool.apply_async() will create only one process. To use all
of the pool's processes, it should be invoked multiple times:

    with Pool(processes=4) as pool:
        results = [pool.apply_async(func, ()) for i in range(4)]

Patch by Davin Potts.

9 years agoIssue #26106: doc: Move text of licenses to parsed literal block
Victor Stinner [Thu, 21 Jan 2016 07:56:00 +0000 (08:56 +0100)]
Issue #26106: doc: Move text of licenses to parsed literal block

This change helps to ignore text of PSF, BEOPEN.com and CNRI licenses when
translating the documentation. Patch written by Julien Palard who is
translating Python 3.5 doc to french. Text of other licenses already used
preformatted format.

9 years agoprevent buffer overflow in get_data (closes #26171)
Benjamin Peterson [Thu, 21 Jan 2016 06:23:44 +0000 (22:23 -0800)]
prevent buffer overflow in get_data (closes #26171)

9 years agofix refleak in error condition
Benjamin Peterson [Thu, 21 Jan 2016 06:06:43 +0000 (22:06 -0800)]
fix refleak in error condition

9 years agoReplace fpgetmask() with fedisableexcept()
Victor Stinner [Wed, 20 Jan 2016 21:30:58 +0000 (22:30 +0100)]
Replace fpgetmask() with fedisableexcept()

Issue #24520: On FreeBSD, fpgetmask() was deprecated long time ago.
fedisableexcept() is now preferred.

9 years agoissue25982 - Add a class definition for managers.Namespace in the multiprocessing...
Senthil Kumaran [Wed, 20 Jan 2016 11:18:48 +0000 (03:18 -0800)]
issue25982 - Add a class definition for managers.Namespace in the multiprocessing docs.

9 years agoIssue #26147: xmlrpclib now works with unicode not encodable with used
Serhiy Storchaka [Wed, 20 Jan 2016 08:33:51 +0000 (10:33 +0200)]
Issue #26147: xmlrpclib now works with unicode not encodable with used
non-UTF-8 encoding.

9 years agoIssue #25925: Backport C coverage reporting Makefile targets
Zachary Ware [Wed, 20 Jan 2016 06:11:52 +0000 (00:11 -0600)]
Issue #25925: Backport C coverage reporting Makefile targets

Originally added by Christian Heimes in 85ec2b5bfcd2.

Initial patch for the backport by Alecsandru Patrascu.

9 years agoUpgrade pip to 8.0.0 and setuptools to 19.4
Donald Stufft [Wed, 20 Jan 2016 01:17:03 +0000 (20:17 -0500)]
Upgrade pip to 8.0.0 and setuptools to 19.4

9 years agoIssue #16620: Fixed AttributeError in msilib.Directory.glob().
Serhiy Storchaka [Tue, 19 Jan 2016 11:55:36 +0000 (13:55 +0200)]
Issue #16620: Fixed AttributeError in msilib.Directory.glob().

9 years agoadd space
Benjamin Peterson [Tue, 19 Jan 2016 05:18:49 +0000 (21:18 -0800)]
add space

9 years agoset tp_new from the class in the hierarchy that actually owns the descriptor (closes...
Benjamin Peterson [Tue, 19 Jan 2016 05:17:54 +0000 (21:17 -0800)]
set tp_new from the class in the hierarchy that actually owns the descriptor (closes #25731)

Debugging by Eryk Sun.

9 years agoIssue #9006: Added tests for XML RPC with non-UTF-8 encoding.
Serhiy Storchaka [Mon, 18 Jan 2016 17:38:53 +0000 (19:38 +0200)]
Issue #9006: Added tests for XML RPC with non-UTF-8 encoding.

9 years agoIssue #21847: Fixed xmlrpclib and tests on Unicode-disabled builds.
Serhiy Storchaka [Mon, 18 Jan 2016 17:35:23 +0000 (19:35 +0200)]
Issue #21847: Fixed xmlrpclib and tests on Unicode-disabled builds.

9 years agoIssue #6500: Fixed infinite recursion in urllib2.Request.__getattr__().
Serhiy Storchaka [Mon, 18 Jan 2016 08:35:40 +0000 (10:35 +0200)]
Issue #6500: Fixed infinite recursion in urllib2.Request.__getattr__().

9 years agoIssue26017 - Suggest enclosing command args in double quotes when using characters...
Senthil Kumaran [Mon, 18 Jan 2016 02:45:11 +0000 (18:45 -0800)]
Issue26017 - Suggest enclosing command args in double quotes when using characters which get interpreted by shell.

9 years agoIssue26142 - Fix a formatting bug in c-api intro doc.
Senthil Kumaran [Mon, 18 Jan 2016 01:05:14 +0000 (17:05 -0800)]
Issue26142 - Fix a formatting bug in c-api intro doc.

9 years agoIssue #25905: Specify 'ascii' encoding for README.txt and NEWS.txt.
Terry Jan Reedy [Sun, 17 Jan 2016 04:43:58 +0000 (23:43 -0500)]
Issue #25905: Specify 'ascii' encoding for README.txt and NEWS.txt.
Re-encode CREDITS.txt to utf-8 and open it with 'utf-8'.

9 years agoIssue #25824: Fixes sys.winver to not include any architecture suffix.
Steve Dower [Sat, 16 Jan 2016 21:41:48 +0000 (13:41 -0800)]
Issue #25824: Fixes sys.winver to not include any architecture suffix.

9 years agoIssue26035 - Correct the argument names used in the docs of the traceback module...
Senthil Kumaran [Sat, 16 Jan 2016 06:13:16 +0000 (22:13 -0800)]
Issue26035 - Correct the argument names used in the docs of the traceback module. Make it consistent with module args.

9 years agoIssue #14771: Redirect GDB's stdin to avoid messing the terminal settings
Martin Panter [Sat, 16 Jan 2016 05:07:35 +0000 (05:07 +0000)]
Issue #14771: Redirect GDB's stdin to avoid messing the terminal settings

Otherwise, GDB seems to affect the terminal's foreground process group,
interfering with test_ioctl, which does not expect the foreground process to
change during the test. This change also solves the problem of the tests
being stopped in the shell if test_gdb is run twice in parallel.

9 years agoIssue #26127: Fix links in tokenize documentation
Martin Panter [Sat, 16 Jan 2016 04:32:52 +0000 (04:32 +0000)]
Issue #26127: Fix links in tokenize documentation

9 years agoIssue #26114: Remove mention of 'Numerical Recipes'.
Brett Cannon [Fri, 15 Jan 2016 17:41:49 +0000 (09:41 -0800)]
Issue #26114: Remove mention of 'Numerical Recipes'.

9 years agoIssue26097 - Fix the TextTestRunner documentation, mention all the arguments of the...
Senthil Kumaran [Fri, 15 Jan 2016 05:57:57 +0000 (21:57 -0800)]
Issue26097 - Fix the TextTestRunner documentation, mention all the arguments of the class.

Patch contributed by Nicolas Évrard.

9 years agoIssue #25940: Use self-signed.pythontest.net in SSL tests
Martin Panter [Fri, 15 Jan 2016 00:25:29 +0000 (00:25 +0000)]
Issue #25940: Use self-signed.pythontest.net in SSL tests

This is instead of svn.python.org, whose certificate recently expired, and
whose new certificate uses a different root certificate.

The certificate used at the pythontest server was modifed to set the "basic
constraints" CA flag. This flag seems to be required for test_get_ca_certs_
capath() to work.

Added the new self-signed certificate to capath with the following commands:

cp Lib/test/{selfsigned_pythontestdotnet.pem,capath/}
c_rehash -v Lib/test/capath/
c_rehash -v -old Lib/test/capath/
# Note the generated file names
cp Lib/test/capath/{selfsigned_pythontestdotnet.pem,0e4015b9.0}
mv Lib/test/capath/{selfsigned_pythontestdotnet.pem,ce7b8643.0}

When attempting to connect to port 444 on the new server, the resulting error
code is EHOSTUNREACH on Linux, and ETIMEDOUT on Windows.

9 years ago#7944: close files explicitly in test_tarfile (backport d560eece0857).
Ezio Melotti [Wed, 13 Jan 2016 20:21:21 +0000 (22:21 +0200)]
#7944: close files explicitly in test_tarfile (backport d560eece0857).

9 years agoConvert test_tarfile to ASCII (backport c1ed490bd266).
Ezio Melotti [Wed, 13 Jan 2016 17:36:49 +0000 (19:36 +0200)]
Convert test_tarfile to ASCII (backport c1ed490bd266).

9 years ago#25574: backport glossary doc fix about hash and id of user-defined classes.
Ezio Melotti [Tue, 12 Jan 2016 09:36:25 +0000 (11:36 +0200)]
#25574: backport glossary doc fix about hash and id of user-defined classes.

9 years ago#19006: fix wording in unittest docs.
Ezio Melotti [Tue, 12 Jan 2016 09:03:10 +0000 (11:03 +0200)]
#19006: fix wording in unittest docs.

9 years agoIssue #25348: Add --pgo and --pgo-job flags to PCbuild\build.bat
Zachary Ware [Tue, 12 Jan 2016 07:20:33 +0000 (01:20 -0600)]
Issue #25348: Add --pgo and --pgo-job flags to PCbuild\build.bat

9 years agoMerge heads.
Ezio Melotti [Mon, 11 Jan 2016 22:11:24 +0000 (00:11 +0200)]
Merge heads.

9 years ago#25517: fix regex in the regex howto. Patch by Elena Oat.
Ezio Melotti [Mon, 11 Jan 2016 22:07:23 +0000 (00:07 +0200)]
#25517: fix regex in the regex howto.  Patch by Elena Oat.