Berker Peksag
3fe64d0c5c
Issue #16915 : Clarify that mode parameter of socket.makefile() does not accept
...
the same values as open().
2016-02-18 17:34:00 +02:00
Martin Panter
c12fef9aa3
Issue #26309 : Shut down socketserver request if verify_request() is false
...
Patch by Aviv Palivoda.
2016-02-18 10:43:55 +00:00
Yury Selivanov
77c96813ab
Issue #25887 : Raise a RuntimeError when a coroutine is awaited more than once.
2016-02-13 17:59:05 -05:00
Vinay Sajip
b2a2aa7664
Fixes #26348 : Corrected typos in activate.fish script.
2016-02-13 16:26:35 +00:00
Serhiy Storchaka
06c45e6e9c
Issue #25995 : os.walk() no longer uses FDs proportional to the tree depth.
2016-02-11 13:29:28 +02:00
Serhiy Storchaka
94a619d48b
Issue #26325 : Added test.support.check_no_resource_warning() to check that
...
no ResourceWarning is emitted.
2016-02-11 13:11:44 +02:00
Martin Panter
c04fb56e36
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.
2016-02-10 05:44:01 +00:00
Martin Panter
96a4f07107
Issues #26310 , #26311 : Fix typos in the documentation and code comments
2016-02-10 01:17:51 +00:00
Serhiy Storchaka
763f9f0d89
Issue #25983 : Added tests for multi-argument type().
2016-02-08 20:28:03 +02:00
Serhiy Storchaka
5f6a0b4eb2
Issue #25911 : Restored support of bytes paths in os.walk() on Windows.
2016-02-08 16:23:28 +02:00
Martin Panter
44391481d7
Issue #26045 : Add UTF-8 suggestion to error in http.client
...
Based on patch by Guido van Rossum.
2016-02-09 10:20:52 +00:00
Serhiy Storchaka
0c0d537b24
Issue #26198 : Make datetime error tests more lenient.
2016-02-08 09:25:53 +02:00
Serhiy Storchaka
c4b813d05d
Issue #26198 : Fixed error messages for some argument parsing errors.
...
Fixed the documented about buffer overflow error for "es#" and "et#" format
units.
2016-02-08 01:06:11 +02:00
Martin Panter
a03702252f
Issue #12923 : Reset FancyURLopener's redirect counter even on exception
...
Based on patches by Brian Brazil and Daniel Rocco.
2016-02-04 06:01:35 +00:00
Yury Selivanov
46f7785e28
Issue #25660 : Fix a unittest and rlcompleter when readline isn't available
2016-02-04 14:00:26 -05:00
Yury Selivanov
a7eae4016e
Issue #25660 : Fix TAB key behaviour in REPL.
2016-02-04 01:23:05 -05:00
Serhiy Storchaka
3874128519
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.
2016-02-02 18:45:17 +02:00
Raymond Hettinger
b00da57561
Issue #26194 : Inserting into a full deque to raise an IndexError
2016-02-01 21:19:22 -08:00
Victor Stinner
3e7230904e
Fix error message in asyncio.selector_events.
...
Patch written by Carlo Beccarini <hackdiablo.cb@gmail.com>.
2016-02-01 12:46:38 +01:00
Victor Stinner
0df5313458
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.
2016-02-01 12:39:50 +01:00
Martin Panter
275bd96aa6
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
2016-02-02 10:37:15 +00:00
Martin Panter
3464ea2807
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.
2016-02-01 21:58:11 +00:00
Berker Peksag
4a208e448e
Issue #23076 : Path.glob() now raises a ValueError if it's called with an
...
invalid pattern.
Patch by Thomas Nyberg.
2016-01-30 17:50:48 +02:00
Martin Panter
b5944220ab
Issue #4806 : Avoid masking original TypeError in call with * unpacking
...
Based on patch by Hagen Fürstenau and Daniel Urban.
2016-01-31 06:30:56 +00:00
Martin Panter
407b62f3e5
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.
2016-01-30 03:41:43 +00:00
Serhiy Storchaka
0a20bbf669
Issue #26202 : copy.deepcopy() now correctly copies range() objects with
...
non-atomic attributes.
2016-01-28 21:43:35 +02:00
Serhiy Storchaka
b49a1edc15
Merge heads
2016-01-28 19:56:40 +02:00
Serhiy Storchaka
c8241fdde7
Issue #26198 : Added tests for "es", "et", "es#", "et#" and "C" format units
...
of PyArg_Parse*() functions.
2016-01-28 19:49:54 +02:00
Victor Stinner
8f475effbc
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.
2016-01-28 18:13:45 +01:00
Berker Peksag
ad13edb6fd
Issue #24705 : Add a test case for ef84d21f5292
2016-01-28 16:58:00 +02:00
Martin Panter
34360c8e09
Issue #19023 : Document ctypes array and pointer classes
...
Also add some more tests. Based on patch by Sye van der Veen.
2016-01-29 10:12:19 +00:00
Berker Peksag
22532ac2eb
Issue #26034 : Improve wording of clear parameter
2016-01-28 09:13:14 +02:00
Berker Peksag
547f66f599
Issue #26034 : Sync documentation of --clear with its behavior
...
Most of the docs has already been updated in c3c188a0325a.
2016-01-28 09:01:26 +02:00
Terry Jan Reedy
b31a2849da
Issue #25507 : revert incorrect movement of idleConf import in c548ad75160c.
...
Augment htest to include all major IOBinding functions.
2016-01-27 11:51:50 -05:00
Raymond Hettinger
3743432302
Issue #26194 : Fix undefined behavior for deque.insert() when len(d) == maxlen
2016-01-26 21:44:16 -08:00
Senthil Kumaran
d4e51f45a9
Remove unnecessary test case comment in urllib.parse.py. These are asserted as test cases.
2016-01-25 18:53:34 -08:00
Victor Stinner
3cdd5fb970
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.
2016-01-22 12:33:12 +01:00
Donald Stufft
38150e0d85
Merge update to pip
2016-01-21 21:56:06 -05:00
Donald Stufft
5d0124623c
Upgrade pip to 8.0.2
2016-01-21 21:55:32 -05:00
Serhiy Storchaka
aebb6d3682
Issue #26147 : xmlrpc now works with strings not encodable with used
...
non-UTF-8 encoding.
2016-01-20 10:34:27 +02:00
Donald Stufft
1dce2c72ed
Merge update to pip/setuptools
2016-01-19 20:14:39 -05:00
Donald Stufft
33a827678e
Update pip to 8.0.0 and setuptools to 19.4
2016-01-19 20:13:51 -05:00
Serhiy Storchaka
d205d0145c
Issue #25935 : Garbage collector now breaks reference loops with OrderedDict.
2016-01-19 14:46:25 +02:00
Serhiy Storchaka
e914cd1308
Issue #16620 : Fixed AttributeError in msilib.Directory.glob().
2016-01-19 13:55:36 +02:00
Victor Stinner
47b91b0a81
Fix BytecodeTestCase.assertNotInBytecode()
...
Issue #11816 : Fix bytecode_helper to handle correctly errors. Don't use
unassigned variables.
2016-01-19 08:48:48 +01:00
Benjamin Peterson
9ad11544bf
set tp_new from the class in the hierarchy that actually owns the descriptor ( closes #25731 )
...
Debugging by Eryk Sun.
2016-01-18 21:11:18 -08:00
Martin Panter
8f19e8e1c5
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.
2016-01-19 01:10:58 +00:00
Berker Peksag
1b25eff76e
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.
2016-01-19 02:01:53 +02:00
Serhiy Storchaka
5c1d9d2ff7
Added exceptins for testing non-reversible import mapping for Issue #26013 .
2016-01-18 22:33:44 +02:00
Serhiy Storchaka
111c7b9011
Issue #26013 : Added compatibility with broken protocol 2 pickles created
...
in old Python 3 versions (3.4.3 and lower).
2016-01-18 21:35:22 +02:00