]> granicus.if.org Git - python/log
python
8 years agoIssue #25994: Added the close() method and the support of the context manager
Serhiy Storchaka [Thu, 11 Feb 2016 11:21:30 +0000 (13:21 +0200)]
Issue #25994: Added the close() method and the support of the context manager
protocol for the os.scandir() iterator.

8 years agoIssue #26325: Added test.support.check_no_resource_warning() to check that
Serhiy Storchaka [Thu, 11 Feb 2016 11:12:19 +0000 (13:12 +0200)]
Issue #26325: Added test.support.check_no_resource_warning() to check that
no ResourceWarning is emitted.

8 years agoIssue #26325: Added test.support.check_no_resource_warning() to check that
Serhiy Storchaka [Thu, 11 Feb 2016 11:11:44 +0000 (13:11 +0200)]
Issue #26325: Added test.support.check_no_resource_warning() to check that
no ResourceWarning is emitted.

8 years agoIssue #25985: sys.version_info is now used instead of sys.version
Serhiy Storchaka [Thu, 11 Feb 2016 11:10:36 +0000 (13:10 +0200)]
Issue #25985: sys.version_info is now used instead of sys.version
to format short Python version.

8 years agoIssue #26312: SystemError is now raised in all programming bugs with using
Serhiy Storchaka [Thu, 11 Feb 2016 10:41:40 +0000 (12:41 +0200)]
Issue #26312: SystemError is now raised in all programming bugs with using
PyArg_ParseTupleAndKeywords().  RuntimeError did raised before in some
programming bugs.

8 years agoIssue #23992: multiprocessing: make MapResult not fail-fast upon exception.
Charles-François Natali [Wed, 10 Feb 2016 22:58:18 +0000 (22:58 +0000)]
Issue #23992: multiprocessing: make MapResult not fail-fast upon exception.

8 years agoNull merge of typing.rst change
Guido van Rossum [Wed, 10 Feb 2016 17:49:36 +0000 (09:49 -0800)]
Null merge of typing.rst change

8 years agoHopefully clarify the difference between Optional[t] and an optional argument.
Guido van Rossum [Wed, 10 Feb 2016 17:48:58 +0000 (09:48 -0800)]
Hopefully clarify the difference between Optional[t] and an optional argument.

8 years agoHopefully clarify the difference between Optional[t] and an optional argument.
Guido van Rossum [Wed, 10 Feb 2016 17:46:56 +0000 (09:46 -0800)]
Hopefully clarify the difference between Optional[t] and an optional argument.

8 years agoIssue #25698: Prevent possible replacing imported module with the empty one
Serhiy Storchaka [Wed, 10 Feb 2016 08:31:43 +0000 (10:31 +0200)]
Issue #25698: Prevent possible replacing imported module with the empty one
if the stack is too deep.

8 years agoIssue #25698: Prevent possible replacing imported module with the empty one
Serhiy Storchaka [Wed, 10 Feb 2016 08:31:20 +0000 (10:31 +0200)]
Issue #25698: Prevent possible replacing imported module with the empty one
if the stack is too deep.

8 years agoIssue #26304: Additional “allows to” fix specific to 3.6
Martin Panter [Wed, 10 Feb 2016 05:45:55 +0000 (05:45 +0000)]
Issue #26304: Additional “allows to” fix specific to 3.6

8 years agoIssue #26304: Merge doc wording from 3.5
Martin Panter [Wed, 10 Feb 2016 05:44:56 +0000 (05:44 +0000)]
Issue #26304: Merge doc wording from 3.5

8 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.

8 years agoIssue #26136: Upgrade the generator_stop warning to DeprecationWarning
Martin Panter [Wed, 10 Feb 2016 04:40:48 +0000 (04:40 +0000)]
Issue #26136: Upgrade the generator_stop warning to DeprecationWarning

Patch by Anish Shah.

8 years agoIssue 26243: Forgot to update zlib doc strings in Argument Clinic
Martin Panter [Wed, 10 Feb 2016 10:45:54 +0000 (10:45 +0000)]
Issue 26243: Forgot to update zlib doc strings in Argument Clinic

8 years agoIssue #26243: zlib.compress() keyword argument support by Aviv Palivoda
Martin Panter [Wed, 10 Feb 2016 10:06:36 +0000 (10:06 +0000)]
Issue #26243: zlib.compress() keyword argument support by Aviv Palivoda

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

9 years agoIssue #26200: The SETREF macro adds unnecessary work in some cases.
Raymond Hettinger [Tue, 9 Feb 2016 04:34:49 +0000 (20:34 -0800)]
Issue #26200:  The SETREF macro adds unnecessary work in some cases.

8 years agoIssues #26310, 26311: Merge typo fixes from 3.5
Martin Panter [Wed, 10 Feb 2016 01:18:36 +0000 (01:18 +0000)]
Issues #26310, 26311: Merge typo fixes from 3.5

9 years agocompiler: don't emit SyntaxWarning on const stmt
Victor Stinner [Mon, 8 Feb 2016 21:45:06 +0000 (22:45 +0100)]
compiler: don't emit SyntaxWarning on const stmt

Issue #26204: the compiler doesn't emit SyntaxWarning warnings anymore when
constant statements are ignored.

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

9 years agoIssue #25983: Added tests for multi-argument type().
Serhiy Storchaka [Mon, 8 Feb 2016 18:28:03 +0000 (20:28 +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:00 +0000 (09:59 -0800)]
Clarify "cardinality of" as "number of elements in" as many readers do
not have a math vocabulary.

9 years agoClarify "cardinality of" as "number of elements in" as many readers do
Gregory P. Smith [Mon, 8 Feb 2016 17:58:40 +0000 (09:58 -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:27:44 +0000 (09:27 -0800)]
Updates build to use SHA256 hash when signing files

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

9 years agocompiler now ignores constant statements
Victor Stinner [Mon, 8 Feb 2016 17:17:58 +0000 (18:17 +0100)]
compiler now ignores constant statements

The compile ignores constant statements and emit a SyntaxWarning warning.

Don't emit the warning for string statement because triple quoted string is a
common syntax for multiline comments.

Don't emit the warning on ellipis neither: 'def f(): ...' is a legit syntax for
abstract functions.

Changes:

* test_ast: ignore SyntaxWarning when compiling test statements. Modify
  test_load_const() to use assignment expressions rather than constant
  expression.
* test_code: add more kinds of constant statements, ignore SyntaxWarning when
  testing that the compiler removes constant statements.
* test_grammar: ignore SyntaxWarning on the statement "1"

9 years agoReplace noop constant statement with expression
Victor Stinner [Mon, 8 Feb 2016 16:57:02 +0000 (17:57 +0100)]
Replace noop constant statement with expression

* Constant statements will be ignored and the compiler will emit a
  SyntaxWarning.
* Replace constant statement (ex: "1") with an expression statement
  (ex: "x=1").
* test_traceback: use context manager on the file.

Issue #26204.

9 years agoSimplify main() of test_ast
Victor Stinner [Mon, 8 Feb 2016 16:15:21 +0000 (17:15 +0100)]
Simplify main() of test_ast

* Use ast.parse() to get the AST for a statement
* Use str%args syntax for format a line

Issue #26204.

9 years agoIssue #26117: The os.scandir() iterator now closes file descriptor not only
Serhiy Storchaka [Mon, 8 Feb 2016 15:57:22 +0000 (17:57 +0200)]
Issue #26117: The os.scandir() iterator now closes file descriptor not only
when the iteration is finished, but when it was failed with error.

9 years agoIssue #26117: The os.scandir() iterator now closes file descriptor not only
Serhiy Storchaka [Mon, 8 Feb 2016 15:56:36 +0000 (17:56 +0200)]
Issue #26117: The os.scandir() iterator now closes file descriptor not only
when the iteration is finished, but when it was failed with error.

9 years agoIssue #25949: __dict__ for an OrderedDict instance is now created only when
Serhiy Storchaka [Mon, 8 Feb 2016 14:39:05 +0000 (16:39 +0200)]
Issue #25949: __dict__ for an OrderedDict instance is now created only when
needed.

9 years agoIssue #25911: Restored support of bytes paths in os.walk() on Windows.
Serhiy Storchaka [Mon, 8 Feb 2016 14:24:15 +0000 (16:24 +0200)]
Issue #25911: Restored support of bytes paths in os.walk() on Windows.

8 years agoIssue #26045: Merge http.client error addition from 3.5
Martin Panter [Tue, 9 Feb 2016 11:57:11 +0000 (11:57 +0000)]
Issue #26045: Merge http.client error addition from 3.5

8 years agoIssue #26045: Add UTF-8 suggestion to error in http.client
Martin Panter [Tue, 9 Feb 2016 10:20:52 +0000 (10:20 +0000)]
Issue #26045: Add UTF-8 suggestion to error in http.client

Based on patch by Guido van Rossum.

9 years agoIssue #25911: Restored support of bytes paths in os.walk() on Windows.
Serhiy Storchaka [Mon, 8 Feb 2016 14:23:28 +0000 (16:23 +0200)]
Issue #25911: Restored support of bytes paths in os.walk() on Windows.

9 years agoIssue #26198: Make datetime error tests more lenient.
Serhiy Storchaka [Mon, 8 Feb 2016 07:26:57 +0000 (09:26 +0200)]
Issue #26198: Make datetime error tests more lenient.

9 years agoIssue #26198: Make datetime error tests more lenient.
Serhiy Storchaka [Mon, 8 Feb 2016 07:25:53 +0000 (09:25 +0200)]
Issue #26198: Make datetime error tests more lenient.

9 years agoIssue #26198: ValueError is now raised instead of TypeError on buffer
Serhiy Storchaka [Sun, 7 Feb 2016 23:22:47 +0000 (01:22 +0200)]
Issue #26198: ValueError is now raised instead of TypeError on buffer
overflow in parsing "es#" and "et#" format units.  SystemError is now raised
instead of TypeError on programmical error in parsing format string.

9 years agoIssue #26198: Fixed error messages for some argument parsing errors.
Serhiy Storchaka [Sun, 7 Feb 2016 23:20:21 +0000 (01:20 +0200)]
Issue #26198: Fixed error messages for some argument parsing errors.

9 years agoIssue #26198: Fixed error messages for some argument parsing errors.
Serhiy Storchaka [Sun, 7 Feb 2016 23:06:11 +0000 (01:06 +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 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

* Various sections were pointing to the section on the string.Formatter
  class, 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; see Issue #19729 for instance

9 years agoIssue #26039: Added zipfile.ZipInfo.from_file() and zipinfo.ZipInfo.is_dir().
Serhiy Storchaka [Sun, 7 Feb 2016 22:02:25 +0000 (00:02 +0200)]
Issue #26039: Added zipfile.ZipInfo.from_file() and zipinfo.ZipInfo.is_dir().
Patch by Thomas Kluyver.

9 years agoMerge string formatting doc fixes from 3.5
Martin Panter [Mon, 8 Feb 2016 01:49:35 +0000 (01:49 +0000)]
Merge string formatting doc fixes from 3.5

9 years agoIssue #26288: Fix comment
Yury Selivanov [Sat, 6 Feb 2016 17:21:33 +0000 (12:21 -0500)]
Issue #26288: Fix comment

9 years agomerge from 3.5
Senthil Kumaran [Sat, 6 Feb 2016 03:37:47 +0000 (19:37 -0800)]
merge from 3.5

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

9 years agoIssue #26288: Optimize PyLong_AsDouble.
Yury Selivanov [Sat, 6 Feb 2016 00:40:01 +0000 (19:40 -0500)]
Issue #26288: Optimize PyLong_AsDouble.

9 years agoSwitch to more idiomatic C code.
Eric V. Smith [Fri, 5 Feb 2016 23:26:20 +0000 (18:26 -0500)]
Switch to more idiomatic C code.

9 years agoFix issue 26287: While handling FORMAT_VALUE opcode, the top of stack was being corru...
Eric V. Smith [Fri, 5 Feb 2016 23:23:08 +0000 (18:23 -0500)]
Fix issue 26287: While handling FORMAT_VALUE opcode, the top of stack was being corrupted if an error occurred in PyObject_Format().

9 years agoIssue #12923: Merge FancyURLopener fix from 3.5
Martin Panter [Sat, 6 Feb 2016 01:08:40 +0000 (01:08 +0000)]
Issue #12923: Merge FancyURLopener fix from 3.5

9 years agoMerge 3.5
Yury Selivanov [Thu, 4 Feb 2016 19:08:23 +0000 (14:08 -0500)]
Merge 3.5

9 years agoIssue #25660: Fix a unittest and rlcompleter when readline isn't available
Yury Selivanov [Thu, 4 Feb 2016 19:00:26 +0000 (14:00 -0500)]
Issue #25660: Fix a unittest and rlcompleter when readline isn't available

9 years agoAdd early-out for the common case where kwds is NULL (gives 1.1% speedup).
Raymond Hettinger [Thu, 4 Feb 2016 10:46:16 +0000 (02:46 -0800)]
Add early-out for the common case where kwds is NULL (gives 1.1% speedup).

9 years agoMerge 3.5 (issue #25660)
Yury Selivanov [Thu, 4 Feb 2016 06:24:56 +0000 (01:24 -0500)]
Merge 3.5 (issue #25660)

9 years agoIssue #25660: Fix TAB key behaviour in REPL.
Yury Selivanov [Thu, 4 Feb 2016 06:23:05 +0000 (01:23 -0500)]
Issue #25660: Fix TAB key behaviour in REPL.

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 agoMerge with 3.5
Zachary Ware [Thu, 4 Feb 2016 04:07:08 +0000 (22:07 -0600)]
Merge with 3.5

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 agoMerge with 3.5
Zachary Ware [Tue, 2 Feb 2016 23:04:56 +0000 (17:04 -0600)]
Merge with 3.5

9 years agoFix typo.
Zachary Ware [Tue, 2 Feb 2016 23:04:41 +0000 (17:04 -0600)]
Fix typo.

Reported by Jon Tetlak on docs@

9 years agoIssue #25945: Fixed bugs in functools.partial.
Serhiy Storchaka [Tue, 2 Feb 2016 16:45:47 +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: Merge zlib documentation from 3.5
Martin Panter [Wed, 3 Feb 2016 07:52:06 +0000 (07:52 +0000)]
Issue #26244: Merge zlib documentation from 3.5

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 #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 agoIssue #25945: Fixed bugs in functools.partial.
Serhiy Storchaka [Tue, 2 Feb 2016 16:45:17 +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 agomerge
Raymond Hettinger [Tue, 2 Feb 2016 05:21:19 +0000 (21:21 -0800)]
merge

9 years agoIssue #26194: Inserting into a full deque to raise an IndexError
Raymond Hettinger [Tue, 2 Feb 2016 05:19:22 +0000 (21:19 -0800)]
Issue #26194:  Inserting into a full deque to raise an IndexError

9 years agoMerge 3.5 (asyncio)
Victor Stinner [Mon, 1 Feb 2016 11:47:15 +0000 (12:47 +0100)]
Merge 3.5 (asyncio)

9 years agoFix error message in asyncio.selector_events.
Victor Stinner [Mon, 1 Feb 2016 11:46:38 +0000 (12:46 +0100)]
Fix error message in asyncio.selector_events.

Patch written by Carlo Beccarini <hackdiablo.cb@gmail.com>.

9 years agoMerge 3.5 (test_asyncio)
Victor Stinner [Mon, 1 Feb 2016 11:41:24 +0000 (12:41 +0100)]
Merge 3.5 (test_asyncio)

9 years agoIssue #19587: Merge test_bytes cleanup from 3.5
Martin Panter [Tue, 2 Feb 2016 10:54:10 +0000 (10:54 +0000)]
Issue #19587: Merge test_bytes cleanup from 3.5

9 years agoIssue #19587: Remove masked and redundant tests in test_bytes
Martin Panter [Tue, 2 Feb 2016 10:37:15 +0000 (10:37 +0000)]
Issue #19587: Remove masked and redundant tests in test_bytes

* test_contains() did not override anything
* test_expandtabs/upper/lower() in FixedStringTest were masking usable tests
  in string_tests. These tests now get run for bytearray() and bytes().
* test_expandtabs/upper/lower() in buffer_tests were only run on bytearray()
  and are redundant with string_tests

9 years agoIssue #26173: Merge SSL tests from 3.5
Martin Panter [Mon, 1 Feb 2016 22:13:43 +0000 (22:13 +0000)]
Issue #26173: Merge SSL tests from 3.5

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.

Also fix a ResourceWarning by closing the wrapped socket.

9 years agotest_asyncio: fix test_timeout_time()
Victor Stinner [Mon, 1 Feb 2016 11:39:50 +0000 (12:39 +0100)]
test_asyncio: fix test_timeout_time()

Accept time delta up to 0.12 second, instead of 0.11, for the "AMD64 FreeBSD
9.x" buildbot slave.

9 years agoMerge 3.5 (doc)
Victor Stinner [Sun, 31 Jan 2016 17:36:52 +0000 (18:36 +0100)]
Merge 3.5 (doc)

9 years agoEnhance os.scandir() doc
Victor Stinner [Sun, 31 Jan 2016 17:36:41 +0000 (18:36 +0100)]
Enhance os.scandir() doc

Issue #26248, patch written by Ben Hoyt:

1) Clarify that the return values of is_dir()/is_file()/etc are cached
   separately for follow_symlinks True and False.
2) Be more specific about when the functions require a system call, and how it
   relates to caching and follow_symlinks.
3) DRY up common stuff between is_dir and is_file by saying "Caching, system
   calls made, and exceptions raised are as per is_dir" in is_file.
4) Tweak to the first paragraph of docs for is_dir/is_file to simplify: assume
   the follow_symlinks=True default, then note the follow_symlinks=False
   non-default case after.

9 years agoIssue #23601: Use small object allocator for dict key objects
Raymond Hettinger [Sun, 31 Jan 2016 16:56:21 +0000 (08:56 -0800)]
Issue #23601:  Use small object allocator for dict key objects

9 years agoIssue #26242: Fix another one in importlib.rst
Berker Peksag [Sat, 30 Jan 2016 17:30:22 +0000 (19:30 +0200)]
Issue #26242: Fix another one in importlib.rst

9 years agoIssue #26242: Fix another one in importlib.rst
Berker Peksag [Sat, 30 Jan 2016 17:30:06 +0000 (19:30 +0200)]
Issue #26242: Fix another one in importlib.rst

9 years agoFix a markup error in socket.rst
Berker Peksag [Sat, 30 Jan 2016 17:23:46 +0000 (19:23 +0200)]
Fix a markup error in socket.rst

9 years agoFix a markup error in socket.rst
Berker Peksag [Sat, 30 Jan 2016 17:23:29 +0000 (19:23 +0200)]
Fix a markup error in socket.rst

9 years agoIssue #23076: Path.glob() now raises a ValueError if it's called with an
Berker Peksag [Sat, 30 Jan 2016 15:51:35 +0000 (17:51 +0200)]
Issue #23076: Path.glob() now raises a ValueError if it's called with an
invalid pattern.

Patch by Thomas Nyberg.

9 years agoIssue #23076: Path.glob() now raises a ValueError if it's called with an
Berker Peksag [Sat, 30 Jan 2016 15:50:48 +0000 (17:50 +0200)]
Issue #23076: Path.glob() now raises a ValueError if it's called with an
invalid pattern.

Patch by Thomas Nyberg.

9 years agoSimply docstrings of venv module
Berker Peksag [Sat, 30 Jan 2016 10:34:12 +0000 (12:34 +0200)]
Simply docstrings of venv module

This will hopefully make maintenance of venv documentation easier.
For example, see commits a4f0d76af176 and 5764cc02244d.

This patch has been reviewed by Vinaj Sajip, the maintainer of
venv module.

9 years agoUpdate "Creating Virtual Environments" link in venv documentation
Berker Peksag [Sat, 30 Jan 2016 10:24:49 +0000 (12:24 +0200)]
Update "Creating Virtual Environments" link in venv documentation

9 years agoUpdate "Creating Virtual Environments" link in venv documentation
Berker Peksag [Sat, 30 Jan 2016 10:24:31 +0000 (12:24 +0200)]
Update "Creating Virtual Environments" link in venv documentation

9 years agoUpdate output of venv -h
Berker Peksag [Sat, 30 Jan 2016 10:17:29 +0000 (12:17 +0200)]
Update output of venv -h

* Update description of the --system-site-packages option
* Show --copies option in the usage

9 years agoIssue #4806: Merge * unpacking fix from 3.5
Martin Panter [Sun, 31 Jan 2016 06:33:16 +0000 (06:33 +0000)]
Issue #4806: Merge * unpacking fix from 3.5

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 agoUpdate output of venv -h
Berker Peksag [Sat, 30 Jan 2016 10:17:10 +0000 (12:17 +0200)]
Update output of venv -h

* Update description of the --system-site-packages option
* Show --copies option in the usage

9 years agoIssue #25934: Merge with 3.5
Zachary Ware [Sat, 30 Jan 2016 01:09:41 +0000 (19:09 -0600)]
Issue #25934: Merge with 3.5

9 years agoIssue #26173: Merge wrongcert test from 3.5
Martin Panter [Sat, 30 Jan 2016 04:45:02 +0000 (04:45 +0000)]
Issue #26173: Merge wrongcert test from 3.5

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 #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 #26202: copy.deepcopy() now correctly copies range() objects with
Serhiy Storchaka [Thu, 28 Jan 2016 19:43:51 +0000 (21:43 +0200)]
Issue #26202: copy.deepcopy() now correctly copies range() objects with
non-atomic attributes.

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:32:39 +0000 (21:32 +0200)]
Issue #19883: Fixed possible integer overflows in zipimport.