]> granicus.if.org Git - python/log
python
9 years agoIssue #4806: Avoid masking original TypeError in call with * unpacking
Martin Panter [Sun, 31 Jan 2016 06:30:56 +0000 (06:30 +0000)]
Issue #4806: Avoid masking original TypeError in call with * unpacking

Based on patch by Hagen Fürstenau and Daniel Urban.

9 years agoIssue #25934: Default to /fp:strict for ICC builds
Zachary Ware [Sat, 30 Jan 2016 01:08:55 +0000 (19:08 -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 03:41:43 +0000 (03:41 +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().
Copy wrongcert.pem from Python 2 and use it to test the behaviour with a
mismatched certificate.

9 years agoIssue #26202: copy.deepcopy() now correctly copies range() objects with
Serhiy Storchaka [Thu, 28 Jan 2016 19:43:35 +0000 (21:43 +0200)]
Issue #26202: copy.deepcopy() now correctly copies range() objects with
non-atomic attributes.

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

9 years agoMerge heads
Serhiy Storchaka [Thu, 28 Jan 2016 17:56:40 +0000 (19:56 +0200)]
Merge heads

9 years agoIssue #26198: Added tests for "es", "et", "es#", "et#" and "C" format units
Serhiy Storchaka [Thu, 28 Jan 2016 17:49:54 +0000 (19:49 +0200)]
Issue #26198: Added tests for "es", "et", "es#", "et#" and "C" format units
of PyArg_Parse*() functions.

9 years agoBackport fixes on test_eintr
Victor Stinner [Thu, 28 Jan 2016 17:13:45 +0000 (18:13 +0100)]
Backport fixes on test_eintr

* Issue #25234: Skip test_eintr.test_open() under OS X to avoid hanging
* Issue #25868: Try to make test_eintr.test_sigwaitinfo() more reliable
  especially on slow buildbots. Use a pipe to synchronize the parent and the
  child processes.

9 years agoIssue #24705: Add a test case for ef84d21f5292
Berker Peksag [Thu, 28 Jan 2016 14:58:00 +0000 (16:58 +0200)]
Issue #24705: Add a test case for ef84d21f5292

9 years agoWindows: Decode hostname from ANSI code page
Victor Stinner [Thu, 28 Jan 2016 14:41:01 +0000 (15:41 +0100)]
Windows: Decode hostname from ANSI code page

Issue #26227: On Windows, getnameinfo(), gethostbyaddr() and gethostbyname_ex()
functions of the socket module now decode the hostname from the ANSI code page
rather than UTF-8.

9 years agoAdd a link to PEP 384 in stable.rst
Berker Peksag [Thu, 28 Jan 2016 10:42:26 +0000 (12:42 +0200)]
Add a link to PEP 384 in stable.rst

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 agoIssue #26034: Improve wording of clear parameter
Berker Peksag [Thu, 28 Jan 2016 07:13:14 +0000 (09:13 +0200)]
Issue #26034: Improve wording of clear parameter

9 years agoIssue #26034: Sync documentation of --clear with its behavior
Berker Peksag [Thu, 28 Jan 2016 07:01:26 +0000 (09:01 +0200)]
Issue #26034: Sync documentation of --clear with its behavior

Most of the docs has already been updated in c3c188a0325a.

9 years agoIssue #26199: Fix broken link in unittest.mock-examples.rst
Berker Peksag [Thu, 28 Jan 2016 06:40:03 +0000 (08:40 +0200)]
Issue #26199: Fix broken link in unittest.mock-examples.rst

Patch by Raphael Das Gupta.

9 years agoIssue #26220: Remove outdated comment about a question mark
Martin Panter [Fri, 29 Jan 2016 04:01:16 +0000 (04:01 +0000)]
Issue #26220: Remove outdated comment about a question mark

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

9 years agoFix resize_compact()
Victor Stinner [Wed, 27 Jan 2016 15:56:53 +0000 (16:56 +0100)]
Fix resize_compact()

Issue #26217: resize_compact() must set wstr_length to 0 after freeing the wstr
string. Otherwise, an assertion fails in _PyUnicode_CheckConsistency().

9 years agoIssue #26194: Fix undefined behavior for deque.insert() when len(d) == maxlen
Raymond Hettinger [Wed, 27 Jan 2016 05:44:16 +0000 (21:44 -0800)]
Issue #26194: Fix undefined behavior for deque.insert() when len(d) == maxlen

9 years agoRemove unnecessary test case comment in urllib.parse.py. These are asserted as test...
Senthil Kumaran [Tue, 26 Jan 2016 02:53:34 +0000 (18:53 -0800)]
Remove unnecessary test case comment in urllib.parse.py. These are asserted as test cases.

9 years agoFix a typo in a code example
Brett Cannon [Fri, 22 Jan 2016 22:03:27 +0000 (14:03 -0800)]
Fix a typo in a code example

9 years agodoc: i18n HTML templates
Victor Stinner [Fri, 22 Jan 2016 17:00:05 +0000 (18:00 +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 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 agomerge 3.4
Benjamin Peterson [Fri, 22 Jan 2016 06:03:55 +0000 (22:03 -0800)]
merge 3.4

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 agominor clarification on Zipfile 'x' mode - exclusive creation of a file.
Senthil Kumaran [Fri, 22 Jan 2016 05:06:47 +0000 (21:06 -0800)]
minor clarification on Zipfile 'x' mode - exclusive creation of a file.

9 years agoMerge update to pip
Donald Stufft [Fri, 22 Jan 2016 02:56:06 +0000 (21:56 -0500)]
Merge update to pip

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

9 years agoIssue #18620: Improve Pool examples in multiprocessing documentation
Berker Peksag [Thu, 21 Jan 2016 21:59:49 +0000 (23:59 +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 agoissue25909 - Correct the documentation of PyMapping_Items, PyMapping_Keys and
Senthil Kumaran [Thu, 21 Jan 2016 17:37:28 +0000 (09:37 -0800)]
issue25909 - Correct the documentation of PyMapping_Items, PyMapping_Keys and
PyMapping_Values in Include/abstract.h and Doc/c-api/mapping.rst.

Patch contributed by Sonali Gupta.

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 agomerge 3.4 (#26171)
Benjamin Peterson [Thu, 21 Jan 2016 06:25:06 +0000 (22:25 -0800)]
merge 3.4 (#26171)

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 agomerge 3.4
Benjamin Peterson [Thu, 21 Jan 2016 06:07:43 +0000 (22:07 -0800)]
merge 3.4

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 agomerge 3.4 (#26172)
Benjamin Peterson [Thu, 21 Jan 2016 06:02:47 +0000 (22:02 -0800)]
merge 3.4 (#26172)

9 years agoremove script from epub (closes #26172)
Benjamin Peterson [Thu, 21 Jan 2016 06:02:30 +0000 (22:02 -0800)]
remove script from epub (closes #26172)

9 years agoReplace fpgetmask() with fedisableexcept()
Victor Stinner [Wed, 20 Jan 2016 21:27:34 +0000 (22:27 +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:10:13 +0000 (03:10 -0800)]
issue25982 - Add a class definition for managers.Namespace in the multiprocessing docs.

9 years agoAdd _PyThreadState_UncheckedGet()
Victor Stinner [Wed, 20 Jan 2016 10:12:38 +0000 (11:12 +0100)]
Add _PyThreadState_UncheckedGet()

Issue #26154: Add a new private _PyThreadState_UncheckedGet() function which
gets the current thread state, but don't call Py_FatalError() if it is NULL.

Python 3.5.1 removed the _PyThreadState_Current symbol from the Python C API to
no more expose complex and private atomic types. Atomic types depends on the
compiler or can even depend on compiler options. The new function
_PyThreadState_UncheckedGet() allows to get the variable value without having
to care of the exact implementation of atomic types.

Changes:

* Replace direct usage of the _PyThreadState_Current variable with a call to
  _PyThreadState_UncheckedGet().
* In pystate.c, replace direct usage of the _PyThreadState_Current variable
  with the PyThreadState_GET() macro for readability.
* Document also PyThreadState_Get() in pystate.h

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

9 years agoIssue #5626: Remove misleading comment from socket.gethostname() documentation
Berker Peksag [Wed, 20 Jan 2016 06:45:37 +0000 (08:45 +0200)]
Issue #5626: Remove misleading comment from socket.gethostname() documentation

A machine can have more than one IP addresses so
socket.gethostbyname(socket.gethostname()) probably won't return the correct
one.

9 years agoIssue #26157: Fix typos in asyncio-eventloop.rst
Berker Peksag [Wed, 20 Jan 2016 05:14:22 +0000 (07:14 +0200)]
Issue #26157: Fix typos in asyncio-eventloop.rst

Initial patch by Carlo Beccarini.

9 years agoMerge update to pip/setuptools
Donald Stufft [Wed, 20 Jan 2016 01:14:39 +0000 (20:14 -0500)]
Merge update to pip/setuptools

9 years agoUpdate pip to 8.0.0 and setuptools to 19.4
Donald Stufft [Wed, 20 Jan 2016 01:13:51 +0000 (20:13 -0500)]
Update pip to 8.0.0 and setuptools to 19.4

9 years agoIssue #25935: Garbage collector now breaks reference loops with OrderedDict.
Serhiy Storchaka [Tue, 19 Jan 2016 12:46:25 +0000 (14:46 +0200)]
Issue #25935: Garbage collector now breaks reference loops with OrderedDict.

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 agoFix BytecodeTestCase.assertNotInBytecode()
Victor Stinner [Tue, 19 Jan 2016 07:48:48 +0000 (08:48 +0100)]
Fix BytecodeTestCase.assertNotInBytecode()

Issue #11816: Fix bytecode_helper to handle correctly errors. Don't use
unassigned variables.

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

Debugging by Eryk Sun.

9 years agoissue23962 - Reference the correct TimeoutError in concurrent.futures documentation.
Senthil Kumaran [Tue, 19 Jan 2016 02:45:00 +0000 (18:45 -0800)]
issue23962 - Reference the correct TimeoutError in concurrent.futures documentation.

Patch contributed by Ryder Lewis.

9 years agoIssue #25859: Reimplement NNTP test_starttls() using local server
Martin Panter [Tue, 19 Jan 2016 01:10:58 +0000 (01:10 +0000)]
Issue #25859: Reimplement NNTP test_starttls() using local server

The previous test relied on a remote server, which currently seems to be
shutting the connection down once TLS has been set up, causing an EOFError.
Now the test is implemented using a minimal NNTP server running in a
background thread.

9 years agoIssue #25366: Skip test_with_pip when threading module is not available
Berker Peksag [Tue, 19 Jan 2016 00:01:53 +0000 (02:01 +0200)]
Issue #25366: Skip test_with_pip when threading module is not available

Some dependencies of pip import threading module unconditionally so
we need to skip the test to make buildbots happy.

9 years agoAdded exceptins for testing non-reversible import mapping for Issue #26013.
Serhiy Storchaka [Mon, 18 Jan 2016 20:33:44 +0000 (22:33 +0200)]
Added exceptins for testing non-reversible import mapping for Issue #26013.

9 years agoIssue #26013: Added compatibility with broken protocol 2 pickles created
Serhiy Storchaka [Mon, 18 Jan 2016 19:35:22 +0000 (21:35 +0200)]
Issue #26013: Added compatibility with broken protocol 2 pickles created
in old Python 3 versions (3.4.3 and lower).

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

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

9 years agoIssue #25905: Specify 'ascii' encoding for README.txt and NEWS.txt.
Terry Jan Reedy [Sun, 17 Jan 2016 04:44:04 +0000 (23:44 -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 agoIssue26135 - In the tutorial section on modules, reference importlib.reload instead...
Senthil Kumaran [Sun, 17 Jan 2016 02:43:24 +0000 (18:43 -0800)]
Issue26135 - In the tutorial section on modules, reference importlib.reload instead of imp.reload.

9 years agoIssue #26071: bdist_wininst created binaries fail to start and find 32bit Python
Steve Dower [Sat, 16 Jan 2016 21:54:53 +0000 (13:54 -0800)]
Issue #26071: bdist_wininst created binaries fail to start and find 32bit Python

9 years agoIssue #26073: Update the list of magic numbers in launcher
Steve Dower [Sat, 16 Jan 2016 21:48:06 +0000 (13:48 -0800)]
Issue #26073: Update the list of magic numbers in launcher

9 years agoIssue #26065: Excludes venv from library when generating embeddable distro.
Steve Dower [Sat, 16 Jan 2016 21:44:43 +0000 (13:44 -0800)]
Issue #26065: Excludes venv from library when generating embeddable distro.

9 years agoIssue #25850: Use cross-compilation by default for 64-bit Windows.
Steve Dower [Sat, 16 Jan 2016 20:39:10 +0000 (12:39 -0800)]
Issue #25850: Use cross-compilation by default for 64-bit Windows.

9 years agoIssue #25089: Adds short documentation section for modifying an install.
Steve Dower [Sat, 16 Jan 2016 19:58:30 +0000 (11:58 -0800)]
Issue #25089: Adds short documentation section for modifying an install.

9 years ago Issue26035 - Correct the argument names used in the docs of the traceback module...
Senthil Kumaran [Sat, 16 Jan 2016 05:45:17 +0000 (21:45 -0800)]
 Issue26035 - Correct the argument names used in the docs of the traceback module. Make it consistent with module args.

 Patch contributed by Upendra Kumar.

9 years agoIssue #14771: Redirect GDB's stdin to avoid messing the terminal settings
Martin Panter [Sat, 16 Jan 2016 05:18:47 +0000 (05:18 +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; patch by Silent Ghost
Martin Panter [Sat, 16 Jan 2016 04:32:52 +0000 (04:32 +0000)]
Issue #26127: Fix links in tokenize documentation; patch by Silent Ghost

9 years agoMake the error message regex more lenient so that it matches both
Gregory P. Smith [Sat, 16 Jan 2016 01:30:24 +0000 (17:30 -0800)]
Make the error message regex more lenient so that it matches both
"certificate verify failed " and "CERTIFICATE_VERIFY_FAILED " as
some SSL libraries use different text than OpenSSL.

9 years agoMake the error message regex more lenient so that it matches both
Gregory P. Smith [Sat, 16 Jan 2016 01:29:45 +0000 (17:29 -0800)]
Make the error message regex more lenient so that it matches both
"certificate verify failed " and "CERTIFICATE_VERIFY_FAILED " as
some SSL libraries use different text than OpenSSL.

9 years agoIssue #17633: Improve support for namespace packages with zipimport.
Brett Cannon [Fri, 15 Jan 2016 19:22:19 +0000 (11:22 -0800)]
Issue #17633: Improve support for namespace packages with zipimport.

Previously zipimport mistakenly limited namespace support to only the
top-level of the zipfile when it should have supported an arbitrary
depth.

Thanks to Phil Connel for the bug report and initial patch and Mike
Romberg for the final patch.

9 years agoAdd some "used with permission" mentions where external resources are referenced.
Brett Cannon [Fri, 15 Jan 2016 17:53:51 +0000 (09:53 -0800)]
Add some "used with permission" mentions where external resources are referenced.

Permission was validated prior to adding these markings.

9 years agoIssue #26114: Remove a reference to 'Numerical Recipes'.
Brett Cannon [Fri, 15 Jan 2016 17:38:24 +0000 (09:38 -0800)]
Issue #26114: Remove a reference to 'Numerical Recipes'.

While no copyright violation occurred, the license which
'Numerical Recipes' operates under is not amenable to Python,
so to prevent confusion it's easier to simply remove its mention.

9 years agoIssue #25940: Merge ETIMEDOUT fix from 3.4 into 3.5
Martin Panter [Fri, 15 Jan 2016 02:28:59 +0000 (02:28 +0000)]
Issue #25940: Merge ETIMEDOUT fix from 3.4 into 3.5

9 years agoIssue #25940: Merge ETIMEDOUT fix from 3.3 into 3.4
Martin Panter [Fri, 15 Jan 2016 02:18:31 +0000 (02:18 +0000)]
Issue #25940: Merge ETIMEDOUT fix from 3.3 into 3.4

9 years agoIssue #25940: Merge ETIMEDOUT fix from 3.2 into 3.3
Martin Panter [Fri, 15 Jan 2016 02:08:13 +0000 (02:08 +0000)]
Issue #25940: Merge ETIMEDOUT fix from 3.2 into 3.3

9 years agoIssue #25940: On Windows, connecting to port 444 returns ETIMEDOUT
Martin Panter [Fri, 15 Jan 2016 01:16:41 +0000 (01:16 +0000)]
Issue #25940: On Windows, connecting to port 444 returns ETIMEDOUT

9 years agoIssue #25940: Update new SSL tests for self-signed.pythontest.net
Martin Panter [Thu, 14 Jan 2016 13:05:46 +0000 (13:05 +0000)]
Issue #25940: Update new SSL tests for self-signed.pythontest.net

Removed SSL_ERROR_SYSCALL checking from ssl_io_loop() so that the loop can
terminate when unwrap() raises that error.

9 years agoIssue #25940: Merge self-signed.pythontest.net testing from 3.4 into 3.5
Martin Panter [Thu, 14 Jan 2016 13:22:29 +0000 (13:22 +0000)]
Issue #25940: Merge self-signed.pythontest.net testing from 3.4 into 3.5

9 years agodictobject.c(dict_sizeof): Make it static again.
doko@ubuntu.com [Thu, 14 Jan 2016 13:04:59 +0000 (14:04 +0100)]
dictobject.c(dict_sizeof): Make it static again.

9 years agoIssue #25940: Update new SSL tests for self-signed.pythontest.net
Martin Panter [Thu, 14 Jan 2016 12:53:56 +0000 (12:53 +0000)]
Issue #25940: Update new SSL tests for self-signed.pythontest.net

9 years agoIssue #25940: Merge self-signed.pythontest.net testing from 3.3 into 3.4
Martin Panter [Thu, 14 Jan 2016 12:46:49 +0000 (12:46 +0000)]
Issue #25940: Merge self-signed.pythontest.net testing from 3.3 into 3.4

9 years agoIssue #25940: Merge self-signed.pythontest.net testing from 3.2 into 3.3
Martin Panter [Thu, 14 Jan 2016 12:21:02 +0000 (12:21 +0000)]
Issue #25940: Merge self-signed.pythontest.net testing from 3.2 into 3.3

9 years agoIssue #25940: Use self-signed.pythontest.net in SSL tests
Martin Panter [Thu, 14 Jan 2016 09:36:00 +0000 (09:36 +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 (in Python 3.4+).

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}

The new server responds with "No route to host" when connecting to port 444.

9 years ago#26001: mention in the tutorial that files in binary mode expect bytes, not str.
Ezio Melotti [Tue, 12 Jan 2016 09:27:30 +0000 (11:27 +0200)]
#26001: mention in the tutorial that files in binary mode expect bytes, not str.

9 years ago#19006: fix wording in unittest docs.
Ezio Melotti [Tue, 12 Jan 2016 09:03:31 +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:26:50 +0000 (01:26 -0600)]
Issue #25348: Add --pgo and --pgo-job flags to PCbuild\build.bat

9 years agoIssue #25486: Drop "removed in 3.6" wording from inspect.getargspec docs.
Yury Selivanov [Tue, 12 Jan 2016 02:04:50 +0000 (21:04 -0500)]
Issue #25486: Drop "removed in 3.6" wording from inspect.getargspec docs.

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

9 years ago#25991: fix readline example to limit history size. Patch by Daniel Dye.
Ezio Melotti [Mon, 11 Jan 2016 21:30:56 +0000 (23:30 +0200)]
#25991: fix readline example to limit history size.  Patch by Daniel Dye.

9 years agoMerge heads.
Barry Warsaw [Mon, 11 Jan 2016 20:53:19 +0000 (15:53 -0500)]
Merge heads.

9 years ago- Issue #24705: Fix sysconfig._parse_makefile not expanding ${} vars
doko@ubuntu.com [Mon, 11 Jan 2016 20:41:40 +0000 (21:41 +0100)]
- Issue #24705: Fix sysconfig._parse_makefile not expanding ${} vars
  appearing before $() vars.

9 years agoComment out some tests that won't pass now that we've reverted the
Barry Warsaw [Mon, 11 Jan 2016 20:14:53 +0000 (15:14 -0500)]
Comment out some tests that won't pass now that we've reverted the
picklability regression.  Also, as per further discussion, remove the
regressing code.

9 years agoIssue #22995: [UPDATE] Comment out the one of the pickleability tests in
Barry Warsaw [Mon, 11 Jan 2016 18:24:02 +0000 (13:24 -0500)]
Issue #22995: [UPDATE] Comment out the one of the pickleability tests in
_PyObject_GetState() due to regressions observed in Cython-based projects.

9 years agoMerge 3.4 (Issue #26050)
Yury Selivanov [Mon, 11 Jan 2016 17:30:56 +0000 (12:30 -0500)]
Merge 3.4 (Issue #26050)

9 years agoIssue #26050: Add asyncio.StreamReader.readuntil() method.
Yury Selivanov [Mon, 11 Jan 2016 17:28:19 +0000 (12:28 -0500)]
Issue #26050: Add asyncio.StreamReader.readuntil() method.

Patch by Марк Коренберг.

9 years agoFix versionadded to use 3.5.1 only for 3.5 branch
Andrew Svetlov [Mon, 11 Jan 2016 13:41:43 +0000 (15:41 +0200)]
Fix versionadded to use 3.5.1 only for 3.5 branch

9 years agomerge 3.4
Andrew Svetlov [Mon, 11 Jan 2016 12:45:25 +0000 (14:45 +0200)]
merge 3.4

9 years agoDocument asyncio.timeout()
Andrew Svetlov [Mon, 11 Jan 2016 12:40:35 +0000 (14:40 +0200)]
Document asyncio.timeout()

9 years agomerge 3.4
Andrew Svetlov [Mon, 11 Jan 2016 10:25:40 +0000 (12:25 +0200)]
merge 3.4

9 years agoSync with asyncio
Andrew Svetlov [Mon, 11 Jan 2016 10:25:23 +0000 (12:25 +0200)]
Sync with asyncio

9 years agoAdd missing Misc/NEWS update
Andrew Svetlov [Mon, 11 Jan 2016 07:16:58 +0000 (09:16 +0200)]
Add missing Misc/NEWS update