]> granicus.if.org Git - python/log
python
8 years agoIssue #26709: Fixed Y2038 problem in loading binary PLists.
Serhiy Storchaka [Fri, 8 Apr 2016 12:00:02 +0000 (15:00 +0300)]
Issue #26709: Fixed Y2038 problem in loading binary PLists.

8 years agoIssue #26257: Eliminate buffer_tests.py and fix ByteArrayAsStringTest
Martin Panter [Wed, 6 Apr 2016 06:37:17 +0000 (06:37 +0000)]
Issue #26257: Eliminate buffer_tests.py and fix ByteArrayAsStringTest

ByteArrayAsStringTest.fixtype() was converting test data to bytes, not byte-
array, therefore many of the test cases inherited in this class were not
actually being run on the bytearray type.

The tests in buffer_tests.py were redundant with methods in string_tests
.MixinStrUnicodeUserStringTest and string_tests.CommonTest. These methods are
now moved into string_tests.BaseTest, where they will also get run for bytes
and bytearray.

This change also moves test_additional_split(), test_additional_rsplit(), and
test_strip() from CommonTest to BaseTest, meaning these tests are now run for
bytes and bytearray. I plan to eliminate redundancies with existing tests in
test_bytes.py soon.

8 years agoAdds version info to all signed binaries on Windows.
Steve Dower [Wed, 6 Apr 2016 19:35:24 +0000 (12:35 -0700)]
Adds version info to all signed binaries on Windows.

8 years agoIssue #22570: Renamed Py_SETREF to Py_XSETREF.
Serhiy Storchaka [Wed, 6 Apr 2016 06:45:48 +0000 (09:45 +0300)]
Issue #22570: Renamed Py_SETREF to Py_XSETREF.

8 years agoAdd Text=str. Make ItemsView derive from AbstractSet, not Set (which is the concrete...
Guido van Rossum [Tue, 5 Apr 2016 21:54:25 +0000 (14:54 -0700)]
Add Text=str. Make ItemsView derive from AbstractSet, not Set (which is the concrete set).

8 years agoMany changes from the upstream repo (https://github.com/python/typing).
Guido van Rossum [Tue, 5 Apr 2016 15:28:52 +0000 (08:28 -0700)]
Many changes from the upstream repo (https://github.com/python/typing).

This syncs to rev 7b43ada77821d23e55e3a4b35f6055a59b9e1ad7 there.

Summary:

- Add typing.DefaultDict (as a generic variant of collections.defaultdict).

- Use collections.Reversible if it exists (only relevant for Python 3.6).

- Revamped generic class behavior to conform to updated PEP 484.

- Improve speed of Generic.__new__.

- Make sure __init__ is called for new Generic instances. Fix issue #26391.

- Refactor async support to be compatible with 3.2, 3.3, 3.4.

- Remove 'io' and 're' from __all__ (they still exist, just not
  included by "import *"). Fix issue #26234.

- Change @overload -- you can now use it outside stubs (you still
  cannot call the decorated function though).

8 years agoIssue #6953: Rearrange and expand Readline module documentation
Martin Panter [Tue, 5 Apr 2016 07:37:22 +0000 (07:37 +0000)]
Issue #6953: Rearrange and expand Readline module documentation

* Group functions into six new subsections
* Document the underlying Readline function or variable accessed
* get_history_length() returns the history file limit
* clear_history() is conditionally compiled in
* Clarify zero and one bases for history item indexes
* parse_and_bind() uses its argument directly as an init line
* Change "command line" to "line buffer" for consistency
* read_init_file() also executes the file
* read_history_file() replaces the previous history
* write_history_file() overwrites any existing file
* Differentiate history file lines from history list items, which could be
  multi-line
* Add more information about completion, also addressing Issue #10796
* libedit (Editline) may be used on any platform; detection is OS X specific

8 years agoFix typos in documentation and comments
Martin Panter [Tue, 5 Apr 2016 06:19:42 +0000 (06:19 +0000)]
Fix typos in documentation and comments

8 years agoIssue #23735: Avoid sighandler_t Gnu-ism
Martin Panter [Sun, 3 Apr 2016 08:00:49 +0000 (08:00 +0000)]
Issue #23735: Avoid sighandler_t Gnu-ism

8 years agoIssue #23735: Add SIGWINCH handler for Readline 6.3+ support, by Eric Price
Martin Panter [Sun, 3 Apr 2016 02:54:58 +0000 (02:54 +0000)]
Issue #23735: Add SIGWINCH handler for Readline 6.3+ support, by Eric Price

8 years agoIssue #26586: Handle excessive header fields in http.server, by Xiang Zhang
Martin Panter [Sun, 3 Apr 2016 00:45:46 +0000 (00:45 +0000)]
Issue #26586: Handle excessive header fields in http.server, by Xiang Zhang

8 years agoIssue #26679: Fix description of KEY_PPAGE and KEY_NPAGE constants
Berker Peksag [Sat, 2 Apr 2016 01:48:27 +0000 (04:48 +0300)]
Issue #26679: Fix description of KEY_PPAGE and KEY_NPAGE constants

Patch by Robert Bachmann and SilentGhost.

8 years agoIssue #26688: Fix module name in mock docs
Berker Peksag [Sat, 2 Apr 2016 01:32:06 +0000 (04:32 +0300)]
Issue #26688: Fix module name in mock docs

Patch by Ashley Anderson.

8 years agoIssue #26678: Fix indexing of datetime.tzinfo and timezone classes
Martin Panter [Fri, 1 Apr 2016 21:48:24 +0000 (21:48 +0000)]
Issue #26678: Fix indexing of datetime.tzinfo and timezone classes

Also fix links to the “tzinfo” class and attributes.

8 years agoAdded a cookbook recipe for a logging context manager.
Vinay Sajip [Fri, 1 Apr 2016 22:13:01 +0000 (23:13 +0100)]
Added a cookbook recipe for a logging context manager.

8 years agoasyncio: Don't log ConnectionAbortedError
Victor Stinner [Fri, 1 Apr 2016 19:43:39 +0000 (21:43 +0200)]
asyncio: Don't log ConnectionAbortedError

Issue #26509: In fatal error handlers, don't log ConnectionAbortedError which
occur on Windows.

8 years agoasyncio: allow None as wait timeout
Victor Stinner [Fri, 1 Apr 2016 19:39:09 +0000 (21:39 +0200)]
asyncio: allow None as wait timeout

Fix GH#325: Allow to pass None as a timeout value to disable timeout logic.

Change written by Andrew Svetlov and merged by Guido van Rossum.

8 years agoasyncio: sync overlapped.c with GitHub
Victor Stinner [Fri, 1 Apr 2016 19:37:41 +0000 (21:37 +0200)]
asyncio: sync overlapped.c with GitHub

On Python 3.3, use aliases:

* PyMem_RawMalloc = PyMem_Malloc
* PyMem_RawFree = PyMem_Free

These aliases are not need in Python 3.5, but this change makes synchronization
of code base simpler.

8 years agoIssue #22854: Fix logic for skipping test
Martin Panter [Thu, 31 Mar 2016 21:05:31 +0000 (21:05 +0000)]
Issue #22854: Fix logic for skipping test

8 years agoRemove redundant leading zeroes in PEP references.
Serhiy Storchaka [Thu, 31 Mar 2016 12:30:54 +0000 (15:30 +0300)]
Remove redundant leading zeroes in PEP references.

8 years agoIssue #22854: Skip pipe seek tests on Windows
Martin Panter [Thu, 31 Mar 2016 10:31:30 +0000 (10:31 +0000)]
Issue #22854: Skip pipe seek tests on Windows

8 years agoIssue #22854: Clarify documentation about UnsupportedOperation and add tests
Martin Panter [Thu, 31 Mar 2016 07:21:56 +0000 (07:21 +0000)]
Issue #22854: Clarify documentation about UnsupportedOperation and add tests

Also change BufferedReader.writable() and BufferedWriter.readable() to always
return False.

8 years agoIssue #26492: Added additional tests for exhausted iterators of mutable sequences.
Serhiy Storchaka [Wed, 30 Mar 2016 18:01:26 +0000 (21:01 +0300)]
Issue #26492: Added additional tests for exhausted iterators of mutable sequences.

8 years agoIssue #26494: Fixed crash on iterating exhausting iterators.
Serhiy Storchaka [Wed, 30 Mar 2016 17:40:02 +0000 (20:40 +0300)]
Issue #26494: Fixed crash on iterating exhausting iterators.

Affected classes are generic sequence iterators, iterators of str, bytes,
bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding
views and os.scandir() iterator.

8 years agoFix typo in xml.dom.pulldom.rst
Berker Peksag [Wed, 30 Mar 2016 13:28:43 +0000 (16:28 +0300)]
Fix typo in xml.dom.pulldom.rst

Reported by Matthew Cole on docs@p.o.

8 years agotest_urllibnet: set timeout on test_fileno()
Victor Stinner [Wed, 30 Mar 2016 00:19:01 +0000 (02:19 +0200)]
test_urllibnet: set timeout on test_fileno()

Use the default timeout of 30 seconds to avoid blocking forever.

8 years agoFix ResourceWarning in test_unittest when interrupted
Victor Stinner [Tue, 29 Mar 2016 23:15:28 +0000 (01:15 +0200)]
Fix ResourceWarning in test_unittest when interrupted

8 years agoIssue #25911: Backport os._DummyDirEntry fixes
Victor Stinner [Tue, 29 Mar 2016 11:38:22 +0000 (13:38 +0200)]
Issue #25911: Backport os._DummyDirEntry fixes

* Fix test_os.BytesWalkTests on Windows
* Mimick better the reference os.DirEntry on Windows
* _DummyDirEntry now caches os.stat() result
* _DummyDirEntry constructor now tries to get os.stat()
* Fix os._DummyDirEntry.is_symlink(), don't follow symbolic links:
  use os.stat(path, follow_symlinks=False).

8 years agoIssue #26643: Add missing shutil resources to regrtest.py
Victor Stinner [Tue, 29 Mar 2016 11:33:35 +0000 (13:33 +0200)]
Issue #26643: Add missing shutil resources to regrtest.py

8 years agoDocument None as timeout for asyncio.timeout()
Andrew Svetlov [Tue, 29 Mar 2016 06:39:02 +0000 (09:39 +0300)]
Document None as timeout for asyncio.timeout()

13 years agoIssue #25314: store_true and store_false also create appropriate defaults.
Raymond Hettinger [Sun, 20 Nov 2011 19:05:23 +0000 (11:05 -0800)]
Issue #25314: store_true and store_false also create appropriate defaults.

8 years agoIssue #23804: Fix SSL recv/read(0) to not return 1024 bytes
Martin Panter [Mon, 28 Mar 2016 00:22:09 +0000 (00:22 +0000)]
Issue #23804: Fix SSL recv/read(0) to not return 1024 bytes

8 years agoIssue #25195: Fix a regression in mock.MagicMock
Berker Peksag [Sun, 27 Mar 2016 21:30:02 +0000 (00:30 +0300)]
Issue #25195: Fix a regression in mock.MagicMock

_Call is a subclass of tuple (changeset 3603bae63c13 only works
for classes) so we need to implement __ne__ ourselves.

Patch by Andrew Plummer.

8 years agoIssue #23758: Improve num_params docs of create_{function,aggregate} functions
Berker Peksag [Sun, 27 Mar 2016 19:39:14 +0000 (22:39 +0300)]
Issue #23758: Improve num_params docs of create_{function,aggregate} functions

If you pass -1, the callable can take any number of arguments.

Added tests to verify the behavior.

Initial patch by Cédric Krier.

8 years agoDocument sqlite3.Cursor.close()
Berker Peksag [Sun, 27 Mar 2016 18:51:02 +0000 (21:51 +0300)]
Document sqlite3.Cursor.close()

The behaviour of the close method is tested by ClosedCurTests
in Lib/sqlite3/test/dbapi.py.

This is basically a backport of https://github.com/ghaering/pysqlite/issues/73.

8 years agosqlite3 documentation: Connection.iterdump() is a method
Berker Peksag [Sun, 27 Mar 2016 15:46:18 +0000 (18:46 +0300)]
sqlite3 documentation: Connection.iterdump() is a method

8 years agoIssue #26644: Raise ValueError for negative SSLSocket.recv() and read()
Martin Panter [Sun, 27 Mar 2016 05:35:19 +0000 (05:35 +0000)]
Issue #26644: Raise ValueError for negative SSLSocket.recv() and read()

8 years ago_pickle: Fix load_counted_tuple(), use Py_ssize_t for size
Victor Stinner [Mon, 14 Mar 2016 17:09:39 +0000 (18:09 +0100)]
_pickle: Fix load_counted_tuple(), use Py_ssize_t for size

Fix a warning on Windows 64-bit.

8 years agoIssue#26616:Fixed a bug in datetime.astimezone() method.
Alexander Belopolsky [Fri, 25 Mar 2016 19:42:59 +0000 (15:42 -0400)]
Issue#26616:Fixed a bug in datetime.astimezone() method.

8 years agodoctest: fix _module_relative_path() error message
Victor Stinner [Fri, 25 Mar 2016 11:50:36 +0000 (12:50 +0100)]
doctest: fix _module_relative_path() error message

Write the module name rather than <module> in the error message, if module has
no __file__ attribute (ex: package).

8 years agoIssue #25654:
Victor Stinner [Fri, 25 Mar 2016 08:29:50 +0000 (09:29 +0100)]
Issue #25654:

* multiprocessing: open file with closefd=False to avoid ResourceWarning
* _test_multiprocessing: open file with O_EXCL to detect bugs in tests (if a
  previous test forgot to remove TESTFN)
* test_sys_exit(): remove TESTFN after each loop iteration

Initial patch written by Serhiy Storchaka.

8 years agoIssue #21925: Fix test_warnings for release mode
Victor Stinner [Fri, 25 Mar 2016 08:51:14 +0000 (09:51 +0100)]
Issue #21925: Fix test_warnings for release mode

Use -Wd comment line option to log the ResourceWarning.

9 years agoUse Py_uintptr_t for atomic pointers
Victor Stinner [Fri, 22 Jan 2016 13:09:55 +0000 (14:09 +0100)]
Use Py_uintptr_t for atomic pointers

Issue #26161: Use Py_uintptr_t instead of void* for atomic pointers in
pyatomic.h. Use atomic_uintptr_t when <stdatomic.h> is used.

Using void* causes compilation warnings depending on which implementation of
atomic types is used.

8 years agopystate.h: fix _PyThreadState_UncheckedGet()
Victor Stinner [Thu, 24 Mar 2016 23:54:18 +0000 (00:54 +0100)]
pystate.h: fix _PyThreadState_UncheckedGet()

Declare the function even if thread support is disabled.

8 years agowarnings.formatwarning(): catch exceptions
Victor Stinner [Thu, 24 Mar 2016 23:30:32 +0000 (00:30 +0100)]
warnings.formatwarning(): catch exceptions

Issue #21925: warnings.formatwarning() now catches exceptions on
linecache.getline(...) to be able to log ResourceWarning emitted late during
the Python shutdown process.

8 years agoFix test_warnings.test_improper_option()
Victor Stinner [Thu, 24 Mar 2016 23:28:56 +0000 (00:28 +0100)]
Fix test_warnings.test_improper_option()

test_warnings: only run test_improper_option() and test_warnings_bootstrap()
once. The unit test doesn't depend on self.module.

8 years agoIssue #26621: Remove unnecessary test.
Stefan Krah [Wed, 23 Mar 2016 19:53:22 +0000 (20:53 +0100)]
Issue #26621: Remove unnecessary test.

8 years agoIssue #26525: Change chr example to match change in ord example.
Terry Jan Reedy [Wed, 23 Mar 2016 17:36:52 +0000 (13:36 -0400)]
Issue #26525: Change chr example to match change in ord example.

8 years agoMakefile.pre.in (profile-opt): Fix bashism.
doko@ubuntu.com [Wed, 23 Mar 2016 11:57:29 +0000 (12:57 +0100)]
Makefile.pre.in (profile-opt): Fix bashism.

8 years agoEnhance _tracemalloc debug mode
Victor Stinner [Tue, 22 Mar 2016 23:17:04 +0000 (00:17 +0100)]
Enhance _tracemalloc debug mode

Issue #26588: Enhance assertion in set_reentrant()

8 years agoFix _tracemalloc start/stop
Victor Stinner [Tue, 22 Mar 2016 23:10:24 +0000 (00:10 +0100)]
Fix _tracemalloc start/stop

Issue #26588: Fix _tracemalloc start/stop: don't play with the reentrant flag.

set_reentrant(1) fails with an assertion error if tracemalloc_init() is called
first in a thread A and tracemalloc_start() is called second in a thread B. The
tracemalloc is imported in a thread A. Importing the module calls
tracemalloc_init(). tracemalloc.start() is called in a thread B.

8 years agoIssue #24266: Cancel history search mode with Ctrl+C in Readline 7
Martin Panter [Tue, 22 Mar 2016 07:24:05 +0000 (07:24 +0000)]
Issue #24266: Cancel history search mode with Ctrl+C in Readline 7

8 years agomerge 3.4 (#17167)
Benjamin Peterson [Tue, 22 Mar 2016 05:31:24 +0000 (22:31 -0700)]
merge 3.4 (#17167)

8 years agoremove useless $ keyword (closes #17167)
Benjamin Peterson [Tue, 22 Mar 2016 05:31:02 +0000 (22:31 -0700)]
remove useless $ keyword (closes #17167)

8 years agoIssue #15699: Reunite comment with variable
Martin Panter [Tue, 22 Mar 2016 02:19:29 +0000 (02:19 +0000)]
Issue #15699: Reunite comment with variable

8 years agoIssue #26525: Change ord example from nu to more easily recognized Euro sign.
Terry Jan Reedy [Mon, 21 Mar 2016 01:18:40 +0000 (21:18 -0400)]
Issue #26525: Change ord example from nu to more easily recognized Euro sign.

8 years agoIssue #15660: Further clarify 0 prefix for width specifier in formats.
Terry Jan Reedy [Mon, 21 Mar 2016 01:05:57 +0000 (21:05 -0400)]
Issue #15660: Further clarify 0 prefix for width specifier in formats.

8 years agoIssue #26581: Use the first coding cookie on a line, not the last one.
Serhiy Storchaka [Sun, 20 Mar 2016 21:36:29 +0000 (23:36 +0200)]
Issue #26581: Use the first coding cookie on a line, not the last one.

8 years agoAdded new tests for detecting Python source code encoding.
Serhiy Storchaka [Sun, 20 Mar 2016 20:29:40 +0000 (22:29 +0200)]
Added new tests for detecting Python source code encoding.

8 years agoIssue #12813: uuid.uuid4() no longer depends on ctypes
Berker Peksag [Sun, 20 Mar 2016 15:29:56 +0000 (17:29 +0200)]
Issue #12813: uuid.uuid4() no longer depends on ctypes

uuid.uuid4() always uses os.urandom() after 756d040aa8e8.

8 years agoIssue #19164: Improve exception message of uuid.UUID()
Berker Peksag [Sun, 20 Mar 2016 14:49:10 +0000 (16:49 +0200)]
Issue #19164: Improve exception message of uuid.UUID()

Patch by jgauthier.

8 years agoIssue #26593: Fix typo in logging HOWTO
Berker Peksag [Sun, 20 Mar 2016 10:50:56 +0000 (12:50 +0200)]
Issue #26593: Fix typo in logging HOWTO

Patch by Andrew Szeto.

8 years agoIssue #19265: Improve test coverage of datetime.tzinfo
Berker Peksag [Sat, 19 Mar 2016 11:16:32 +0000 (13:16 +0200)]
Issue #19265: Improve test coverage of datetime.tzinfo

Without the patch, line 1010 of Lib/datetime.py wasn't covered
by the test suite.

Patch by Colin Williams.

8 years agoIssue #26560: Avoid potential ValueError in BaseHandler.start_response
Berker Peksag [Sat, 19 Mar 2016 07:04:59 +0000 (09:04 +0200)]
Issue #26560: Avoid potential ValueError in BaseHandler.start_response

Initial patch by Peter Inglesby.

8 years agoSuggest people use feature detection in porting guide
Brett Cannon [Fri, 18 Mar 2016 20:23:58 +0000 (13:23 -0700)]
Suggest people use feature detection in porting guide

8 years ago#26250: document the sqlite3.Cursor.connection attribute. Initial patches by Aviv...
Ezio Melotti [Fri, 18 Mar 2016 18:10:36 +0000 (20:10 +0200)]
#26250: document the sqlite3.Cursor.connection attribute.  Initial patches by Aviv Palivoda and Varpu Rantala.

8 years agoIssue #26271: Fix the Freeze tool to use variables passed in from the
Brett Cannon [Fri, 18 Mar 2016 17:29:43 +0000 (10:29 -0700)]
Issue #26271: Fix the Freeze tool to use variables passed in from the
configure script related to compiler flags.

Thanks to Daniel Shaulov for the bug report and patch.

8 years agoFixed a typo.
Serhiy Storchaka [Fri, 18 Mar 2016 12:36:47 +0000 (14:36 +0200)]
Fixed a typo.

8 years agoIssue #26580: Remove outdated reference to ftpmirror
Berker Peksag [Fri, 18 Mar 2016 12:26:08 +0000 (14:26 +0200)]
Issue #26580: Remove outdated reference to ftpmirror

Patch by SilentGhost.

8 years agoIssue #26313: ssl.py _load_windows_store_certs fails if windows cert store is empty...
Steve Dower [Thu, 17 Mar 2016 22:02:39 +0000 (15:02 -0700)]
Issue #26313: ssl.py _load_windows_store_certs fails if windows cert store is empty. Patch by Baji.

8 years agoIssue #26583: Skip test_timestamp_overflow in test_import if bytecode
Ned Deily [Thu, 17 Mar 2016 21:53:52 +0000 (17:53 -0400)]
Issue #26583: Skip test_timestamp_overflow in test_import if bytecode
files cannot be written.

8 years agoMerge 3.4 into 3.5
Donald Stufft [Thu, 17 Mar 2016 15:01:04 +0000 (11:01 -0400)]
Merge 3.4 into 3.5

8 years agoUpgrade ensurepip._bundled pip to 8.1.1 and setuptools to 20.3
Donald Stufft [Thu, 17 Mar 2016 15:00:08 +0000 (11:00 -0400)]
Upgrade ensurepip._bundled pip to 8.1.1 and setuptools to 20.3

8 years agoFix pyclbr to support importing packages
Victor Stinner [Thu, 17 Mar 2016 08:06:41 +0000 (09:06 +0100)]
Fix pyclbr to support importing packages

Issue #26569: Fix pyclbr.readmodule() and pyclbr.readmodule_ex() to support
importing packages.

8 years agoIssue #17603: Check for st_blocks field without requiring fileblocks.o
Martin Panter [Fri, 18 Mar 2016 02:36:41 +0000 (02:36 +0000)]
Issue #17603: Check for st_blocks field without requiring fileblocks.o

8 years agoPy_FatalError: disable faulthandler earlier
Victor Stinner [Wed, 16 Mar 2016 22:19:15 +0000 (23:19 +0100)]
Py_FatalError: disable faulthandler earlier

Issue #26563: Py_FatalError: disable faulthandler before trying to flush
sys.stdout and sys.stderr.

8 years agoFix usage of PyMem_Malloc() in overlapped.c
Victor Stinner [Wed, 16 Mar 2016 22:25:02 +0000 (23:25 +0100)]
Fix usage of PyMem_Malloc() in overlapped.c

Issue #26563: Replace PyMem_Malloc() with PyMem_RawFree() since
PostToQueueCallback() calls PyMem_RawFree() (previously PyMem_Free()) in a new
C thread which doesn't hold the GIL.

8 years agoIssue #26499: Fixes to HTTPResponse.readline() and read1(), by Silent Ghost
Martin Panter [Thu, 17 Mar 2016 06:42:48 +0000 (06:42 +0000)]
Issue #26499: Fixes to HTTPResponse.readline() and read1(), by Silent Ghost

8 years ago_tracemalloc: store lineno as unsigned int
Victor Stinner [Tue, 15 Mar 2016 20:57:02 +0000 (21:57 +0100)]
_tracemalloc: store lineno as unsigned int

Issue #26564. Cleanup the code, lineno is never negative.

8 years agofaulthandler: Test Py_FatalError() with GIL released
Victor Stinner [Tue, 15 Mar 2016 16:23:35 +0000 (17:23 +0100)]
faulthandler: Test Py_FatalError() with GIL released

Issue #26558.

8 years agoFix Py_FatalError() if called without the GIL
Victor Stinner [Mon, 14 Mar 2016 15:53:12 +0000 (16:53 +0100)]
Fix Py_FatalError() if called without the GIL

Issue #26558: If Py_FatalError() is called without the GIL, don't try to print
the current exception, nor try to flush stdout and stderr: only dump the
traceback of Python threads.

8 years agoIssue #26523: The multiprocessing thread pool (multiprocessing.dummy.Pool) was untested.
Antoine Pitrou [Tue, 15 Mar 2016 09:48:28 +0000 (10:48 +0100)]
Issue #26523: The multiprocessing thread pool (multiprocessing.dummy.Pool) was untested.

8 years ago#25320: Handle sockets in directories unittest discovery is scanning.
Robert Collins [Tue, 15 Mar 2016 00:29:17 +0000 (13:29 +1300)]
#25320: Handle sockets in directories unittest discovery is scanning.

Patch from Victor van den Elzen.

8 years agoFix test_venv on FreeBSD buildbot
Victor Stinner [Mon, 14 Mar 2016 17:21:58 +0000 (18:21 +0100)]
Fix test_venv on FreeBSD buildbot

Ignore pip warning in test_venv.test_with_venv().

8 years agoSkip test_site if USER_SITE cannot be created
Victor Stinner [Mon, 14 Mar 2016 16:47:03 +0000 (17:47 +0100)]
Skip test_site if USER_SITE cannot be created

Issue #17758: Skip test_site if site.USER_SITE directory doesn't exist and
cannot be created.

8 years agoIssue #20556: Used specific assert methods in threading tests.
Serhiy Storchaka [Mon, 14 Mar 2016 08:28:59 +0000 (10:28 +0200)]
Issue #20556: Used specific assert methods in threading tests.

8 years agoIssue #16181: cookiejar.http2time() now returns None if year is higher than datetime...
Berker Peksag [Mon, 14 Mar 2016 03:48:02 +0000 (05:48 +0200)]
Issue #16181: cookiejar.http2time() now returns None if year is higher than datetime.MAXYEAR

8 years ago#24918: fix CSS for code blocks when a side box is present. Patch by Manvi B.
Ezio Melotti [Sun, 13 Mar 2016 09:41:05 +0000 (11:41 +0200)]
#24918: fix CSS for code blocks when a side box is present.  Patch by Manvi B.

8 years agoMinor recipe edit: convert "while 1" to "while True".
Raymond Hettinger [Sun, 13 Mar 2016 08:12:31 +0000 (00:12 -0800)]
Minor recipe edit:  convert "while 1" to "while True".

8 years ago#25687: clarify that errors in tearDown increase the total number of reported errors...
Ezio Melotti [Sun, 13 Mar 2016 07:40:09 +0000 (09:40 +0200)]
#25687: clarify that errors in tearDown increase the total number of reported errors.  Initial patch by HyeSoo Park.

8 years agoIssue #26548: Minor fix to awkward wording in docs
Raymond Hettinger [Sun, 13 Mar 2016 06:58:24 +0000 (22:58 -0800)]
Issue #26548:  Minor fix to awkward wording in docs

8 years agoIssue #26079: Fixing the build output folder for tix-8.4.3.6. Patch by Bjoern Thiel.
Steve Dower [Sat, 12 Mar 2016 16:38:55 +0000 (08:38 -0800)]
Issue #26079: Fixing the build output folder for tix-8.4.3.6. Patch by Bjoern Thiel.

8 years agoIssue #23606: Adds note to ctypes documentation regarding cdll.msvcrt.
Steve Dower [Sat, 12 Mar 2016 16:25:22 +0000 (08:25 -0800)]
Issue #23606: Adds note to ctypes documentation regarding cdll.msvcrt.

8 years agoIssue #26513: Fixes platform module detection of Windows Server
Steve Dower [Sat, 12 Mar 2016 16:06:23 +0000 (08:06 -0800)]
Issue #26513: Fixes platform module detection of Windows Server

8 years agoIssue #23718: Fixed parsing time in week 0 before Jan 1. Original patch by
Serhiy Storchaka [Sat, 12 Mar 2016 08:51:16 +0000 (10:51 +0200)]
Issue #23718: Fixed parsing time in week 0 before Jan 1.  Original patch by
Tamás Bence Gedai.

8 years agoIssue #20589: Fix test_pathlib
Victor Stinner [Fri, 11 Mar 2016 21:53:00 +0000 (22:53 +0100)]
Issue #20589: Fix test_pathlib

8 years agoIssue #26542: Fix markup of code example in difflib documentation
Berker Peksag [Fri, 11 Mar 2016 21:19:48 +0000 (23:19 +0200)]
Issue #26542: Fix markup of code example in difflib documentation

Patch by Dmitry Shachnev.

8 years agoIssue #20589: Invoking Path.owner() and Path.group() on Windows now raise
Berker Peksag [Fri, 11 Mar 2016 21:07:27 +0000 (23:07 +0200)]
Issue #20589: Invoking Path.owner() and Path.group() on Windows now raise
NotImplementedError instead of ImportError.

8 years agoIssue 25959: Explain in docstring that PhotoImage.zoom arguments are
Terry Jan Reedy [Fri, 11 Mar 2016 20:30:35 +0000 (15:30 -0500)]
Issue 25959: Explain in docstring that PhotoImage.zoom arguments are
multipliers, not final sizes.  Explain y default for .zoom and .subsample.
Initial patch by Serhiy Storchaka.

8 years agoIssue #26516: Enhance Python mem allocators doc
Victor Stinner [Wed, 9 Mar 2016 13:49:52 +0000 (14:49 +0100)]
Issue #26516: Enhance Python mem allocators doc

* add link to PYTHONMALLOCSTATS env var
* add parameters to PyMem macros like PyMem_MALLOC()
* fix PyMem_SetupDebugHooks(): add Calloc functions
* add some newlines for readability